From: Bastien <bzg@altern.org>
To: Bernt Hansen <bernt@alumni.uwaterloo.ca>
Cc: emacs-orgmode@gnu.org
Subject: Re: Wish list: Storing links and enabling MIME actions on files
Date: Fri, 28 Sep 2007 00:50:02 +0200 [thread overview]
Message-ID: <87ir5vu3j9.fsf@bzg.ath.cx> (raw)
In-Reply-To: <87tzpgvtgs.fsf@gollum.intra.norang.ca> (Bernt Hansen's message of "Thu, 27 Sep 2007 14:44:35 -0400")
Bernt Hansen <bernt@alumni.uwaterloo.ca> writes:
>> 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.
Well -- it was a proposal for a possible feature. Just as storing a
file link lets you keep the context with, it would be nice if we had
context with us when storing e-mail links. At least for what you're
trying to achieve (directly go to an attachment).
> I don't have anything in ~/.mailcap
Why don't you try a simple ~/.mailcap like this:
application/pdf; /usr/bin/acroread '%s'; test=test -n "$DISPLAY"; description=Portable Document Format; nametemplate=%s.pdf
Or digg for the documentation of `org-file-apps' -- here you can bind
extension and application directly.
--
Bastien
next prev parent reply other threads:[~2007-09-27 22:50 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
2007-09-27 22:50 ` Bastien [this message]
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=87ir5vu3j9.fsf@bzg.ath.cx \
--to=bzg@altern.org \
--cc=bernt@alumni.uwaterloo.ca \
--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).