From mboxrd@z Thu Jan 1 00:00:00 1970 Path: main.gmane.org!not-for-mail From: jari.aalto@poboxes.com (Jari Aalto+mail.linux) Newsgroups: gmane.emacs.bugs Subject: Re: [patch] 21.3 dired.el direx-aux.el dired-read-shell-command and default values Date: Wed, 24 Mar 2004 13:33:30 +0200 Organization: Private Sender: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Message-ID: <4qse4gz9.fsf@blue.sea.net> References: NNTP-Posting-Host: deer.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Trace: sea.gmane.org 1080127350 23964 80.91.224.253 (24 Mar 2004 11:22:30 GMT) X-Complaints-To: usenet@sea.gmane.org NNTP-Posting-Date: Wed, 24 Mar 2004 11:22:30 +0000 (UTC) Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Wed Mar 24 12:22:18 2004 Return-path: Original-Received: from monty-python.gnu.org ([199.232.76.173]) by deer.gmane.org with esmtp (Exim 3.35 #1 (Debian)) id 1B66Sg-0007dN-00 for ; Wed, 24 Mar 2004 12:22:18 +0100 Original-Received: from localhost ([127.0.0.1] helo=monty-python.gnu.org) by monty-python.gnu.org with esmtp (Exim 4.30) id 1B66SA-0008LO-4T for geb-bug-gnu-emacs@m.gmane.org; Wed, 24 Mar 2004 06:21:46 -0500 Original-Received: from list by monty-python.gnu.org with tmda-scanned (Exim 4.30) id 1B66Rz-0008KL-G9 for bug-gnu-emacs@prep.ai.mit.edu; Wed, 24 Mar 2004 06:21:35 -0500 Original-Received: from mail by monty-python.gnu.org with spam-scanned (Exim 4.30) id 1B66RS-0008Ae-Q8 for bug-gnu-emacs@prep.ai.mit.edu; Wed, 24 Mar 2004 06:21:33 -0500 Original-Received: from [130.59.10.2] (helo=chx400.switch.ch) by monty-python.gnu.org with esmtp (TLSv1:DES-CBC3-SHA:168) (Exim 4.30) id 1B66RS-0008AL-6f for bug-gnu-emacs@prep.ai.mit.edu; Wed, 24 Mar 2004 06:21:02 -0500 Original-Received: from smtp34.kolumbus.fi ([193.229.0.38]) by chx400.switch.ch with esmtp (Exim 3.20 #1) id 1B66RJ-0004wU-00 for gnu-emacs-bug@moderators.isc.org; Wed, 24 Mar 2004 12:20:55 +0100 Original-Received: from news.kolumbus.fi (news.kolumbus.fi [193.229.0.31]) by smtp34.kolumbus.fi (8.12.10/8.12.4) with ESMTP id i2OBKmjk017209 for ; Wed, 24 Mar 2004 13:20:49 +0200 (EET) Original-Received: (from news@localhost) by news.kolumbus.fi (8.11.6+Sun/8.11.6) id i2OBKmY29639 for gnu-emacs-bug@moderators.isc.org; Wed, 24 Mar 2004 13:20:48 +0200 (EET) Original-To: gnu-emacs-bug@moderators.isc.org Original-Path: not-for-mail Original-Newsgroups: gnu.emacs.bug Original-Lines: 47 Original-NNTP-Posting-Host: a110t7.elisa.omakaista.fi Original-X-Trace: phys-news1.kolumbus.fi 1080127247 26007 81.197.3.110 (24 Mar 2004 11:20:47 GMT) Original-X-Complaints-To: abuse@kolumbus.fi Original-NNTP-Posting-Date: Wed, 24 Mar 2004 11:20:47 +0000 (UTC) User-Agent: Gnus/5.110002 (No Gnus v0.2) Emacs/21.3 (windows-nt) (i386-msvc-nt5.0.2195) Cancel-Lock: sha1:VN4UDFVgTPhRF1tqgBkL9jG89W4= X-BeenThere: bug-gnu-emacs@gnu.org X-Mailman-Version: 2.1.4 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: , Errors-To: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Xref: main.gmane.org gmane.emacs.bugs:7363 X-Report-Spam: http://spam.gmane.org/gmane.emacs.bugs:7363 * Mon 2004-02-09 Kevin Rodgers yahoo.com> gnu.emacs.bug * | Dan can get the behavior he desires by installing dired-x as documented | and adding a ("\\.pod\\'" "perldoc") entry to dired-guess-shell-alist-user. | | If it is a bug that this is not configured by default, then you should | just patch dired-x.el and add that entry to dired-guess-shell-alist-default, | instead of defining a new variable and hacking up dired-aux.el. Didn't know about dired-x's feature. OK, here is the correct patch against 21.3 Jari 2004-03-24 Wed Jari Aalto poboxes.com> * dired-x.el (dired-guess-shell-alist-default): Added Perl .pod support. Index: dired-x.el =================================================================== RCS file: /cygdrive/h/data/version-control/cvsroot/emacs/gnu-emacs/lisp213/dired-x.el,v retrieving revision 1.1.1.1 diff -u -IId: -u -b -w -r1.1.1.1 dired-x.el --- dired-x.el 26 Jun 2003 18:06:08 -0000 1.1.1.1 +++ dired-x.el 24 Mar 2004 11:28:28 -0000 @@ -961,7 +961,7 @@ ;; Optional conversion to gzip format. '(concat "znew" (if dired-guess-shell-gzip-quiet " -q") " " dired-guess-shell-znew-switches)) - + '("\\.pod$" "perldoc") ; Perl documentation '("\\.dvi$" "xdvi" "dvips") ; preview and printing '("\\.au$" "play") ; play Sun audiofiles '("\\.mpg$" "mpeg_play") -- http://tiny-tools.sourceforge.net/ Swatch @time http://www.mir.com.my/iTime/itime.htm http://www.ryanthiessen.com/swatch/resources.htm Use Licenses! http://www.linuxjournal.com/article.php?sid=6225 Which Licence? http://www.linuxjournal.com/article.php?sid=4825 OSI Licences http://www.opensource.org/licenses/