[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: How to open all files in a directory?
From: |
Pony |
Subject: |
Re: How to open all files in a directory? |
Date: |
Mon, 3 Nov 2008 14:19:32 -0800 (PST) |
User-agent: |
G2/1.0 |
Thanks.
I think I didn't make myself clear.
I use ido mode in Emacs, which means when you input `C-x C-f * RET' ,
emacs will open a new file named " * " instead of open all the files.
At present I just close the ido mode first, then open all files, and
open ido mode again.
I'd like to know whether there is a smarter way to do this.
EMACS makes me want to be much more lazyer!! ^_^
On 11月4日, 上午3时52分, "Drew Adams" <drew.ad...@oracle.com> wrote:
> > do you know is there a way to open all the files in one directory?
> > instead of opening it one by one...
>
> With Emacs there is always a way - no, several ways. ;-)
>
> `C-x C-f * RET' will open all files in the current directory (or `C-x C-f .*
> RET' if you also want the dot files). Each file is visited in a buffer, but
> the
> buffers are not all displayed. Use `C-x C-b' to access buffers.
>
> File-name globbing (wildcards) always works with commands such as `find-file'
> (`C-x C-f') when you hit `RET'.