From mboxrd@z Thu Jan 1 00:00:00 1970 From: Andreas Leha Subject: attachments in parent Date: Tue, 19 May 2015 14:39:11 +0100 Message-ID: Mime-Version: 1.0 Content-Type: text/plain Return-path: Received: from eggs.gnu.org ([2001:4830:134:3::10]:39834) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1YuhjZ-0003Gn-4Y for emacs-orgmode@gnu.org; Tue, 19 May 2015 09:39:05 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1YuhjU-0000Eg-Qe for emacs-orgmode@gnu.org; Tue, 19 May 2015 09:39:01 -0400 Received: from plane.gmane.org ([80.91.229.3]:56037) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1YuhjU-0000EF-Fc for emacs-orgmode@gnu.org; Tue, 19 May 2015 09:38:56 -0400 Received: from list by plane.gmane.org with local (Exim 4.69) (envelope-from ) id 1YuhjP-0007zT-JR for emacs-orgmode@gnu.org; Tue, 19 May 2015 15:38:51 +0200 Received: from 193.63.223.67 ([193.63.223.67]) by main.gmane.org with esmtp (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Tue, 19 May 2015 15:38:51 +0200 Received: from andreas.leha by 193.63.223.67 with local (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Tue, 19 May 2015 15:38:51 +0200 List-Id: "General discussions about Org-mode." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: emacs-orgmode-bounces+geo-emacs-orgmode=m.gmane.org@gnu.org Sender: emacs-orgmode-bounces+geo-emacs-orgmode=m.gmane.org@gnu.org To: emacs-orgmode@gnu.org 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---