emacs-orgmode@gnu.org archives
 help / color / mirror / code / Atom feed
* Linking to attachments?
@ 2008-11-05 15:48 Lindsay Todd
  2008-11-06  8:00 ` Carsten Dominik
  0 siblings, 1 reply; 2+ messages in thread
From: Lindsay Todd @ 2008-11-05 15:48 UTC (permalink / raw)
  To: org-mode

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.

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

* Re: Linking to attachments?
  2008-11-05 15:48 Linking to attachments? Lindsay Todd
@ 2008-11-06  8:00 ` Carsten Dominik
  0 siblings, 0 replies; 2+ messages in thread
From: Carsten Dominik @ 2008-11-06  8:00 UTC (permalink / raw)
  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

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

end of thread, other threads:[~2008-11-06  8:00 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2008-11-05 15:48 Linking to attachments? Lindsay Todd
2008-11-06  8:00 ` Carsten Dominik

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