From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 3120 invoked by alias); 30 Oct 2014 02:12:54 -0000 Mailing-List: contact zsh-workers-help@zsh.org; run by ezmlm Precedence: bulk X-No-Archive: yes List-Id: Zsh Workers List List-Post: List-Help: X-Seq: 33571 Received: (qmail 18100 invoked from network); 30 Oct 2014 02:12:52 -0000 X-Spam-Checker-Version: SpamAssassin 3.3.2 (2011-06-06) on f.primenet.com.au X-Spam-Level: X-Spam-Status: No, score=-1.9 required=5.0 tests=BAYES_00,RCVD_IN_DNSWL_NONE autolearn=ham version=3.3.2 X-CMAE-Score: 0 X-CMAE-Analysis: v=2.1 cv=GLe/yVJP c=1 sm=1 tr=0 a=FT8er97JFeGWzr5TCOCO5w==:117 a=kj9zAlcOel0A:10 a=q2GGsy2AAAAA:8 a=oR5dmqMzAAAA:8 a=-9mUelKeXuEA:10 a=2wNlvw1-dbm4EgyXCHgA:9 a=CjuIK1q_8ugA:10 From: Bart Schaefer Message-id: <141029191300.ZM15787@torch.brasslantern.com> Date: Wed, 29 Oct 2014 19:13:00 -0700 In-reply-to: <15607.1414626173@thecus.kiddle.eu> Comments: In reply to Oliver Kiddle "PATCH: make kill ring work in vi mode" (Oct 30, 12:42am) References: <15607.1414626173@thecus.kiddle.eu> X-Mailer: OpenZMail Classic (0.9.2 24April2005) To: Zsh workers Subject: Re: PATCH: make kill ring work in vi mode MIME-version: 1.0 Content-type: text/plain; charset=us-ascii On Oct 30, 12:42am, Oliver Kiddle wrote: } } I'm not too happy with the way this interacts with undo. I'd prefer that } undo would revert everything to before the put instead of stepping back } through each yank-pop. This seems to be consistent with emacs though so } I'm probably stuck with it. I may also look further at what happens with } . (vi-repeat-change). I think you should be able to store an undo point somewhere specific to vi-mode and then undo back to that point? Just internally play around with UNDO_CHANGE_NO? -- Barton E. Schaefer