* 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
* Re: Bug: (org-attach-dir) doesn't honor ATTACH_DIR_INHERIT
2010-02-22 18:00 ` Matt Lundin
@ 2010-02-23 8:29 ` Nicolas Girard
0 siblings, 0 replies; 3+ messages in thread
From: Nicolas Girard @ 2010-02-23 8:29 UTC (permalink / raw)
To: emacs-orgmode
2010/2/22 Matt Lundin <mdl@imapmail.org>:
> Nicolas Girard <nicolas.girard@nerim.net> writes:
>
>
> The :ATTACH_DIR_INHERIT: property needs to be set in the parent tree,
> since that is the heading whose attach directory is being inherited.
>
Hi Matt,
indeed, I got this wrong. Thanks for your explanations !
Nicolas
^ 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 public inbox
https://git.savannah.gnu.org/cgit/emacs/org-mode.git
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).