all messages for Emacs-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
* hide-ifdef-mode and text search
@ 2003-05-15 18:33 Kin Cho
  2003-05-16  6:22 ` Kai Großjohann
  0 siblings, 1 reply; 3+ messages in thread
From: Kin Cho @ 2003-05-15 18:33 UTC (permalink / raw)


Hi,

How do I prevent hidden #ifdef regions from matching a search
(incremental or viper-search)?

I'm thinking of advicing search-forward etc... to be aware of
hidden text properties -- but this seems like a wheel that I
don't want to reinvent.

Thanks.

-kin

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

* Re: hide-ifdef-mode and text search
  2003-05-15 18:33 hide-ifdef-mode and text search Kin Cho
@ 2003-05-16  6:22 ` Kai Großjohann
  2003-05-16 16:40   ` Kin Cho
  0 siblings, 1 reply; 3+ messages in thread
From: Kai Großjohann @ 2003-05-16  6:22 UTC (permalink / raw)


Kin Cho <kin@neoscale.com> writes:

> I'm thinking of advicing search-forward etc... to be aware of
> hidden text properties -- but this seems like a wheel that I
> don't want to reinvent.

Doesn't searching ignore invisible text by default, and there is
reveal-mode to tell it to look at the invisible text?

Hm.
-- 
This line is not blank.

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

* Re: hide-ifdef-mode and text search
  2003-05-16  6:22 ` Kai Großjohann
@ 2003-05-16 16:40   ` Kin Cho
  0 siblings, 0 replies; 3+ messages in thread
From: Kin Cho @ 2003-05-16 16:40 UTC (permalink / raw)


> Doesn't searching ignore invisible text by default, and there is
> reveal-mode to tell it to look at the invisible text?

I'm mistaken, hideif uses selective-display, not invisible
property.

When I have time, I'll try changing hideif to use invisible
property and that should work properly with searching as you
suggested.

-kin

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

end of thread, other threads:[~2003-05-16 16:40 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2003-05-15 18:33 hide-ifdef-mode and text search Kin Cho
2003-05-16  6:22 ` Kai Großjohann
2003-05-16 16:40   ` Kin Cho

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.