From: suvayu ali <fatkasuvayu+linux@gmail.com>
To: ehud@unix.mvs.co.il
Cc: help-gnu-emacs@gnu.org
Subject: Re: Filtering files in dired while invoking
Date: Tue, 31 Aug 2010 10:33:47 -0700 [thread overview]
Message-ID: <AANLkTikaL30Gd9XMk73pKAg3t8+Y0EnRUVJAEOsQL61K@mail.gmail.com> (raw)
In-Reply-To: <201008311528.o7VFSu0I018719@beta.mvs.co.il>
On 31 August 2010 08:28, Ehud Karni <ehud@unix.mvs.co.il> wrote:
> On Mon, 30 Aug 2010 12:26:58 suvayu ali wrote:
>>
>> What I 'm looking for is to list files as they would be listed by,
>>
>> $ ls -l *.C *.h *.cxx
>
> The way to it in Emacs is to use {}.
> In your case it will be {*.C,*.h,*.cxx} or *.{C,h,cxx}.
>
> BTW. It is not an Emacs thing, but a shell one,
> i.e. you can write ls -al *.{jpg,gif,pcx}
> See the Bash man page under "Brace Expansion".
>
Thank you! I wasn't aware of this bash feature. :-p To get similar
behaviour I have extended globing turned on, but that doesn't won't
work with dired.
> Ehud.
>
--
Suvayu
Open source is the future. It sets us free.
next prev parent reply other threads:[~2010-08-31 17:33 UTC|newest]
Thread overview: 9+ messages / expand[flat|nested] mbox.gz Atom feed top
[not found] <AANLkTi=3DFkTuuj8U358Sr6_tHUsEK+6yCPoHB32nL6bK_@mail.gmail.com>
2010-08-31 15:28 ` Filtering files in dired while invoking Ehud Karni
2010-08-31 17:33 ` suvayu ali [this message]
2010-08-30 19:26 suvayu ali
2010-08-30 20:19 ` Drew Adams
2010-08-30 23:40 ` suvayu ali
2010-08-31 6:10 ` Drew Adams
2010-09-27 1:33 ` Drew Adams
2010-08-31 12:17 ` Lei Wang
2010-08-31 17:40 ` suvayu ali
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=AANLkTikaL30Gd9XMk73pKAg3t8+Y0EnRUVJAEOsQL61K@mail.gmail.com \
--to=fatkasuvayu+linux@gmail.com \
--cc=ehud@unix.mvs.co.il \
--cc=help-gnu-emacs@gnu.org \
/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.
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).