all messages for Emacs-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
From: Andreas Leha <andreas.leha@med.uni-goettingen.de>
To: emacs-orgmode@gnu.org
Subject: attachments in parent
Date: Tue, 19 May 2015 14:39:11 +0100	[thread overview]
Message-ID: <olulhgkk7pc.fsf@med.uni-goettingen.de> (raw)

Hi all,

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.

Here is an example illustrating my question (you'll have to
attach something yourself to make it work, though):

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

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

*** In Subsections

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

Regards,
Andreas

PS: the relevant part of my setup:
--8<---------------cut here---------------start------------->8---
(require 'org-attach)
(setq org-link-abbrev-alist '(("att" . org-attach-expand-link)))
--8<---------------cut here---------------end--------------->8---

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

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

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

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=olulhgkk7pc.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 external index

	https://git.savannah.gnu.org/cgit/emacs.git
	https://git.savannah.gnu.org/cgit/emacs/org-mode.git

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.