From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Fang lun gang Newsgroups: gmane.emacs.help Subject: Re: Opening a list of files in Emacs Date: Sat, 14 Oct 2006 11:50:08 +0800 Organization: no Message-ID: <878xjj36a7.fsf@mail.com> 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 1160800826 3785 80.91.229.2 (14 Oct 2006 04:40:26 GMT) X-Complaints-To: usenet@sea.gmane.org NNTP-Posting-Date: Sat, 14 Oct 2006 04:40:26 +0000 (UTC) Original-X-From: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Sat Oct 14 06:40:26 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 1GYbJw-0001yY-VQ for geh-help-gnu-emacs@m.gmane.org; Sat, 14 Oct 2006 06:40:25 +0200 Original-Received: from localhost ([127.0.0.1] helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1GYbJw-0006HS-Gu for geh-help-gnu-emacs@m.gmane.org; Sat, 14 Oct 2006 00:40:24 -0400 Original-Path: shelby.stanford.edu!newsfeed.stanford.edu!newsfeed.news.ucla.edu!newsfeed.media.kyoto-u.ac.jp!news.cn99.com!not-for-mail Original-Newsgroups: gnu.emacs.help Original-Lines: 34 Original-NNTP-Posting-Host: 60.209.101.104 Original-X-Trace: news.cn99.com 1160799554 5603 60.209.101.104 (14 Oct 2006 04:19:14 GMT) Original-X-Complaints-To: usenet@news.cn99.com Original-NNTP-Posting-Date: Sat, 14 Oct 2006 04:19:14 +0000 (UTC) User-Agent: Gnus/5.11 (Gnus v5.11) Emacs/23.0.0 (gnu/linux) Cancel-Lock: sha1:WeLWQ29/GHYHgO6Y0Z3cO8iUhQU= Original-Xref: shelby.stanford.edu gnu.emacs.help:142400 Original-To: help-gnu-emacs@gnu.org 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:38021 Archived-At: I would prefer apply M-x ffap on each line of the file. Define a keyboard macro for that operation would be even better. >>>>> "Dieter" == Dieter Wilhelm writes: Dieter> "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 Dieter> Another idea is: Dieter> M-x query-replace-regexp-eval .* (find-file-noselect \0) Dieter> or maybe just Dieter> cat file_list|xargs emacs Dieter> -- Best wishes Dieter> H. Dieter Wilhelm Darmstadt, Germany -- Regards, Fang lun gang