From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Pony Newsgroups: gmane.emacs.help Subject: Re: How to open all files in a directory? Date: Tue, 4 Nov 2008 01:39:11 -0800 (PST) Organization: http://groups.google.com Message-ID: <8840f1dd-8910-4bd1-a230-bb111901865d@f40g2000pri.googlegroups.com> References: <4f958fbc-1e74-47ff-aef8-56a7c67c6344@q30g2000prq.googlegroups.com> <1225752587.747614@arno.fh-trier.de> NNTP-Posting-Host: dough.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=GB2312 Content-Transfer-Encoding: quoted-printable X-Trace: ger.gmane.org 1225791752 6447 80.91.229.10 (4 Nov 2008 09:42:32 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Tue, 4 Nov 2008 09:42:32 +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 11:20:06 2008 connect(): Connection refused Return-path: Envelope-to: geh-help-gnu-emacs@m.gmane.org Original-Received: from mail-forward1.uio.no ([129.240.10.70]) by dough.gmane.org with esmtp (Exim 4.50) id 1KxJ14-0005Q7-9c for geh-help-gnu-emacs@m.gmane.org; Tue, 04 Nov 2008 11:20:06 +0100 Original-Received: from exim by mail-out1.uio.no with local-bsmtp (Exim 4.69) (envelope-from ) id 1KxIQd-0006p6-H9 for geh-help-gnu-emacs@m.gmane.org; Tue, 04 Nov 2008 10:42:27 +0100 Original-Received: from mail-mx2.uio.no ([129.240.10.30]) by mail-out1.uio.no with esmtp (Exim 4.69) (envelope-from ) id 1KxIQd-0006p3-G4 for geh-help-gnu-emacs@m.gmane.org; Tue, 04 Nov 2008 10:42:27 +0100 Original-Received: from lists.gnu.org ([199.232.76.165]) by mail-mx2.uio.no with esmtps (TLSv1:AES256-SHA:256) (Exim 4.69) (envelope-from ) id 1KxIQc-00072Y-U0 for geh-help-gnu-emacs@m.gmane.org; Tue, 04 Nov 2008 10:42:27 +0100 Original-Received: from localhost ([127.0.0.1]:33966 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1KxIQW-0000lq-Qb for geh-help-gnu-emacs@m.gmane.org; Tue, 04 Nov 2008 04:42:20 -0500 Original-Path: news.stanford.edu!newsfeed.stanford.edu!postnews.google.com!f40g2000pri.googlegroups.com!not-for-mail Original-Newsgroups: gnu.emacs.help Original-Lines: 46 Original-NNTP-Posting-Host: 82.194.105.234 Original-X-Trace: posting.google.com 1225791551 8445 127.0.0.1 (4 Nov 2008 09:39:11 GMT) Original-X-Complaints-To: groups-abuse@google.com Original-NNTP-Posting-Date: Tue, 4 Nov 2008 09:39:11 +0000 (UTC) Complaints-To: groups-abuse@google.com Injection-Info: f40g2000pri.googlegroups.com; posting-host=82.194.105.234; posting-account=HeF48AoAAADJjyb_W7wYktndwC9KZqr5 User-Agent: G2/1.0 X-HTTP-UserAgent: Mozilla/5.0 (Windows; U; Windows NT 5.1; zh-CN; rv:1.9.0.3) Gecko/2008092417 Firefox/3.0.3,gzip(gfe),gzip(gfe) Original-Xref: news.stanford.edu gnu.emacs.help:164089 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 X-UiO-SPF-Received: Received-SPF: pass (mail-mx2.uio.no: domain of gnu.org designates 199.232.76.165 as permitted sender) client-ip=199.232.76.165; envelope-from=help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org; helo=lists.gnu.org; X-UiO-Spam-info: not spam, SpamAssassin (score=-4.0, required=5.0, autolearn=disabled, MISSING_SUBJECT=0.001,NO_RECEIVED=-0.001,RCVD_IN_DNSWL_MED=-4, uiobl=NO, uiouri=NO) X-UiO-Scanned: 079E9CE6DB88B8977D5EC373B1D50D0A747FD182 X-UiO-SPAM-Test: remote_host: 199.232.76.165 spam_score: -39 maxlevel 200 minaction 2 bait 0 mail/h: 24 total 75733 max/h 424 blacklist 0 greylist 0 ratelimit 0 Xref: news.gmane.org gmane.emacs.help:59425 Archived-At: Thanks so much. I got it. On 11=D4=C24=C8=D5, =C9=CF=CE=E76=CA=B148=B7=D6, Andreas Politz wrote: > 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=D4=C24=C8=D5, =C9=CF=CE=E73=CA=B152=B7=D6, "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 `fin= d-file' > >> (`C-x C-f') when you hit `RET'.