James Vega wrote: > On Tue, Mar 8, 2011 at 3:01 PM, Dominique Pellé > <dominique.pe...@gmail.com> wrote: >> Nikolai Weibull <n...@bitwi.se> wrote: >> >>> On Wed, Dec 1, 2010 at 22:00, Nikolai Weibull <n...@bitwi.se> wrote: >>>> On Wed, Dec 1, 2010 at 21:12, Bram Moolenaar <b...@moolenaar.net> wrote: >>>>> >>>>> Nikolai Weibull wrote: >>>>> >>>>>> Writing “Let’s begin …” marks the ‘s’ as a spelling >>>>>> error. Writing “Let's begin …” works fine. Is this a bug, >>>>>> or am I missing something? >>> >>>>> Right, only latin1 quotes are supported. >>> >>>> OK, so let’s fix that. How do we fix that? >>>> >>>> Also, I don’t understand what you say latin1 quotes, as it would be a >>>> lot clearer if you said ASCII quotes. (Latin1 doesn’t add any >>>> additional quotes. That’s one of the main differences between latin1 >>>> and cp1252.) >>> >>> Still waiting for a response to this question. >> >> >> The hunspell doc is not very clear but I think this is what the >> ICONV directive of Hunspell is for. Looking at this English >> dictionary of OpenOffice 3.x at: >> >> http://extensions.services.openoffice.org/en/project/dict-en-fixed >> >> ... the en_US.aff file contains: >> >> 2839 ICONV 6 >> 2840 ICONV ’ ' >> 2841 ICONV ffi ffi >> 2842 ICONV ffl ffl >> 2843 ICONV ff ff >> 2844 ICONV fi fi >> 2845 ICONV fl fl >> 2846 >> 2847 OCONV 1 >> 2848 OCONV ' ’ >> >> My understanding is that ICONV causes to convert the input >> fancy quote U+2019 into a regular quote (among other conversions) >> before probing the dictionary. So "Let’s" and “Let's" are both >> recognized as correct. >> >> But Vim currently still uses dictionaries from OpenOffice-2.x and >> does not support ICONV either. >> >> I found the following patch which adds support of Hunspell >> dictionary in Vim: >> >> https://bugzilla.redhat.com/show_bug.cgi?id=219777 > > Personally, I'd prefer to use something like Enchant[0] over a specific > spelling library, if the effort is going to be taken to use something > other than Vim's internal spell-checking. I've done some work in a > local branch to integrate Enchant, but ran into some larger questions > that need to be addressed and haven't had time to draft a reasonable > email about them yet. > > [0]: http://www.abisource.com/projects/enchant/
I did not know about Enchant until now but the description looks convincing considering the number of backends it supports. I'm mostly interested in better support of Hunspell but Enchant would provide that along with support of other spelling systems. In short, it looks promising. -- Dominique -- You received this message from the "vim_dev" maillist. Do not top-post! Type your reply below the text you are replying to. For more information, visit http://www.vim.org/maillist.php