From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: OtherMichael Newsgroups: gmane.emacs.help Subject: Re: how to open a list of files? Date: Tue, 6 Jan 2009 06:53:16 -0800 (PST) Organization: http://groups.google.com Message-ID: <1ffb12e3-f067-401f-b928-641868d21059@r10g2000prf.googlegroups.com> References: NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable X-Trace: ger.gmane.org 1231256468 8110 80.91.229.12 (6 Jan 2009 15:41:08 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Tue, 6 Jan 2009 15:41:08 +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 Jan 06 16:42:18 2009 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 1LKE48-0006zf-GE for geh-help-gnu-emacs@m.gmane.org; Tue, 06 Jan 2009 16:42:00 +0100 Original-Received: from localhost ([127.0.0.1]:48128 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1LKE2s-0007gV-Qc for geh-help-gnu-emacs@m.gmane.org; Tue, 06 Jan 2009 10:40:42 -0500 Original-Path: news.stanford.edu!newsfeed.stanford.edu!postnews.google.com!r10g2000prf.googlegroups.com!not-for-mail Original-Newsgroups: gnu.emacs.help Original-Lines: 24 Original-NNTP-Posting-Host: 209.183.178.159 Original-X-Trace: posting.google.com 1231253596 19277 127.0.0.1 (6 Jan 2009 14:53:16 GMT) Original-X-Complaints-To: groups-abuse@google.com Original-NNTP-Posting-Date: Tue, 6 Jan 2009 14:53:16 +0000 (UTC) Complaints-To: groups-abuse@google.com Injection-Info: r10g2000prf.googlegroups.com; posting-host=209.183.178.159; posting-account=GWRmcQoAAAByQPzrR7mhf5cbvIm17KAJ User-Agent: G2/1.0 X-HTTP-Via: 1.1 PROXY1 X-HTTP-UserAgent: Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.9.0.4) Gecko/2008102920 Firefox/3.0.4,gzip(gfe),gzip(gfe) Original-Xref: news.stanford.edu gnu.emacs.help:165776 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:61113 Archived-At: On Jan 5, 5:58=A0am, thth wrote: > Hi, > > I have a file containing pathes to several other files I want to open > (actually it is just the buffer list of a previous session saved in a fil= e). > Opening each file by hand from this list is a bit laborious. So I wonder = if > there is a way to open all files contained in a list automatically in ema= cs? > > Cheers & Thanks for all ideas, > =A0 Thomas desktop-mode, dired+, or the file-processing function sounds like the best best. If you want to convert your file into a list of paths, however, you could do something like the following: (mapcar 'find-file '("~/.emacs" "~/site-lisp/w32-browser.el" "~/site- lisp/twit.el" "/complete/path/to/file")) --the Other michael