From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from euclid.skiles.gatech.edu (list@euclid.skiles.gatech.edu [130.207.146.50]) by melb.werple.net.au (8.7.5/8.7.3) with ESMTP id SAA01835 for ; Mon, 29 Apr 1996 18:16:51 +1000 (EST) Received: (from list@localhost) by euclid.skiles.gatech.edu (8.7.3/8.7.3) id EAA07860; Mon, 29 Apr 1996 04:04:21 -0400 (EDT) Resent-Date: Mon, 29 Apr 1996 04:04:21 -0400 (EDT) Message-Id: <199604290803.KAA26264@hydra.ifh.de> To: zsh-workers@math.gatech.edu (Zsh hackers list) Subject: Re: zsh v 2.6-beta13 bug In-reply-to: "huyle@bradbert.ugcs.caltech.edu"'s message of "Sun, 31 Mar 1996 15:40:08 MET." <199603312340.PAA06929@envy.ugcs.caltech.edu> Date: Mon, 29 Apr 1996 10:03:48 +0200 From: Peter Stephenson Resent-Message-ID: <"02brs1.0.kw1.4W7Xn"@euclid> Resent-From: zsh-workers@math.gatech.edu X-Mailing-List: archive/latest/969 X-Loop: zsh-workers@math.gatech.edu Precedence: list Resent-Sender: zsh-workers-request@math.gatech.edu huyle@bradbert.ugcs.caltech.edu wrote: > In 'bindkey -v' mode, if I do the '~' command on an empty line, > the cursor moves up to the first cursor of the line before the current > line. Instead, nothing should happen. I didn't see a patch for this; maybe I was asleep. *** Src/zle_vi.c.swp Mon Apr 15 07:33:47 1996 --- Src/zle_vi.c Mon Apr 29 09:59:59 1996 *************** *** 742,748 **** line[cs] = tulower(line[cs]); cs++; } ! if (cs == eol) cs--; } --- 742,748 ---- line[cs] = tulower(line[cs]); cs++; } ! if (cs == eol && cs) cs--; } -- Peter Stephenson Tel: +49 33762 77366 WWW: http://www.ifh.de/~pws/ Fax: +49 33762 77330 Deutches Electronen-Synchrotron --- Institut fuer Hochenergiephysik Zeuthen DESY-IfH, 15735 Zeuthen, Germany.