From mboxrd@z Thu Jan 1 00:00:00 1970 From: Bastien Subject: Re: Wish list: Storing links and enabling MIME actions on files Date: Fri, 28 Sep 2007 00:50:02 +0200 Message-ID: <87ir5vu3j9.fsf@bzg.ath.cx> References: <87k5qcxdml.fsf@gollum.intra.norang.ca> <87lkasxbqt.fsf@bzg.ath.cx> <87tzpgvtgs.fsf@gollum.intra.norang.ca> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Return-path: Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1Ib2BQ-0000lO-TC for emacs-orgmode@gnu.org; Thu, 27 Sep 2007 18:50:12 -0400 Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1Ib2BO-0000jK-A1 for emacs-orgmode@gnu.org; Thu, 27 Sep 2007 18:50:11 -0400 Received: from [199.232.76.173] (helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1Ib2BO-0000jH-4q for emacs-orgmode@gnu.org; Thu, 27 Sep 2007 18:50:10 -0400 Received: from hu-out-0506.google.com ([72.14.214.237]) by monty-python.gnu.org with esmtp (Exim 4.60) (envelope-from ) id 1Ib2BN-0007MT-Mm for emacs-orgmode@gnu.org; Thu, 27 Sep 2007 18:50:09 -0400 Received: by hu-out-0506.google.com with SMTP id 23so1367201huc for ; Thu, 27 Sep 2007 15:50:08 -0700 (PDT) In-Reply-To: <87tzpgvtgs.fsf@gollum.intra.norang.ca> (Bernt Hansen's message of "Thu, 27 Sep 2007 14:44:35 -0400") List-Id: "General discussions about Org-mode." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: emacs-orgmode-bounces+geo-emacs-orgmode=m.gmane.org@gnu.org Errors-To: emacs-orgmode-bounces+geo-emacs-orgmode=m.gmane.org@gnu.org To: Bernt Hansen Cc: emacs-orgmode@gnu.org Bernt Hansen 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