maybe there are better ways, but i just go to the dir, then do
Alt+x find-dired
when it asks for “Run Find”, give “-type f”. If you want html only,
you can do “-name *html” for example.
Xah
∑ http://xahlee.org/
☄
> I want to list all the contents in dired way.
> How to do that?
Look up "Virtual Dired" in dired-x. It's in info.
--
Greetings
Pete
Experience is what you get when you don't get what you want.
Hi Pete!
Where do you get these quotes?
I freak out on them (some at least)
M-x find-dired
--
Paul
Is the answer the following (call dired with a prefix), or did I
overlook something?
C-x d runs the command dired
which is an interactive compiled Lisp function in `dired.el'.
It is bound to C-x d, <menu-bar> <file> <dired>.
(dired dirname &optional switches)
"Edit" directory dirname--delete, rename, print, etc. some files in
it.
Optional second argument switches specifies the `ls' options used.
I checked that it worked, with
GNU Emacs 22.1.1 (i386-mingw-nt5.1.2600) of 2007-06-02 on RELEASE
Hi,
add the 'R' option to the underlying ls command by typing "1 s" in the
dired buffer of the top level directory:
s runs the command dired-sort-toggle-or-edit, which is an interactive
compiled Lisp function in `dired.el'.
It is bound to s.
(dired-sort-toggle-or-edit &optional arg)
Toggle between sort by date/name and refresh the dired buffer.
With a prefix argument you can edit the current listing switches instead.
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
Martin
[ please reply to list or keep it as cc ]
Anand> Hi Paul, Thanks I found it working. I have one more question
Anand> GVIM, provides the auto completions with the exhaustive list of
Anand> all the possibilities. while typing in .c file (for example
Anand> GS_AM_ will give all the auto completions for all the tokens
Anand> strating with GS_AM.) In emacs also M-/ gives the completions
Anand> which are there in current buffer. Furhter it gives the case
Anand> insensitive one.(the cases are ignored). But it will not give the
Anand> completions from the TAGS file It does not consider other files
Anand> and buffers. Is there any way to do it in emacs.?
As usual with emacs, there isn't a single way but many, none of them
being "the one".
A lot of people wrote packages for completion, I think they should be
listed and detailled here :
http://www.emacswiki.org/emacs/CategoryCompletion
Some of them will come bundled to your emacs distribution, some others
won't. Please read and find out which suits the best your needs.
--
Paul