From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 15682 invoked from network); 22 Nov 1998 03:27:33 -0000 Received: from math.gatech.edu (list@130.207.146.50) by ns1.primenet.com.au with SMTP; 22 Nov 1998 03:27:33 -0000 Received: (from list@localhost) by math.gatech.edu (8.9.1/8.9.1) id WAA17247; Sat, 21 Nov 1998 22:27:07 -0500 (EST) Resent-Date: Sat, 21 Nov 1998 22:27:07 -0500 (EST) Message-ID: <19981122033109.37328@athenaeum.> Date: Sun, 22 Nov 1998 03:31:09 +0000 From: Phil Pennock To: Zsh Development Workers Subject: Re: zle vi-mode tilde bug? Mail-Followup-To: Zsh Development Workers References: <199811212133.VAA00956@athenaeum.demon.co.uk> <981121155906.ZM28341@candle.brasslantern.com> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Mailer: Mutt 0.89.1 In-Reply-To: <981121155906.ZM28341@candle.brasslantern.com>; from Bart Schaefer on Sat, Nov 21, 1998 at 03:59:06PM -0800 Organisation: Organisation? Here? No, over there ----> X-Disclaimer-1: Any views expressed in this message, where not explicitly X-Disclaimer-2: attributed otherwise, are mine and mine alone. Such views X-Disclaimer-3: do not necessarily coincide with those of any organisation X-Disclaimer-4: or company with which I am or have been affiliated. X-Phase-of-Moon: The Moon is Waxing Crescent (8% of Full) Resent-Message-ID: <"kgz0V.0.QD4.BIuLs"@math> Resent-From: zsh-workers@math.gatech.edu X-Mailing-List: archive/latest/4681 X-Loop: zsh-workers@math.gatech.edu Precedence: list Resent-Sender: zsh-workers-request@math.gatech.edu On Sat, Nov 21, 1998 at 03:59:06PM -0800, Bart Schaefer wrote: [vi-oper-swap-case stuff] > I've been playing with this and I agree that the behavior is pretty odd. > The following patch seems to make it more sensible; with this patch, the > cursor always ends up at the end of the motion, except that on ~~ (upcase > the current line) it always ends up at the end of the line. For the record, both versions of vi that I know of that have tildeop (nvi and vim) leave the cursor on the first changed character. This is consistent with cs=oldcs, just without the vifirstnonblank() :^) HTH -- --> Phil Pennock ; GAT d- s+:+ a22 C++(++++) UL++++/I+++/S+++/H+ P++@ L+++ E-@ W(+) N>++ o !K w--- O>+ M V !PS PE Y+ PGP+ t-- 5++ X+ R !tv b++>+++ DI+ D+ G+ e+ h* r y?