I don't see in the emacs functions anything like
"visit-all-the-buffers-matching-this-regexp".
It would be useful sometimes, now I use something like this in the git
projects
--8<---------------cut here---------------start------------->8---
(defun open-git-files ()
"Visit all the files in the current git project"
(interactive)
(dolist
(file (split-string (shell-command-to-string "git ls-files")))
(message "Opening %s" file)
(find-file file)))
--8<---------------cut here---------------end--------------->8---
But it opens too much often.
Something that
- ask for a regexp
- visit all the buffers
- automatically set up a guessed best way to place them on the frame (or
maybe creates a new elscreen for each one for example)
Is there anything like this somewhere?