zsh-workers
 help / color / mirror / code / Atom feed
* Undo is also confused with narrow-to-region
@ 2015-07-03 15:26 Oliver Kiddle
  2015-07-03 18:12 ` Mikael Magnusson
  0 siblings, 1 reply; 8+ messages in thread
From: Oliver Kiddle @ 2015-07-03 15:26 UTC (permalink / raw)
  To: Zsh workers

Within narrow-to-region, undo will put back the full BUFFER that is then
duplicated from PREDISPLAY/POSTDISPLAY. After narrow-to-region, the
opposite problem occurs with the part that was not part of the BUFFER
being lost.

This isn't that easy to solve. recursive-edit could save and restore the
undo structures but for some uses of recursive-edit, such as that shown
for it in the manual, that might not be the right thing anyway.

Oliver


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

end of thread, other threads:[~2015-07-10  9:34 UTC | newest]

Thread overview: 8+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2015-07-03 15:26 Undo is also confused with narrow-to-region Oliver Kiddle
2015-07-03 18:12 ` Mikael Magnusson
2015-07-06  8:39   ` Peter Stephenson
2015-07-06 11:46     ` Oliver Kiddle
2015-07-06 19:25       ` Peter Stephenson
2015-07-08 14:57         ` Oliver Kiddle
2015-07-09 18:32           ` Peter Stephenson
2015-07-10  9:34           ` Peter Stephenson

Code repositories for project(s) associated with this public inbox

	https://git.vuxu.org/mirror/zsh/

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 NNTP newsgroup(s).