From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Tassilo Horn Newsgroups: gmane.emacs.devel Subject: Re: Please install: Some improvements to doc-view.el Date: Thu, 04 Oct 2007 09:53:52 +0200 Message-ID: <87fy0r2u3z.fsf@baldur.tsdh.de> References: <87bqbhkhc6.fsf@baldur.tsdh.de> <58152.128.165.0.81.1191330286.squirrel@webmail.lanl.gov> <878x6ljwb4.fsf@baldur.tsdh.de> NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Trace: sea.gmane.org 1191484460 15026 80.91.229.12 (4 Oct 2007 07:54:20 GMT) X-Complaints-To: usenet@sea.gmane.org NNTP-Posting-Date: Thu, 4 Oct 2007 07:54:20 +0000 (UTC) Cc: emacs-devel@gnu.org To: rms@gnu.org Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Thu Oct 04 09:54:17 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 1IdLXB-0000qT-Cs for ged-emacs-devel@m.gmane.org; Thu, 04 Oct 2007 09:54:13 +0200 Original-Received: from localhost ([127.0.0.1] helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1IdLX6-0004av-SJ for ged-emacs-devel@m.gmane.org; Thu, 04 Oct 2007 03:54:08 -0400 Original-Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1IdLX2-0004YW-RL for emacs-devel@gnu.org; Thu, 04 Oct 2007 03:54:04 -0400 Original-Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1IdLWz-0004VB-Ho for emacs-devel@gnu.org; Thu, 04 Oct 2007 03:54:04 -0400 Original-Received: from [199.232.76.173] (helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1IdLWz-0004Uu-Dd for emacs-devel@gnu.org; Thu, 04 Oct 2007 03:54:01 -0400 Original-Received: from out1.smtp.messagingengine.com ([66.111.4.25]) by monty-python.gnu.org with esmtp (Exim 4.60) (envelope-from ) id 1IdLWu-0003HU-AL; Thu, 04 Oct 2007 03:53:56 -0400 Original-Received: from compute1.internal (compute1.internal [10.202.2.41]) by out1.messagingengine.com (Postfix) with ESMTP id 9F6522FA1A; Thu, 4 Oct 2007 03:53:55 -0400 (EDT) Original-Received: from heartbeat1.messagingengine.com ([10.202.2.160]) by compute1.internal (MEProxy); Thu, 04 Oct 2007 03:53:55 -0400 X-Sasl-enc: ZRyLMOlKkpaJzOubkMOphgmAC6fezVYpL7LVXMavR9LT 1191484434 Original-Received: from baldur.tsdh.de (dslb-084-063-003-099.pools.arcor-ip.net [84.63.3.99]) by mail.messagingengine.com (Postfix) with ESMTP id 3E35211A; Thu, 4 Oct 2007 03:53:53 -0400 (EDT) Face: iVBORw0KGgoAAAANSUhEUgAAADAAAAAwEAIAAACI8LKTAAAACXBIWXMAAAsSAAALEgHS3X78 AAAACXZwQWcAAAAwAAAAMADO7oxXAAABRUlEQVRo3u2asQ1CMQxEPRjzMAEtFRITMAAbsARjILEK Be3Pl5Oc7Qtc4wZE4pdzHNvY8fC4vk+yLWtCIEACJEACJEACJEACJAsBdH7dnveLAG3g2Efz/fT3 8JlfNX7L4BhqbwBAnApCHaTlLFMFaN4LQwUX8z0CA4QC4fl+FdZeHw2llNatNJ/1IlB2A0IpqDff ea781rpjAT6oIB5AveAWAxSNKecIwwHVYsImfkNtIjqIUHvrXcWw58MZXDO/abVOsgWs6yXNhoYO ECemKl1LQaPFqgCFA8I2rvIfB90NM1QFP198jr2Yy6YaY4/9zLaGxj6aiwlQaPgU30G1/cAFFLTf ZvWkZ9Q0ImKUYJnNcOZiODXNM9tUQFXuLQAos0O4pIL+Ac3U/4M8M6w4ZP51KUqNuPaFx+HoXKZS Q4AESIAq7QehBVaRG6uhLAAAACZ6VFh0Q29tbWVudAAAeNpzLkpNLElNUSjPLMlQCMlIVXD39A0A AFLnByOQy2VwAAAAGnpUWHRqcGVnOmNvbG9yc3BhY2UAAHjaMwIAADMAM4k4IzUAAAAmelRYdGpw ZWc6c2FtcGxpbmctZmFjdG9yAAB42jOqMNIxrDAEYQARgwLpPZcvTwAAAABJRU5ErkJggg== Mail-Followup-To: rms@gnu.org, emacs-devel@gnu.org In-Reply-To: (Richard Stallman's message of "Wed, 03 Oct 2007 14:37:59 -0400") User-Agent: Gnus/5.110007 (No Gnus v0.7) Emacs/23.0.50 (gnu/linux) X-Detected-Kernel: Genre and OS details not recognized. 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:80223 Archived-At: Richard Stallman writes: Hi Richard, > I changed `dired-view-file' so that it asks the user to use > doc-view for pdf, ps and dvi files instead of `view-file'. > > The change in Dired is similar to a change I installed in 2004, which > was removed in 2005. The code worked but there was some sort of > drawback to the idea. I don't remember what it was, but before we > install a similar feature now, someone should check on this list for > discussion of `dired-view-file' in Dec 2004 and make sure that the > arguments there don't apply against this change. I searched through the archives of this list and I think the change you mean was the introduction of the variable `dired-view-command-alist'. The list had the form (REGEXP . SHELL-COMMAND) where SHELL-COMMAND was an external viewer for files matching REGEXP. So I think that the problem with that was that calling external programs (which might not be available) is generally not a good idea. Since `doc-view' is an emacs command and the user is asked if he wants to view the document with `doc-view' instead of `view-file', I think my change is safe. Bye, Tassilo