From: Peter Stephenson <pws@ifh.de>
To: zsh-workers@math.gatech.edu (Zsh hackers list)
Subject: compctl -X
Date: Wed, 19 Feb 1997 16:57:09 +0100 [thread overview]
Message-ID: <199702191557.QAA04106@hydra.ifh.de> (raw)
Zoltan fixed compctl -X some time ago, but I think there's still
something wrong: it works when listing but when actually completing
it prints the explanation only if the completion failed --- surely it
should print it only if the completion succeded? You don't want to
be told `Doing completion X, 0 matches' when the completion mechanism
is trying something else, you want to be told when it *has* found
something according to that rule and is therefore inserting the
result. (I should have woken up to this earlier, sorry.)
*** Src/Zle/zle_tricky.c.expl Wed Feb 19 16:37:40 1997
--- Src/Zle/zle_tricky.c Wed Feb 19 16:37:47 1997
***************
*** 2123,2129 ****
}
/* Print the explanation string if needed. */
! if (!showinglist && expl && !nmatches) {
int up;
feep();
--- 2123,2129 ----
}
/* Print the explanation string if needed. */
! if (!showinglist && expl && nmatches) {
int up;
feep();
--
Peter Stephenson <pws@ifh.de> Tel: +49 33762 77366
WWW: http://www.ifh.de/~pws/ Fax: +49 33762 77413
Deutsches Elektronen-Synchrotron --- Institut fuer Hochenergiephysik Zeuthen
DESY-IfH, 15735 Zeuthen, Germany.
next reply other threads:[~1997-02-19 16:09 UTC|newest]
Thread overview: 4+ messages / expand[flat|nested] mbox.gz Atom feed top
1997-02-19 15:57 Peter Stephenson [this message]
1997-08-04 16:35 Peter Stephenson
1997-08-05 6:47 ` Zoltan Hidvegi
1997-08-05 7:52 ` Peter Stephenson
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=199702191557.QAA04106@hydra.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).