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

blackberry 10 - how to add multiple markers on the google map just by url? -

php - guestbook returning database data to flash -

delphi - Dynamic file type icon -