Zsh Mailing List Archive
Messages sorted by:
Reverse Date,
Date,
Thread,
Author
Another signal queueing discrepancy
- X-seq: zsh-workers 39559
- From: Bart Schaefer <schaefer@xxxxxxxxxxxxxxxx>
- To: zsh-workers@xxxxxxx
- Subject: Another signal queueing discrepancy
- Date: Tue, 4 Oct 2016 12:02:42 -0700
- Dkim-signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=brasslantern-com.20150623.gappssmtp.com; s=20150623; h=from:message-id:date:to:subject:mime-version; bh=ZZOS2rcNK/60L5sFBKAU4f9+Ec636EdQrj5AwahvCmE=; b=dG5n8esFhEJaCOqPTfvXyjnIZPOLaA66FPKTi1miZVomq9gW+Q80WVw9FcYbO1jfid ECja2RitYIt/iTnsy0MDNxso3JnGYTqsO70Je1xrT/sq03hy9ahtwRxAPyZ+R8xklpGU YJvoCLJpzzm881OMKLR44daff/n3VMMO+yubsQTmo2CAKLssvOArcAkDG9LSwhDXwlw2 xBmQNaTmDAQDQYlc11j794W5ElHIR6sQJWBTd+tcQOUMh8wmRR0F3ZUfOGVBXiH5IxFD cSdBCBGqBZU2ghu2nrkeYxn2zwFeUnrnyzYvzWDFh5Gk7exLMMHbsazgYzeqdQ2NIN+2 Ik/A==
- List-help: <mailto:zsh-workers-help@zsh.org>
- List-id: Zsh Workers List <zsh-workers.zsh.org>
- List-post: <mailto:zsh-workers@zsh.org>
- Mailing-list: contact zsh-workers-help@xxxxxxx; run by ezmlm
During completion; appears whenever compstate[nmatches] is referenced.
E.g. in _alternative:
+_alternative:74> [[ nm -ne 'compstate[nmatches]' ]]
74: ../../zsh-5.0/Src/exec.c:1169: BUG: q = 1 != queue_in = 3
+_alternative:74> return 0
And in _complete_debug:
+_complete_debug:23> unsetopt xtrace
29: ../../zsh-5.0/Src/exec.c:1169: BUG: q = 1 != queue_in = 3
Line 29 is:
if [[ $compstate[nmatches] -le 1 && $compstate[list] != *force* ]];
Also occurs at _path_files line 891, etc.
Which is very strange, because there is no signal queue manipulation in
any of the compstate handling, and it doesn't occur with other uses of
[[ ]] expressions in completion (or elsewhere).
--
Barton E. Schaefer
Messages sorted by:
Reverse Date,
Date,
Thread,
Author