From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from lists.gentoo.org ([140.105.134.102] helo=robin.gentoo.org) by nuthatch.gentoo.org with esmtp (Exim 4.43) id 1EIcHZ-0004cR-IO for garchives@archives.gentoo.org; Fri, 23 Sep 2005 01:23:21 +0000 Received: from robin.gentoo.org (localhost [127.0.0.1]) by robin.gentoo.org (8.13.5/8.13.5) with SMTP id j8N1GRkL022939; Fri, 23 Sep 2005 01:16:27 GMT Received: from smtp.gentoo.org (smtp.gentoo.org [134.68.220.30]) by robin.gentoo.org (8.13.5/8.13.5) with ESMTP id j8N1DdvD015234 for <gentoo-dev@lists.gentoo.org>; Fri, 23 Sep 2005 01:13:40 GMT Received: from 82-41-57-20.cable.ubr08.edin.blueyonder.co.uk ([82.41.57.20] helo=snowdrop.home) by smtp.gentoo.org with esmtpa (Exim 4.43) id 1EIcEC-0000ZM-7s; Fri, 23 Sep 2005 01:19:52 +0000 Received: from localhost.home ([127.0.0.1] helo=snowdrop.home) by snowdrop.home with esmtp (Exim 4.50) id 1EIcEk-0006L5-0G; Fri, 23 Sep 2005 02:20:26 +0100 Date: Fri, 23 Sep 2005 02:20:21 +0100 From: Ciaran McCreesh <ciaranm@gentoo.org> To: vim@gentoo.org Cc: gentoo-dev@lists.gentoo.org Subject: [gentoo-dev] vim spell files Message-ID: <20050923022021.08ebdbcd@snowdrop.home> X-Mailer: Sylpheed-Claws 1.9.13 (GTK+ 2.6.8; i686-pc-linux-gnu) Precedence: bulk List-Post: <mailto:gentoo-dev@lists.gentoo.org> List-Help: <mailto:gentoo-dev+help@gentoo.org> List-Unsubscribe: <mailto:gentoo-dev+unsubscribe@gentoo.org> List-Subscribe: <mailto:gentoo-dev+subscribe@gentoo.org> List-Id: Gentoo Linux mail <gentoo-dev.gentoo.org> X-BeenThere: gentoo-dev@gentoo.org Reply-to: gentoo-dev@lists.gentoo.org Mime-Version: 1.0 Content-Type: multipart/signed; boundary=Signature_Fri__23_Sep_2005_02_20_21_+0100__WqTr1mL3s1f.OGt; protocol="application/pgp-signature"; micalg=PGP-SHA1 X-Archives-Salt: 09bf9d66-a976-4e0a-a464-74fcd3b71286 X-Archives-Hash: f420a7c887454fa4aae8eca30b7768dc --Signature_Fri__23_Sep_2005_02_20_21_+0100__WqTr1mL3s1f.OGt Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: quoted-printable Vim 7 includes a native spellchecker. It uses its own spell file format which can be created using Myspell *.aff/*.dic files (the same as for Mozilla and OpenOffice). The spell files are rather large, so it's not feasible to bundle them with vim unconditionally. Building a spell file from source is tricky and requires huge amounts of RAM and some fairly obscure dependencies. Upstream ship pre-built spell files, and I believe it would make most sense for us to use those. Note that spell files have to be generated for each internal character set that may be used. This generally means utf-8 (used by gtk2/qt gvim internally no matter what) and the appropriate iso-8859- code for the country in question. As it stands, English is installed with vim-core. I might remove this if spell checking ends up as an optional feature. For the rest, I'm proposing separate packages, one per language, for the different spell files. Character set decisions will be left up to upstream, and the user will not get to restrict this further. I don't intend to maintain these myself (I speak a couple of other languages well enough to verify that the package works, but I'd rather not get involved any further), but I'd like to make it easy for non-Vim-herd people to do so. Naming-wise, vim-spell-${two letter language code} seems sanest. Proposed vim-spell.eclass: http://dev.gentoo.org/~ciaranm/tmp/vim-spell.eclass It includes instructions on how to make a spell source package. The ebuilds should be extremely simple -- only VIM_SPELL_LANGUAGE, LICENSE, KEYWORDS and IUSE need to be set, along with one inherit line. Questions: * app-vim or app-dicts for the spell files? * Will there be sufficient interest from other developers to make this worthwhile? * Is anyone going to get upset about the character set decisions? * Does anyone think we should make users build spell lists from source, even though it can require several GBytes of RAM? --=20 Ciaran McCreesh : Gentoo Developer (Vim, Shell tools, Fluxbox, Cron) Mail : ciaranm at gentoo.org Web : http://dev.gentoo.org/~ciaranm --Signature_Fri__23_Sep_2005_02_20_21_+0100__WqTr1mL3s1f.OGt Content-Type: application/pgp-signature -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.1 (GNU/Linux) iD8DBQFDM1hZ96zL6DUtXhERAn5oAKC9sHswV7wEuxbeum8gvcJguO6M7gCfdAvp IqA6FrmLt8pVWHLAF1dImfI= =HrJQ -----END PGP SIGNATURE----- --Signature_Fri__23_Sep_2005_02_20_21_+0100__WqTr1mL3s1f.OGt-- -- gentoo-dev@gentoo.org mailing list