From: Kevin Rodgers <ihs_4664@yahoo.com>
Subject: Re: [patch] 21.3 dired.el direx-aux.el dired-read-shell-command and default values
Date: Mon, 09 Feb 2004 11:51:11 -0700 [thread overview]
Message-ID: <4027D69F.6060508@yahoo.com> (raw)
In-Reply-To: mailman.2050.1076163753.928.bug-gnu-emacs@gnu.org
Jari Aalto+mail.linux wrote:
> In regard to this mail, here are patches for generally framework
> of this kind. The command offered depends on file extension.
>
> From: Dan Jacobson <jidanni <AT> jidanni.org>
> Subject: make .pod trigger perldoc
> Newsgroups: gnu.emacs.bug
> To: bug-gnu-emacs <AT> gnu.org
> Date: 2004-02-04 06:07 ke EET
> Message-ID: <mailman.2008.1076101438.928.bug-gnu-emacs <AT> gnu.org>
>
> Make perldoc the default dired-do-shell-command when encountering
> .pod files.
>
> 2004-02-07 Sat Jari Aalto <jari.aalto <AT> poboxes.com>
>
> * dired.el (dired-shell-command-list): New user variable.
>
> * dired-aux.el (dired-read-shell-command-default-command): New.
> (dired-read-shell-command): Consult
> `dired-read-shell-command-default-command' and offer default if
> any.
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.
--
Kevin Rodgers
next parent reply other threads:[~2004-02-09 18:51 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 ` Kevin Rodgers [this message]
[not found] ` <mailman.2134.1076352719.928.bug-gnu-emacs@gnu.org>
2004-03-24 11:33 ` [patch] 21.3 dired.el direx-aux.el dired-read-shell-command and default values Jari Aalto+mail.linux
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=4027D69F.6060508@yahoo.com \
--to=ihs_4664@yahoo.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).