From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Eric Abrahamsen Newsgroups: gmane.emacs.help Subject: Re: GNUs open PDF attachments: how to switch to PDF-Tools? Date: Mon, 23 Feb 2015 12:54:33 +0800 Message-ID: <87oaol6xdi.fsf@ericabrahamsen.net> References: <87lhjp2z8m.fsf@gmail.com> NNTP-Posting-Host: plane.gmane.org Mime-Version: 1.0 Content-Type: text/plain X-Trace: ger.gmane.org 1424667313 23067 80.91.229.3 (23 Feb 2015 04:55:13 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Mon, 23 Feb 2015 04:55:13 +0000 (UTC) To: help-gnu-emacs@gnu.org Original-X-From: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Mon Feb 23 05:55:03 2015 Return-path: Envelope-to: geh-help-gnu-emacs@m.gmane.org Original-Received: from lists.gnu.org ([208.118.235.17]) by plane.gmane.org with esmtp (Exim 4.69) (envelope-from ) id 1YPl2t-0005iH-J2 for geh-help-gnu-emacs@m.gmane.org; Mon, 23 Feb 2015 05:55:03 +0100 Original-Received: from localhost ([::1]:42065 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1YPl2s-0006jJ-VB for geh-help-gnu-emacs@m.gmane.org; Sun, 22 Feb 2015 23:55:02 -0500 Original-Received: from eggs.gnu.org ([2001:4830:134:3::10]:45737) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1YPl2i-0006jD-2e for help-gnu-emacs@gnu.org; Sun, 22 Feb 2015 23:54:52 -0500 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1YPl2e-0003Fz-Sw for help-gnu-emacs@gnu.org; Sun, 22 Feb 2015 23:54:52 -0500 Original-Received: from plane.gmane.org ([80.91.229.3]:39256) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1YPl2e-0003Fo-Ly for help-gnu-emacs@gnu.org; Sun, 22 Feb 2015 23:54:48 -0500 Original-Received: from list by plane.gmane.org with local (Exim 4.69) (envelope-from ) id 1YPl2b-0005bz-Re for help-gnu-emacs@gnu.org; Mon, 23 Feb 2015 05:54:46 +0100 Original-Received: from 114.248.23.26 ([114.248.23.26]) by main.gmane.org with esmtp (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Mon, 23 Feb 2015 05:54:45 +0100 Original-Received: from eric by 114.248.23.26 with local (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Mon, 23 Feb 2015 05:54:45 +0100 X-Injected-Via-Gmane: http://gmane.org/ Original-Lines: 18 Original-X-Complaints-To: usenet@ger.gmane.org X-Gmane-NNTP-Posting-Host: 114.248.23.26 User-Agent: Gnus/5.130012 (Ma Gnus v0.12) Emacs/24.4.90 (gnu/linux) Cancel-Lock: sha1:HKMOkkle2hOjNg+xfTRJOlyz05E= X-detected-operating-system: by eggs.gnu.org: Genre and OS details not recognized. X-Received-From: 80.91.229.3 X-BeenThere: help-gnu-emacs@gnu.org X-Mailman-Version: 2.1.14 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.org@gnu.org Original-Sender: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Xref: news.gmane.org gmane.emacs.help:102847 Archived-At: torys.anderson@gmail.com (Tory S. Anderson) writes: > When I receive an email (using Gnus) with a PDF attachment, attempting > to open it uses DocView despite my having PDF-Tools installed and > working for all PDF opening I otherwise do. But search as I might, I > can't find the variable or commmand that would allow me to change the > program/function that is used for the PDF attachment. How can I change > this setting to specify PDF-Tools for opening attached PDFs? There's a thread on gnus.general about this -- lots of people are having trouble getting Gnus to respect view-part-externally. I used to only have trouble with PDFs, but I follow Gnus git, and now I have trouble with most file formats. Lars identified weirdness in the function `gnus-mime-view-part-externally', but no one's really tackled it yet. I tried edebugging the function and following it a few times, and it totally confused me. http://article.gmane.org/gmane.emacs.gnus.general/85646/