From unknown Mon Aug 18 09:04:42 2025 X-Loop: help-debbugs@gnu.org Subject: bug#17316: 24.3.90; Ispell doesn't support Hunspell's "multiple dictionaries" feature Resent-From: Eli Zaretskii Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Tue, 22 Apr 2014 18:16:01 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: report 17316 X-GNU-PR-Package: emacs X-GNU-PR-Keywords: To: 17316@debbugs.gnu.org X-Debbugs-Original-To: bug-gnu-emacs@gnu.org Reply-To: Eli Zaretskii Received: via spool by submit@debbugs.gnu.org id=B.139819054412899 (code B ref -1); Tue, 22 Apr 2014 18:16:01 +0000 Received: (at submit) by debbugs.gnu.org; 22 Apr 2014 18:15:44 +0000 Received: from localhost ([127.0.0.1]:55368 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.80) (envelope-from ) id 1WcfEN-0003Lw-5H for submit@debbugs.gnu.org; Tue, 22 Apr 2014 14:15:43 -0400 Received: from eggs.gnu.org ([208.118.235.92]:39769) by debbugs.gnu.org with esmtp (Exim 4.80) (envelope-from ) id 1WcfEK-0003Ln-OS for submit@debbugs.gnu.org; Tue, 22 Apr 2014 14:15:41 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1WcfEA-0007l6-FS for submit@debbugs.gnu.org; Tue, 22 Apr 2014 14:15:40 -0400 X-Spam-Checker-Version: SpamAssassin 3.3.2 (2011-06-06) on eggs.gnu.org X-Spam-Level: X-Spam-Status: No, score=0.1 required=5.0 tests=AC_HTML_NONSENSE_TAGS, BAYES_50, RP_MATCHES_RCVD autolearn=disabled version=3.3.2 Received: from lists.gnu.org ([2001:4830:134:3::11]:36680) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1WcfEA-0007l2-Cq for submit@debbugs.gnu.org; Tue, 22 Apr 2014 14:15:30 -0400 Received: from eggs.gnu.org ([2001:4830:134:3::10]:41404) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1WcfE2-00005K-Le for bug-gnu-emacs@gnu.org; Tue, 22 Apr 2014 14:15:30 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1WcfDv-0007go-5v for bug-gnu-emacs@gnu.org; Tue, 22 Apr 2014 14:15:22 -0400 Received: from mtaout20.012.net.il ([80.179.55.166]:33235) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1WcfDu-0007fT-Uu for bug-gnu-emacs@gnu.org; Tue, 22 Apr 2014 14:15:15 -0400 Received: from conversion-daemon.a-mtaout20.012.net.il by a-mtaout20.012.net.il (HyperSendmail v2007.08) id <0N4G000002GP3X00@a-mtaout20.012.net.il> for bug-gnu-emacs@gnu.org; Tue, 22 Apr 2014 21:15:13 +0300 (IDT) Received: from HOME-C4E4A596F7 ([87.69.4.28]) by a-mtaout20.012.net.il (HyperSendmail v2007.08) with ESMTPA id <0N4G000YR2PC3D10@a-mtaout20.012.net.il> for bug-gnu-emacs@gnu.org; Tue, 22 Apr 2014 21:15:13 +0300 (IDT) Date: Tue, 22 Apr 2014 21:15:06 +0300 From: Eli Zaretskii X-012-Sender: halo1@inter.net.il Message-id: <83y4yx9qol.fsf@gnu.org> X-detected-operating-system: by eggs.gnu.org: Solaris 10 X-detected-operating-system: by eggs.gnu.org: Error: Malformed IPv6 address (bad octet value). X-Received-From: 2001:4830:134:3::11 X-Spam-Score: -5.7 (-----) X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.15 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -5.7 (-----) This is more a missing feature than a bug. According to Hunspell's man page: -d dict,dict2,... Set dictionaries by their base names with or without paths. Example of the syntax: -d en_US,en_geo,en_med,de_DE,de_med en_US and de_DE are base dictionaries, they consist of aff and dic file pairs: en_US.aff, en_US.dic and de_DE.aff, de_DE.dic. En_geo, en_med, de_med are special dictionaries: dictionaries without affix file. (This seems to say that you can spell-check text that mixes English and German words, but that's a lie: Hunspell actually uses only the first .aff file and disregards the rest.) This feature is useful for combining general dictionary with several specialized dictionaries. But ispell.el does not support this feature: it only allows specifying a single dictionary at the prompt of ispell-change-dictionary, and insists on getting one of the strings it collected from the output of "hunspell -D" (and it looks like dictionaries without matching affix files are filtered out of the list). It would be nice to have more freedom in specifying the arguments to the -d switch. In GNU Emacs 24.3.90.35 (i686-pc-mingw32) of 2014-04-22 on HOME-C4E4A596F7 Repository revision: 117004 bzg@gnu.org-20140422140745-vktlo49y548qwxir Windowing system distributor `Microsoft Corp.', version 5.1.2600 Configured using: `configure --prefix=/d/usr --enable-checking=yes,glyphs 'CFLAGS=-O0 -gdwarf-2 -g3'' Important settings: value of $LANG: ENU locale-coding-system: cp1255 Major mode: Lisp Interaction Minor modes in effect: tooltip-mode: t electric-indent-mode: t mouse-wheel-mode: t tool-bar-mode: t menu-bar-mode: t file-name-shadow-mode: t global-font-lock-mode: t font-lock-mode: t blink-cursor-mode: t auto-composition-mode: t auto-encryption-mode: t auto-compression-mode: t line-number-mode: t transient-mark-mode: t Recent input: M-x r e p o r t - e m C-g C-x C-f ~ / . e m C-s h u n s C-a C-SPC M-w C-x b C-y C-j M-$ M-x i s p e l l - c h a e n _ U S , e n _ M E D M-x r e o p p o r t Recent messages: Mark saved where search started Mark set [2 times] ispell-set-spellchecker-params: Missing hunspell equiv for "american". Skipping. ispell-set-spellchecker-params: Missing hunspell equiv for "russian". Skipping. Starting new Ispell process d:/usr/bin/hunspell.exe with default dictionary... Checking spelling of THIS... THIS is correct Mark set Ispell process killed Local Ispell dictionary set to en_US Load-path shadows: None found. Features: (shadow sort gnus-util mail-extr emacsbug message format-spec rfc822 mml easymenu mml-sec mm-decode mm-bodies mm-encode mail-parse rfc2231 mailabbrev gmm-utils mailheader sendmail rfc2047 rfc2045 ietf-drums mm-util help-fns mail-prsvr mail-utils ispell misearch multi-isearch time-date tooltip electric uniquify ediff-hook vc-hooks lisp-float-type mwheel dos-w32 ls-lisp w32-common-fns disp-table w32-win w32-vars tool-bar dnd fontset image regexp-opt fringe tabulated-list newcomment lisp-mode prog-mode register page menu-bar rfn-eshadow timer select scroll-bar mouse jit-lock font-lock syntax facemenu font-core frame cham georgian utf-8-lang misc-lang vietnamese tibetan thai tai-viet lao korean japanese hebrew greek romanian slovak czech european ethiopic indian cyrillic chinese case-table epa-hook jka-cmpr-hook help simple abbrev minibuffer nadvice loaddefs button faces cus-face macroexp files text-properties overlay sha1 md5 base64 format env code-pages mule custom widget hashtable-print-readable backquote make-network-process w32notify w32 multi-tty emacs) Memory information: ((conses 8 77953 7690) (symbols 32 17829 0) (miscs 32 49 225) (strings 16 12039 4341) (string-bytes 1 305893) (vectors 8 9699) (vector-slots 4 376089 5464) (floats 8 57 372) (intervals 28 405 238) (buffers 508 12)) From unknown Mon Aug 18 09:04:42 2025 MIME-Version: 1.0 X-Mailer: MIME-tools 5.503 (Entity 5.503) X-Loop: help-debbugs@gnu.org From: help-debbugs@gnu.org (GNU bug Tracking System) To: Eli Zaretskii Subject: bug#17316: closed (Re: bug#17316: 24.3.90; Ispell doesn't support Hunspell's "multiple dictionaries" feature) Message-ID: References: <83d1yfiedx.fsf@gnu.org> <83y4yx9qol.fsf@gnu.org> X-Gnu-PR-Message: they-closed 17316 X-Gnu-PR-Package: emacs Reply-To: 17316@debbugs.gnu.org Date: Sat, 22 Aug 2015 14:32:04 +0000 Content-Type: multipart/mixed; boundary="----------=_1440253924-24313-1" This is a multi-part message in MIME format... ------------=_1440253924-24313-1 Content-Disposition: inline Content-Transfer-Encoding: quoted-printable Content-Type: text/plain; charset="utf-8" Your bug report #17316: 24.3.90; Ispell doesn't support Hunspell's "multiple dictionaries" = feature which was filed against the emacs package, has been closed. The explanation is attached below, along with your original report. If you require more details, please reply to 17316@debbugs.gnu.org. --=20 17316: http://debbugs.gnu.org/cgi/bugreport.cgi?bug=3D17316 GNU Bug Tracking System Contact help-debbugs@gnu.org with problems ------------=_1440253924-24313-1 Content-Type: message/rfc822 Content-Disposition: inline Content-Transfer-Encoding: 7bit Received: (at 17316-done) by debbugs.gnu.org; 22 Aug 2015 14:31:12 +0000 Received: from localhost ([127.0.0.1]:35279 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.80) (envelope-from ) id 1ZT9p9-0006IW-V9 for submit@debbugs.gnu.org; Sat, 22 Aug 2015 10:31:12 -0400 Received: from mtaout24.012.net.il ([80.179.55.180]:39446) by debbugs.gnu.org with esmtp (Exim 4.80) (envelope-from ) id 1ZT9p7-0006IN-6h for 17316-done@debbugs.gnu.org; Sat, 22 Aug 2015 10:31:09 -0400 Received: from conversion-daemon.mtaout24.012.net.il by mtaout24.012.net.il (HyperSendmail v2007.08) id <0NTH00K00MHKLR00@mtaout24.012.net.il> for 17316-done@debbugs.gnu.org; Sat, 22 Aug 2015 17:23:07 +0300 (IDT) Received: from HOME-C4E4A596F7 ([87.69.4.28]) by mtaout24.012.net.il (HyperSendmail v2007.08) with ESMTPA id <0NTH003KXMMJ5S80@mtaout24.012.net.il> for 17316-done@debbugs.gnu.org; Sat, 22 Aug 2015 17:23:07 +0300 (IDT) Date: Sat, 22 Aug 2015 17:31:06 +0300 From: Eli Zaretskii Subject: Re: bug#17316: 24.3.90; Ispell doesn't support Hunspell's "multiple dictionaries" feature In-reply-to: <83y4yx9qol.fsf@gnu.org> X-012-Sender: halo1@inter.net.il To: 17316-done@debbugs.gnu.org Message-id: <83d1yfiedx.fsf@gnu.org> References: <83y4yx9qol.fsf@gnu.org> X-Spam-Score: 1.0 (+) X-Debbugs-Envelope-To: 17316-done X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.15 Precedence: list Reply-To: Eli Zaretskii List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: 1.0 (+) > Date: Tue, 22 Apr 2014 21:15:06 +0300 > From: Eli Zaretskii > > This is more a missing feature than a bug. > > According to Hunspell's man page: > > -d dict,dict2,... > Set dictionaries by their base names with or without paths. > Example of the syntax: > > -d en_US,en_geo,en_med,de_DE,de_med > > en_US and de_DE are base dictionaries, they consist of aff and dic file > pairs: en_US.aff, en_US.dic and de_DE.aff, de_DE.dic. En_geo, en_med, > de_med are special dictionaries: dictionaries without affix file. > > (This seems to say that you can spell-check text that mixes English > and German words, but that's a lie: Hunspell actually uses only the > first .aff file and disregards the rest.) This feature is useful for > combining general dictionary with several specialized dictionaries. > But ispell.el does not support this feature: it only allows specifying > a single dictionary at the prompt of ispell-change-dictionary, and > insists on getting one of the strings it collected from the output of > "hunspell -D" (and it looks like dictionaries without matching affix > files are filtered out of the list). > > It would be nice to have more freedom in specifying the arguments to > the -d switch. Fixed as part of bug#20495. ------------=_1440253924-24313-1 Content-Type: message/rfc822 Content-Disposition: inline Content-Transfer-Encoding: 7bit Received: (at submit) by debbugs.gnu.org; 22 Apr 2014 18:15:44 +0000 Received: from localhost ([127.0.0.1]:55368 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.80) (envelope-from ) id 1WcfEN-0003Lw-5H for submit@debbugs.gnu.org; Tue, 22 Apr 2014 14:15:43 -0400 Received: from eggs.gnu.org ([208.118.235.92]:39769) by debbugs.gnu.org with esmtp (Exim 4.80) (envelope-from ) id 1WcfEK-0003Ln-OS for submit@debbugs.gnu.org; Tue, 22 Apr 2014 14:15:41 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1WcfEA-0007l6-FS for submit@debbugs.gnu.org; Tue, 22 Apr 2014 14:15:40 -0400 X-Spam-Checker-Version: SpamAssassin 3.3.2 (2011-06-06) on eggs.gnu.org X-Spam-Level: X-Spam-Status: No, score=0.1 required=5.0 tests=AC_HTML_NONSENSE_TAGS, BAYES_50, RP_MATCHES_RCVD autolearn=disabled version=3.3.2 Received: from lists.gnu.org ([2001:4830:134:3::11]:36680) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1WcfEA-0007l2-Cq for submit@debbugs.gnu.org; Tue, 22 Apr 2014 14:15:30 -0400 Received: from eggs.gnu.org ([2001:4830:134:3::10]:41404) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1WcfE2-00005K-Le for bug-gnu-emacs@gnu.org; Tue, 22 Apr 2014 14:15:30 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1WcfDv-0007go-5v for bug-gnu-emacs@gnu.org; Tue, 22 Apr 2014 14:15:22 -0400 Received: from mtaout20.012.net.il ([80.179.55.166]:33235) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1WcfDu-0007fT-Uu for bug-gnu-emacs@gnu.org; Tue, 22 Apr 2014 14:15:15 -0400 Received: from conversion-daemon.a-mtaout20.012.net.il by a-mtaout20.012.net.il (HyperSendmail v2007.08) id <0N4G000002GP3X00@a-mtaout20.012.net.il> for bug-gnu-emacs@gnu.org; Tue, 22 Apr 2014 21:15:13 +0300 (IDT) Received: from HOME-C4E4A596F7 ([87.69.4.28]) by a-mtaout20.012.net.il (HyperSendmail v2007.08) with ESMTPA id <0N4G000YR2PC3D10@a-mtaout20.012.net.il> for bug-gnu-emacs@gnu.org; Tue, 22 Apr 2014 21:15:13 +0300 (IDT) Date: Tue, 22 Apr 2014 21:15:06 +0300 From: Eli Zaretskii Subject: 24.3.90; Ispell doesn't support Hunspell's "multiple dictionaries" feature X-012-Sender: halo1@inter.net.il To: bug-gnu-emacs@gnu.org Message-id: <83y4yx9qol.fsf@gnu.org> X-detected-operating-system: by eggs.gnu.org: Solaris 10 X-detected-operating-system: by eggs.gnu.org: Error: Malformed IPv6 address (bad octet value). X-Received-From: 2001:4830:134:3::11 X-Spam-Score: -5.7 (-----) X-Debbugs-Envelope-To: submit X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.15 Precedence: list Reply-To: Eli Zaretskii List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -5.7 (-----) This is more a missing feature than a bug. According to Hunspell's man page: -d dict,dict2,... Set dictionaries by their base names with or without paths. Example of the syntax: -d en_US,en_geo,en_med,de_DE,de_med en_US and de_DE are base dictionaries, they consist of aff and dic file pairs: en_US.aff, en_US.dic and de_DE.aff, de_DE.dic. En_geo, en_med, de_med are special dictionaries: dictionaries without affix file. (This seems to say that you can spell-check text that mixes English and German words, but that's a lie: Hunspell actually uses only the first .aff file and disregards the rest.) This feature is useful for combining general dictionary with several specialized dictionaries. But ispell.el does not support this feature: it only allows specifying a single dictionary at the prompt of ispell-change-dictionary, and insists on getting one of the strings it collected from the output of "hunspell -D" (and it looks like dictionaries without matching affix files are filtered out of the list). It would be nice to have more freedom in specifying the arguments to the -d switch. In GNU Emacs 24.3.90.35 (i686-pc-mingw32) of 2014-04-22 on HOME-C4E4A596F7 Repository revision: 117004 bzg@gnu.org-20140422140745-vktlo49y548qwxir Windowing system distributor `Microsoft Corp.', version 5.1.2600 Configured using: `configure --prefix=/d/usr --enable-checking=yes,glyphs 'CFLAGS=-O0 -gdwarf-2 -g3'' Important settings: value of $LANG: ENU locale-coding-system: cp1255 Major mode: Lisp Interaction Minor modes in effect: tooltip-mode: t electric-indent-mode: t mouse-wheel-mode: t tool-bar-mode: t menu-bar-mode: t file-name-shadow-mode: t global-font-lock-mode: t font-lock-mode: t blink-cursor-mode: t auto-composition-mode: t auto-encryption-mode: t auto-compression-mode: t line-number-mode: t transient-mark-mode: t Recent input: M-x r e p o r t - e m C-g C-x C-f ~ / . e m C-s h u n s C-a C-SPC M-w C-x b C-y C-j M-$ M-x i s p e l l - c h a e n _ U S , e n _ M E D M-x r e o p p o r t Recent messages: Mark saved where search started Mark set [2 times] ispell-set-spellchecker-params: Missing hunspell equiv for "american". Skipping. ispell-set-spellchecker-params: Missing hunspell equiv for "russian". Skipping. Starting new Ispell process d:/usr/bin/hunspell.exe with default dictionary... Checking spelling of THIS... THIS is correct Mark set Ispell process killed Local Ispell dictionary set to en_US Load-path shadows: None found. Features: (shadow sort gnus-util mail-extr emacsbug message format-spec rfc822 mml easymenu mml-sec mm-decode mm-bodies mm-encode mail-parse rfc2231 mailabbrev gmm-utils mailheader sendmail rfc2047 rfc2045 ietf-drums mm-util help-fns mail-prsvr mail-utils ispell misearch multi-isearch time-date tooltip electric uniquify ediff-hook vc-hooks lisp-float-type mwheel dos-w32 ls-lisp w32-common-fns disp-table w32-win w32-vars tool-bar dnd fontset image regexp-opt fringe tabulated-list newcomment lisp-mode prog-mode register page menu-bar rfn-eshadow timer select scroll-bar mouse jit-lock font-lock syntax facemenu font-core frame cham georgian utf-8-lang misc-lang vietnamese tibetan thai tai-viet lao korean japanese hebrew greek romanian slovak czech european ethiopic indian cyrillic chinese case-table epa-hook jka-cmpr-hook help simple abbrev minibuffer nadvice loaddefs button faces cus-face macroexp files text-properties overlay sha1 md5 base64 format env code-pages mule custom widget hashtable-print-readable backquote make-network-process w32notify w32 multi-tty emacs) Memory information: ((conses 8 77953 7690) (symbols 32 17829 0) (miscs 32 49 225) (strings 16 12039 4341) (string-bytes 1 305893) (vectors 8 9699) (vector-slots 4 376089 5464) (floats 8 57 372) (intervals 28 405 238) (buffers 508 12)) ------------=_1440253924-24313-1--