From: Pony <lingyu.ma.fu@googlemail.com>
To: help-gnu-emacs@gnu.org
Subject: Re: How to open all files in a directory?
Date: Mon, 3 Nov 2008 14:19:32 -0800 (PST) [thread overview]
Message-ID: <c205e011-1077-4195-9256-7e89f595502c@a3g2000prm.googlegroups.com> (raw)
In-Reply-To: mailman.2806.1225741931.25473.help-gnu-emacs@gnu.org
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'.
next prev parent reply other threads:[~2008-11-03 22:19 UTC|newest]
Thread overview: 6+ messages / expand[flat|nested] mbox.gz Atom feed top
2008-11-03 16:47 How to open all files in a directory? Pony
2008-11-03 19:38 ` Peter Dyballa
2008-11-03 19:52 ` Drew Adams
[not found] ` <mailman.2806.1225741931.25473.help-gnu-emacs@gnu.org>
2008-11-03 22:19 ` Pony [this message]
2008-11-03 22:48 ` Andreas Politz
2008-11-04 9:39 ` Pony
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=c205e011-1077-4195-9256-7e89f595502c@a3g2000prm.googlegroups.com \
--to=lingyu.ma.fu@googlemail.com \
--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).