[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [PATCH] ispell.el: Ensure trailing wildcard when looking up words wi
From: |
Ingo Lohmar |
Subject: |
Re: [PATCH] ispell.el: Ensure trailing wildcard when looking up words with grep |
Date: |
Sat, 09 Nov 2013 09:10:46 +0100 |
User-agent: |
Notmuch/0.14+519~gb349ce6 (http://notmuchmail.org) Emacs/24.3.50.1 (x86_64-pc-linux-gnu) |
Hi Dmitry,
Sorry for that, you are absolutely correct, of course --- looking at my
"patch" now, I cannot even reconstruct what went wrong. Thanks for the
fix, it seems the right way to check it. In case of any problems, I
will report again.
On Sat, Nov 09 2013 02:16 (+0100), Dmitry Gutov wrote:
> Hi Ingo,
>
> Ingo Lohmar <address@hidden> writes:
>
>> Using company-mode for plain-text completion on a windows system (no
>> look, only grep) exhibits a bug where the grep regexp lacks a trailing
>> wildcard. Attached short patch fixes this and has been working for me
>> for some time now.
>
> Unfortunately, you patch didn't work for me. At the time you're checking
> for trailing ".*", `word' already ends with "$" (so the check always
> fails), and when you append ".*", that also goes after "$", which doesn't
> seem valid.
>
> I've installed a different patch in revision 115045, please see if it
> works for you.