From mboxrd@z Thu Jan 1 00:00:00 1970 From: "William Henney" Subject: Re: Wish list: Storing links and enabling MIME actions on files Date: Thu, 27 Sep 2007 12:51:36 -0500 Message-ID: <41c818190709271051k46b19d96x5246fc8566c87a4b@mail.gmail.com> References: <87k5qcxdml.fsf@gollum.intra.norang.ca> <87lkasxbqt.fsf@bzg.ath.cx> Mime-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable Return-path: Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1IaxWd-0001rB-Og for emacs-orgmode@gnu.org; Thu, 27 Sep 2007 13:51:47 -0400 Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1IaxWY-0001ju-0E for emacs-orgmode@gnu.org; Thu, 27 Sep 2007 13:51:46 -0400 Received: from [199.232.76.173] (helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1IaxWX-0001jl-TK for emacs-orgmode@gnu.org; Thu, 27 Sep 2007 13:51:41 -0400 Received: from ug-out-1314.google.com ([66.249.92.168]) by monty-python.gnu.org with esmtp (Exim 4.60) (envelope-from ) id 1IaxWX-0004RI-H4 for emacs-orgmode@gnu.org; Thu, 27 Sep 2007 13:51:41 -0400 Received: by ug-out-1314.google.com with SMTP id m4so1582213uge for ; Thu, 27 Sep 2007 10:51:39 -0700 (PDT) In-Reply-To: <87lkasxbqt.fsf@bzg.ath.cx> Content-Disposition: inline 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: Bastien Cc: emacs-orgmode@gnu.org On 9/27/07, Bastien wrote: > Bernt Hansen writes: > > 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. > > Org uses the local mailcap setup to decide what application to open a > file with. Don't you have this on your computer? > > ~$ man mailcap > This is just for linux/unix, but things work fine for me on Mac OS X too (e.g., file:foo.pdf links open in my default PDF viewer). This should have been set up out of the box by one of the following variables, depending on your system `org-file-apps-defaults-macosx' `org-file-apps-defaults-windowsnt' `org-file-apps-defaults-gnu' Cheers Will --=20 Dr William Henney, Centro de Radioastronom=EDa y Astrof=EDsica, Universidad Nacional Aut=F3noma de M=E9xico, Campus Morelia