unofficial mirror of emacs-devel@gnu.org 
 help / color / mirror / code / Atom feed
From: Angelo Graziosi <angelo.g0@libero.it>
To: chad <yandros@gmail.com>, James Thomas <jimjoe@gmx.net>
Cc: "emacs-devel@gnu.org" <emacs-devel@gnu.org>
Subject: Re: Visiting a set of files listed in a file
Date: Mon, 11 Apr 2022 22:34:58 +0200 (CEST)	[thread overview]
Message-ID: <1110565964.1961298.1649709298717@mail1.libero.it> (raw)
In-Reply-To: <CAO2hHWZJ-DcZ1HS12xO6BKbOPfg7zK=pvRV1PYE-q=De8vmDrw@mail.gmail.com>


> Il 11/04/2022 17:31 chad ha scritto:
> 
> 
> It looks like you have received several viable suggestions, but

Indeed...

> 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.


This is another interesting solution! Thank you!



  reply	other threads:[~2022-04-11 20:34 UTC|newest]

Thread overview: 22+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2022-04-09  9:31 Visiting a set of files listed in a file Angelo Graziosi
2022-04-09  9:59 ` Eli Zaretskii
2022-04-09 10:15   ` Angelo Graziosi
2022-04-09 10:40     ` Eli Zaretskii
2022-04-09 11:01       ` Angelo Graziosi
2022-04-09 11:10         ` Eli Zaretskii
2022-04-09 11:29           ` Angelo Graziosi
2022-04-09 14:44             ` Eli Zaretskii
2022-04-09 20:21               ` Angelo Graziosi
2022-04-09 17:44 ` [External] : " Drew Adams
2022-04-09 20:29   ` Angelo Graziosi
2022-04-09 20:35     ` Angelo Graziosi
2022-04-09 20:46       ` Angelo Graziosi
2022-04-09 21:06         ` Drew Adams
2022-04-09 21:45           ` Angelo Graziosi
2022-04-09 20:56     ` Drew Adams
2022-04-10  1:07 ` James Thomas
2022-04-11 15:18   ` João Pedro
2022-04-11 15:31   ` chad
2022-04-11 20:34     ` Angelo Graziosi [this message]
2022-04-12  6:59   ` James Thomas
2022-04-12 21:17 ` Mathias Dahl

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

  List information: https://www.gnu.org/software/emacs/

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=1110565964.1961298.1649709298717@mail1.libero.it \
    --to=angelo.g0@libero.it \
    --cc=emacs-devel@gnu.org \
    --cc=jimjoe@gmx.net \
    --cc=yandros@gmail.com \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
Code repositories for project(s) associated with this public inbox

	https://git.savannah.gnu.org/cgit/emacs.git

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).