|
From: | James Thomas |
Subject: | Re: Visiting a set of files listed in a file |
Date: | Sun, 10 Apr 2022 06:37:41 +0530 |
User-agent: | Gnus/5.13 (Gnus v5.13) Emacs/28.0.92 (gnu/linux) |
Angelo Graziosi wrote: > Can Emacs visit a set of files listed in a file? > > For example, I have a text file with > > /path_to/file1.f90 > /path_to/file2.txt > /path_to/file3.c > /path_to/file4.tex > .... > > How can I visit all those files without doing that manually which > could be tedious if the file to be visited are 40-50? > > It would be useful doing that both from command line and inside Emacs... For from inside Emacs: What I've found is that putting the buffer in dired-virtual-mode (from dired-x) and then setting (setq directory-listing-before-filename-regexp "^\*? *") ...means that you can use it just like a dired buffer. So type t and F to visit all the files. --
[Prev in Thread] | Current Thread | [Next in Thread] |