[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: |
Dmitry Gutov |
Subject: |
Re: [PATCH] ispell.el: Ensure trailing wildcard when looking up words with grep |
Date: |
Sat, 09 Nov 2013 03:16:58 +0200 |
User-agent: |
Gnus/5.13 (Gnus v5.13) Emacs/24.3.50 (gnu/linux) |
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.