Zsh Mailing List Archive
Messages sorted by: Reverse Date, Date, Thread, Author

Re: [PATCH] Etc/BUGS: Remove fixed items, add 'compset -q' item from workers/39306.



Thanks for looking at this.

On Sep 16,  3:05am, Daniel Shahaf wrote:
}
}  ------------------------------------------------------------------------
} +'compset -q' has a byte-counting issue, described in workers/39306:
} +
} +% compdef _f f
} +% _f() { compset -q } 
} +% f $'\'<TAB>
} +compcore.c:1684: expecting 'x' at offset 2 of "'x"
} +------------------------------------------------------------------------

True, but not the bug I was thinking of; that one is entirely invisible
unless the shell was configured with --enable-zsh-debug, and fixing it
would not change the end result, so it'll very seldom be seen.

The bug I meant to mention was the multiple-backslashing of tildes and
leading equal signs following "compadd -q", and consequent inability
to complete them properly.  But it's hard to create a real-world
example of that.



Messages sorted by: Reverse Date, Date, Thread, Author