Package: lookup-el Version: 1.4.1-5 Severity: wishlist Tags: patch -----BEGIN PGP SIGNED MESSAGE----- Hash: SHA512
Hi, Kinoshita-san, Current lookup-el package automatically enable spell checking only when ispell package is installed. lookup-el can use other ispell-compatible spell checker, such as hunspell. The attached preliminary patch enables automatically support for hunspell. Note that adding aspell support may be done by similar way. Best regards, - -- Ryo IGARASHI rigar...@gmail.com - -- System Information: Debian Release: squeeze/sid APT prefers proposed-updates APT policy: (500, 'proposed-updates'), (500, 'unstable'), (500, 'stable'), (1, 'experimental') Architecture: amd64 (x86_64) Kernel: Linux 2.6.32-5-amd64 (SMP w/1 CPU core) Locale: LANG=ja_JP.UTF-8, LC_CTYPE=ja_JP.UTF-8 (charmap=UTF-8) Shell: /bin/sh linked to /bin/dash Versions of packages lookup-el depends on: ii dpkg 1.15.7.2 Debian package management system ii emacs 23.2+1-2 The GNU Emacs editor (metapackage) ii emacs23 23.2+1-2 The GNU Emacs editor (with GTK+ us ii install-info 4.13a.dfsg.1-5 Manage installed documentation in Versions of packages lookup-el recommends: ii dicod [dict-server] 2.0.90-1+b1 RFC 2229 compliant modular diction ii dict-elements [dictd-dictio 20001107-a-5 Data regarding the Elements ii dict-foldoc [dictd-dictiona 20100130-1 FOLDOC dictionary database ii dict-gcide [dictd-dictionar 0.48-6 A Comprehensive English Dictionary ii dict-jargon [dictd-dictiona 4.4.7-2 dict package for The Jargon Lexico ii dict-vera [dictd-dictionary 1:1.17-5 Dictionary of computer related acr ii dict-wn [dictd-dictionary] 1:3.0-23 electronic lexical database of Eng ii eblook 1:1.6.1-7 electronic dictionary search comma Versions of packages lookup-el suggests: pn bitmap-mule <none> (no description available) ii dict-foldoc 20100130-1 FOLDOC dictionary database ii dict-gcide 0.48-6 A Comprehensive English Dictionary ii dict-vera 1:1.17-5 Dictionary of computer related acr pn dictzip <none> (no description available) pn edict-fpw <none> (no description available) pn flim <none> (no description available) pn ispell <none> (no description available) pn kakasi <none> (no description available) pn namazu2 <none> (no description available) pn sufary <none> (no description available) - -- no debconf information -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.10 (GNU/Linux) iQIcBAEBCgAGBQJMNYpjAAoJEOx5ooBqGSMZNngP/2rLkJyx4LdIr0THPKys/GDA NbSUjh6ZrO0YhSWelPBgzPebK3d63GxptOPuHcAfqtXBoHV7ZrplK/nIxom2+r6b OOZ9hoZZt6iEvYDfeq7K5Oc9TPOOp+eVKZ+KDzZFvgqiaPVZP40j6FPhDhuYGZhI bFHHSQYVinycG7mvvU+Vhe3evsQfCCS662nZuXLKfwjqYyC8+6d3ljlAxmGF3rtM 3JHbtGqcP3Ckr/IENGLRqkh/mjLeUH6Ni1hUX4ehMlM/YljGLgZc2CZdLYqPlCQi HR1vNLRwhnDXG3BLO2EZ3uodMgobhBjv1q2XJ6PycngbJZhxudmVGTy/4UxEptxF dMAGGNfvYUht0yl9wUs9xJIDht5BlPQPMsnju0jJ+hc9K87io8Itf0wCmui1bl3h 4UBoEdv8XVB7zIPz9g32Vk1P1NQS69C37RF5XBiGs3b92waW0ANlbhuZgTzQLdHs iZbr47X0LQgGI5nkA+tZ490MF44yODFnzuUPuMfgc7G47lmkjCfqhFqzzSJ8vUpF LwPIBjoju7VxPS5bWwQeaBhKHZQuPnqfsXLLC2ySMNscgWI8bTProIEB+iSki2gg KjuIjnTimw53LBT1zYwHOU1tkhqZyIEW1Zv8utrIr+BR5scX7BF15HSwZv9+EbCe u7Kzsd+ZDAybCAQwCf8y =eXTR -----END PGP SIGNATURE-----
diff -u debian.orig/control debian/control --- debian.orig/control 2010-07-08 17:02:00.000000000 +0900 +++ debian/control 2010-07-08 17:02:33.000000000 +0900 @@ -10,7 +10,7 @@ Architecture: all Depends: emacs | emacs23 | emacs22 | emacs21 | emacs-snapshot | xemacs21-mule | xemacs21-mule-canna-wnn | xemacs21-gnome-mule | xemacs21-gnome-mule-canna-wnn, dpkg (>= 1.15.4) | install-info, ${misc:Depends} Recommends: eblook | ndtpd, dictd | dict-server, dict-jargon | dictd-dictionary -Suggests: bitmap-mule, namazu2, flim, dictzip, sufary, kakasi, ispell, edict-fpw, dict-foldoc, dict-vera, dict-gcide +Suggests: bitmap-mule, namazu2, flim, dictzip, sufary, kakasi, ispell | hunspell, edict-fpw, dict-foldoc, dict-vera, dict-gcide Provides: dict-client Description: emacsen interface to electronic dictionaries Lookup provides a simple and unified interface on emacsen to search diff -u debian.orig/emacsen-startup debian/emacsen-startup --- debian.orig/emacsen-startup 2010-07-08 10:08:04.000000000 +0900 +++ debian/emacsen-startup 2010-07-08 16:51:07.000000000 +0900 @@ -123,7 +123,10 @@ (add-to-list 'agents '(ndic "/usr/share/dictd") 'append))) ;; ndspell (if (file-executable-p "/usr/bin/ispell") - (add-to-list 'agents '(ndspell) 'append)) + (add-to-list 'agents '(ndspell) 'append) + (if (file-executable-p "/usr/bin/hunspell") + (progn (add-to-list 'agents '(ndspell) 'append) + (setq ndspell-ispell-program "hunspell")))) ;; ndkks (if (file-executable-p "/usr/bin/kakasi") (add-to-list 'agents '(ndkks) 'append))