emacs-orgmode
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [O] pdf files with openwith only, and only this.


From: Joseph Vidal-Rosset
Subject: Re: [O] pdf files with openwith only, and only this.
Date: Thu, 4 Jul 2019 13:23:42 +0200

Dear Colin (cc. John),

Many thanks ! Unfortunately, I have always the same result. Here is the message:

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 à 13:00, Colin Baxter <address@hidden> a écrit :
>
> Dear Joseph,
> >>>>> Joseph Vidal-Rosset <address@hidden> 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



reply via email to

[Prev in Thread] Current Thread [Next in Thread]