From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Richard Stallman Newsgroups: gmane.emacs.devel Subject: Re: Please install: Some improvements to doc-view.el Date: Sun, 07 Oct 2007 09:10:41 -0400 Message-ID: References: <87bqbhkhc6.fsf@baldur.tsdh.de> <58152.128.165.0.81.1191330286.squirrel@webmail.lanl.gov> <878x6ljwb4.fsf@baldur.tsdh.de> <87fy0r2u3z.fsf@baldur.tsdh.de> <87wsu1sear.fsf@baldur.tsdh.de> Reply-To: rms@gnu.org NNTP-Posting-Host: lo.gmane.org Content-Type: text/plain; charset=ISO-8859-15 X-Trace: sea.gmane.org 1191762748 13498 80.91.229.12 (7 Oct 2007 13:12:28 GMT) X-Complaints-To: usenet@sea.gmane.org NNTP-Posting-Date: Sun, 7 Oct 2007 13:12:28 +0000 (UTC) Cc: emacs-devel@gnu.org To: Stefan Monnier Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Sun Oct 07 15:12:25 2007 Return-path: Envelope-to: ged-emacs-devel@m.gmane.org Original-Received: from lists.gnu.org ([199.232.76.165]) by lo.gmane.org with esmtp (Exim 4.50) id 1IeVvi-0007wB-I2 for ged-emacs-devel@m.gmane.org; Sun, 07 Oct 2007 15:12:22 +0200 Original-Received: from localhost ([127.0.0.1] helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1IeVve-0005M7-0y for ged-emacs-devel@m.gmane.org; Sun, 07 Oct 2007 09:12:18 -0400 Original-Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1IeVv2-00057J-Lz for emacs-devel@gnu.org; Sun, 07 Oct 2007 09:11:40 -0400 Original-Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1IeVv1-00056l-7a for emacs-devel@gnu.org; Sun, 07 Oct 2007 09:11:39 -0400 Original-Received: from [199.232.76.173] (helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1IeVv0-00056i-WF for emacs-devel@gnu.org; Sun, 07 Oct 2007 09:11:39 -0400 Original-Received: from fencepost.gnu.org ([140.186.70.10]) by monty-python.gnu.org with esmtp (Exim 4.60) (envelope-from ) id 1IeVv0-0007So-4g for emacs-devel@gnu.org; Sun, 07 Oct 2007 09:11:38 -0400 Original-Received: from rms by fencepost.gnu.org with local (Exim 4.60) (envelope-from ) id 1IeVu5-0007mV-OZ; Sun, 07 Oct 2007 09:10:41 -0400 In-reply-to: (message from Stefan Monnier on Sat, 06 Oct 2007 17:47:14 -0400) X-Detected-Kernel: Linux 2.6, seldom 2.4 (older, 4) X-BeenThere: emacs-devel@gnu.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: "Emacs development discussions." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Original-Sender: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Errors-To: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Xref: news.gmane.org gmane.emacs.devel:80374 Archived-At: > But what if we use my change in `dired-view-file' and add an additional > test for (featurep 'doc-view)? Then users would only be asked if > doc-view should be used for pdf/ps/dvi files if they required it > explicitly. If they do so, we can be sure that they have the needed > external programs installed. But this would mean that merely loading doc-view.el changes the behavior of dired-view-file. Since loading a package should not change the behavior of Emacs (because the load may take place for all kinds of reasons), I think it's not a good solution, You are right, but this is easily fixed. The right way to control whether to use doc-view is with a variable (if we don't enable it unconditionally). The real question is whether to use doc-view or the Gnus mechanism.