Zsh Mailing List Archive
Messages sorted by:
Reverse Date,
Date,
Thread,
Author
Undo is also confused with narrow-to-region
- X-seq: zsh-workers 35677
- From: Oliver Kiddle <okiddle@xxxxxxxxxxx>
- To: Zsh workers <zsh-workers@xxxxxxx>
- Subject: Undo is also confused with narrow-to-region
- Date: Fri, 03 Jul 2015 17:26:31 +0200
- Dkim-signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=yahoo.co.uk; s=s2048; t=1435937193; bh=JUmboU6q0dcCAKLnXObVCrD+As6HUo6z1ho3F8yqzYI=; h=From:To:Subject:Date:From:Subject; b=JqqU/80wcFvGoBpL/oMDZ8Ii3QyPPEYllhwF5va8pbz0kt2iJhIroTXAuvUEhad+1Nh1nlININ9rvb5VdPw9DI1bXUkg5B15fA8bDaKmD3+4oJ+4ZrnnaaoTQf7AbW4waELNo8nSvZOat2vkjqOnaT1Dzus+uYekVq8cDVZ3b7vQHrRY9DAtFFkQSmq1TYKztUiFWVLQ+i2TLzeGFYmqSk3QXv4Lsjn602yd3EX0H5EXaHVGvaEAbdHcas8UidA3Is9aJsnZ2kzri4z4ifEMQyhk1MOPInqOwSnshJ4rRe55xDQcDqABPuWPlbABywiWUh2VsjAY4qUfdJP0m7/VuQ==
- List-help: <mailto:zsh-workers-help@zsh.org>
- List-id: Zsh Workers List <zsh-workers.zsh.org>
- List-post: <mailto:zsh-workers@zsh.org>
- Mailing-list: contact zsh-workers-help@xxxxxxx; run by ezmlm
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
Messages sorted by:
Reverse Date,
Date,
Thread,
Author