unofficial mirror of help-gnu-emacs@gnu.org
 help / color / mirror / Atom feed
* dired-guess-shell-alist-user: How to match folders instead of file types?
@ 2013-06-25 11:24 Marius Hofert
  2013-06-25 11:42 ` Peter Dyballa
  2013-06-25 14:35 ` Doug Lewan
  0 siblings, 2 replies; 13+ messages in thread
From: Marius Hofert @ 2013-06-25 11:24 UTC (permalink / raw)
  To: Emacs help

Hi,

I use ...

(setq dired-guess-shell-alist-user
      '(("\\.zip\\'" "(unzip ? &>/dev/null &)")
("\\.tar.gz\\'" "(tar xzf ? &>/dev/null &)")))

... to execute the corresponding command from dired-mode (on
M-!).  I am wondering how one can match *folders* (in contrast to
file types such as .zip, .tar.gz), such that M-! suggests a
command to be executed on folders?

Cheers,

Marius



^ permalink raw reply	[flat|nested] 13+ messages in thread

end of thread, other threads:[~2013-06-30 19:38 UTC | newest]

Thread overview: 13+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2013-06-25 11:24 dired-guess-shell-alist-user: How to match folders instead of file types? Marius Hofert
2013-06-25 11:42 ` Peter Dyballa
2013-06-25 12:02   ` Marius Hofert
2013-06-25 14:00     ` Peter Dyballa
2013-06-25 19:28     ` Stephen Berman
2013-06-25 20:34       ` Marius Hofert
2013-06-27 11:22         ` Marius Hofert
2013-06-27 11:48           ` Stephen Berman
2013-06-27 12:25             ` Marius Hofert
2013-06-27 13:33               ` Stephen Berman
2013-06-27 14:28                 ` Marius Hofert
2013-06-30 19:38                 ` Marius Hofert
2013-06-25 14:35 ` Doug Lewan

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).