From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Dieter Wilhelm Newsgroups: gmane.emacs.help Subject: Re: Opening a list of files in Emacs Date: Fri, 13 Oct 2006 23:37:20 +0200 Organization: The Church of Emacs Message-ID: <874pu77v8v.fsf@hans.local.net> References: <1160617228.713168.214220@b28g2000cwb.googlegroups.com> NNTP-Posting-Host: main.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Trace: sea.gmane.org 1160776227 5981 80.91.229.2 (13 Oct 2006 21:50:27 GMT) X-Complaints-To: usenet@sea.gmane.org NNTP-Posting-Date: Fri, 13 Oct 2006 21:50:27 +0000 (UTC) Cc: help-gnu-emacs@gnu.org Original-X-From: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Fri Oct 13 23:50:24 2006 Return-path: Envelope-to: geh-help-gnu-emacs@m.gmane.org Original-Received: from lists.gnu.org ([199.232.76.165]) by ciao.gmane.org with esmtp (Exim 4.43) id 1GYUv4-0008TD-JH for geh-help-gnu-emacs@m.gmane.org; Fri, 13 Oct 2006 23:50:18 +0200 Original-Received: from localhost ([127.0.0.1] helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1GYUv4-0007Iy-6R for geh-help-gnu-emacs@m.gmane.org; Fri, 13 Oct 2006 17:50:18 -0400 Original-Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1GYUur-0007I4-K1 for help-gnu-emacs@gnu.org; Fri, 13 Oct 2006 17:50:05 -0400 Original-Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1GYUuq-0007GG-0f for help-gnu-emacs@gnu.org; Fri, 13 Oct 2006 17:50:05 -0400 Original-Received: from [199.232.76.173] (helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1GYUup-0007GC-Rr for help-gnu-emacs@gnu.org; Fri, 13 Oct 2006 17:50:03 -0400 Original-Received: from [212.227.126.177] (helo=moutng.kundenserver.de) by monty-python.gnu.org with esmtp (Exim 4.52) id 1GYV3M-0007MD-Iy for help-gnu-emacs@gnu.org; Fri, 13 Oct 2006 17:58:52 -0400 Original-Received: from [84.167.14.168] (helo=duenenhof-wilhelm.de) by mrelayeu.kundenserver.de (node=mrelayeu6) with ESMTP (Nemesis), id 0ML29c-1GYUum0CbB-0008To; Fri, 13 Oct 2006 23:50:00 +0200 Original-Received: by duenenhof-wilhelm.de (Postfix, from userid 1000) id B092D755D9; Fri, 13 Oct 2006 23:37:20 +0200 (CEST) Original-To: "ChunYe Wang" In-Reply-To: (ChunYe Wang's message of "Thu\, 12 Oct 2006 02\:22\:36 GMT") User-Agent: Gnus/5.11 (Gnus v5.11) Emacs/22.0.50 (gnu/linux) X-Provags-ID: kundenserver.de abuse@kundenserver.de login:d7ab225b98a136e1c2910381f940ecb9 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:38019 Archived-At: "ChunYe Wang" writes: >> > I have a file containing a list of files (full-pathname), one per line. >> > How do I open this list of files from Emacs? Is there a elisp package >> > to do this? > >> venu.nayar@gmail.com writes: >> >> M-x query-replace-regexp-eval >> .* > (format "(find-file %S)" (match-string 0)) >> >> M-x eval-buffer Another idea is: M-x query-replace-regexp-eval .* (find-file-noselect \0) or maybe just cat file_list|xargs emacs -- Best wishes H. Dieter Wilhelm Darmstadt, Germany