From mboxrd@z Thu Jan 1 00:00:00 1970 From: Bernt Hansen Subject: Re: Wish list: Storing links and enabling MIME actions on files Date: Thu, 27 Sep 2007 19:08:01 -0400 Message-ID: <87sl4zvh9q.fsf@gollum.intra.norang.ca> References: <87k5qcxdml.fsf@gollum.intra.norang.ca> <87lkasxbqt.fsf@bzg.ath.cx> <87tzpgvtgs.fsf@gollum.intra.norang.ca> <87ir5vu3j9.fsf@bzg.ath.cx> 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 1Ib2WU-0003pL-UM for emacs-orgmode@gnu.org; Thu, 27 Sep 2007 19:11:58 -0400 Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1Ib2WT-0003oq-8p for emacs-orgmode@gnu.org; Thu, 27 Sep 2007 19:11:58 -0400 Received: from [199.232.76.173] (helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1Ib2WT-0003om-46 for emacs-orgmode@gnu.org; Thu, 27 Sep 2007 19:11:57 -0400 Received: from main.gmane.org ([80.91.229.2] helo=ciao.gmane.org) by monty-python.gnu.org with esmtps (TLS-1.0:RSA_AES_256_CBC_SHA1:32) (Exim 4.60) (envelope-from ) id 1Ib2WS-00033c-Pd for emacs-orgmode@gnu.org; Thu, 27 Sep 2007 19:11:57 -0400 Received: from list by ciao.gmane.org with local (Exim 4.43) id 1Ib2Tf-0002Fv-OE for emacs-orgmode@gnu.org; Thu, 27 Sep 2007 23:09:03 +0000 Received: from cpe000102d0fe75-cm0012256ecbde.cpe.net.cable.rogers.com ([74.119.210.211]) by main.gmane.org with esmtp (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Thu, 27 Sep 2007 23:09:03 +0000 Received: from bernt by cpe000102d0fe75-cm0012256ecbde.cpe.net.cable.rogers.com with local (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Thu, 27 Sep 2007 23:09:03 +0000 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: emacs-orgmode@gnu.org Bastien writes: > 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. This is fixed. Thanks. My mailcap entry works - it's just the link I was using was broken. Bernt