Zsh Mailing List Archive
Messages sorted by:
Reverse Date,
Date,
Thread,
Author
Re: Weird tab complete problem with long directory names with a dash and unicode characters
- X-seq: zsh-workers 40255
- From: Daniel Shahaf <d.s@xxxxxxxxxxxxxxxxxx>
- To: Mikael Magnusson <mikachu@xxxxxxxxx>
- Subject: Re: Weird tab complete problem with long directory names with a dash and unicode characters
- Date: Sun, 1 Jan 2017 03:47:39 +0000
- Cc: zsh workers <zsh-workers@xxxxxxx>
- Dkim-signature: v=1; a=rsa-sha1; c=relaxed/relaxed; d= daniel.shahaf.name; h=cc:content-transfer-encoding:content-type :date:from:in-reply-to:message-id:mime-version:references :subject:to:x-me-sender:x-me-sender:x-sasl-enc:x-sasl-enc; s= mesmtp; bh=WDL1db8a4W60rCcRbp+k7UwO4Ho=; b=w21a2YjoqlBCnypNNrOmu 6d15ycWz5bM1bKcFMoxrr5yLKcN3g97UenXk4X4ogvpkGt4ou+DAwN7vary/axUV IubCHT0qVQEqxetq9h2vV5Q0MVTWA8xQIwhFIS1K7wWfNh4s/SD9Hok0HZXMQm42 Gs3ATeXAQNFbQomwsV9A+Q=
- Dkim-signature: v=1; a=rsa-sha1; c=relaxed/relaxed; d= messagingengine.com; h=cc:content-transfer-encoding:content-type :date:from:in-reply-to:message-id:mime-version:references :subject:to:x-me-sender:x-me-sender:x-sasl-enc:x-sasl-enc; s= smtpout; bh=WDL1db8a4W60rCcRbp+k7UwO4Ho=; b=kGLXfcQOS8k/zHuIShdj 7BPg7N1kpIS7dOAD5jJ6AadX/w+0RIZrTt/V4PxMk2MtHXg2WWDdTkK1oz5CJYR3 T2yEpaHctRvKSfyHjIZcb9+laLCZaPZxXnJnSVUuWrf7TNv4vvYttxRLeino8oHC P2mOT72BmPyxpOYgIWOKQ2k=
- In-reply-to: <CAHYJk3QMDpRhEfyPNEi-k4eh2Ybd-U0HwsFOz8xTetNf3yArvg@mail.gmail.com>
- 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
- References: <CAHYJk3QMDpRhEfyPNEi-k4eh2Ybd-U0HwsFOz8xTetNf3yArvg@mail.gmail.com>
Mikael Magnusson wrote on Sat, Dec 31, 2016 at 21:44:28 +0100:
> mkdir -p るるるるるるるるるるるるるるるるるるるるるるるるる-/foo
> and then attempt to complete foo from the current location, it doesn't
> work with compinit loaded. If you take off one of the るs it's fine, if
> you take out the - it's fine (though the position of the - doesn't
> seem to matter), if you use a million "a"s instead it's fine, the る
> isn't super special though, it's also broken with a bunch of け or any
> other combination I tried (I originally found it because of a real
> directory name). My guess is this is somehow related to the - / Dash
> stuff Peter did recently, but reverting them randomly also didn't seem
> to have much effect. I'm also puzzled as to why the length of the
> string matters and why 26?
Bisected this down to these three:
* commit c2b6bd51f98a5871acd9fcbeddad67216a07907c
| Author: Peter Stephenson <pws@xxxxxxx>
| Date: Tue Jan 19 17:38:59 2016 +0000
|
| 37693: turn Dash into '-' in glob qualifiers
|
* commit ad16356e1923ec1b4daf97b27b10a835cfe73ba7
| Author: Peter Stephenson <pws@xxxxxxx>
| Date: Tue Jan 19 17:24:12 2016 +0000
|
| 37689: ! and ^ need to be tokenised in character sets
|
* commit 8eb9070d6785f423dd9bdbbb0513aa47c8a08d62
Author: Peter Stephenson <pws@xxxxxxx>
Date: Tue Jan 19 09:55:46 2016 +0000
37678: Now possible to quote "-" in pattern range
c2b6bd51 gives the same symptoms as in HEAD. The two commits before
that give "compaudit:151: unknown file attribute: -". The parent of
8eb9070d completes '.../foo' correctly.
These revisions are new in 5.3.
Cheers,
Daniel
Messages sorted by:
Reverse Date,
Date,
Thread,
Author