emacs-devel
[Top][All Lists]
Advanced

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

Re: Visiting a set of files listed in a file


From: chad
Subject: Re: Visiting a set of files listed in a file
Date: Mon, 11 Apr 2022 11:31:14 -0400

It looks like you have received several viable suggestions, but since the topic is still somewhat open, let me ask you: are you familiar with emacs' keyboard macro system?

  https://www.gnu.org/software/emacs/manual/html_node/emacs/Keyboard-Macros.html

Once your list of files is in a buffer, ideally one per line, getting emacs to open the file named by each line is pretty simple, and if you build a keyboard macro to do it, you have total control over the various options, (reuse window or not? reuse frame or not? absolute paths or relative? Relative to home, current, or specified in the buffer? process the entire list at once, once per keypress, or otherwise throttled? etc). Additionally, since they can be named and saved for later, you can refine it over time. This also makes it simple to incorporate whatever method you use to generate the filelist, and you can craft the unusual/error cases to suit your needs.

Hope that helps,
~Chad


reply via email to

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