emacs-orgmode@gnu.org archives
 help / color / mirror / code / Atom feed
* attachments in parent
@ 2015-05-19 13:39 Andreas Leha
  2015-05-19 19:06 ` Andreas Leha
  0 siblings, 1 reply; 2+ messages in thread
From: Andreas Leha @ 2015-05-19 13:39 UTC (permalink / raw)
  To: emacs-orgmode

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---

^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2015-05-19 19:05 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2015-05-19 13:39 attachments in parent Andreas Leha
2015-05-19 19:06 ` Andreas Leha

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).