From: pws@ifh.de (Peter William Stephenson)
To: zsh-workers@math.gatech.edu (Zsh hackers list)
Subject: bindkey even worse
Date: Wed, 1 Nov 1995 12:02:19 +0100 (MET) [thread overview]
Message-ID: <9511011102.AA05999@sgi.ifh.de> (raw)
This time, printbinding() is looking for a string to print out when it
should be looking for a key name.
*** Src/zle_main.c.bk Sun Oct 29 11:50:39 1995
--- Src/zle_main.c Wed Nov 1 11:58:24 1995
***************
*** 824,833 ****
Key k = (Key) hn;
int len;
! if (k->func == z_undefinedkey)
return;
putc('\"', bindout);
! printbind(k->str, (len = strlen(k->str)) ? len : 1);
fprintf(bindout, "\"\t");
if (k->func == z_sendstring) {
putc('\"', bindout);
--- 824,833 ----
Key k = (Key) hn;
int len;
! if (!k || k->func == z_undefinedkey)
return;
putc('\"', bindout);
! printbind(k->nam, (len = strlen(k->nam)) ? len : 1);
fprintf(bindout, "\"\t");
if (k->func == z_sendstring) {
putc('\"', bindout);
--
Peter Stephenson <pws@ifh.de> Tel: +49 33762 77366
WWW: http://www.ifh.de/~pws/ Fax: +49 33762 77330
Deutches Electronen-Synchrotron --- Institut fuer Hochenergiephysik Zeuthen
DESY-IfH, 15735 Zeuthen, Germany.
next reply other threads:[~1995-11-01 11:10 UTC|newest]
Thread overview: 2+ messages / expand[flat|nested] mbox.gz Atom feed top
1995-11-01 11:02 Peter William Stephenson [this message]
1995-11-02 2:33 ` Richard Coleman
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=9511011102.AA05999@sgi.ifh.de \
--to=pws@ifh.de \
--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).