zsh-workers
 help / color / mirror / code / Atom feed
From: Peter Stephenson <pws@ibmth.df.unipi.it>
To: zsh-workers@sunsite.auc.dk
Subject: Re: Change of behaviour in history-search-backward ?
Date: Wed, 01 Sep 1999 13:47:19 +0200	[thread overview]
Message-ID: <9909011147.AA15753@ibmth.df.unipi.it> (raw)
In-Reply-To: "Ollivier Robert"'s message of "Wed, 01 Sep 1999 10:19:24 DFT." <19990901101924.A61425@caerdonn.eurocontrol.fr>

Ollivier Robert wrote:
> In 3.1.5 (the only old version I have here), "history-search-backward" was
> looking for the largest pattern but it has changed in 3.1.6 (I don't know
> when) and now, it is only looking for the first word.

It wasn't and it hasn't.  The actually change was mentioned as a proposal
before 3.1.6, in the documentation for 3.1.6, and in the FAQ.  For the last
time:

- history-search-backward always only searched the first word.  However, in
  earlier versions of 3.1, the logic was changed to avoid dependence on
  flags, so that it only matched complete first words (e.g. comp<ESC>p
  wouldn't find compress).  So Zefram changed the binding to
  history-beginning-search-backward, which does what you want.

- In 3.1.6, history-search-backward has been re-implemented much closer to
  its original behaviour using static variables.  So I restored the binding
  to be compatible with all versions of zsh up to 3.1.something.

- history-beginning-search-backward is still available and you need to bind
  it to \ep to get the 3.1.5 behaviour.

-- 
Peter Stephenson <pws@ibmth.df.unipi.it>       Tel: +39 050 844536
WWW:  http://www.ifh.de/~pws/
Dipartimento di Fisica, Via Buonarroti 2, 56127 Pisa, Italy


  reply	other threads:[~1999-09-01 12:21 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
1999-09-01  8:19 Ollivier Robert
1999-09-01 11:47 ` Peter Stephenson [this message]
1999-09-01 12:30   ` Ollivier Robert

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=9909011147.AA15753@ibmth.df.unipi.it \
    --to=pws@ibmth.df.unipi.it \
    --cc=zsh-workers@sunsite.auc.dk \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
Code repositories for project(s) associated with this public inbox

	https://git.vuxu.org/mirror/zsh/

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).