From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 3100 invoked by alias); 3 Feb 2014 21:35:35 -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: 32345 Received: (qmail 20782 invoked from network); 3 Feb 2014 21:35:18 -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=-2.0 required=5.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,FREEMAIL_FROM,RCVD_IN_DNSWL_NONE, T_TO_NO_BRKTS_FREEMAIL autolearn=ham version=3.3.2 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=yahoo.co.uk; s=s1024; t=1391462983; bh=/9t3YMrLh+mICmCpOHojPQv51l7p69Kyj+mE51jsEgA=; h=X-Yahoo-Newman-Id:X-Yahoo-Newman-Property:X-YMail-OSG:X-Yahoo-SMTP:X-Rocket-Received:Received:In-reply-to:From:References:To:Subject:MIME-Version:Content-Type:Content-ID:Date:Message-ID; b=CAM/uB+hpgCj+JG5J3JjQZid8dK18D0mwcEz8eIxpzQYNIf1qX0Ja++6P9iGbnalSktwHxSceCFR6yhS0qxwWtfE9ymEm+/Cpvji69RQjyvummhG1zEEPuupHgVRZOxZR9LqQlP6kzpSc3cQOy9ArF7ubEFc7RQ3+uzrZ2EKAcY= X-Yahoo-Newman-Id: 70779.54240.bm@smtp113.mail.ir2.yahoo.com X-Yahoo-Newman-Property: ymail-3 X-YMail-OSG: fbqlU0gVM1lDWO1vTePr1ZlV8VsHO9qA4ae0zcYwKbM3l.0 7b2rFcNLK_WsjVA58ShaFwfrK3S_6AUhVVoYZuDmK__qzOjho_vnISIfVvYL pKXJ3Wy7pr.hqfaNNlnIAXOxQMxADRBY1s6dD.TiU2TWrTYfPtz3IhKczwcU Op0C3CrfTsvy2dLmeMOOmfA0GepTiXmmr9Hz0QwuY2KLOHgmkGtwoA91H3wg KXhPlPJkVqrR8jvqq6LS0k9AQfANUbO5mpUpzF3X5_nGsdeQ2OeiakfVpQRB Gb5Pa1.p2HNFMUsRLrLtNbgplUhP6uvrG2dgCYGkJeKbvkK5frU8P0MiPimv c91lraQ219Zqk2Z42I6pyhtd15C43MXl9RRyb0Rs7kiVVK3Md7YKpxQ7mGHv G.1c0pbOqF5EFResIRP2Qtq.DW1H8x7qB9orCHC3Za6H8U8_Qm.cB_tZUFEe gAtkD0fUq3rgU1fGm_vIn288cBxC8uKh2f5wzz4BLD2jtAagqCoQOQoS20Uf Qs87qrcMsNYJLE_HA60hTNmVMk2c- X-Yahoo-SMTP: opAkk_CswBAce_kJ3nIPlH80cJI- X-Rocket-Received: from kiddle.eu (okiddle@95.222.210.25 with plain [188.125.69.59]) by smtp113.mail.ir2.yahoo.com with SMTP; 03 Feb 2014 21:29:43 +0000 UTC In-reply-to: <163F74F2-3FA8-4478-B354-491C006590C9@kba.biglobe.ne.jp> From: Oliver Kiddle References: <20130923213014.15f97f9e@pws-pc.ntlworld.com> <3511.1390605547@thecus.kiddle.eu> <140125111530.ZM21792@torch.brasslantern.com> <20140127124301.4144f2d9@pwslap01u.europe.root.pri> <20140127161124.2aa16b37@pwslap01u.europe.root.pri> <2700.1390950035@thecus.kiddle.eu> <19068.1391204240@thecus.kiddle.eu> <19751.1391207572@thecus.kiddle.eu> <163F74F2-3FA8-4478-B354-491C006590C9@kba.biglobe.ne.jp> To: zsh-workers@zsh.org Subject: Re: zle: vi mode: wrong undo handling on fresh lines MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-ID: <16507.1391462899.1@thecus.kiddle.eu> Date: Mon, 03 Feb 2014 22:29:41 +0100 Message-ID: <16516.1391462981@thecus.kiddle.eu> "Jun T." wrote: > > The second is that the zsh/complist module doesn't work properly. > When the listscroll keymap is in use, complete-word widget is What have you got tab bound to in the listscroll and menuselect keymaps? It is probably best to leave them bound to complete-word there. I've not managed to reproduce the problem exactly as you describe so it is probably fairly dependant on your exact configuration. It really ought to be possible to redefine complete-word. The following works with old-style completion but not with the new. Anyone have an idea why? complete-word() { zle .complete-word } zle -N complete-word Other ideas such as calling zle split-undo in a complete function don't work because you apparently can't call zle widgets from completion widgets. > As for the KEEPSUFFIX flag, the undo works fine with this flag set to > split-undo widget. But I feel keeping the optional suffix like ':' or > ',' when going back to the command mode may be sometimes annoying > (yes it can be deleted just by hitting 'x' but I'm so lazy...). I'll leave KEEPSUFFIX on vi-cmd-mode alone then. That's already configurable so I'm not especially bothered. Oliver