From mboxrd@z Thu Jan 1 00:00:00 1970 From: Joseph Vidal-Rosset Subject: Re: pdf files with openwith only, and only this. Date: Thu, 4 Jul 2019 13:23:42 +0200 Message-ID: References: <87ef36xdxk.fsf@yandex.com> Mime-Version: 1.0 Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable Return-path: Received: from eggs.gnu.org ([2001:470:142:3::10]:57258) by lists.gnu.org with esmtp (Exim 4.86_2) (envelope-from ) id 1hizqG-0002T3-Eh for emacs-orgmode@gnu.org; Thu, 04 Jul 2019 07:23:57 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1hizqF-0001v7-Gf for emacs-orgmode@gnu.org; Thu, 04 Jul 2019 07:23:56 -0400 Received: from mail-lj1-x22f.google.com ([2a00:1450:4864:20::22f]:39326) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1hizqF-0001uY-9U for emacs-orgmode@gnu.org; Thu, 04 Jul 2019 07:23:55 -0400 Received: by mail-lj1-x22f.google.com with SMTP id v18so5789893ljh.6 for ; Thu, 04 Jul 2019 04:23:55 -0700 (PDT) In-Reply-To: <87ef36xdxk.fsf@yandex.com> 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: Colin Baxter Cc: "Liste-emacs-orgmode@gnu.org" Dear Colin (cc. John), Many thanks ! Unfortunately, I have always the same result. Here is the mes= sage: Viewing with pdf-view-mode pdf-info-encrypted-p: pdf-info-epdfinfo-program is not executable is org-ref the culprit? I cc. to John Kitchin. Best wishes, Jo. Le jeu. 4 juil. 2019 =C3=A0 13:00, Colin Baxter a =C3= =A9crit : > > Dear Joseph, > >>>>> Joseph Vidal-Rosset writes: > > > Hi the list, I do not want to use pdf-tools to view pdf in emacs, > > I want only to use an external program (evince) to view pdf > > files. Unfortunately, links to pdf do not work with openwith and > > my emacs open on a pdf. I cannot delete pdft-tools that is a > > dependency of org-ref that I am using. A solution for my setup > > would be welcome. > > Try this: > > (add-hook 'org-mode-hook > '(lambda () > (delete '("\\.pdf\\'" . default) org-file-apps) > (add-to-list 'org-file-apps '("\\.pdf\\'" . "evince %s")))) > > Best wishes, > > Colin Baxter > www.Colin-Baxter.com