From mboxrd@z Thu Jan 1 00:00:00 1970 From: Bernt Hansen Subject: Wish list: Storing links and enabling MIME actions on files Date: Thu, 27 Sep 2007 12:43:46 -0400 Message-ID: <87k5qcxdml.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 1IawcG-0008D9-4f for emacs-orgmode@gnu.org; Thu, 27 Sep 2007 12:53:32 -0400 Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1IawcE-0008CC-DT for emacs-orgmode@gnu.org; Thu, 27 Sep 2007 12:53:31 -0400 Received: from [199.232.76.173] (helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1IawcE-0008C6-79 for emacs-orgmode@gnu.org; Thu, 27 Sep 2007 12:53:30 -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 1IawcD-0006t1-Pm for emacs-orgmode@gnu.org; Thu, 27 Sep 2007 12:53:29 -0400 Received: from list by ciao.gmane.org with local (Exim 4.43) id 1IawZq-0006z5-R4 for emacs-orgmode@gnu.org; Thu, 27 Sep 2007 16:51: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 16:51:02 +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 16:51:02 +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 Hi all, 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.) 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. Gnus correctly opens the PDF attachment for viewing. I can link to the Gnus email and then open the right attachment - but I need to remember which attachment it is of the 6 in the mail. When I create a link like [[file:~/path/to/some-long-filename.pdf]] C-c C-o on the link just opens the raw PDF text in another buffer which isn't useful -- sorry I can't read raw PDF source ;) I'm wondering if there is a way to create a [[file:...]] link easily by browsing for the file instead of typing it in -- long case sensitive files with blanks are a bit of a pain here -- and having the file opened by the appropriate viewer when it's not text. Knowing Carsten this probably already exists somewhere and I just haven't found it yet. Bernt