From mboxrd@z Thu Jan  1 00:00:00 1970
Path: news.gmane.org!not-for-mail
From: Marius Hofert <marius.hofert@math.ethz.ch>
Newsgroups: gmane.emacs.help
Subject: Re: dired-guess-shell-alist-user: How to match folders instead of
	file types?
Date: Tue, 25 Jun 2013 14:02:21 +0200
Message-ID: <CAM3-KjZxQogVRoGS+fwPz7r5V50XwzDrOMU8Bm6p4J70XYJiEw@mail.gmail.com>
References: <CAM3-KjajDPxZmCF1FoJ0Y+zsQ1LbxrQ2JwoqJaGAJhgR8P=n6Q@mail.gmail.com>
	<792EB2D2-E2CF-446E-ADF4-5B5BD92C8146@Web.DE>
NNTP-Posting-Host: plane.gmane.org
Mime-Version: 1.0
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: quoted-printable
X-Trace: ger.gmane.org 1372161808 20739 80.91.229.3 (25 Jun 2013 12:03:28 GMT)
X-Complaints-To: usenet@ger.gmane.org
NNTP-Posting-Date: Tue, 25 Jun 2013 12:03:28 +0000 (UTC)
Cc: Emacs help <help-gnu-emacs@gnu.org>
To: Peter Dyballa <Peter_Dyballa@web.de>
Original-X-From: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Tue Jun 25 14:03:33 2013
Return-path: <help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org>
Envelope-to: geh-help-gnu-emacs@m.gmane.org
Original-Received: from lists.gnu.org ([208.118.235.17])
	by plane.gmane.org with esmtp (Exim 4.69)
	(envelope-from <help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org>)
	id 1UrRy7-0003SM-6E
	for geh-help-gnu-emacs@m.gmane.org; Tue, 25 Jun 2013 14:03:31 +0200
Original-Received: from localhost ([::1]:42665 helo=lists.gnu.org)
	by lists.gnu.org with esmtp (Exim 4.71)
	(envelope-from <help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org>)
	id 1UrRy6-0007GH-Qe
	for geh-help-gnu-emacs@m.gmane.org; Tue, 25 Jun 2013 08:03:30 -0400
Original-Received: from eggs.gnu.org ([2001:4830:134:3::10]:47021)
	by lists.gnu.org with esmtp (Exim 4.71)
	(envelope-from <marius.hofert@gmail.com>) id 1UrRxl-00073w-DC
	for help-gnu-emacs@gnu.org; Tue, 25 Jun 2013 08:03:19 -0400
Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71)
	(envelope-from <marius.hofert@gmail.com>) id 1UrRxe-0002Q7-Mg
	for help-gnu-emacs@gnu.org; Tue, 25 Jun 2013 08:03:09 -0400
Original-Received: from mail-pa0-x22e.google.com ([2607:f8b0:400e:c03::22e]:36562)
	by eggs.gnu.org with esmtp (Exim 4.71)
	(envelope-from <marius.hofert@gmail.com>) id 1UrRxe-0002Pl-Fj
	for help-gnu-emacs@gnu.org; Tue, 25 Jun 2013 08:03:02 -0400
Original-Received: by mail-pa0-f46.google.com with SMTP id fa11so12562355pad.19
	for <help-gnu-emacs@gnu.org>; Tue, 25 Jun 2013 05:03:01 -0700 (PDT)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113;
	h=mime-version:sender:in-reply-to:references:from:date
	:x-google-sender-auth:message-id:subject:to:cc:content-type
	:content-transfer-encoding;
	bh=+hSyNbmUT1IDmq2D+86wAnpykRbMdsX8x3pFIy7xydk=;
	b=LrBozpjMdK/kJgT04S6iM7XqHS+JRgJQLhTD4znlL4sjrqZRMqREOgiIh6NKzr8vIQ
	479tyXAYU1ZkS90X6RvY9YX7MP6D2T6Q7BmJutchbZQX/6UMgXMQ5Ej+S/qjzdT0isrI
	ecfZ06g/icsV0YbHkl6kmxnPNWjTJbRPTkegQuMtqAULysdxxviynY1DfHYN/34yP/K0
	q3eC1O27iAbRJaNSmDzZ3DFAeLoQK2FQhdGSiK/pxHJpGGq8OWPhjvprsP+6Ve6HCEyI
	Tm79EScS3C5HatlqmnBOANrjqB/x+1ZlIomXu4216vAVHl8OWGSw20CBvWbeyIl5qexX
	ERUQ==
X-Received: by 10.66.118.163 with SMTP id kn3mr19154420pab.165.1372161781518; 
	Tue, 25 Jun 2013 05:03:01 -0700 (PDT)
Original-Received: by 10.68.31.135 with HTTP; Tue, 25 Jun 2013 05:02:21 -0700 (PDT)
In-Reply-To: <792EB2D2-E2CF-446E-ADF4-5B5BD92C8146@Web.DE>
X-Google-Sender-Auth: njUAYNrFg1E3D57E2Q_SlWC-OxA
X-detected-operating-system: by eggs.gnu.org: Error: Malformed IPv6 address
	(bad octet value).
X-Received-From: 2607:f8b0:400e:c03::22e
X-BeenThere: help-gnu-emacs@gnu.org
X-Mailman-Version: 2.1.14
Precedence: list
List-Id: Users list for the GNU Emacs text editor <help-gnu-emacs.gnu.org>
List-Unsubscribe: <https://lists.gnu.org/mailman/options/help-gnu-emacs>,
	<mailto:help-gnu-emacs-request@gnu.org?subject=unsubscribe>
List-Archive: <http://lists.gnu.org/archive/html/help-gnu-emacs>
List-Post: <mailto:help-gnu-emacs@gnu.org>
List-Help: <mailto:help-gnu-emacs-request@gnu.org?subject=help>
List-Subscribe: <https://lists.gnu.org/mailman/listinfo/help-gnu-emacs>,
	<mailto:help-gnu-emacs-request@gnu.org?subject=subscribe>
Errors-To: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org
Original-Sender: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org
Xref: news.gmane.org gmane.emacs.help:91704
Archived-At: <http://permalink.gmane.org/gmane.emacs.help/91704>

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 ne=
cessary) instead of a regular expression and an action and see what happens=
!
>
> --
> Mit friedvollen Gr=C3=BC=C3=9Fen
>
>   Pete
>
> Without vi there is only GNU Emacs
>