all messages for Emacs-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
* 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

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.