[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
RE: RFC: [PATCH] isearch enhancements: symbol mode; syntactic filtering
From: |
Drew Adams |
Subject: |
RE: RFC: [PATCH] isearch enhancements: symbol mode; syntactic filtering |
Date: |
Fri, 8 Jul 2011 14:19:02 -0700 |
> While we are thinking about this: I think sometimes it would be good
> to search only visible text. (Especially in org-mode.)
I thought Juri already mentioned that as one of the filtering possibilities.
Anyway, FWIW, in Isearch+, `C-+' toggles searching invisible text. So yes, I
agree with you. Trivial to do, and useful IMO.
(defun isearchp-toggle-invisible ()
"Toggle `search-invisible'."
(interactive)
(when search-invisible
(setq isearchp-last-non-nil-invisible search-invisible))
(setq search-invisible
(if search-invisible nil isearchp-last-non-nil-invisible))
(if search-invisible
(message "Searching invisible text is now ON")
(message "Searching invisible text is now OFF")))
http://www.emacswiki.org/emacs/download/isearch%2b.el