search - Emacs: Is it possible to list all matching lines for a certain query string for marked files in dired? -


i found out m-x occur other day.
(how achieve code folding effects in emacs?)

i wonder if list matching lines in multiple files(or buffers) preferably marked in dired mode.

m-x multi-occur  m-x multi-occur-in-matching-buffers 

and also:

m-x multi-occur-in-this-mode  (defun multi-occur-in-this-mode ()   "show lines matching regexp in buffers major mode."   (interactive)   (multi-occur    (get-buffers-matching-mode major-mode)    (car (occur-read-primary-args)))) 

Comments

Popular posts from this blog

user interface - Python attempting to create a simple gui, getting "AttributeError: 'MainMenu' object has no attribute 'intro_screen'" -

jquery - Common JavaScript snippet to share files on Google Drive, Dropbox, Box.net or SkyDrive -

Android Gson.fromJson error -