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

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

Re: Opening a list of files in Emacs


From: Fang lun gang
Subject: Re: Opening a list of files in Emacs
Date: Sat, 14 Oct 2006 11:50:08 +0800
User-agent: Gnus/5.11 (Gnus v5.11) Emacs/23.0.0 (gnu/linux)

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 <dieter@duenenhof-wilhelm.de> writes:

    Dieter> "ChunYe Wang" <ext-chunye.wang@nokia.com> 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 <RET> .* <RET>
    >> (format "(find-file %S)" (match-string 0)) <RET>
    >>> 
    >>> M-x eval-buffer

    Dieter> Another idea is:

    Dieter> M-x query-replace-regexp-eval <RET> .* <RET> (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


reply via email to

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