* Narrowing alternate lines
@ 2007-08-17 11:26 weber
2007-08-17 12:27 ` Johan Bockgård
2007-08-17 14:58 ` Pascal Bourguignon
0 siblings, 2 replies; 3+ messages in thread
From: weber @ 2007-08-17 11:26 UTC (permalink / raw)
To: help-gnu-emacs
Folks,
I was checking out hidesearch.el and, even thought it is cool, I think
it could benefit from narrowing instead of using overlays to hide non
matched text (because narrowing makes text untouchable, basicly)
My question is: can you narrow a buffer like this:
hello
world
hello
world
hello
world
to become like this:
hello
hello
hello
.. or you can only narrow a single region ?
Thanks in advance,
weber
^ permalink raw reply [flat|nested] 3+ messages in thread
* Re: Narrowing alternate lines
2007-08-17 11:26 Narrowing alternate lines weber
@ 2007-08-17 12:27 ` Johan Bockgård
2007-08-17 14:58 ` Pascal Bourguignon
1 sibling, 0 replies; 3+ messages in thread
From: Johan Bockgård @ 2007-08-17 12:27 UTC (permalink / raw)
To: help-gnu-emacs
weber <hugows@gmail.com> writes:
> .. or you can only narrow a single region ?
Yes.
--
Johan Bockgård
^ permalink raw reply [flat|nested] 3+ messages in thread
* Re: Narrowing alternate lines
2007-08-17 11:26 Narrowing alternate lines weber
2007-08-17 12:27 ` Johan Bockgård
@ 2007-08-17 14:58 ` Pascal Bourguignon
1 sibling, 0 replies; 3+ messages in thread
From: Pascal Bourguignon @ 2007-08-17 14:58 UTC (permalink / raw)
To: help-gnu-emacs
weber <hugows@gmail.com> writes:
> Folks,
> I was checking out hidesearch.el and, even thought it is cool, I think
> it could benefit from narrowing instead of using overlays to hide non
> matched text (because narrowing makes text untouchable, basicly)
>
> My question is: can you narrow a buffer like this:
>
> hello
> world
> hello
> world
> hello
> world
>
> to become like this:
>
> hello
> hello
> hello
>
> .. or you can only narrow a single region ?
Yes.
But you can hide regions, by setting the invisible property.
--
__Pascal Bourguignon__ http://www.informatimago.com/
NOTE: The most fundamental particles in this product are held
together by a "gluing" force about which little is currently known
and whose adhesive power can therefore not be permanently
guaranteed.
^ permalink raw reply [flat|nested] 3+ messages in thread
end of thread, other threads:[~2007-08-17 14:58 UTC | newest]
Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2007-08-17 11:26 Narrowing alternate lines weber
2007-08-17 12:27 ` Johan Bockgård
2007-08-17 14:58 ` Pascal Bourguignon
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).