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: Marius Hofert
Subject: Re: dired-guess-shell-alist-user: How to match folders instead of file types?
Date: Tue, 25 Jun 2013 14:02:21 +0200

Dear Pete,

Thanks for helping.

I am not looking for a particular directory, I am rather looking for
the name of the directory the point is on (in dired-mode).

If the point is on foo.tar.gz and I use M-!, I already get the
suggestion to 'untar' the file the point is on. I am looking for the
same feature, but in the case where the point is on a directory in
order to, say, to zip it. For this, I have to match directories but I
am not sure how this can be done.

Cheers,

Marius



On Tue, Jun 25, 2013 at 1:42 PM, Peter Dyballa <Peter_Dyballa@web.de> wrote:
>
> Am 25.06.2013 um 13:24 schrieb Marius Hofert:
>
>> 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?
>
> Insert a pair of a ^directory name\' (or a full path name, whatever is 
> necessary) instead of a regular expression and an action and see what happens!
>
> --
> Mit friedvollen Grüßen
>
>   Pete
>
> Without vi there is only GNU Emacs
>



reply via email to

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