* narrow twice, widen once
@ 2005-12-06 14:55 Albert Reiner
2005-12-06 16:39 ` Johan Bockgård
0 siblings, 1 reply; 3+ messages in thread
From: Albert Reiner @ 2005-12-06 14:55 UTC (permalink / raw)
In some buffer B, I was working on the narrowed selection B/1 when it
occurred to me that I had to operate on an even smaller part of that
narrowed buffer, say B/1/2. So I marked that region and called
narrow-to-region again. Having finished those edits, I called widen
and expected to be back to the previous state of narrowing, i.e., B/1.
Instead I ended up with all narrowing undone, i.e., with the full B.
Is there some simple way of making narrowing / widening work as I
expected, viz., that narrowing twice and widening once leaves me with
a narrowed buffer? I haven't found anything in info or apropos.
Thanks in advance,
Albert.
^ permalink raw reply [flat|nested] 3+ messages in thread
* Re: narrow twice, widen once
2005-12-06 14:55 narrow twice, widen once Albert Reiner
@ 2005-12-06 16:39 ` Johan Bockgård
2005-12-06 17:36 ` Albert Reiner
0 siblings, 1 reply; 3+ messages in thread
From: Johan Bockgård @ 2005-12-06 16:39 UTC (permalink / raw)
Albert Reiner <areiner@tph.tuwien.ac.at> writes:
> Is there some simple way of making narrowing / widening work as I
> expected, viz., that narrowing twice and widening once leaves me
> with a narrowed buffer?
http://www.blackie.dk/emacs/narrow-stack.el
--
Johan Bockgård
^ permalink raw reply [flat|nested] 3+ messages in thread
* Re: narrow twice, widen once
2005-12-06 16:39 ` Johan Bockgård
@ 2005-12-06 17:36 ` Albert Reiner
0 siblings, 0 replies; 3+ messages in thread
From: Albert Reiner @ 2005-12-06 17:36 UTC (permalink / raw)
[bojohan+news@dd.chalmers.se (Johan Bockgård), Tue, 06 Dec 2005 17:39:28 +0100]:
> http://www.blackie.dk/emacs/narrow-stack.el
Perfect - thanks a lot!
Albert.
^ permalink raw reply [flat|nested] 3+ messages in thread
end of thread, other threads:[~2005-12-06 17:36 UTC | newest]
Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2005-12-06 14:55 narrow twice, widen once Albert Reiner
2005-12-06 16:39 ` Johan Bockgård
2005-12-06 17:36 ` Albert Reiner
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).