Nicolas Girard <nicolas.gir...@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


_______________________________________________
Emacs-orgmode mailing list
Please use `Reply All' to send replies to the list.
Emacs-orgmode@gnu.org
http://lists.gnu.org/mailman/listinfo/emacs-orgmode

Reply via email to