From mboxrd@z Thu Jan 1 00:00:00 1970 Path: main.gmane.org!not-for-mail From: Dave Love Newsgroups: gmane.emacs.devel Subject: Re: Dired changes Date: Thu, 01 Apr 2004 23:08:24 +0100 Sender: emacs-devel-bounces+emacs-devel=quimby.gnus.org@gnu.org Message-ID: References: <87r7v8eidb.fsf@mail.jurta.org> NNTP-Posting-Host: deer.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Trace: sea.gmane.org 1080857858 31189 80.91.224.253 (1 Apr 2004 22:17:38 GMT) X-Complaints-To: usenet@sea.gmane.org NNTP-Posting-Date: Thu, 1 Apr 2004 22:17:38 +0000 (UTC) Cc: emacs-devel@gnu.org Original-X-From: emacs-devel-bounces+emacs-devel=quimby.gnus.org@gnu.org Fri Apr 02 00:17:33 2004 Return-path: Original-Received: from quimby.gnus.org ([80.91.224.244]) by deer.gmane.org with esmtp (Exim 3.35 #1 (Debian)) id 1B9AVB-0007xp-00 for ; Fri, 02 Apr 2004 00:17:33 +0200 Original-Received: from monty-python.gnu.org ([199.232.76.173]) by quimby.gnus.org with esmtp (Exim 3.35 #1 (Debian)) id 1B9AVA-00060G-00 for ; Fri, 02 Apr 2004 00:17:33 +0200 Original-Received: from localhost ([127.0.0.1] helo=monty-python.gnu.org) by monty-python.gnu.org with esmtp (Exim 4.30) id 1B9APY-0004Ge-3h for emacs-devel@quimby.gnus.org; Thu, 01 Apr 2004 17:11:44 -0500 Original-Received: from list by monty-python.gnu.org with tmda-scanned (Exim 4.30) id 1B9AOj-0003UV-6T for emacs-devel@gnu.org; Thu, 01 Apr 2004 17:10:53 -0500 Original-Received: from mail by monty-python.gnu.org with spam-scanned (Exim 4.30) id 1B9AMn-0001Up-HL for emacs-devel@gnu.org; Thu, 01 Apr 2004 17:09:24 -0500 Original-Received: from [148.79.80.39] (helo=albion.dl.ac.uk) by monty-python.gnu.org with esmtp (Exim 4.30) id 1B9AMO-00017G-0g for emacs-devel@gnu.org; Thu, 01 Apr 2004 17:08:28 -0500 Original-Received: from fx by albion.dl.ac.uk with local (Exim 3.35 #1 (Debian)) id 1B9AML-0001Qi-00; Thu, 01 Apr 2004 23:08:25 +0100 Original-To: Juri Linkov User-Agent: Gnus/5.1002 (Gnus v5.10.2) Emacs/21.2 (gnu/linux) X-BeenThere: emacs-devel@gnu.org X-Mailman-Version: 2.1.4 Precedence: list List-Id: "Emacs development discussions." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: emacs-devel-bounces+emacs-devel=quimby.gnus.org@gnu.org Xref: main.gmane.org gmane.emacs.devel:21176 X-Report-Spam: http://spam.gmane.org/gmane.emacs.devel:21176 Juri Linkov writes: > Dave Love writes in dired.el: >> +;; Fixme: This should use mailcap. >> (defcustom dired-view-command-alist >> '(("[.]\\(ps\\|ps_pages\\|eps\\)\\'" . "gv -spartan -color -watch %s") >> ("[.]pdf\\'" . "xpdf %s") > > I had this feature for a long time in .emacs, and it's really a useful thing. > It could be added to dired.el, but I'm not sure where to add it. Unfortunately, rms doesn't allow use of Gnus stuff like mailcap by other packages. (I wrote the comment long ago, and I guess it shouldn't have been in the patch.)