From unknown Tue Sep 09 12:43:21 2025 Content-Disposition: inline Content-Transfer-Encoding: quoted-printable MIME-Version: 1.0 X-Mailer: MIME-tools 5.509 (Entity 5.509) Content-Type: text/plain; charset=utf-8 From: bug#4377 <4377@debbugs.gnu.org> To: bug#4377 <4377@debbugs.gnu.org> Subject: Status: allow one to still choose xpdf instead of doc-view Reply-To: bug#4377 <4377@debbugs.gnu.org> Date: Tue, 09 Sep 2025 19:43:21 +0000 retitle 4377 allow one to still choose xpdf instead of doc-view reassign 4377 emacs submitter 4377 jidanni@jidanni.org severity 4377 normal thanks From jidanni@jidanni.org Tue Sep 8 11:28:53 2009 Received: (at submit) by emacsbugs.donarmstrong.com; 8 Sep 2009 18:28:53 +0000 X-Spam-Checker-Version: SpamAssassin 3.2.5-bugs.debian.org_2005_01_02 (2008-06-10) on rzlab.ucr.edu X-Spam-Level: X-Spam-Bayes: score:0.5 Bayes not run. spammytokens:Tokens not available. hammytokens:Tokens not available. X-Spam-Status: No, score=0.9 required=4.0 tests=AWL,SARE_RECV_SPAM_DOMN0b autolearn=no version=3.2.5-bugs.debian.org_2005_01_02 Received: from fencepost.gnu.org (fencepost.gnu.org [140.186.70.10]) by rzlab.ucr.edu (8.14.3/8.14.3/Debian-5) with ESMTP id n88ISqP6010616 for ; Tue, 8 Sep 2009 11:28:53 -0700 Received: from mx10.gnu.org ([199.232.76.166]:60556) by fencepost.gnu.org with esmtp (Exim 4.67) (envelope-from ) id 1Ml5Qx-0008HT-FX for emacs-pretest-bug@gnu.org; Tue, 08 Sep 2009 14:28:51 -0400 Received: from Debian-exim by monty-python.gnu.org with spam-scanned (Exim 4.60) (envelope-from ) id 1Ml5Qw-0006ZL-49 for emacs-pretest-bug@gnu.org; Tue, 08 Sep 2009 14:28:51 -0400 Received: from caiajhbdcahe.dreamhost.com ([208.97.132.74]:57745 helo=homiemail-a4.g.dreamhost.com) by monty-python.gnu.org with esmtp (Exim 4.60) (envelope-from ) id 1Ml5Qv-0006YV-F9 for emacs-pretest-bug@gnu.org; Tue, 08 Sep 2009 14:28:49 -0400 Received: from jidanni.org (218-163-0-86.dynamic.hinet.net [218.163.0.86]) (using TLSv1 with cipher AES256-SHA (256/256 bits)) (No client certificate requested) by homiemail-a4.g.dreamhost.com (Postfix) with ESMTP id 249B2418A0; Tue, 8 Sep 2009 11:28:44 -0700 (PDT) From: jidanni@jidanni.org To: yamaoka@jpl.org Cc: emacs-w3m@namazu.org, emacs-pretest-bug@gnu.org Subject: allow one to still choose xpdf instead of doc-view References: Date: Wed, 09 Sep 2009 02:28:42 +0800 Message-ID: <878wgpb89x.fsf@jidanni.org> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-detected-operating-system: by monty-python.gnu.org: GNU/Linux 2.6 (newer, 2) My god, that's tons and tons of lisp to add to one's .emacs file, just to say "I wish to have emacs still call xpdf when encountering a .pdf file, like back before they introduced doc-view". I'm filing an emacs-pretest-bug so they will make it easier to allow one to choose if one wants doc-view, or stick with xpdf. >>>>> "KY" == Katsumi Yamaoka writes: >>>>> jidanni@jidanni.org wrote: >> The only way to get xpdf called on them is via dired-do-shell-command, >> which knows about xpdf. KY> Is what you want the one like this? KY> (defadvice dired-view-file (around use-xpdf activate) KY> "Use xpdf to view a pdf file." KY> (unless (let ((file (dired-get-file-for-visit))) KY> (and (not (file-directory-p file)) KY> (let ((case-fold-search t)) KY> (string-match "\\.pdf\\'" file)) KY> (prog1 KY> t KY> (call-process "xpdf" nil nil nil file)))) KY> ad-do-it)) KY> The `v' key in the dired buffer uses xpdf to display a file iff KY> its extension is ".pdf". KY> Otherwise, KY> (autoload 'mailcap-parse-mailcaps "mailcap" nil t) KY> (autoload 'mm-mailcap-command "mm-decode") KY> (defadvice dired-view-file (around use-mailcap-mime-data activate) KY> "Use an external viewer to view a file according to `mailcap-mime-data'." KY> (unless (let ((file (dired-get-file-for-visit)) KY> extension type command) KY> (and (not (file-directory-p file)) KY> (progn KY> (mailcap-parse-mailcaps) KY> (setq extension (file-name-extension file))) KY> (setq type (mailcap-extension-to-mime extension)) KY> (setq command (mailcap-mime-info type)) KY> (setq command (mm-mailcap-command command file nil)) KY> (prog1 KY> t KY> (shell-command command)))) KY> ad-do-it)) KY> There will be other ELisp packages that use external viewers. KY> `gnus-dired-find-file-mailcap' is it, though it may not be your KY> taste. From cyd@stupidchicken.com Sat Sep 12 19:04:46 2009 Received: (at 4377-done) by emacsbugs.donarmstrong.com; 13 Sep 2009 02:04:46 +0000 X-Spam-Checker-Version: SpamAssassin 3.2.5-bugs.debian.org_2005_01_02 (2008-06-10) on rzlab.ucr.edu X-Spam-Level: X-Spam-Bayes: score:0.5 Bayes not run. spammytokens:Tokens not available. hammytokens:Tokens not available. X-Spam-Status: No, score=-1.6 required=4.0 tests=AWL autolearn=ham version=3.2.5-bugs.debian.org_2005_01_02 Received: from cyd.mit.edu (CYD.MIT.EDU [18.115.2.24]) by rzlab.ucr.edu (8.14.3/8.14.3/Debian-5) with ESMTP id n8D24jFQ002818 for <4377-done@emacsbugs.donarmstrong.com>; Sat, 12 Sep 2009 19:04:46 -0700 Received: by cyd.mit.edu (Postfix, from userid 1000) id 1BDC257E259; Sat, 12 Sep 2009 22:06:11 -0400 (EDT) From: Chong Yidong To: jidanni@jidanni.org Cc: yamaoka@jpl.org, 4377-done@debbugs.gnu.org Subject: Re: allow one to still choose xpdf instead of doc-view Date: Sat, 12 Sep 2009 22:06:11 -0400 Message-ID: <87skerbnu4.fsf@cyd.mit.edu> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii > My god, that's tons and tons of lisp to add to one's .emacs file, just > to say "I wish to have emacs still call xpdf when encountering a .pdf > file, like back before they introduced doc-view". One line solution: (setq auto-mode-alist (rassq-delete-all 'doc-view-mode auto-mode-alist)) From jidanni@jidanni.org Sat Sep 12 19:40:06 2009 Received: (at 4377-done) by emacsbugs.donarmstrong.com; 13 Sep 2009 02:40:06 +0000 X-Spam-Checker-Version: SpamAssassin 3.2.5-bugs.debian.org_2005_01_02 (2008-06-10) on rzlab.ucr.edu X-Spam-Level: X-Spam-Bayes: score:0.5 Bayes not run. spammytokens:Tokens not available. hammytokens:Tokens not available. X-Spam-Status: No, score=0.9 required=4.0 tests=AWL,SARE_RECV_SPAM_DOMN0b autolearn=no version=3.2.5-bugs.debian.org_2005_01_02 Received: from homiemail-a6.g.dreamhost.com (caiajhbdcahe.dreamhost.com [208.97.132.74]) by rzlab.ucr.edu (8.14.3/8.14.3/Debian-5) with ESMTP id n8D2e56c008379 for <4377-done@emacsbugs.donarmstrong.com>; Sat, 12 Sep 2009 19:40:06 -0700 Received: from jidanni.org (218-163-7-33.dynamic.hinet.net [218.163.7.33]) (using TLSv1 with cipher AES256-SHA (256/256 bits)) (No client certificate requested) by homiemail-a6.g.dreamhost.com (Postfix) with ESMTP id D6EAE156BA; Sat, 12 Sep 2009 19:40:04 -0700 (PDT) From: jidanni@jidanni.org To: cyd@stupidchicken.com Cc: yamaoka@jpl.org, 4377-done@debbugs.gnu.org Subject: Re: allow one to still choose xpdf instead of doc-view References: <87skerbnu4.fsf@cyd.mit.edu> Date: Sun, 13 Sep 2009 10:40:02 +0800 Message-ID: <874or78t4t.fsf@jidanni.org> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii >>>>> "CY" == Chong Yidong writes: >> My god, that's tons and tons of lisp to add to one's .emacs file, just >> to say "I wish to have emacs still call xpdf when encountering a .pdf >> file, like back before they introduced doc-view". CY> One line solution: CY> (setq auto-mode-alist (rassq-delete-all 'doc-view-mode auto-mode-alist)) No. This only cause the file to appear as binary gibberish. Please provide the complete solution that will allow: v and browse-url-of-dired-file in dired to invoke xpdf on the file. ! in dired suggest xpdf. From sl392@hermes.cam.ac.uk Sun Sep 13 08:10:46 2009 Received: (at 4377) by emacsbugs.donarmstrong.com; 13 Sep 2009 15:10:46 +0000 X-Spam-Checker-Version: SpamAssassin 3.2.5-bugs.debian.org_2005_01_02 (2008-06-10) on rzlab.ucr.edu X-Spam-Level: X-Spam-Bayes: score:0.5 Bayes not run. spammytokens:Tokens not available. hammytokens:Tokens not available. X-Spam-Status: No, score=-3.6 required=4.0 tests=AWL,HAS_BUG_NUMBER autolearn=ham version=3.2.5-bugs.debian.org_2005_01_02 Received: from ppsw-1.csi.cam.ac.uk (ppsw-1.csi.cam.ac.uk [131.111.8.131]) by rzlab.ucr.edu (8.14.3/8.14.3/Debian-5) with ESMTP id n8DFAiOO006500 for <4377@emacsbugs.donarmstrong.com>; Sun, 13 Sep 2009 08:10:46 -0700 X-Cam-AntiVirus: no malware found X-Cam-SpamDetails: not scanned X-Cam-ScannerInfo: http://www.cam.ac.uk/cs/email/scanner/ Received: from smaug.linux.pwf.cam.ac.uk ([193.60.95.72]:47937) by ppsw-1.csi.cam.ac.uk (smtp.hermes.cam.ac.uk [131.111.8.151]:587) with esmtpsa (LOGIN:sl392) (TLSv1:DHE-RSA-AES128-SHA:128) id 1Mmqiu-0003MD-4O (Exim 4.70) (return-path ); Sun, 13 Sep 2009 16:10:40 +0100 From: Leo To: 4377@debbugs.gnu.org Cc: Chong Yidong , jidanni@jidanni.org, yamaoka@jpl.org Subject: Re: bug#4377: marked as done (allow one to still choose xpdf instead of doc-view) References: <87skerbnu4.fsf@cyd.mit.edu> <878wgpb89x.fsf@jidanni.org> Date: Sun, 13 Sep 2009 16:10:39 +0100 In-Reply-To: (Emacs bug Tracking System's message of "Sun, 13 Sep 2009 02:10:05 +0000") Message-ID: User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/23.0.60 (gnu/linux) MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Sender: "Leo, Shidai Liu" On 2009-09-13 03:10 +0100, Emacs bug Tracking System wrote: >> My god, that's tons and tons of lisp to add to one's .emacs file, >> just to say "I wish to have emacs still call xpdf when encountering a >> .pdf file, like back before they introduced doc-view". > > One line solution: > > (setq auto-mode-alist (rassq-delete-all 'doc-view-mode auto-mode-alist)) I wonder if it is better not to include doc-view-mode in auto-mode-alist. Personally, I can't think of an occasion that I would like doc-view mode to view my pdf files except, perhaps, to brag about Emacs's capability. I have this in .emacs for a while. (defalias 'doc-view-mode 'ignore) Leo From jidanni@jidanni.org Sun Sep 13 08:21:11 2009 Received: (at 4377) by emacsbugs.donarmstrong.com; 13 Sep 2009 15:21:12 +0000 X-Spam-Checker-Version: SpamAssassin 3.2.5-bugs.debian.org_2005_01_02 (2008-06-10) on rzlab.ucr.edu X-Spam-Level: X-Spam-Bayes: score:0.5 Bayes not run. spammytokens:Tokens not available. hammytokens:Tokens not available. X-Spam-Status: No, score=-0.0 required=4.0 tests=AWL,GMAIL,HAS_BUG_NUMBER, SARE_RECV_SPAM_DOMN0b autolearn=ham version=3.2.5-bugs.debian.org_2005_01_02 Received: from homiemail-a2.g.dreamhost.com (caiajhbdcbbj.dreamhost.com [208.97.132.119]) by rzlab.ucr.edu (8.14.3/8.14.3/Debian-5) with ESMTP id n8DFLAVD008268 for <4377@emacsbugs.donarmstrong.com>; Sun, 13 Sep 2009 08:21:11 -0700 Received: from jidanni.org (218-163-6-61.dynamic.hinet.net [218.163.6.61]) (using TLSv1 with cipher AES256-SHA (256/256 bits)) (No client certificate requested) by homiemail-a2.g.dreamhost.com (Postfix) with ESMTP id AE540D2704; Sun, 13 Sep 2009 08:21:09 -0700 (PDT) From: jidanni@jidanni.org To: sdl.web@gmail.com Cc: 4377@debbugs.gnu.org, cyd@stupidchicken.com, yamaoka@jpl.org Subject: Re: bug#4377: marked as done (allow one to still choose xpdf instead of doc-view) References: Date: Sun, 13 Sep 2009 23:21:00 +0800 Message-ID: <87fxaqdg6b.fsf@jidanni.org> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii >>>>> "L" == Leo writes: L> (defalias 'doc-view-mode 'ignore) OK, but what else are needed to make v and browse-url-of-dired-file in dired to invoke xpdf on the file, and emacs-w3m call xpdf on http://...pdf and file:///...pdf? From monnier@iro.umontreal.ca Sun Sep 13 18:31:37 2009 Received: (at 4377) by emacsbugs.donarmstrong.com; 14 Sep 2009 01:31:37 +0000 X-Spam-Checker-Version: SpamAssassin 3.2.5-bugs.debian.org_2005_01_02 (2008-06-10) on rzlab.ucr.edu X-Spam-Level: X-Spam-Bayes: score:0.5 Bayes not run. spammytokens:Tokens not available. hammytokens:Tokens not available. X-Spam-Status: No, score=-2.8 required=4.0 tests=AWL,HAS_BUG_NUMBER autolearn=ham version=3.2.5-bugs.debian.org_2005_01_02 Received: from ironport2-out.pppoe.ca (ironport2-out.pppoe.ca [206.248.154.183] (may be forged)) by rzlab.ucr.edu (8.14.3/8.14.3/Debian-5) with ESMTP id n8E1VZHX023470 for <4377@emacsbugs.donarmstrong.com>; Sun, 13 Sep 2009 18:31:37 -0700 X-IronPort-Anti-Spam-Filtered: true X-IronPort-Anti-Spam-Result: AlkFAGY6rUpFpZBe/2dsb2JhbACBU9d5hBgFh3Q X-IronPort-AV: E=Sophos;i="4.44,380,1249272000"; d="scan'208";a="45632852" Received: from 69-165-144-94.dsl.teksavvy.com (HELO pastel.home) ([69.165.144.94]) by ironport2-out.pppoe.ca with ESMTP; 13 Sep 2009 21:29:38 -0400 Received: by pastel.home (Postfix, from userid 20848) id E84D98356; Sun, 13 Sep 2009 21:31:15 -0400 (EDT) From: Stefan Monnier To: Leo Cc: 4377@debbugs.gnu.org, Chong Yidong , yamaoka@jpl.org, jidanni@jidanni.org Subject: Re: bug#4377: marked as done (allow one to still choose xpdf instead of doc-view) Message-ID: References: <87skerbnu4.fsf@cyd.mit.edu> <878wgpb89x.fsf@jidanni.org> Date: Sun, 13 Sep 2009 21:31:15 -0400 In-Reply-To: (Leo's message of "Sun, 13 Sep 2009 16:10:39 +0100") User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/23.1.50 (gnu/linux) MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii >>> My god, that's tons and tons of lisp to add to one's .emacs file, >>> just to say "I wish to have emacs still call xpdf when encountering a >>> .pdf file, like back before they introduced doc-view". >> One line solution: >> (setq auto-mode-alist (rassq-delete-all 'doc-view-mode auto-mode-alist)) Is it really a solution? The OP's problem seems to be that he wants xpdf to be run, but the above will only replace doc-view-mode with fundamental-mode, right? > I wonder if it is better not to include doc-view-mode in > auto-mode-alist. Personally, I can't think of an occasion that > I would like doc-view mode to view my pdf files except, perhaps, to > brag about Emacs's capability. Is it really better to show the actual underlying PDF file's code in fundamental-mode? If you don't want to view PDF files in Emacs, than don't open them in Emacs. Stefan From tassilo@member.fsf.org Mon Sep 14 00:13:29 2009 Received: (at 4377) by emacsbugs.donarmstrong.com; 14 Sep 2009 07:13:29 +0000 X-Spam-Checker-Version: SpamAssassin 3.2.5-bugs.debian.org_2005_01_02 (2008-06-10) on rzlab.ucr.edu X-Spam-Level: X-Spam-Bayes: score:0.5 Bayes not run. spammytokens:Tokens not available. hammytokens:Tokens not available. X-Spam-Status: No, score=-4.4 required=4.0 tests=AWL,FOURLA,HAS_BUG_NUMBER autolearn=ham version=3.2.5-bugs.debian.org_2005_01_02 Received: from deliver.uni-koblenz.de (deliver.uni-koblenz.de [141.26.64.15]) by rzlab.ucr.edu (8.14.3/8.14.3/Debian-5) with ESMTP id n8E7DRpv022885 for <4377@emacsbugs.donarmstrong.com>; Mon, 14 Sep 2009 00:13:29 -0700 Received: from localhost (localhost [127.0.0.1]) by deliver.uni-koblenz.de (Postfix) with ESMTP id 50B8678A140E; Mon, 14 Sep 2009 09:13:27 +0200 (CEST) Received: from deliver.uni-koblenz.de ([127.0.0.1]) by localhost (deliver.uni-koblenz.de [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id 04390-03; Mon, 14 Sep 2009 09:13:26 +0200 (CEST) X-CHKRCPT: Envelopesender vrfy tassilo@member.fsf.org Received: from thinkpad.tsdh.de (wlan-177.uni-koblenz.de [141.26.93.177]) by deliver.uni-koblenz.de (Postfix) with ESMTP id 3493578A141D; Mon, 14 Sep 2009 09:13:26 +0200 (CEST) From: Tassilo Horn To: Stefan Monnier Cc: 4377@debbugs.gnu.org, Leo , Chong Yidong , yamaoka@jpl.org, jidanni@jidanni.org Subject: Re: bug#4377: marked as done (allow one to still choose xpdf instead of doc-view) References: <87skerbnu4.fsf@cyd.mit.edu> <878wgpb89x.fsf@jidanni.org> Date: Mon, 14 Sep 2009 09:13:26 +0200 In-Reply-To: (Stefan Monnier's message of "Sun, 13 Sep 2009 21:31:15 -0400") Message-ID: <87k5022e3t.fsf@thinkpad.tsdh.de> User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/23.1.50 (gnu/linux) MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Virus-Scanned: amavisd-new at uni-koblenz.de Stefan Monnier writes: >> I wonder if it is better not to include doc-view-mode in >> auto-mode-alist. Personally, I can't think of an occasion that I >> would like doc-view mode to view my pdf files except, perhaps, to >> brag about Emacs's capability. > > Is it really better to show the actual underlying PDF file's code in > fundamental-mode? If you don't want to view PDF files in Emacs, than > don't open them in Emacs. IMO, there should be some command in dired to open a file with an external program. The `!' command is not appropriate here, cause it blocks emacs till the command finishes. I have this code in my .emacs for that (and bound it to `e' in dired-mode-map): --8<---------------cut here---------------start------------->8--- (defun th-dired-find-file-externally (arg) "Open file or directory with an external application. If ARG is given use `xdg-open', else query for an app." (interactive "P") (let ((file (dired-get-file-for-visit))) (start-process "dired-external" nil (if arg "xdg-open" (completing-read "Command: " th-external-command-list)) file))) --8<---------------cut here---------------end--------------->8--- th-external-command-list is a list of all executables in PATH, which I use in several places. I think that could be taken out. A default value with the appropriate external app taken from mailcap could be used instead. From monnier@iro.umontreal.ca Mon Sep 14 08:27:53 2009 Received: (at 4377) by emacsbugs.donarmstrong.com; 14 Sep 2009 15:27:53 +0000 X-Spam-Checker-Version: SpamAssassin 3.2.5-bugs.debian.org_2005_01_02 (2008-06-10) on rzlab.ucr.edu X-Spam-Level: X-Spam-Bayes: score:0.5 Bayes not run. spammytokens:Tokens not available. hammytokens:Tokens not available. X-Spam-Status: No, score=-2.8 required=4.0 tests=AWL,HAS_BUG_NUMBER autolearn=ham version=3.2.5-bugs.debian.org_2005_01_02 Received: from ironport2-out.pppoe.ca (ironport2-out.pppoe.ca [206.248.154.183] (may be forged)) by rzlab.ucr.edu (8.14.3/8.14.3/Debian-5) with ESMTP id n8EFRptQ013793 for <4377@emacsbugs.donarmstrong.com>; Mon, 14 Sep 2009 08:27:52 -0700 X-IronPort-Anti-Spam-Filtered: true X-IronPort-Anti-Spam-Result: ArcFABv+rUpFpZBe/2dsb2JhbACBU9syhBgFh3Q X-IronPort-AV: E=Sophos;i="4.44,383,1249272000"; d="scan'208";a="45654129" Received: from 69-165-144-94.dsl.teksavvy.com (HELO pastel.home) ([69.165.144.94]) by ironport2-out.pppoe.ca with ESMTP; 14 Sep 2009 11:26:06 -0400 Received: by pastel.home (Postfix, from userid 20848) id 2EDA38ECB; Mon, 14 Sep 2009 11:27:45 -0400 (EDT) From: Stefan Monnier To: Tassilo Horn Cc: 4377@debbugs.gnu.org, Leo , Chong Yidong , yamaoka@jpl.org, jidanni@jidanni.org Subject: Re: bug#4377: marked as done (allow one to still choose xpdf instead of doc-view) Message-ID: References: <87skerbnu4.fsf@cyd.mit.edu> <878wgpb89x.fsf@jidanni.org> <87k5022e3t.fsf@thinkpad.tsdh.de> Date: Mon, 14 Sep 2009 11:27:45 -0400 In-Reply-To: <87k5022e3t.fsf@thinkpad.tsdh.de> (Tassilo Horn's message of "Mon, 14 Sep 2009 09:13:26 +0200") User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/23.1.50 (gnu/linux) MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii >> Is it really better to show the actual underlying PDF file's code in >> fundamental-mode? If you don't want to view PDF files in Emacs, than >> don't open them in Emacs. > IMO, there should be some command in dired to open a file with an > external program. But there is, it's bound to "&". Stefan From tassilo@member.fsf.org Mon Sep 14 11:09:44 2009 Received: (at 4377) by emacsbugs.donarmstrong.com; 14 Sep 2009 18:09:45 +0000 X-Spam-Checker-Version: SpamAssassin 3.2.5-bugs.debian.org_2005_01_02 (2008-06-10) on rzlab.ucr.edu X-Spam-Level: X-Spam-Bayes: score:0.5 Bayes not run. spammytokens:Tokens not available. hammytokens:Tokens not available. X-Spam-Status: No, score=-3.2 required=4.0 tests=AWL,HAS_BUG_NUMBER autolearn=ham version=3.2.5-bugs.debian.org_2005_01_02 Received: from out1.smtp.messagingengine.com (out1.smtp.messagingengine.com [66.111.4.25]) by rzlab.ucr.edu (8.14.3/8.14.3/Debian-5) with ESMTP id n8EI9hGC014331 for <4377@emacsbugs.donarmstrong.com>; Mon, 14 Sep 2009 11:09:44 -0700 Received: from compute1.internal (compute1.internal [10.202.2.41]) by gateway1.messagingengine.com (Postfix) with ESMTP id 27DA6698E8; Mon, 14 Sep 2009 14:09:43 -0400 (EDT) Received: from heartbeat2.messagingengine.com ([10.202.2.161]) by compute1.internal (MEProxy); Mon, 14 Sep 2009 14:09:43 -0400 DKIM-Signature: v=1; a=rsa-sha1; c=relaxed/relaxed; d=messagingengine.com; h=from:to:cc:subject:references:date:in-reply-to:message-id:mime-version:content-type; s=smtpout; bh=VW5S5KPq4K1x8uc616FQwleKNvY=; b=Uboo5bIYxDVKx3u4/HlzoUA7NPaGW8TGVrl0GltUANmImI+li36RTWUff6VYiqY5rI60t1D8JFmDT+g7xYdgSyzND8xkcJx4b052rZWTvx66SR4v2Ji8da579O3qkJ3Xud0ZrRBu2FievB3jJw41SgTli4TMPd4TypVI/jbRtMo= X-Sasl-enc: NdAn0LIvAOvZ09qmGKOJ+ZNsaioa1kEuCoQi2oua4ul9 1252951782 Received: from thinkpad.tsdh.de (p54AF29DF.dip0.t-ipconnect.de [84.175.41.223]) by mail.messagingengine.com (Postfix) with ESMTPA id B33F581CE; Mon, 14 Sep 2009 14:09:40 -0400 (EDT) From: Tassilo Horn To: Stefan Monnier Cc: 4377@debbugs.gnu.org, Leo , Chong Yidong , yamaoka@jpl.org, jidanni@jidanni.org Subject: Re: bug#4377: marked as done (allow one to still choose xpdf instead of doc-view) References: <87skerbnu4.fsf@cyd.mit.edu> <878wgpb89x.fsf@jidanni.org> <87k5022e3t.fsf@thinkpad.tsdh.de> Date: Mon, 14 Sep 2009 20:09:38 +0200 In-Reply-To: (Stefan Monnier's message of "Mon, 14 Sep 2009 11:27:45 -0400") Message-ID: <87my4x4cv1.fsf@thinkpad.tsdh.de> User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/23.1.50 (gnu/linux) MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Stefan Monnier writes: >>> Is it really better to show the actual underlying PDF file's code in >>> fundamental-mode? If you don't want to view PDF files in Emacs, >>> than don't open them in Emacs. > >> IMO, there should be some command in dired to open a file with an >> external program. > > But there is, it's bound to "&". Wow, how could I miss that? It's not in the "Operate" menu, but it definitively should! Dired is one of the few modes where I rely on the menu bar. Bye, Tassilo From cloos@jhcloos.com Tue Sep 15 05:17:10 2009 Received: (at 4377) by emacsbugs.donarmstrong.com; 15 Sep 2009 12:17:11 +0000 X-Spam-Checker-Version: SpamAssassin 3.2.5-bugs.debian.org_2005_01_02 (2008-06-10) on rzlab.ucr.edu X-Spam-Level: X-Spam-Bayes: score:0.5 Bayes not run. spammytokens:Tokens not available. hammytokens:Tokens not available. X-Spam-Status: No, score=-3.6 required=4.0 tests=AWL,HAS_BUG_NUMBER, SPF_HELO_PASS autolearn=ham version=3.2.5-bugs.debian.org_2005_01_02 Received: from eagle.jhcloos.com (eagle.jhcloos.com [207.210.242.212]) by rzlab.ucr.edu (8.14.3/8.14.3/Debian-5) with ESMTP id n8FCH8pQ003924 for <4377@emacsbugs.donarmstrong.com>; Tue, 15 Sep 2009 05:17:09 -0700 Received: by eagle.jhcloos.com (Postfix, from userid 10) id BF8A3402C5; Tue, 15 Sep 2009 12:16:43 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=jhcloos.com; s=eagle; t=1253017027; bh=XK2A++fw+k/UdiNxChV0q3vQLK5u0hEcf3ATmNIqJzI=; h=From:To:Cc:Subject:In-Reply-To:References:Date:Message-ID: MIME-Version:Content-Type; b=s8TCViByFKn9V39Kbj21W5YPOPMk2QXDUbPCXcD9iaVR6BMvmWiCNCViqz6T15OfD PEJnSPUpzBkQTlubsUpa6IcWnS0WiWUkc6fEsziIcx8jDkhiOAQSS0EF29pBDkoNxa GTA36wL8hRojF7fxq9LUQQcU93rV6vxMrFxGuerM= Received: by lugabout.jhcloos.org (Postfix, from userid 500) id 814E487912; Mon, 14 Sep 2009 14:55:45 +0000 (UTC) From: James Cloos To: Stefan Monnier Cc: 4377@debbugs.gnu.org, Leo , Chong Yidong , yamaoka@jpl.org, jidanni@jidanni.org Subject: Re: bug#4377: marked as done (allow one to still choose xpdf instead of doc-view) In-Reply-To: (Stefan Monnier's message of "Sun, 13 Sep 2009 21:31:15 -0400") References: <87skerbnu4.fsf@cyd.mit.edu> <878wgpb89x.fsf@jidanni.org> User-Agent: Gnus/5.110011 (No Gnus v0.11) Emacs/23.1.50 (gnu/linux) Face: iVBORw0KGgoAAAANSUhEUgAAABAAAAAQCAYAAAAf8/9hAAAABHNCSVQICAgIfAhkiAAAAI1J REFUOE+lU9ESgCAIg64P1y+ngUdxhl5H8wFbbM0OmUiEhKkCYaZThXCo6KE5sCbA1DDX3genvO4d eBQgEMaM5qy6uWk4SfBYfdu9jvBN9nSVDOKRtwb+I3epboOsOX5pZbJNsBJFvmQQ05YMfieIBnYX FK2N6dOawd97r/e8RjkTLzmMsiVgrAoEugtviCM3v2WzjgAAAABJRU5ErkJggg== Copyright: Copyright 2009 James Cloos OpenPGP: ED7DAEA6; url=http://jhcloos.com/public_key/0xED7DAEA6.asc OpenPGP-Fingerprint: E9E9 F828 61A4 6EA9 0F2B 63E7 997A 9F17 ED7D AEA6 Date: Mon, 14 Sep 2009 10:55:21 -0400 Message-ID: Lines: 12 MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii >>>>> "Stefan" == Stefan Monnier writes: Stefan> Is it really better to show the actual underlying PDF file's Stefan> code in fundamental-mode? If you don't want to view PDF files Stefan> in Emacs, than don't open them in Emacs. There are occasions were editing a PDF in a text editor is needed. Emacs should not make that difficult to do. -JimC -- James Cloos OpenPGP: 1024D/ED7DAEA6 From cyd@stupidchicken.com Tue Sep 15 06:30:12 2009 Received: (at 4377) by emacsbugs.donarmstrong.com; 15 Sep 2009 13:30:12 +0000 X-Spam-Checker-Version: SpamAssassin 3.2.5-bugs.debian.org_2005_01_02 (2008-06-10) on rzlab.ucr.edu X-Spam-Level: X-Spam-Bayes: score:0.5 Bayes not run. spammytokens:Tokens not available. hammytokens:Tokens not available. X-Spam-Status: No, score=-3.1 required=4.0 tests=AWL,HAS_BUG_NUMBER autolearn=ham version=3.2.5-bugs.debian.org_2005_01_02 Received: from cyd.mit.edu (CYD.MIT.EDU [18.115.2.24]) by rzlab.ucr.edu (8.14.3/8.14.3/Debian-5) with ESMTP id n8FDUB5c015623 for <4377@emacsbugs.donarmstrong.com>; Tue, 15 Sep 2009 06:30:12 -0700 Received: by cyd.mit.edu (Postfix, from userid 1000) id 8C03757E269; Tue, 15 Sep 2009 09:31:39 -0400 (EDT) From: Chong Yidong To: James Cloos Cc: Stefan Monnier , 4377@debbugs.gnu.org, Leo , yamaoka@jpl.org, jidanni@jidanni.org Subject: Re: bug#4377: marked as done (allow one to still choose xpdf instead of doc-view) References: <87skerbnu4.fsf@cyd.mit.edu> <878wgpb89x.fsf@jidanni.org> Date: Tue, 15 Sep 2009 09:31:39 -0400 In-Reply-To: (James Cloos's message of "Mon, 14 Sep 2009 10:55:21 -0400") Message-ID: <87zl8wwczo.fsf@cyd.mit.edu> User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/23.1 (gnu/linux) MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii James Cloos writes: > Stefan> Is it really better to show the actual underlying PDF file's > Stefan> code in fundamental-mode? If you don't want to view PDF files > Stefan> in Emacs, than don't open them in Emacs. > > There are occasions were editing a PDF in a text editor is needed. > Emacs should not make that difficult to do. The command find-file-literally is for such situations. From tassilo@member.fsf.org Tue Sep 15 12:25:20 2009 Received: (at 4377) by emacsbugs.donarmstrong.com; 15 Sep 2009 19:25:21 +0000 X-Spam-Checker-Version: SpamAssassin 3.2.5-bugs.debian.org_2005_01_02 (2008-06-10) on rzlab.ucr.edu X-Spam-Level: X-Spam-Bayes: score:0.5 Bayes not run. spammytokens:Tokens not available. hammytokens:Tokens not available. X-Spam-Status: No, score=-3.1 required=4.0 tests=AWL,HAS_BUG_NUMBER autolearn=ham version=3.2.5-bugs.debian.org_2005_01_02 Received: from out1.smtp.messagingengine.com (out1.smtp.messagingengine.com [66.111.4.25]) by rzlab.ucr.edu (8.14.3/8.14.3/Debian-5) with ESMTP id n8FJPJA1006352 for <4377@emacsbugs.donarmstrong.com>; Tue, 15 Sep 2009 12:25:20 -0700 Received: from compute1.internal (compute1.internal [10.202.2.41]) by gateway1.messagingengine.com (Postfix) with ESMTP id D879D6B95C; Tue, 15 Sep 2009 15:25:18 -0400 (EDT) Received: from heartbeat2.messagingengine.com ([10.202.2.161]) by compute1.internal (MEProxy); Tue, 15 Sep 2009 15:25:18 -0400 DKIM-Signature: v=1; a=rsa-sha1; c=relaxed/relaxed; d=messagingengine.com; h=from:to:cc:subject:in-reply-to:references:date:message-id:mime-version:content-type; s=smtpout; bh=o1FzhWdRMzFbe59+jVzzbBYElsM=; b=ESXtHJ4UsgHWe6KBBMbz9BPWSELCOq/dXZ07SGM8fI14sIUrSaBJLxk6z1N7nzpEoPVlQ9mKBf8mRiM427hFQVXvXWmjegAa0P3kNQOsKERVW/hxnSAv2ZuhsayORxMfaZg6QpjTmKBWn0/q3nPyyYq6g3YdxzGOGaTfg1uB8k4= X-Sasl-enc: B3zSu2DHP2Yes66niwzv5ZXiVs7Q1cOQIwq7hV1tIijO 1253042718 Received: from thinkpad.tsdh.de (p54AF2397.dip0.t-ipconnect.de [84.175.35.151]) by mail.messagingengine.com (Postfix) with ESMTPA id 77A338BD1; Tue, 15 Sep 2009 15:25:16 -0400 (EDT) From: Tassilo Horn To: Chong Yidong Cc: 4377@debbugs.gnu.org, James Cloos , yamaoka@jpl.org, jidanni@jidanni.org, Leo Subject: Re: bug#4377: marked as done (allow one to still choose xpdf instead of doc-view) In-Reply-To: (Chong Yidong's message of "Tue, 15 Sep 2009 09:31:39 -0400") References: <87skerbnu4.fsf@cyd.mit.edu> <878wgpb89x.fsf@jidanni.org> User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/23.1.50 (gnu/linux) Date: Tue, 15 Sep 2009 21:25:13 +0200 Message-ID: <873a6ot3hi.fsf@thinkpad.tsdh.de> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Chong Yidong writes: > James Cloos writes: > >> Stefan> Is it really better to show the actual underlying PDF file's >> Stefan> code in fundamental-mode? If you don't want to view PDF files >> Stefan> in Emacs, than don't open them in Emacs. >> >> There are occasions were editing a PDF in a text editor is needed. >> Emacs should not make that difficult to do. > > The command find-file-literally is for such situations. And `C-c C-c' in doc-view will switch to fundamental-mode, too. With another `C-c C-c' you can jump back to doc-view and directly view the changes you made. Bye, Tassilo From monnier@iro.umontreal.ca Tue Sep 15 18:01:24 2009 Received: (at 4377) by emacsbugs.donarmstrong.com; 16 Sep 2009 01:01:24 +0000 X-Spam-Checker-Version: SpamAssassin 3.2.5-bugs.debian.org_2005_01_02 (2008-06-10) on rzlab.ucr.edu X-Spam-Level: X-Spam-Bayes: score:0.5 Bayes not run. spammytokens:Tokens not available. hammytokens:Tokens not available. X-Spam-Status: No, score=-2.8 required=4.0 tests=AWL,HAS_BUG_NUMBER autolearn=ham version=3.2.5-bugs.debian.org_2005_01_02 Received: from ironport2-out.pppoe.ca (ironport2-out.teksavvy.com [206.248.154.183]) by rzlab.ucr.edu (8.14.3/8.14.3/Debian-5) with ESMTP id n8G11N0L030904 for <4377@emacsbugs.donarmstrong.com>; Tue, 15 Sep 2009 18:01:24 -0700 X-IronPort-Anti-Spam-Filtered: true X-IronPort-Anti-Spam-Result: ApsEADPVr0pFpZBe/2dsb2JhbACBU91/hBcFh3o X-IronPort-AV: E=Sophos;i="4.44,393,1249272000"; d="scan'208";a="45745446" Received: from 69-165-144-94.dsl.teksavvy.com (HELO ceviche.home) ([69.165.144.94]) by ironport2-out.pppoe.ca with ESMTP; 15 Sep 2009 21:01:17 -0400 Received: by ceviche.home (Postfix, from userid 20848) id 60312B449F; Tue, 15 Sep 2009 21:01:17 -0400 (EDT) From: Stefan Monnier To: Chong Yidong Cc: James Cloos , 4377@debbugs.gnu.org, Leo , yamaoka@jpl.org, jidanni@jidanni.org Subject: Re: bug#4377: marked as done (allow one to still choose xpdf instead of doc-view) Message-ID: References: <87skerbnu4.fsf@cyd.mit.edu> <878wgpb89x.fsf@jidanni.org> <87zl8wwczo.fsf@cyd.mit.edu> Date: Tue, 15 Sep 2009 21:01:17 -0400 In-Reply-To: <87zl8wwczo.fsf@cyd.mit.edu> (Chong Yidong's message of "Tue, 15 Sep 2009 09:31:39 -0400") User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/23.1.50 (gnu/linux) MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii > James Cloos writes: Stefan> Is it really better to show the actual underlying PDF file's Stefan> code in fundamental-mode? If you don't want to view PDF files Stefan> in Emacs, than don't open them in Emacs. >> >> There are occasions were editing a PDF in a text editor is needed. >> Emacs should not make that difficult to do. > The command find-file-literally is for such situations. You don't even need that: as the message in the echo-area explains, you can simply hit C-c C-c to toggle between viewing the document or viewing the underlying PDF code. Stefan From unknown Tue Sep 09 12:43:21 2025 Received: (at fakecontrol) by fakecontrolmessage; To: internal_control@debbugs.gnu.org From: Debbugs Internal Request Subject: Internal Control Message-Id: bug archived. Date: Wed, 14 Oct 2009 14:24:11 +0000 User-Agent: Fakemail v42.6.9 # A New Hope # A long time ago, in a galaxy far, far away # something happened. # # Magically this resulted in the following # action being taken, but this fake control # message doesn't tell you why it happened # # The action: # bug archived. thanks # This fakemail brought to you by your local debbugs # administrator