From mboxrd@z Thu Jan 1 00:00:00 1970 From: Colin Baxter Subject: Re: pdf files with openwith only, and only this. Date: Thu, 04 Jul 2019 13:48:29 +0100 Message-ID: <875zoix8wy.fsf@yandex.com> References: <87ef36xdxk.fsf@yandex.com> Mime-Version: 1.0 Content-Type: text/plain Return-path: Received: from eggs.gnu.org ([2001:470:142:3::10]:43023) by lists.gnu.org with esmtp (Exim 4.86_2) (envelope-from ) id 1hj1AT-0000BQ-CE for emacs-orgmode@gnu.org; Thu, 04 Jul 2019 08:48:54 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1hj1AR-0004hP-LI for emacs-orgmode@gnu.org; Thu, 04 Jul 2019 08:48:53 -0400 Received: from forward102p.mail.yandex.net ([77.88.28.102]:43350) by eggs.gnu.org with esmtps (TLS1.0:DHE_RSA_AES_256_CBC_SHA1:32) (Exim 4.71) (envelope-from ) id 1hj1AQ-0004d7-TT for emacs-orgmode@gnu.org; Thu, 04 Jul 2019 08:48:51 -0400 In-Reply-To: (John Kitchin's message of "Thu, 4 Jul 2019 07:44:08 -0400") List-Id: "General discussions about Org-mode." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: emacs-orgmode-bounces+geo-emacs-orgmode=m.gmane.org@gnu.org Sender: "Emacs-orgmode" To: John Kitchin Cc: "Liste-emacs-orgmode@gnu.org" , Joseph Vidal-Rosset >>>>> John Kitchin writes: > I don't think org-ref is responsible, except that it installs > pdf-tools. When I click on a link like [[./2019-07-04.pdf]] it > opens in acrobat for me. > I don't have anything fancy org-file-apps is a variable defined in > `org.el'. Its value is ((auto-mode . emacs) ("\\.mm\\'" > . default) ("\\.x?html?\\'" . default) ("\\.pdf\\'" . default)) > which I guess means on osx that it gets opened with "open". > It looks like you can do this > (setf (cdr (assoc "\\.pdf\\'" org-file-apps)) "evince %s") Yes, that works for me too. Best wishes, Colin Baxter www.Colin-Baxter.com