From: Matt Lundin <mdl@imapmail.org>
To: Nicolas Girard <nicolas.girard@nerim.net>
Cc: emacs-orgmode <emacs-orgmode@gnu.org>
Subject: Re: Bug: (org-attach-dir) doesn't honor ATTACH_DIR_INHERIT
Date: Mon, 22 Feb 2010 13:00:02 -0500 [thread overview]
Message-ID: <87y6ilcfrx.fsf@fastmail.fm> (raw)
In-Reply-To: <51b0095d1002211435w10561193yfd2dd49934b261a@mail.gmail.com> (Nicolas Girard's message of "Sun, 21 Feb 2010 23:35:45 +0100")
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
next prev parent reply other threads:[~2010-02-22 17:59 UTC|newest]
Thread overview: 3+ messages / expand[flat|nested] mbox.gz Atom feed top
2010-02-21 22:35 Bug: (org-attach-dir) doesn't honor ATTACH_DIR_INHERIT Nicolas Girard
2010-02-22 18:00 ` Matt Lundin [this message]
2010-02-23 8:29 ` Nicolas Girard
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
List information: https://www.orgmode.org/
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=87y6ilcfrx.fsf@fastmail.fm \
--to=mdl@imapmail.org \
--cc=emacs-orgmode@gnu.org \
--cc=nicolas.girard@nerim.net \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
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).