emacs-orgmode@gnu.org archives
 help / color / mirror / code / Atom feed
From: Carsten Dominik <dominik@science.uva.nl>
To: Lindsay Todd <rltodd.ml1@gmail.com>
Cc: org-mode <emacs-orgmode@gnu.org>
Subject: Re: Linking to attachments?
Date: Thu, 6 Nov 2008 09:00:49 +0100	[thread overview]
Message-ID: <8D5DD9B0-95A8-4055-BD93-8B029FE8FFD7@uva.nl> (raw)
In-Reply-To: <c7f7412a0811050748t1d6cd7aja8e50b38dbf1596b@mail.gmail.com>

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

      reply	other threads:[~2008-11-06  8:00 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2008-11-05 15:48 Linking to attachments? Lindsay Todd
2008-11-06  8:00 ` Carsten Dominik [this message]

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

  List information: https://www.orgmode.org/

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

  git send-email \
    --in-reply-to=8D5DD9B0-95A8-4055-BD93-8B029FE8FFD7@uva.nl \
    --to=dominik@science.uva.nl \
    --cc=emacs-orgmode@gnu.org \
    --cc=rltodd.ml1@gmail.com \
    /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 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).