help-gnu-emacs
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: how to open a list of files?


From: OtherMichael
Subject: Re: how to open a list of files?
Date: Tue, 6 Jan 2009 06:53:16 -0800 (PST)
User-agent: G2/1.0

On Jan 5, 5:58 am, thth <address@hidden> 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 file).
> 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 emacs?
>
> Cheers & Thanks for all ideas,
>   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


reply via email to

[Prev in Thread] Current Thread [Next in Thread]