emacs-orgmode@gnu.org archives
 help / color / mirror / code / Atom feed
From: Andreas Leha <andreas.leha@med.uni-goettingen.de>
To: emacs-orgmode@gnu.org
Subject: Re: attachments in parent
Date: Tue, 19 May 2015 20:06:03 +0100	[thread overview]
Message-ID: <olu8uckjskk.fsf@med.uni-goettingen.de> (raw)
In-Reply-To: olulhgkk7pc.fsf@med.uni-goettingen.de

Hi all,

Andreas Leha <andreas.leha@med.uni-goettingen.de> writes:
> As it seems, attachments are not found when they are attached to
> a parental header.  Is that on purpose?
>
> IMO, it would be nice if attachments would be searched for up the
> hierarchy as well.  The attachment directory is not inherited, as
> it seems.

I was reminded off-line that there is a
property (`ATTACH_DIR_INHERIT') controlling this behaviour.

I have even set that property in the past but only when I had
explicitly set the attachment directory as well.

Anyway, for future reference here is the MWE again, this time
working as expected:

--8<---------------cut here---------------start------------->8---
* Example
** Test Attachments						     :ATTACH:
:PROPERTIES:
:Attachments: sample_attachment.pdf
:ATTACH_DIR_INHERIT: t
:ID:       B1024BF6-48F1-4300-9D0D-831A410BB40B
:END:

[[att:sample_attachment.pdf][This]] is found.

*** In Subsections

[[att:sample_attachment.pdf][This]] is also found.
--8<---------------cut here---------------end--------------->8---

Sorry for the noise,
Andreas

      reply	other threads:[~2015-05-19 19:05 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2015-05-19 13:39 attachments in parent Andreas Leha
2015-05-19 19:06 ` Andreas Leha [this message]

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=olu8uckjskk.fsf@med.uni-goettingen.de \
    --to=andreas.leha@med.uni-goettingen.de \
    --cc=emacs-orgmode@gnu.org \
    /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).