unofficial mirror of help-gnu-emacs@gnu.org
 help / color / mirror / Atom feed
From: Stephen Berman <stephen.berman@gmx.net>
To: Jean-Christophe Helary via Users list for the GNU Emacs text
	editor <help-gnu-emacs@gnu.org>
Cc: Jean-Christophe Helary <jean.christophe.helary@traductaire-libre.org>
Subject: Re: Emacs opens PDF in default PDF reader instead of pdf-tools
Date: Tue, 17 Dec 2024 17:10:54 +0100	[thread overview]
Message-ID: <878qse1e9d.fsf@gmx.net> (raw)
In-Reply-To: <AD830796-72C0-4064-98C2-28D98B9A5F25@traductaire-libre.org> (Jean-Christophe Helary via Users list for the's message of "Tue, 17 Dec 2024 10:27:43 +0000")

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



  reply	other threads:[~2024-12-17 16:10 UTC|newest]

Thread overview: 4+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
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 [this message]
2024-12-17 16:14   ` Stephen Berman
2024-12-17 17:40 ` Michael Heerdegen via Users list for the GNU Emacs text editor

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

  List information: https://www.gnu.org/software/emacs/

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=878qse1e9d.fsf@gmx.net \
    --to=stephen.berman@gmx.net \
    --cc=help-gnu-emacs@gnu.org \
    --cc=jean.christophe.helary@traductaire-libre.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
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).