From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: "Drew Adams" Newsgroups: gmane.emacs.help Subject: RE: Open many buffers Date: Wed, 9 Jun 2010 07:40:47 -0700 Message-ID: <033D3F9384EF427993F4D5B6C1563D29@us.oracle.com> References: <44EBD666026F4012BE78206A29BEF627@us.oracle.com> <20100609134942.GB15413@chondestes.bio.unc.edu> NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit X-Trace: dough.gmane.org 1276094981 20254 80.91.229.12 (9 Jun 2010 14:49:41 GMT) X-Complaints-To: usenet@dough.gmane.org NNTP-Posting-Date: Wed, 9 Jun 2010 14:49:41 +0000 (UTC) Cc: help-gnu-emacs@gnu.org, 'Andrea Crotti' To: "'Joel James Adamson'" Original-X-From: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Wed Jun 09 16:49:40 2010 connect(): No such file or directory 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.69) (envelope-from ) id 1OMMb1-0004Qn-2o for geh-help-gnu-emacs@m.gmane.org; Wed, 09 Jun 2010 16:49:35 +0200 Original-Received: from localhost ([127.0.0.1]:39646 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1OMMTe-00013a-So for geh-help-gnu-emacs@m.gmane.org; Wed, 09 Jun 2010 10:41:58 -0400 Original-Received: from [140.186.70.92] (port=52723 helo=eggs.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1OMMT2-0000sS-M9 for help-gnu-emacs@gnu.org; Wed, 09 Jun 2010 10:41:24 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.69) (envelope-from ) id 1OMMT1-0007Am-QG for help-gnu-emacs@gnu.org; Wed, 09 Jun 2010 10:41:20 -0400 Original-Received: from rcsinet10.oracle.com ([148.87.113.121]:57468) by eggs.gnu.org with esmtp (Exim 4.69) (envelope-from ) id 1OMMT1-0007AR-LP for help-gnu-emacs@gnu.org; Wed, 09 Jun 2010 10:41:19 -0400 Original-Received: from acsinet15.oracle.com (acsinet15.oracle.com [141.146.126.227]) by rcsinet10.oracle.com (Switch-3.4.2/Switch-3.4.1) with ESMTP id o59Ef53k028568 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=OK); Wed, 9 Jun 2010 14:41:07 GMT Original-Received: from acsmt355.oracle.com (acsmt355.oracle.com [141.146.40.155]) by acsinet15.oracle.com (Switch-3.4.2/Switch-3.4.1) with ESMTP id o593on8j024877; Wed, 9 Jun 2010 14:41:02 GMT Original-Received: from abhmt007.oracle.com by acsmt353.oracle.com with ESMTP id 333135901276094449; Wed, 09 Jun 2010 07:40:49 -0700 Original-Received: from dradamslap1 (/130.35.179.10) by default (Oracle Beehive Gateway v4.0) with ESMTP ; Wed, 09 Jun 2010 07:40:48 -0700 X-Mailer: Microsoft Office Outlook 11 In-Reply-To: <20100609134942.GB15413@chondestes.bio.unc.edu> X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2900.5931 Thread-Index: AcsH2qCqyVT66z0BTOOlnTY3U3wgfwABr1Tw X-Auth-Type: Internal IP X-Source-IP: acsinet15.oracle.com [141.146.126.227] X-CT-RefId: str=0001.0A090206.4C0FA803.0105:SCFMA922111,ss=1,fgs=0 X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.6 (newer, 3) 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:73867 Archived-At: > > > I don't see in the emacs functions anything like > > > "visit-all-the-buffers-matching-this-regexp". > > > Is there anything like this somewhere? > > > > Here are two possibilities: > > 1. Ibuffer: `% n rgx RET v' where rgx is your regexp. > > `% n' marks regexp matches. `v' visits. > > 2. Icicles: `C-x b rgx S-TAB C-!' where rgx is your regexp. > > `S-TAB' regexp-completes. > > `C-!' acts on each of the completion candidates. > > The action in this case is `C-x b': visit a buffer. > > Here's a third possibility: using Dired, mark according to a regexp > % m regexp RET then open (find) those marked files using `F'. That works only for files, not buffers unassociated with a file. That's why I mentioned Ibuffer (though I don't use Ibuffer myself). It is similar to the Dired approach, but for buffers, not files.