emacs-orgmode
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [Orgmode] Wish list: Storing links and enabling MIME actions on file


From: Carsten Dominik
Subject: Re: [Orgmode] Wish list: Storing links and enabling MIME actions on files
Date: Thu, 27 Sep 2007 20:01:41 +0200


On Sep 27, 2007, at 18:43, Bernt Hansen wrote:

Hi all,

I occasionally receive documents (like PDF files) in emails and I want
to just save some of the attachments to a local directory for reference
in my org file (usually because the email contained half a dozen
documents and only 1 is interesting.)

I'd like to be able to link to the file easily for my org document and
have it invoke the appropriate viewer as defined in my MIME setup. Gnus
correctly opens the PDF attachment for viewing.  I can link to the Gnus
email and then open the right attachment - but I need to remember which
attachment it is of the 6 in the mail.

When I create a link like [[file:~/path/to/some-long-filename.pdf]]
C-c C-o on the link just opens the raw PDF text in another buffer which
isn't useful -- sorry I can't read raw PDF source ;)

I'm wondering if there is a way to create a [[file:...]] link easily by
browsing for the file instead of typing it in -- long case sensitive
files with blanks are a bit of a pain here -- and having the file opened
by the appropriate viewer when it's not text.

`C-u C-c C-l' will insert a link to a local file, using file name completion.

For the rest, like Bastien says, check the mailcap setup. Or customize the variable
org-file-apps or one of its opeating-system-dependent equivalents.


- Carsten





reply via email to

[Prev in Thread] Current Thread [Next in Thread]