From: Bernt Hansen <bernt@alumni.uwaterloo.ca>
To: emacs-orgmode@gnu.org
Subject: Re: Wish list: Storing links and enabling MIME actions on files
Date: Thu, 27 Sep 2007 19:08:01 -0400 [thread overview]
Message-ID: <87sl4zvh9q.fsf@gollum.intra.norang.ca> (raw)
In-Reply-To: 87ir5vu3j9.fsf@bzg.ath.cx
Bastien <bzg@altern.org> writes:
> 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.
This is fixed. Thanks. My mailcap entry works - it's just the link I
was using was broken.
Bernt
next prev parent reply other threads:[~2007-09-27 23:11 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
2007-09-27 23:08 ` Bernt Hansen [this message]
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
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=87sl4zvh9q.fsf@gollum.intra.norang.ca \
--to=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 external index
https://git.savannah.gnu.org/cgit/emacs.git
https://git.savannah.gnu.org/cgit/emacs/org-mode.git
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.