Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > linux.debian.bugs.dist > #1043114

Bug#980302: dictionaries-common-dev: vim dictionary support

From Kurt Roeckx <kurt@roeckx.be>
Newsgroups linux.debian.bugs.dist
Subject Bug#980302: dictionaries-common-dev: vim dictionary support
Date 2021-01-18 14:00 +0100
Message-ID <ByCit-4Iv-3@gated-at.bofh.it> (permalink)
References <ByhQK-RI-19@gated-at.bofh.it> <ByBPs-4yH-7@gated-at.bofh.it> <ByhQK-RI-19@gated-at.bofh.it> <ByBPs-4yH-7@gated-at.bofh.it>
Organization linux.* mail to news gateway

Show all headers | View raw


On Mon, Jan 18, 2021 at 01:22:48PM +0100, Agustin Martin wrote:
> El dom, 17 ene 2021 a las 16:06, Kurt Roeckx (<kurt@roeckx.be>) escribió:
> >
> > Package: dictionaries-common-dev
> >
> > Hi,
> >
> > Vim has support for spellchecking using it's own spell check
> > files. It can be generated based on hunspell .aff/.dic files, or
> > based on a wordlist. Files currently need to be placed in
> > /usr/share/vim/vim82/spell/
> >
> > It would be good if we had a policy and helper scripts to install
> > the files so vim can use them, and how to name the packages.
> 
> Hi, Kurt,
> 
> This was mentioned a while ago in #490987. It was closed because at
> that time building vim spell files creation seemed to be very memory
> intensive and using libhunspell via a redhat patch was under
> consideration. I have no idea about current status of spellchecking in
> vim and if those concerns were addressed.

Converting it from .aff and .dic to .spl and .sug takes 2.3
seconds here and 99 MB of RAM.

Note that I need to patch the .aff files to actually make it work
properly because vim doesn't implement all the same things
hunspell does.

I was looking at the libhunspell patch upstream, which seems to be
going nowhere, the pull requests was closed because it wasn't
complete and nobody seems to want to fix it.

> On the other hand most hunspell dicts come from libreoffice-dicts and
> do not provide a dict-common info file. In my TODO list there is a
> point to play with libreoffice-dicts build process to automatically
> create a minimal info file, but it has been there for years due to
> lack of both time and python skills at that time.

I have no idea what those files are used for, so I can't even test
that they are correct or not. I assume that it might have something
to do with emacs, but I'm a vim user, not an emacs user.


Kurt

Back to linux.debian.bugs.dist | Previous | Next — Previous in thread | Next in thread | Find similar | Unroll thread


Thread

Bug#980302: dictionaries-common-dev: vim dictionary support Kurt Roeckx <kurt@roeckx.be> - 2021-01-17 16:10 +0100
  Bug#980302: dictionaries-common-dev: vim dictionary support Agustin Martin <agmartin@debian.org> - 2021-01-18 13:30 +0100
    Bug#980302: dictionaries-common-dev: vim dictionary support Kurt Roeckx <kurt@roeckx.be> - 2021-01-18 14:00 +0100
      Bug#980302: dictionaries-common-dev: vim dictionary support Agustin Martin <agmartin@debian.org> - 2021-01-18 19:40 +0100
        Bug#980302: dictionaries-common-dev: vim dictionary support Kurt Roeckx <kurt@roeckx.be> - 2021-01-18 20:40 +0100
          Bug#980302: dictionaries-common-dev: vim dictionary support Agustin Martin <agmartin@debian.org> - 2021-01-19 11:00 +0100
            Bug#980302: dictionaries-common-dev: vim dictionary support Kurt Roeckx <kurt@roeckx.be> - 2021-01-19 11:10 +0100
        Bug#980302: dictionaries-common-dev: vim dictionary support Agustin Martin <agmartin@debian.org> - 2021-02-01 00:30 +0100
          Bug#980302: dictionaries-common-dev: vim dictionary support James McCoy <jamessan@debian.org> - 2021-02-02 03:50 +0100
            Bug#980302: dictionaries-common-dev: vim dictionary support Agustin Martin <agmartin@debian.org> - 2021-02-03 21:10 +0100

csiph-web