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, 04 Jul 2019 15:25:55 +0200 Message-ID: <87a7dudj8c.fsf@debian> 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]:49630) by lists.gnu.org with esmtp (Exim 4.86_2) (envelope-from ) id 1hj1kS-0007Pp-Qx for emacs-orgmode@gnu.org; Thu, 04 Jul 2019 09:26:05 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1hj1kQ-0001QZ-Rp for emacs-orgmode@gnu.org; Thu, 04 Jul 2019 09:26:04 -0400 Received: from mail-wr1-x42d.google.com ([2a00:1450:4864:20::42d]:33158) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1hj1kN-0001Ok-Es for emacs-orgmode@gnu.org; Thu, 04 Jul 2019 09:26:01 -0400 Received: by mail-wr1-x42d.google.com with SMTP id n9so6675086wru.0 for ; Thu, 04 Jul 2019 06:25:59 -0700 (PDT) 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: Colin Baxter , "Liste-emacs-orgmode@gnu.org" Le jeu. 07/04/19 juil. 2019 =C3=A0 07:44:08 , John Kitch= in a envoy=C3=A9 ce message: > I don't think org-ref is responsible, except that it installs pdf-tools. = When I click on a link like=C2=A0 > [[./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) > =C2=A0("\\.pdf\\'" . default)) > > which I guess means on osx that it gets opened with "open". > > It looks like you can do this > > #+BEGIN_SRC emacs-lisp > (setf (cdr (assoc "\\.pdf\\'" org-file-apps)) "evince %s") > #+END_SRC > > to make it open in evince. Dear John, Thanks for your reply. In fact my problem is only at the moment with pdf links in gnus, not in usual org files. (Maybe I should switch for mu4e, but I hesitate and I would be happy to find a tutorial to do it with gmail.) I have solved temporarily the problem with eimp : https://emacs.stackexchange.com/questions/2433/shrink-zoom-scale-images-in-= image-mode and the pdf in emacs are now more easily readable for me.=20 Best wishes, and again, to Colin and to you, many thanks.=20 --=20 Jo