* pws-10 + completion broken ?
@ 1999-03-01 15:12 Helmut Jarausch
1999-03-01 15:12 ` Peter Stephenson
0 siblings, 1 reply; 4+ messages in thread
From: Helmut Jarausch @ 1999-03-01 15:12 UTC (permalink / raw)
To: zsh-workers
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?
Here the options I am using (since ages)
setopt CDABLEVARS CORRECT HIST_IGNORE_SPACE HIST_VERIFY
setopt IGNORE_EOF PATH_DIRS AUTO_MENU ALWAYS_TO_END AUTO_PARAM_KEYS
setopt COMPLETE_IN_WORD MAGIC_EQUAL_SUBST PUSHD_SILENT EXTENDED_GLOB
Thanks for a hint,
Helmut.
^ permalink raw reply [flat|nested] 4+ messages in thread
* Re: pws-10 + completion broken ?
1999-03-01 15:12 pws-10 + completion broken ? Helmut Jarausch
@ 1999-03-01 15:12 ` Peter Stephenson
0 siblings, 0 replies; 4+ messages in thread
From: Peter Stephenson @ 1999-03-01 15:12 UTC (permalink / raw)
To: zsh-workers
Helmut Jarausch wrote:
> Now the (simplest) completion seems broken.
>
> Have I missed something?
Nope, that seems to be the way things are. Not an intentional way of
making people try the new completions system, but maybe it'll work :-?
--
Peter Stephenson <pws@ibmth.df.unipi.it> Tel: +39 050 844536
WWW: http://www.ifh.de/~pws/
Dipartimento di Fisica, Via Buonarroti 2, 56127 Pisa, Italy
^ permalink raw reply [flat|nested] 4+ messages in thread
* Re: pws-10 + completion broken ?
@ 1999-03-01 15:33 Sven Wischnowsky
0 siblings, 0 replies; 4+ messages in thread
From: Sven Wischnowsky @ 1999-03-01 15:33 UTC (permalink / raw)
To: zsh-workers
Peter Stephenson wrote:
> Helmut Jarausch wrote:
> > Now the (simplest) completion seems broken.
> >
> > Have I missed something?
>
> Nope, that seems to be the way things are. Not an intentional way of
> making people try the new completions system, but maybe it'll work :-?
(I had the same idea, but didn't dare to say something like that... ;-)
Bye
Sven
--
Sven Wischnowsky wischnow@informatik.hu-berlin.de
^ permalink raw reply [flat|nested] 4+ messages in thread
* Re: pws-10 + completion broken ?
@ 1999-03-01 15:32 Sven Wischnowsky
0 siblings, 0 replies; 4+ messages in thread
From: Sven Wischnowsky @ 1999-03-01 15:32 UTC (permalink / raw)
To: zsh-workers
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
^ permalink raw reply [flat|nested] 4+ messages in thread
end of thread, other threads:[~1999-03-01 15:35 UTC | newest]
Thread overview: 4+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
1999-03-01 15:12 pws-10 + completion broken ? Helmut Jarausch
1999-03-01 15:12 ` Peter Stephenson
1999-03-01 15:32 Sven Wischnowsky
1999-03-01 15:33 Sven Wischnowsky
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).