From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 24468 invoked from network); 10 Jun 1998 10:18:32 -0000 Received: from math.gatech.edu (list@130.207.146.50) by ns1.primenet.com.au with SMTP; 10 Jun 1998 10:18:32 -0000 Received: (from list@localhost) by math.gatech.edu (8.8.5/8.8.5) id GAA04160; Wed, 10 Jun 1998 06:13:58 -0400 (EDT) Resent-Date: Wed, 10 Jun 1998 06:13:58 -0400 (EDT) Sender: B.Stephens@isode.com To: zsh-workers@math.gatech.edu Subject: Re: up-line-or-search still 'fixed'! References: <19980428143325.59341@gmp-fores1.uk.jpmorgan.com> <199804281408.PAA32237@taos.demon.co.uk> <19980609141304.41665@gmp-fores1.uk.jpmorgan.com> <980609082238.ZM5717@candle.brasslantern.com> <980609114223.ZM6613@candle.brasslantern.com> Mime-Version: 1.0 (generated by tm-edit 7.106) Content-Type: text/plain; charset=US-ASCII From: Bruce Stephens Date: 10 Jun 1998 11:14:25 +0100 In-Reply-To: "Bart Schaefer"'s message of "Tue, 9 Jun 1998 11:42:23 -0700" Message-ID: X-Mailer: Gnus v5.6.10/XEmacs 19.16 - "Lille" Resent-Message-ID: <"HU2ch.0.x01.cnbVr"@math> Resent-From: zsh-workers@math.gatech.edu X-Mailing-List: archive/latest/4081 X-Loop: zsh-workers@math.gatech.edu Precedence: list Resent-Sender: zsh-workers-request@math.gatech.edu "Bart Schaefer" writes: > The question is, why did the behavior of up-line-or-search (and down-*) > change from zsh 3.0.x to zsh 3.1.x? > > The answer is the same as the answer to the question, why did the behavior > of history-search-backward (and *-forward) change? Ah, that would explain why I'm sometimes surprised by what M-p produces. You're right, it's broken; I just hadn't really noticed properly and found out what was broken. If I type "ls foo", I'm clearly looking for a line beginning with "ls foo", not one beginning with "ls". As you say, one solution would be a special mode, like the incremental modes, which would remember what they were looking for. Another one---which I think I'd find acceptable---would be not to move the cursor, so history-search-backward would always search for the text before the cursor. Or has that been tried, and people hated it?