From: Sven Wischnowsky <wischnow@informatik.hu-berlin.de>
To: zsh-workers@sunsite.auc.dk
Subject: Re: help with _match, globcomplete etc. (with PATCH)
Date: Mon, 14 Feb 2000 14:07:34 +0100 (MET) [thread overview]
Message-ID: <200002141307.OAA10653@beta.informatik.hu-berlin.de> (raw)
In-Reply-To: Sven Wischnowsky's message of Mon, 14 Feb 2000 14:03:25 +0100 (MET)
Err, sorry. Here is the patch.
Bye
Sven
diff -ru ../z.old/Completion/Commands/_expand_word Completion/Commands/_expand_word
--- ../z.old/Completion/Commands/_expand_word Mon Feb 14 11:54:38 2000
+++ Completion/Commands/_expand_word Mon Feb 14 13:38:48 2000
@@ -8,7 +8,7 @@
local curcontext="$curcontext"
if [[ -z "$curcontext" ]]; then
- curcontext="correct-word:::"
+ curcontext="expand-word:::"
else
curcontext="expand-word:${curcontext#*:}"
fi
diff -ru ../z.old/Src/Zle/compcore.c Src/Zle/compcore.c
--- ../z.old/Src/Zle/compcore.c Mon Feb 14 11:54:13 2000
+++ Src/Zle/compcore.c Mon Feb 14 13:56:53 2000
@@ -295,10 +295,10 @@
haspattern = 0;
complistmax = getiparam("LISTMAX");
zsfree(complastprompt);
- complastprompt = ztrdup((dolastprompt =
- ((isset(ALWAYSLASTPROMPT) && zmult == 1) ||
- (unset(ALWAYSLASTPROMPT) && zmult != 1))) ?
+ complastprompt = ztrdup(((isset(ALWAYSLASTPROMPT) && zmult == 1) ||
+ (unset(ALWAYSLASTPROMPT) && zmult != 1)) ?
"yes" : "");
+ dolastprompt = 1;
zsfree(complist);
complist = ztrdup(isset(LISTROWSFIRST) ?
(isset(LISTPACKED) ? "packed rows" : "rows") :
diff -ru ../z.old/Src/Zle/complist.c Src/Zle/complist.c
--- ../z.old/Src/Zle/complist.c Mon Feb 14 11:54:13 2000
+++ Src/Zle/complist.c Mon Feb 14 13:58:42 2000
@@ -780,7 +780,7 @@
if (inselect)
clearflag = 0;
- if (asklist()) {
+ if (asklist() || !clearflag) {
amatches = oamatches;
return (noselect = 1);
}
--
Sven Wischnowsky wischnow@informatik.hu-berlin.de
next reply other threads:[~2000-02-14 13:07 UTC|newest]
Thread overview: 2+ messages / expand[flat|nested] mbox.gz Atom feed top
2000-02-14 13:07 Sven Wischnowsky [this message]
-- strict thread matches above, loose matches on Subject: below --
2000-02-14 13:03 Sven Wischnowsky
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=200002141307.OAA10653@beta.informatik.hu-berlin.de \
--to=wischnow@informatik.hu-berlin.de \
--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).