[Top][All Lists]

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [patch] 21.3 dired.el direx-aux.el dired-read-shell-command and defa

From: Jari Aalto+mail.linux
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
User-agent: Gnus/5.110002 (No Gnus v0.2) Emacs/21.3 (windows-nt) (i386-msvc-nt5.0.2195)

* Mon 2004-02-09 Kevin Rodgers <ihs_4664 <AT> yahoo.com> gnu.emacs.bug
* <http://groups.google.com/groups?oi=djq&address@hidden>
| 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


2004-03-24 Wed  Jari Aalto  <jari.aalto <AT> poboxes.com>

        * dired-x.el (dired-guess-shell-alist-default):
        Added Perl .pod support.

Index: dired-x.el
RCS file: 
retrieving revision
diff -u -IId: -u -b -w -r1.1.1.1 dired-x.el
--- dired-x.el  26 Jun 2003 18:06:08 -0000
+++ 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")

Swatch @time   http://www.mir.com.my/iTime/itime.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/

reply via email to

[Prev in Thread] Current Thread [Next in Thread]