* Emacs opens PDF in default PDF reader instead of pdf-tools
@ 2024-12-17 10:27 Jean-Christophe Helary via Users list for the GNU Emacs text editor
2024-12-17 16:10 ` Stephen Berman
2024-12-17 17:40 ` Michael Heerdegen via Users list for the GNU Emacs text editor
0 siblings, 2 replies; 4+ messages in thread
From: Jean-Christophe Helary via Users list for the GNU Emacs text editor @ 2024-12-17 10:27 UTC (permalink / raw)
To: help-gnu-emacs
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?
--
Jean-Christophe Helary
https://sr.ht/~brandelune/
@jchelary@sciences.social
^ permalink raw reply [flat|nested] 4+ messages in thread
* Re: Emacs opens PDF in default PDF reader instead of pdf-tools
2024-12-17 10:27 Emacs opens PDF in default PDF reader instead of pdf-tools Jean-Christophe Helary via Users list for the GNU Emacs text editor
@ 2024-12-17 16:10 ` Stephen Berman
2024-12-17 16:14 ` Stephen Berman
2024-12-17 17:40 ` Michael Heerdegen via Users list for the GNU Emacs text editor
1 sibling, 1 reply; 4+ messages in thread
From: Stephen Berman @ 2024-12-17 16:10 UTC (permalink / raw)
To: Jean-Christophe Helary via Users list for the GNU Emacs text editor
Cc: Jean-Christophe Helary
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
^ permalink raw reply [flat|nested] 4+ messages in thread
* Re: Emacs opens PDF in default PDF reader instead of pdf-tools
2024-12-17 16:10 ` Stephen Berman
@ 2024-12-17 16:14 ` Stephen Berman
0 siblings, 0 replies; 4+ messages in thread
From: Stephen Berman @ 2024-12-17 16:14 UTC (permalink / raw)
To: Jean-Christophe Helary via Users list for the GNU Emacs text editor
Cc: Jean-Christophe Helary
On Tue, 17 Dec 2024 17:10:54 +0100 Stephen Berman <stephen.berman@gmx.net> wrote:
> 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).
Oops, I missed the first line of your post. Sorry.
> Steve Berman
^ permalink raw reply [flat|nested] 4+ messages in thread
* Re: Emacs opens PDF in default PDF reader instead of pdf-tools
2024-12-17 10:27 Emacs opens PDF in default PDF reader instead of pdf-tools Jean-Christophe Helary via Users list for the GNU Emacs text editor
2024-12-17 16:10 ` Stephen Berman
@ 2024-12-17 17:40 ` Michael Heerdegen via Users list for the GNU Emacs text editor
1 sibling, 0 replies; 4+ messages in thread
From: Michael Heerdegen via Users list for the GNU Emacs text editor @ 2024-12-17 17:40 UTC (permalink / raw)
To: help-gnu-emacs
Jean-Christophe Helary via Users list for the GNU Emacs text editor
<help-gnu-emacs@gnu.org> writes:
> 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 were you doing to install/ uninstall?
Michael.
^ permalink raw reply [flat|nested] 4+ messages in thread
end of thread, other threads:[~2024-12-17 17:40 UTC | newest]
Thread overview: 4+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2024-12-17 10:27 Emacs opens PDF in default PDF reader instead of pdf-tools Jean-Christophe Helary via Users list for the GNU Emacs text editor
2024-12-17 16:10 ` Stephen Berman
2024-12-17 16:14 ` Stephen Berman
2024-12-17 17:40 ` Michael Heerdegen via Users list for the GNU Emacs text editor
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).