help-gnu-emacs
[Top][All Lists]
Advanced

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

RE: dired-guess-shell-alist-user: How to match folders instead of file t


From: Doug Lewan
Subject: RE: dired-guess-shell-alist-user: How to match folders instead of file types?
Date: Tue, 25 Jun 2013 14:35:47 +0000

Well, thanks for this thread.

Now I know about dired-x.

,Douglas
Douglas Lewan
Shubert Ticketing
(201) 489-8600 ext 224

If the majority of cooking accidents happen in the kitchen, then why don't we 
just cook in other rooms?


-----Original Message-----
From: help-gnu-emacs-bounces+dougl=shubertticketing.com@gnu.org 
[mailto:help-gnu-emacs-bounces+dougl=shubertticketing.com@gnu.org] On Behalf Of 
Marius Hofert
Sent: Tuesday, 2013 June 25 07:25
To: Emacs help
Subject: dired-guess-shell-alist-user: How to match folders instead of file 
types?

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


reply via email to

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