[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [O] pdf files with openwith only, and only this.
From: |
Colin Baxter |
Subject: |
Re: [O] pdf files with openwith only, and only this. |
Date: |
Thu, 04 Jul 2019 12:00:07 +0100 |
User-agent: |
Gnus/5.13 (Gnus v5.13) Emacs/26.2 (gnu/linux) |
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
- [O] pdf files with openwith only, and only this., Joseph Vidal-Rosset, 2019/07/04
- Re: [O] pdf files with openwith only, and only this.,
Colin Baxter <=
- Re: [O] pdf files with openwith only, and only this., Joseph Vidal-Rosset, 2019/07/04
- Re: [O] pdf files with openwith only, and only this., Colin Baxter, 2019/07/04
- Re: [O] pdf files with openwith only, and only this., John Kitchin, 2019/07/04
- Re: [O] pdf files with openwith only, and only this., Colin Baxter, 2019/07/04
- Re: [O] pdf files with openwith only, and only this., Joseph Vidal-Rosset, 2019/07/04
- Re: [O] pdf files with openwith only, and only this., John Kitchin, 2019/07/04
- Re: [O] pdf files with openwith only, and only this., Tim Cross, 2019/07/04
- Re: [O] pdf files with openwith only, and only this., Joseph Vidal-Rosset, 2019/07/05