zsh-workers
 help / color / mirror / code / Atom feed
From: Zoltan Hidvegi <hzoli@cs.elte.hu>
To: wayne@clari.net (Wayne Davison)
Cc: zsh-workers@math.gatech.edu
Subject: Re: I-Search improvement
Date: Fri, 12 Jul 1996 18:51:16 +0200 (MET DST)	[thread overview]
Message-ID: <199607121651.SAA09830@bolyai.cs.elte.hu> (raw)
In-Reply-To: <199607112051.NAA09738@bebop.clari.net> from Wayne Davison at "Jul 11, 96 01:51:17 pm"

> at you.  I am assuming that the string "keybuf" in zle_main.c always
> contains the last command sequence, which in my limited checking, looks to
> be true.

Yes it is true.  This was not always true.  It become true sometime when I
created describe-key-briefly.

> +    ungetkeys(keybuf, strlen(keybuf));

That should be something like

> +    ungetkeys(keybuf, (len = strlen(keybuf)) ? len : 1);

to handle the case when keybuf contains the null character which is
handled in a quited unique way here.  Meta is not used so only the first
character of keybuf can be null.  In a multi-character binding null's are
replaced by (char)0x80.  I'll include this patch with this change.

Zoltan



      reply	other threads:[~1996-07-12 17:00 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
1996-07-11 20:51 Wayne Davison
1996-07-12 16:51 ` Zoltan Hidvegi [this message]

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=199607121651.SAA09830@bolyai.cs.elte.hu \
    --to=hzoli@cs.elte.hu \
    --cc=wayne@clari.net \
    --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).