Zsh Mailing List Archive
Messages sorted by:
Reverse Date,
Date,
Thread,
Author
Re: up-line-or-search still 'fixed'!
- X-seq: zsh-workers 4081
- From: Bruce Stephens <b.stephens@xxxxxxxxx>
- To: zsh-workers@xxxxxxxxxxxxxxx
- Subject: Re: up-line-or-search still 'fixed'!
- Date: 10 Jun 1998 11:14:25 +0100
- In-reply-to: "Bart Schaefer"'s message of "Tue, 9 Jun 1998 11:42:23 -0700"
- References: <19980428143325.59341@xxxxxxxxxxxxxxxxxxxxxxxxxx> <199804281408.PAA32237@xxxxxxxxxxxxxxxx> <19980609141304.41665@xxxxxxxxxxxxxxxxxxxxxxxxxx> <980609082238.ZM5717@xxxxxxxxxxxxxxxxxxxxxxx> <vbu35utvzk.fsf@xxxxxxxxxxxxxxx> <980609114223.ZM6613@xxxxxxxxxxxxxxxxxxxxxxx>
- Sender: B.Stephens@xxxxxxxxx
"Bart Schaefer" <schaefer@xxxxxxxxxxxxxxxx> 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<M-p>", 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?
Messages sorted by:
Reverse Date,
Date,
Thread,
Author