* Bug: (org-attach-dir) doesn't honor ATTACH_DIR_INHERIT
@ 2010-02-21 22:35 Nicolas Girard
2010-02-22 18:00 ` Matt Lundin
0 siblings, 1 reply; 3+ messages in thread
From: Nicolas Girard @ 2010-02-21 22:35 UTC (permalink / raw)
To: emacs-orgmode
Hi,
given the following test document, calling (org-attach-dir) when in b
should give '/tmp' ; currently the result is nil, which breaks C-c C-a
f.
Cheers,
Nicolas
=======
* a
:PROPERTIES:
:ATTACH_DIR: /tmp
:END:
** b
:PROPERTIES:
:ATTACH_DIR_INHERIT: t
:END:
^ permalink raw reply [flat|nested] 3+ messages in thread
* Re: Bug: (org-attach-dir) doesn't honor ATTACH_DIR_INHERIT
2010-02-21 22:35 Bug: (org-attach-dir) doesn't honor ATTACH_DIR_INHERIT Nicolas Girard
@ 2010-02-22 18:00 ` Matt Lundin
2010-02-23 8:29 ` Nicolas Girard
0 siblings, 1 reply; 3+ messages in thread
From: Matt Lundin @ 2010-02-22 18:00 UTC (permalink / raw)
To: Nicolas Girard; +Cc: emacs-orgmode
Nicolas Girard <nicolas.girard@nerim.net> writes:
> given the following test document, calling (org-attach-dir) when in b
> should give '/tmp' ; currently the result is nil, which breaks C-c C-a
> f.
>
> Cheers,
> Nicolas
>
> =======
> * a
> :PROPERTIES:
> :ATTACH_DIR: /tmp
> :END:
> ** b
> :PROPERTIES:
> :ATTACH_DIR_INHERIT: t
> :END:
The :ATTACH_DIR_INHERIT: property needs to be set in the parent tree,
since that is the heading whose attach directory is being inherited.
--8<---------------cut here---------------start------------->8---
* a
:PROPERTIES:
:ATTACH_DIR: /tmp
:ATTACH_DIR_INHERIT: t
:END:
** b
--8<---------------cut here---------------end--------------->8---
With this structure, calling (org-attach-dir) beneath the "b" heading
results in "/tmp".
Best,
Matt
^ permalink raw reply [flat|nested] 3+ messages in thread
end of thread, other threads:[~2010-02-23 8:29 UTC | newest]
Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2010-02-21 22:35 Bug: (org-attach-dir) doesn't honor ATTACH_DIR_INHERIT Nicolas Girard
2010-02-22 18:00 ` Matt Lundin
2010-02-23 8:29 ` Nicolas Girard
Code repositories for project(s) associated with this external index
https://git.savannah.gnu.org/cgit/emacs.git
https://git.savannah.gnu.org/cgit/emacs/org-mode.git
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.