unofficial mirror of bug-gnu-emacs@gnu.org 
 help / color / mirror / code / Atom feed
From: jari.aalto@poboxes.com (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	[thread overview]
Message-ID: <4qse4gz9.fsf@blue.sea.net> (raw)
In-Reply-To: mailman.2134.1076352719.928.bug-gnu-emacs@gnu.org

* Mon 2004-02-09 Kevin Rodgers <ihs_4664 <AT> yahoo.com> gnu.emacs.bug
* <http://groups.google.com/groups?oi=djq&as_umsgid=%3Cmailman.2134.1076352719.928.bug-gnu-emacs@gnu.org>
| 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  <jari.aalto <AT> 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/

  parent reply	other threads:[~2004-03-24 11:33 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
     [not found] <mailman.2050.1076163753.928.bug-gnu-emacs@gnu.org>
2004-02-09 18:51 ` [patch] 21.3 dired.el direx-aux.el dired-read-shell-command and default values Kevin Rodgers
     [not found] ` <mailman.2134.1076352719.928.bug-gnu-emacs@gnu.org>
2004-03-24 11:33   ` Jari Aalto+mail.linux [this message]
2004-02-07 14:30 Jari Aalto+mail.linux

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

  List information: https://www.gnu.org/software/emacs/

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=4qse4gz9.fsf@blue.sea.net \
    --to=jari.aalto@poboxes.com \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
Code repositories for project(s) associated with this public inbox

	https://git.savannah.gnu.org/cgit/emacs.git

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).