From mboxrd@z Thu Jan 1 00:00:00 1970 From: Tassilo Horn Subject: Re: Link Associations in Linux Date: Thu, 04 Sep 2008 12:09:06 +0200 Message-ID: <87sksgkyt9.fsf@thinkpad.tsdh.de> References: <20080904094102.B893F320071@mail.dagertech.net> 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 1KbBo6-0004PP-EN for emacs-orgmode@gnu.org; Thu, 04 Sep 2008 06:11:18 -0400 Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1KbBo4-0004P5-Md for emacs-orgmode@gnu.org; Thu, 04 Sep 2008 06:11:18 -0400 Received: from [199.232.76.173] (port=34865 helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1KbBo4-0004P2-Hk for emacs-orgmode@gnu.org; Thu, 04 Sep 2008 06:11:16 -0400 Received: from main.gmane.org ([80.91.229.2]:39490 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 1KbBo4-0002AG-5n for emacs-orgmode@gnu.org; Thu, 04 Sep 2008 06:11:16 -0400 Received: from list by ciao.gmane.org with local (Exim 4.43) id 1KbBny-0007Z5-Jy for emacs-orgmode@gnu.org; Thu, 04 Sep 2008 10:11:10 +0000 Received: from dhcp188.uni-koblenz.de ([141.26.71.188]) by main.gmane.org with esmtp (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Thu, 04 Sep 2008 10:11:10 +0000 Received: from tassilo by dhcp188.uni-koblenz.de with local (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Thu, 04 Sep 2008 10:11:10 +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 "David A. Gershman" writes: Hi David, > In the org.el file, I found "org-file-apps-defaults-gnu", made my > adjustments { ("pdf" . "xpdf %s") } and away I went! However, is > there a way I can modify/add to the "org-file-apps-defaults-gnu" via > my .emacs file? Sure, lots of ways. For example (add-to-list org-file-apps '("pdf" . "xpdf %s")) But the since the default value of org-file-apps-defaults-gnu is ,----[ C-h v org-file-apps-defaults-gnu RET ] | org-file-apps-defaults-gnu's value is | ((remote . emacs) | (t . mailcap)) `---- It would be even better to adjust (or create) your ~/.mailcap. Then not only org but most apps will honor this association. For example I have this ,----[ ~/.mailcap ] | application/pdf; okular '%s' `---- to open pdfs with okular. Hope that helps, Tassilo -- No person, no idea, and no religion deserves to be illegal to insult, not even the Church of Emacs. (Richard M. Stallman)