Emacs open files from a filename list

Posted by crasic on Super User See other posts from Super User or by crasic
Published on 2012-03-25T04:32:18Z Indexed on 2012/03/25 5:32 UTC
Read the original article Hit count: 406

Filed under:

I have a largish tex project that is separated into several tex files. Everytime I want to work on it I open emacs and manually C-x C-f all the files that I want to work on.

I was wondering if there is a way to open files (from command line) from a file containing a list of filenames, something like

filelist.txt:

file1.tex file2.tex file3.tex

then do

cat files | emacs -nw

except that emacs doesn't support the command used as it doesn't like that stdin is reassigned.

any ideas?

© Super User or respective owner

Related posts about emacs