From: Sven Wischnowsky <wischnow@informatik.hu-berlin.de>
To: zsh-workers@sunsite.auc.dk
Subject: Re: pws-10 + completion broken ?
Date: Mon, 1 Mar 1999 16:32:09 +0100 (MET) [thread overview]
Message-ID: <199903011532.QAA15535@beta.informatik.hu-berlin.de> (raw)
In-Reply-To: jarausch@numa1.igpm.rwth-aachen.de's message of Mon, 1 Mar 1999 16:12:11 +0100 (CST)
Helmut Jarausch wrote:
> Hi,
> I've just install pws-10 plus patches upto 5579.
>
> Now the (simplest) completion seems broken.
>
> Assume there is a file ChangeLog
>
> typing
>
> cat Chan<Tab>
> just clears the command line.
>
> Have I missed something?
No, I have missed something, two braces to be more exact. But that
also revealed another bug in addmatch().
Sorry!
Bye
Sven
diff -u os/Zle/zle_tricky.c Src/Zle/zle_tricky.c
--- os/Zle/zle_tricky.c Mon Mar 1 13:20:07 1999
+++ Src/Zle/zle_tricky.c Mon Mar 1 16:28:36 1999
@@ -4347,6 +4347,7 @@
if (incompfunc)
s = dupstring(s);
+ e = s + sl;
if (!addwhat) {
test = 1;
} else if (addwhat == -1 || addwhat == -5 || addwhat == -6 ||
@@ -6580,11 +6581,12 @@
if ((t = cc->mask & CC_BUILTINS))
/* Add builtins. */
dumphashtable(builtintab, t | (cc->mask & (CC_DISCMDS|CC_EXCMDS)));
- if ((t = cc->mask & CC_EXTCMDS))
+ if ((t = cc->mask & CC_EXTCMDS)) {
/* Add external commands */
if (isset(HASHLISTALL))
cmdnamtab->filltable(cmdnamtab);
dumphashtable(cmdnamtab, t | (cc->mask & (CC_DISCMDS|CC_EXCMDS)));
+ }
if ((t = cc->mask & CC_RESWDS))
/* Add reserved words */
dumphashtable(reswdtab, t | (cc->mask & (CC_DISCMDS|CC_EXCMDS)));
--
Sven Wischnowsky wischnow@informatik.hu-berlin.de
next reply other threads:[~1999-03-01 15:33 UTC|newest]
Thread overview: 4+ messages / expand[flat|nested] mbox.gz Atom feed top
1999-03-01 15:32 Sven Wischnowsky [this message]
-- strict thread matches above, loose matches on Subject: below --
1999-03-01 15:33 Sven Wischnowsky
1999-03-01 15:12 Helmut Jarausch
1999-03-01 15:12 ` 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=199903011532.QAA15535@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).