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

Re: vim completion problem after workers/35168



On Tue, May 19, 2015 at 2:30 AM, Bart Schaefer
<schaefer@xxxxxxxxxxxxxxxx> wrote:
> On May 18, 12:40pm, Peter Stephenson wrote:
> } Subject: Re: vim completion problem after workers/35168
> }
> } On Mon, 18 May 2015 14:22:20 +0300
> } Ismail Donmez <ismail@xxxxxxxxx> wrote:
> } > _vim:7: parse error near `)'
> }
> } Yet another annoyance: in the old hack, you got away with having a
> } pattern beginning with "(" (and containing balanced parentheses)
> } followed by an unbalanced ")".  Now you don't.
>
> Hrm.  Zsh patterns include "(this|that)", and "case" syntax includes
> "pattern)" without an open paren, so ...?
>
> The "old hack" is one of those "well, it really should have been done
> differently in the first place, but it wasn't, so now what?" issues
> that bug me because *somebody* is going to get bitten in the way _vim
> just was.

I agree, there are other places in the distributed functions that are
currently broken by this change, and at least one in my own set of
functions. We can't just break backwards compat like this.

-- 
Mikael Magnusson



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