From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.io!.POSTED.blaine.gmane.org!not-for-mail From: Stephen Berman Newsgroups: gmane.emacs.help Subject: Re: Emacs opens PDF in default PDF reader instead of pdf-tools Date: Tue, 17 Dec 2024 17:10:54 +0100 Message-ID: <878qse1e9d.fsf@gmx.net> References: Mime-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214"; logging-data="11181"; mail-complaints-to="usenet@ciao.gmane.io" User-Agent: Gnus/5.13 (Gnus v5.13) Cc: Jean-Christophe Helary To: Jean-Christophe Helary via Users list for the GNU Emacs text editor Original-X-From: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane-mx.org@gnu.org Tue Dec 17 17:12:08 2024 Return-path: Envelope-to: geh-help-gnu-emacs@m.gmane-mx.org Original-Received: from lists.gnu.org ([209.51.188.17]) by ciao.gmane.io with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.92) (envelope-from ) id 1tNaB5-0002gw-44 for geh-help-gnu-emacs@m.gmane-mx.org; Tue, 17 Dec 2024 17:12:07 +0100 Original-Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1tNaA6-0004AU-HX; Tue, 17 Dec 2024 11:11:07 -0500 Original-Received: from eggs.gnu.org ([2001:470:142:3::10]) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1tNaA0-00046J-Tk for help-gnu-emacs@gnu.org; Tue, 17 Dec 2024 11:11:02 -0500 Original-Received: from mout.gmx.net ([212.227.15.15]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1tNa9z-0003jl-7D for help-gnu-emacs@gnu.org; Tue, 17 Dec 2024 11:11:00 -0500 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmx.net; s=s31663417; t=1734451854; x=1735056654; i=stephen.berman@gmx.net; bh=32367d7oV6TVlHP3q6F28W37GsK4UJ1K3l1wf2jiv3I=; h=X-UI-Sender-Class:From:To:Cc:Subject:In-Reply-To:References:Date: Message-ID:MIME-Version:Content-Type:Content-Transfer-Encoding:cc: content-transfer-encoding:content-type:date:from:message-id: mime-version:reply-to:subject:to; b=oJGKGgk7e0lna3Gp5SHUIOrm1fkyDLcyu1f5r9BBgDNspenLFzwQ044o+QcfLVe6 ZWbfD+ZnHem0FiKX6YkozmJsrubg2SN8KHoHICluYBWThbQwuLzNAx2XIyFfRGom2 tmBkMnZ6OR6pKQ2SNT0aY+i2clstr3xRydX9o5BKm1llnZaj3D/+dGiBp2tAnGaSd xw5QoXRYTZQr7ObOS5DKGc34/w2NdUceiCRcXriGuiWY5nZpHLTWl+/iXc4GtiG0u 2JLCRNYKPwQUkIRiW3i95jRwcyk/aBRlUwU9M3gSWBk1OU0Kop+EBfVRteJHBqgTu mJtvd1L62lEcainJ/g== X-UI-Sender-Class: 724b4f7f-cbec-4199-ad4e-598c01a50d3a Original-Received: from strobelfssd ([94.134.94.220]) by mail.gmx.net (mrgmx005 [212.227.17.190]) with ESMTPSA (Nemesis) id 1MBm1e-1tI3r02BKu-008R8O; Tue, 17 Dec 2024 17:10:54 +0100 In-Reply-To: (Jean-Christophe Helary via Users list for the's message of "Tue, 17 Dec 2024 10:27:43 +0000") X-Provags-ID: V03:K1:2Ha5CPY9227KuOLxFiv7zIdmmnXwJOKCj0Jh/J9C6ESLZA0m59G XxCPAw3yHKBKSw8b4SLCjbeH7xsKqx8Jz3xP/I8z5MIsbAmweVJgwYFzYRgNGyeOvJ1MWKo wJ+9u6FJpKgTn9KxGOciOyGW99W+wwjXLoF9LfAekwwdfmY4vGcML4mZnOdUC5vKvevljW5 ScM+JmeePJqN72vejI3zg== UI-OutboundReport: notjunk:1;M01:P0:3cZqNxxS9qg=;OG3QXzjX9ql4h5EjiC3FpFSay/p 3lRo+izCwoJ9Sbrrqhmp7XzdTR3AVXFqoaxc8da7SCD0epFxNtRWn3SkqcAcLV2Mf0le8Nqyh yitRfFVH4G9hWEeFK3qMCkBfDVRI08i5NMxCZRW6U8RaedDHsbK7AAyhyzFme8biZVs+Q36DK e2VAIOwi3J0gDMrQjDmqIPIs3NJZNVPn7gop5r65nq0EHt3K4QbcKXWdFYJvgICIWtxaKZjbd +GyFmDzbkgOAFtg1K7yIt3ftUOJR85/VqnBoRXQkP3Oor8sv+XgoGgM6ZG1VZ7R0mSUdlQosU +PLEW8WxDBsrio/jvQOYyW2v1UWJRBhJ1UHPkqkyQrkBsvTz317w0kpSXjj1JQd1QV11da0z2 Y+51uQ2NOIhmqSynDUW3qu+/HqOKqyLA2TvAE2B7rO8nRcd+ZRpA1uQdmGI/3E4cd5lJPgh6l tQML6760QxjbbZ5+pTR4n5D/XC5d3IZuhhOuxedLP+Cw8Zgm1ULlDiSBp5vqTFtqr3TQT5yv2 /li+evWNalEDsyOfezoKmEe5WQtuR81qHUIx/wabE03iUOi4eTO5XqKRlm6AN+gcD3kN0w3rx yFZ7ww7epaCKKpkNYPD2HT3FI8Bo2KUMEkAKlRopMDaR5OpyyZ6irkMeUAg7nlmCtxG9h3Www pVA1vW49O3UCjaZKdYIZPKm+1+k2Ya7lr7lyXBwGrH02LrL6BtU8+fcZRJ2BDRAqDI21kBI+3 s5/QonkOxW7o1kGwC/sefRvQizaoGYgEF/NW8OsXDDcBSw3qDBopYuA06EPTu5yxs8xMj+Bt Received-SPF: pass client-ip=212.227.15.15; envelope-from=stephen.berman@gmx.net; helo=mout.gmx.net X-Spam_score_int: -38 X-Spam_score: -3.9 X-Spam_bar: --- X-Spam_report: (-3.9 / 5.0 requ) BAYES_00=-1.9, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, DKIM_VALID_EF=-0.1, FREEMAIL_FROM=0.001, RCVD_IN_DNSWL_LOW=-0.7, RCVD_IN_MSPIKE_H2=-1.116, RCVD_IN_VALIDITY_CERTIFIED_BLOCKED=0.001, RCVD_IN_VALIDITY_RPBL_BLOCKED=0.001, SPF_HELO_NONE=0.001, SPF_PASS=-0.001 autolearn=ham autolearn_force=no X-Spam_action: no action X-BeenThere: help-gnu-emacs@gnu.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: Users list for the GNU Emacs text editor List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane-mx.org@gnu.org Original-Sender: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane-mx.org@gnu.org Xref: news.gmane.io gmane.emacs.help:148866 Archived-At: On Tue, 17 Dec 2024 10:27:43 +0000 Jean-Christophe Helary via Users list fo= r the GNU Emacs text editor wrote: > I=E2=80=99m 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