From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Stefan Monnier Newsgroups: gmane.emacs.bugs Subject: bug#4377: marked as done (allow one to still choose xpdf instead of doc-view) Date: Sun, 13 Sep 2009 21:31:15 -0400 Message-ID: References: <87skerbnu4.fsf@cyd.mit.edu> <878wgpb89x.fsf@jidanni.org> Reply-To: Stefan Monnier , 4377@emacsbugs.donarmstrong.com NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Trace: ger.gmane.org 1252892844 26534 80.91.229.12 (14 Sep 2009 01:47:24 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Mon, 14 Sep 2009 01:47:24 +0000 (UTC) Cc: 4377@emacsbugs.donarmstrong.com, Chong Yidong , yamaoka@jpl.org, jidanni@jidanni.org To: Leo Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Mon Sep 14 03:47:16 2009 Return-path: Envelope-to: geb-bug-gnu-emacs@m.gmane.org Original-Received: from lists.gnu.org ([199.232.76.165]) by lo.gmane.org with esmtp (Exim 4.50) id 1Mn0ew-0001JL-66 for geb-bug-gnu-emacs@m.gmane.org; Mon, 14 Sep 2009 03:47:14 +0200 Original-Received: from localhost ([127.0.0.1]:56595 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1Mn0ev-0002pV-2g for geb-bug-gnu-emacs@m.gmane.org; Sun, 13 Sep 2009 21:47:13 -0400 Original-Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1Mn0ep-0002o7-Up for bug-gnu-emacs@gnu.org; Sun, 13 Sep 2009 21:47:08 -0400 Original-Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1Mn0el-0002ik-B8 for bug-gnu-emacs@gnu.org; Sun, 13 Sep 2009 21:47:07 -0400 Original-Received: from [199.232.76.173] (port=42275 helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1Mn0el-0002ie-3W for bug-gnu-emacs@gnu.org; Sun, 13 Sep 2009 21:47:03 -0400 Original-Received: from rzlab.ucr.edu ([138.23.92.77]:50559) by monty-python.gnu.org with esmtps (TLS-1.0:DHE_RSA_AES_256_CBC_SHA1:32) (Exim 4.60) (envelope-from ) id 1Mn0ek-0003Uq-Gk for bug-gnu-emacs@gnu.org; Sun, 13 Sep 2009 21:47:02 -0400 Original-Received: from rzlab.ucr.edu (rzlab.ucr.edu [127.0.0.1]) by rzlab.ucr.edu (8.14.3/8.14.3/Debian-5) with ESMTP id n8E1kxlL026415; Sun, 13 Sep 2009 18:47:00 -0700 Original-Received: (from debbugs@localhost) by rzlab.ucr.edu (8.14.3/8.14.3/Submit) id n8E1e7ET025082; Sun, 13 Sep 2009 18:40:07 -0700 Resent-Date: Sun, 13 Sep 2009 18:40:07 -0700 X-Loop: owner@emacsbugs.donarmstrong.com Resent-From: Stefan Monnier Resent-To: bug-submit-list@donarmstrong.com Resent-CC: Emacs Bugs 2Resent-Date: Mon, 14 Sep 2009 01:40:07 +0000 Resent-Message-ID: Resent-Sender: owner@emacsbugs.donarmstrong.com X-Emacs-PR-Message: followup 4377 X-Emacs-PR-Package: emacs X-Emacs-PR-Keywords: Original-Received: via spool by 4377-submit@emacsbugs.donarmstrong.com id=B4377.125289189723478 (code B ref 4377); Mon, 14 Sep 2009 01:40:07 +0000 Original-Received: (at 4377) by emacsbugs.donarmstrong.com; 14 Sep 2009 01:31:37 +0000 X-Spam-Bayes: score:0.5 Bayes not run. spammytokens:Tokens not available. hammytokens:Tokens not available. Original-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" Original-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 Original-Received: by pastel.home (Postfix, from userid 20848) id E84D98356; Sun, 13 Sep 2009 21:31:15 -0400 (EDT) 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) X-detected-operating-system: by monty-python.gnu.org: GNU/Linux 2.6 (newer, 2) Resent-Date: Sun, 13 Sep 2009 21:47:07 -0400 X-BeenThere: bug-gnu-emacs@gnu.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: "Bug reports for GNU Emacs, the Swiss army knife of text editors" List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Original-Sender: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Errors-To: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Xref: news.gmane.org gmane.emacs.bugs:31073 Archived-At: >>> 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