From mboxrd@z Thu Jan 1 00:00:00 1970 From: Carsten Dominik Subject: Re: Linking to attachments? Date: Thu, 6 Nov 2008 09:00:49 +0100 Message-ID: <8D5DD9B0-95A8-4055-BD93-8B029FE8FFD7@uva.nl> References: Mime-Version: 1.0 (Apple Message framework v929.2) Content-Type: text/plain; charset=US-ASCII; format=flowed; delsp=yes Content-Transfer-Encoding: 7bit Return-path: Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1KxznU-00079p-Dm for emacs-orgmode@gnu.org; Thu, 06 Nov 2008 03:00:56 -0500 Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1KxznT-00078a-4r for emacs-orgmode@gnu.org; Thu, 06 Nov 2008 03:00:56 -0500 Received: from [199.232.76.173] (port=58950 helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1KxznS-00078X-UL for emacs-orgmode@gnu.org; Thu, 06 Nov 2008 03:00:54 -0500 Received: from mx20.gnu.org ([199.232.41.8]:14882) by monty-python.gnu.org with esmtps (TLS-1.0:RSA_AES_256_CBC_SHA1:32) (Exim 4.60) (envelope-from ) id 1KxznS-0007yU-Rd for emacs-orgmode@gnu.org; Thu, 06 Nov 2008 03:00:54 -0500 Received: from ug-out-1314.google.com ([66.249.92.174]) by mx20.gnu.org with esmtp (Exim 4.60) (envelope-from ) id 1KxznR-00018u-HC for emacs-orgmode@gnu.org; Thu, 06 Nov 2008 03:00:53 -0500 Received: by ug-out-1314.google.com with SMTP id 36so844692uga.17 for ; Thu, 06 Nov 2008 00:00:52 -0800 (PST) In-Reply-To: List-Id: "General discussions about Org-mode." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: emacs-orgmode-bounces+geo-emacs-orgmode=m.gmane.org@gnu.org Errors-To: emacs-orgmode-bounces+geo-emacs-orgmode=m.gmane.org@gnu.org To: Lindsay Todd Cc: org-mode Hi Lindsay, this can be done using link abbreviation. If you get the latest git release, you can simply do (setq org-link-abbrev-alist '(("att" . org-attach-expand-link))) The basics of this worked before, all I have added today is the function org-attach-expand-link which previously you would have had to write yourself. HTH - Carsten On Nov 5, 2008, at 4:48 PM, Lindsay Todd wrote: > Is there any sort of "attach:" hyperlink type that I'm missing, that > would allow me to link to a file in a node's attachment directory? I > know this could be done using the appropriate "file:" hyperlink, but > it seems like part of the file path could be automated here. > > > _______________________________________________ > Emacs-orgmode mailing list > Remember: use `Reply All' to send replies to the list. > Emacs-orgmode@gnu.org > http://lists.gnu.org/mailman/listinfo/emacs-orgmode