[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: Emacs opens PDF in default PDF reader instead of pdf-tools
From: |
Stephen Berman |
Subject: |
Re: Emacs opens PDF in default PDF reader instead of pdf-tools |
Date: |
Tue, 17 Dec 2024 17:10:54 +0100 |
User-agent: |
Gnus/5.13 (Gnus v5.13) |
On Tue, 17 Dec 2024 10:27:43 +0000 Jean-Christophe Helary via Users list for
the GNU Emacs text editor <help-gnu-emacs@gnu.org> wrote:
> I’m working on macOS where I set my default PDF reader to Skim.
>
> Until I installed pdf-tools, Emacs was opening PDFs in doc-view.
> After installing pdf-tools, Emacs sends them to Skim.
>
> What should I check to fix that?
When you installed pdf-tools that should have added the entry
'("\\.[pP][dD][fF]\\'" . pdf-view-mode) to auto-mode-alist, which should
make Emacs use it. But a web search told me that "Skim is a PDF reader
and note-taker for OS X", so it looks like somehow your system (I assume
macOS) is overriding or countermanding the use of auto-mode-alist by
Emacs for PDFs; maybe you can find a system setting to fix that (I know
next to nothing about macOS, so I can't offer more specific help).
Steve Berman