[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: find certain files
From: |
Stefan Monnier |
Subject: |
Re: find certain files |
Date: |
Tue, 12 Jun 2007 16:38:38 -0400 |
User-agent: |
Gnus/5.11 (Gnus v5.11) Emacs/22.1.50 (gnu/linux) |
>>> Now I want to limit it to certain files that have certain
>>> extensions, for example, only sas files, *.sas. If if do Ctrl-f
>>> /projects/a/*.sas, it will open all the sas files. I want to do Ctrl-f
>>> /projects/a/, and only display .sas files, so I can choose one. How do I
>>> do that?
In my unreleased completion code (which is behaves similarly to
partial-completion-mode as a first approximation), I can do:
C-x C-f ~/toto/*.sas TAB
or even
C-x C-f ~/toto/**/*.sas TAB
so as to look in subdirectories as well. Sadly, it's not in a good shape
and will need a rewrite before it has a chance to making it into Emacs
(i.e. next century maybe).
Stefan