all messages for Emacs-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
* Open many buffers
@ 2010-06-08 21:11 Andrea Crotti
  2010-06-08 21:57 ` Drew Adams
  2010-06-09  3:54 ` Kevin Rodgers
  0 siblings, 2 replies; 5+ messages in thread
From: Andrea Crotti @ 2010-06-08 21:11 UTC (permalink / raw)
  To: help-gnu-emacs

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?




^ permalink raw reply	[flat|nested] 5+ messages in thread

end of thread, other threads:[~2010-06-09 14:40 UTC | newest]

Thread overview: 5+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2010-06-08 21:11 Open many buffers Andrea Crotti
2010-06-08 21:57 ` Drew Adams
2010-06-09 13:49   ` Joel James Adamson
2010-06-09 14:40     ` Drew Adams
2010-06-09  3:54 ` Kevin Rodgers

Code repositories for project(s) associated with this external index

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

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.