emacs-orgmode@gnu.org archives
 help / color / mirror / code / Atom feed
From: Bernt Hansen <bernt@alumni.uwaterloo.ca>
To: Bastien <bzg@altern.org>
Cc: emacs-orgmode@gnu.org
Subject: Re: Wish list: Storing links and enabling MIME actions on files
Date: Thu, 27 Sep 2007 14:44:35 -0400	[thread overview]
Message-ID: <87tzpgvtgs.fsf@gollum.intra.norang.ca> (raw)
In-Reply-To: 87lkasxbqt.fsf@bzg.ath.cx

Bastien <bzg@altern.org> writes:

> Bernt Hansen <bernt@alumni.uwaterloo.ca> writes:
>
>> 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.)
>
> One idea is to be able to add a search string in email link types.  
>
> For example: [[gnus:nnml.orgmode#6548::org.pdf]] would fetch the mail
> #6548 in nnml.orgmode Gnus group and search for the string "org.pdf" in
> the body of the mail (this could also be a regexp). Then RET will open
> this PDF attachment with the right app.

Thanks - I'll try that.

>
>> 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.  
>
> Org uses the local mailcap setup to decide what application to open a
> file with.  Don't you have this on your computer?
>
> ~$ man mailcap
>

Yes I have mailcap - and I assume Gnus is using it to open the MIME
attachment with the pdf file in it.  I don't have anything in ~/.mailcap
- only /etc/mailcap on my Debian system.  It just doesn't seem to
associate filename.pdf with the viewer for some reason.  I'm probably
missing something simple in the mailcap setup.

Bernt

  parent reply	other threads:[~2007-09-27 18:44 UTC|newest]

Thread overview: 13+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2007-09-27 16:43 Wish list: Storing links and enabling MIME actions on files Bernt Hansen
2007-09-27 17:24 ` Bastien
2007-09-27 17:51   ` William Henney
2007-09-27 18:02     ` Bastien
2007-09-27 18:15       ` William Henney
2007-09-27 19:35         ` Bastien
2007-09-27 18:44   ` Bernt Hansen [this message]
2007-09-27 22:50     ` Bastien
2007-09-27 23:08       ` Bernt Hansen
2007-09-27 18:01 ` Carsten Dominik
2007-09-27 18:38   ` Bernt Hansen
2007-09-27 19:08     ` Bernt Hansen
2007-09-27 19:39       ` Bastien

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=87tzpgvtgs.fsf@gollum.intra.norang.ca \
    --to=bernt@alumni.uwaterloo.ca \
    --cc=bzg@altern.org \
    --cc=emacs-orgmode@gnu.org \
    /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).