From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Eli Zaretskii Newsgroups: gmane.emacs.bugs Subject: bug#17316: 24.3.90; Ispell doesn't support Hunspell's "multiple dictionaries" feature Date: Tue, 22 Apr 2014 21:15:06 +0300 Message-ID: <83y4yx9qol.fsf@gnu.org> Reply-To: Eli Zaretskii NNTP-Posting-Host: plane.gmane.org X-Trace: ger.gmane.org 1398190596 3968 80.91.229.3 (22 Apr 2014 18:16:36 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Tue, 22 Apr 2014 18:16:36 +0000 (UTC) To: 17316@debbugs.gnu.org Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Tue Apr 22 20:16:29 2014 Return-path: Envelope-to: geb-bug-gnu-emacs@m.gmane.org Original-Received: from lists.gnu.org ([208.118.235.17]) by plane.gmane.org with esmtp (Exim 4.69) (envelope-from ) id 1WcfF3-00073X-O0 for geb-bug-gnu-emacs@m.gmane.org; Tue, 22 Apr 2014 20:16:25 +0200 Original-Received: from localhost ([::1]:56603 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1WcfF3-0000ow-B3 for geb-bug-gnu-emacs@m.gmane.org; Tue, 22 Apr 2014 14:16:25 -0400 Original-Received: from eggs.gnu.org ([2001:4830:134:3::10]:41588) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1WcfEq-0000g3-SV for bug-gnu-emacs@gnu.org; Tue, 22 Apr 2014 14:16:22 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1WcfEg-0007nt-5Q for bug-gnu-emacs@gnu.org; Tue, 22 Apr 2014 14:16:12 -0400 Original-Received: from debbugs.gnu.org ([140.186.70.43]:47211) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1WcfEg-0007np-1n for bug-gnu-emacs@gnu.org; Tue, 22 Apr 2014 14:16:02 -0400 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.80) (envelope-from ) id 1WcfEf-0003Mn-Ne for bug-gnu-emacs@gnu.org; Tue, 22 Apr 2014 14:16:01 -0400 X-Loop: help-debbugs@gnu.org 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: X-Debbugs-Original-To: bug-gnu-emacs@gnu.org Original-Received: via spool by submit@debbugs.gnu.org id=B.139819054412899 (code B ref -1); Tue, 22 Apr 2014 18:16:01 +0000 Original-Received: (at submit) by debbugs.gnu.org; 22 Apr 2014 18:15:44 +0000 Original-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 Original-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 Original-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 Original-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 Original-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 Original-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 Original-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 Original-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) Original-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) X-012-Sender: halo1@inter.net.il 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-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.15 Precedence: list X-detected-operating-system: by eggs.gnu.org: GNU/Linux 3.x X-Received-From: 140.186.70.43 X-BeenThere: bug-gnu-emacs@gnu.org List-Id: "Bug reports for GNU Emacs, the Swiss army knife of text editors" List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Original-Sender: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Xref: news.gmane.org gmane.emacs.bugs:88215 Archived-At: 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))