From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Andreas Politz Newsgroups: gmane.emacs.help Subject: Re: How to open all files in a directory? Date: Mon, 03 Nov 2008 23:48:36 +0100 Organization: FH-Trier Message-ID: <1225752587.747614@arno.fh-trier.de> References: <4f958fbc-1e74-47ff-aef8-56a7c67c6344@q30g2000prq.googlegroups.com> NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=GB2312 Content-Transfer-Encoding: 8bit X-Trace: ger.gmane.org 1225755697 32635 80.91.229.12 (3 Nov 2008 23:41:37 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Mon, 3 Nov 2008 23:41:37 +0000 (UTC) To: help-gnu-emacs@gnu.org Original-X-From: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Tue Nov 04 00:42:39 2008 connect(): Connection refused Return-path: Envelope-to: geh-help-gnu-emacs@m.gmane.org Original-Received: from lists.gnu.org ([199.232.76.165]) by lo.gmane.org with esmtp (Exim 4.50) id 1Kx949-00020p-8R for geh-help-gnu-emacs@m.gmane.org; Tue, 04 Nov 2008 00:42:37 +0100 Original-Received: from localhost ([127.0.0.1]:55551 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1Kx932-0002Zg-DK for geh-help-gnu-emacs@m.gmane.org; Mon, 03 Nov 2008 18:41:28 -0500 Original-Path: news.stanford.edu!headwall.stanford.edu!newshub.sdsu.edu!newsfeed.freenet.de!news.tu-darmstadt.de!news.belwue.de!news.uni-kl.de!not-for-mail Original-Newsgroups: gnu.emacs.help Original-Lines: 40 Original-NNTP-Posting-Host: 143-93-54-11.arno.fh-trier.de Original-X-Trace: news.uni-kl.de 1225752617 25224 143.93.54.11 (3 Nov 2008 22:50:17 GMT) Original-X-Complaints-To: usenet@news.uni-kl.de Original-NNTP-Posting-Date: Mon, 3 Nov 2008 22:50:17 +0000 (UTC) User-Agent: Mozilla-Thunderbird 2.0.0.17 (X11/20081018) In-Reply-To: Cache-Post-Path: arno.fh-trier.de!unknown@dslb-084-059-209-112.pools.arcor-ip.net X-Cache: nntpcache 3.0.1 (see http://www.nntpcache.org/) Original-Xref: news.stanford.edu gnu.emacs.help:164077 X-BeenThere: help-gnu-emacs@gnu.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Users list for the GNU Emacs text editor List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Original-Sender: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Errors-To: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Xref: news.gmane.org gmane.emacs.help:59417 Archived-At: Pony wrote: > > 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!! ^_^ > > When in ido-mode press C-f .This disables ido for the moment. -ap > > > > > > > > On 11月4日, 上午3时52分, "Drew Adams" 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'. >