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: Chetan
Subject: Re: how to open a list of files?
Date: Mon, 05 Jan 2009 17:27:04 -0800
User-agent: Emacs Gnus

Andreas Politz <politza@fh-trier.de> writes:

> 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

There is also find-file-at-point (ffap) and
apply-macro-to-region-lines.

Chetan


reply via email to

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