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: Andreas Politz
Subject: Re: how to open a list of files?
Date: Mon, 05 Jan 2009 18:12:16 +0100
User-agent: Mozilla-Thunderbird 2.0.0.17 (X11/20081018)

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 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

With already onboard functions :

M-x replace-regexp RET .+ RET \,(progn (save-match-data (find-file-noselect \&)) 
\&) RET

or when available

M-x shell-command-on-region RET xargs emacsclient -n RET

or a macro, approximatetly

C-x ( M-x ffap RET RET C-b RET C-n C-0 C-x e

or use a function which maps a regexp in a buffer using some function
much like the replace-regexp stuff above.  I am curious whether
such a command already exists.

Now I am out of ideas.

-ap



reply via email to

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