all messages for Emacs-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
* bug#8686: 24.0.50; `re-search-backward' does not respect `search-invisible'
@ 2011-05-17 22:09 Drew Adams
  2011-05-18  0:05 ` Stefan Monnier
  2016-04-28 10:48 ` Lars Ingebrigtsen
  0 siblings, 2 replies; 12+ messages in thread
From: Drew Adams @ 2011-05-17 22:09 UTC (permalink / raw)
  To: 8686

My impression is that `re-search-backward' and `*-forward' do not
respect `search-invisible'.  This makes it difficult if not impossible
to use them in code to not find matches in hidden text.  Why would this
variable be respected only in the Isearch Lisp code?  What am I missing?
 
My use case at the moment is to make Imenu (conditionally) not count
definitions that are commented out, by temporarily hiding commented
code.  I bind `search-invisible' to nil, but that has no effect on
`re-search-backward', which is called by the Imenu code
(e.g. `imenu--generic-function').  The code finds commented out
definitions, in spite of `search-invisible'.
 

In GNU Emacs 24.0.50.1 (i386-mingw-nt5.1.2600)
 of 2011-05-16 on 3249CTO
Windowing system distributor `Microsoft Corp.', version 5.1.2600
configured using `configure --with-gcc (4.5) --no-opt --cflags
-Ic:/build/include'
 






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

end of thread, other threads:[~2016-04-28 13:51 UTC | newest]

Thread overview: 12+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2011-05-17 22:09 bug#8686: 24.0.50; `re-search-backward' does not respect `search-invisible' Drew Adams
2011-05-18  0:05 ` Stefan Monnier
2011-05-18  0:38   ` Drew Adams
2011-05-18  0:51     ` Stefan Monnier
2011-05-18  1:15       ` Lennart Borgman
2011-05-18  2:18       ` Drew Adams
2011-05-18  9:57         ` Lennart Borgman
2011-05-18 12:13         ` Stefan Monnier
2011-05-18 13:12           ` Lennart Borgman
2011-05-18 14:32           ` Drew Adams
2016-04-28 10:48 ` Lars Ingebrigtsen
2016-04-28 13:51   ` Drew Adams

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.