zsh-workers
 help / color / mirror / code / Atom feed
From: Louis-David Mitterrand <mito@aparima.com>
To: zsh-workers@math.gatech.edu
Subject: Re: up-line-or-search
Date: Mon, 1 Jun 1998 09:27:40 -0400	[thread overview]
Message-ID: <19980601092740.A19713@retriever> (raw)
In-Reply-To: <19980601081357.58829@actor.cs.vt.edu>; from Andy Wick on Mon, Jun 01, 1998 at 08:13:57AM -0400

On Mon, Jun 01, 1998 at 08:13:57AM -0400, Andy Wick wrote:
> I guess I am the only one who uses up-line-or-search, since it
> is still broken in 3.1.4.  I did a little bit of debugging, but
> since I have no clue what is going on, I am really not much help.
> If you comment out line 376 of Zle/zle_hist.c
>     iblank(s[histmpos] == Meta ? s[histmpos+1]^32 : s[histmpos]) &&
> up-line-or-search will kind of work, which is better then not
> working.  What it still does with that line commented out is forget
> the orginal string typed in, and uses the last string found each
> time you hit up arrow.

I get the same effect than up-line-or-search by using:

bindkey <up-arrow> history-beginning-search-backward
(replace the <up-arrow> with the appropriate key sequence)

-- 
Louis-David Mitterrand
http://www.aparima.com
mito@aparima.com


  reply	other threads:[~1998-06-01 13:31 UTC|newest]

Thread overview: 5+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
1998-06-01 12:13 up-line-or-search Andy Wick
1998-06-01 13:27 ` Louis-David Mitterrand [this message]
1998-06-01 16:29 ` up-line-or-search Bart Schaefer
1998-06-01 16:51   ` up-line-or-search Andy Wick
1998-06-01 18:02     ` up-line-or-search Bart Schaefer

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=19980601092740.A19713@retriever \
    --to=mito@aparima.com \
    --cc=mito@m2.sprynet.com \
    --cc=zsh-workers@math.gatech.edu \
    /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).