[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Orgmode] Re: Bug: (org-attach-dir) doesn't honor ATTACH_DIR_INHERIT
From: |
Matt Lundin |
Subject: |
[Orgmode] Re: Bug: (org-attach-dir) doesn't honor ATTACH_DIR_INHERIT |
Date: |
Mon, 22 Feb 2010 13:00:02 -0500 |
User-agent: |
Gnus/5.13 (Gnus v5.13) Emacs/23.1.92 (gnu/linux) |
Nicolas Girard <address@hidden> 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