From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Heinz Rommerskirchen Newsgroups: gmane.emacs.bugs Subject: bug#19558: ispell in 24.4: hunspell cannot check German text Date: Sat, 10 Jan 2015 15:02:53 +0100 Message-ID: <54B1310D.4030600@h-rommerskirchen.de> NNTP-Posting-Host: plane.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=utf-8; format=flowed Content-Transfer-Encoding: 8bit X-Trace: ger.gmane.org 1420911678 16637 80.91.229.3 (10 Jan 2015 17:41:18 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Sat, 10 Jan 2015 17:41:18 +0000 (UTC) To: 19558@debbugs.gnu.org Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Sat Jan 10 18:41:13 2015 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 1YA02B-00074m-I6 for geb-bug-gnu-emacs@m.gmane.org; Sat, 10 Jan 2015 18:41:11 +0100 Original-Received: from localhost ([::1]:55799 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1YA02A-0002IP-Uj for geb-bug-gnu-emacs@m.gmane.org; Sat, 10 Jan 2015 12:41:10 -0500 Original-Received: from eggs.gnu.org ([2001:4830:134:3::10]:59849) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1YA027-0002IJ-5V for bug-gnu-emacs@gnu.org; Sat, 10 Jan 2015 12:41:09 -0500 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1YA023-0004KC-Q9 for bug-gnu-emacs@gnu.org; Sat, 10 Jan 2015 12:41:07 -0500 Original-Received: from debbugs.gnu.org ([140.186.70.43]:60937) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1YA023-0004K7-Mk for bug-gnu-emacs@gnu.org; Sat, 10 Jan 2015 12:41:03 -0500 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.80) (envelope-from ) id 1YA023-000432-7O for bug-gnu-emacs@gnu.org; Sat, 10 Jan 2015 12:41:03 -0500 X-Loop: help-debbugs@gnu.org Resent-From: Heinz Rommerskirchen Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Sat, 10 Jan 2015 17:41:03 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: report 19558 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.142091164815513 (code B ref -1); Sat, 10 Jan 2015 17:41:03 +0000 Original-Received: (at submit) by debbugs.gnu.org; 10 Jan 2015 17:40:48 +0000 Original-Received: from localhost ([127.0.0.1]:42070 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.80) (envelope-from ) id 1YA01n-000427-Av for submit@debbugs.gnu.org; Sat, 10 Jan 2015 12:40:48 -0500 Original-Received: from eggs.gnu.org ([208.118.235.92]:53759) by debbugs.gnu.org with esmtp (Exim 4.80) (envelope-from ) id 1Y9wd4-0003BD-EG for submit@debbugs.gnu.org; Sat, 10 Jan 2015 09:03:03 -0500 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1Y9wd2-0005ZV-O9 for submit@debbugs.gnu.org; Sat, 10 Jan 2015 09:03:02 -0500 Original-Received: from lists.gnu.org ([2001:4830:134:3::11]:53758) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Y9wd2-0005ZR-Kk for submit@debbugs.gnu.org; Sat, 10 Jan 2015 09:03:00 -0500 Original-Received: from eggs.gnu.org ([2001:4830:134:3::10]:55474) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Y9wd1-00037x-B7 for bug-gnu-emacs@gnu.org; Sat, 10 Jan 2015 09:03:00 -0500 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1Y9wcy-0005Yr-2a for bug-gnu-emacs@gnu.org; Sat, 10 Jan 2015 09:02:59 -0500 Original-Received: from smtprelay06.ispgateway.de ([80.67.31.96]:50176) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Y9wcx-0005YI-P7 for bug-gnu-emacs@gnu.org; Sat, 10 Jan 2015 09:02:56 -0500 Original-Received: from [93.134.227.33] (helo=[172.16.0.60]) by smtprelay06.ispgateway.de with esmtpsa (TLSv1.2:DHE-RSA-AES128-SHA:128) (Exim 4.84) (envelope-from ) id 1Y9wcv-0007s9-3K for bug-gnu-emacs@gnu.org; Sat, 10 Jan 2015 15:02:53 +0100 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:31.0) Gecko/20100101 Thunderbird/31.3.0 X-Df-Sender: aGVpbnpAaC1yb21tZXJza2lyY2hlbi5kZQ== X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.6.x X-detected-operating-system: by eggs.gnu.org: Error: Malformed IPv6 address (bad octet value). X-Mailman-Approved-At: Sat, 10 Jan 2015 12:40:46 -0500 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:98189 Archived-At: When using hunspell ispell cannot check German texts. To recreate the problem create a file containing only the one line > zwanzigjährigen Arbeitszeit bei der Motorenfabrik Jank gebracht. (This is a valid fragment of German, but 'Jank' is a proper name unknown to hunspell). I have used both latin-0 and utf8 encoding with no visible difference. $ emacs -Q in *scratch buffer execute (setq ispell-program-name "hunspell") open the file and type M-x ispell. I got the error message ispell-process-line: Ispell misalignment: word `Jank' point 52; probably incompatible versions If you delete the first word in the file, ispell works fine and flags the unknown 'Jank'. hunspell on the command line has no problems with this files. I was also able to use hunspell by adding the following to my start files (add-to-list 'ispell-local-dictionary-alist '("deutsch" "[[:alpha:]]" "[^[:alpha:]]" "[']" t ("-d" "de_DE") nil iso-8859-1)) 'hunspell --version' gives > $ hunspell --version > @(#) International Ispell Version 3.2.06 (but really Hunspell 1.3.2) > > > Copyright (C) 2002-2008 László Németh. License: MPL/GPL/LGPL. > > Based on OpenOffice.org's Myspell library. > Myspell's copyright (C) Kevin Hendricks, 2001-2002, License: BSD. > > This is free software; see the source for copying conditions. There is NO > warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE, > to the extent permitted by law. and 'hunspell -D' gives > SEARCH PATH: > .::/usr/share/hunspell:/usr/share/myspell:/usr/share/myspell/dicts:/Library/Spelling:/home/hz/.openoffice.org/3/user/wordbook:.openoffice.org2/user/wordbook:.openoffice.org2.0/user/wordbook:Library/Spelling:/opt/openoffice.org/basis3.0/share/dict/ooo:/usr/lib/openoffice.org/basis3.0/share/dict/ooo:/opt/openoffice.org2.4/share/dict/ooo:/usr/lib/openoffice.org2.4/share/dict/ooo:/opt/openoffice.org2.3/share/dict/ooo:/usr/lib/openoffice.org2.3/share/dict/ooo:/opt/openoffice.org2.2/share/dict/ooo:/usr/lib/openoffice.org2.2/share/dict/ooo:/opt/openoffice.org2.1/share/dict/ooo:/usr/lib/openoffice.org2.1/share/dict/ooo:/opt/openoffice.org2.0/share/dict/ooo:/usr/lib/openoffice.org2.0/share/dict/ooo > AVAILABLE DICTIONARIES (path is not mandatory for -d option): > /usr/share/myspell/en_US > /usr/share/myspell/de_DE > LOADED DICTIONARY: > /usr/share/myspell/de_DE.aff > /usr/share/myspell/de_DE.dic > Hunspell 1.3.2 In GNU Emacs 24.4.1 (x86_64-suse-linux-gnu, GTK+ Version 3.6.4) of 2014-10-29 on cloud103 Windowing system distributor `The X.Org Foundation', version 11.0.11302000 System Description: openSUSE 12.3 (x86_64) Configured using: `configure --with-pop --without-hesiod --with-kerberos --with-kerberos5 --with-xim --with-wide-int --with-file-notification=inotify --enable-autodepend --enable-locallisppath=/usr/share/emacs/24.4/site-lisp:/usr/share/emacs/site-lisp --prefix=/usr --mandir=/usr/share/man --infodir=/usr/share/info --datadir=/usr/share --localstatedir=/var --sharedstatedir=/var/lib --libexecdir=/usr/lib --with-x --with-sound --with-xpm --with-jpeg --with-tiff --with-gif --with-png --with-rsvg --with-dbus --without-gpm --with-x-toolkit=gtk3 --x-includes=/usr/include --x-libraries=/usr/lib64 --with-xft --with-libotf --with-m17n-flt --build=x86_64-suse-linux 'CFLAGS=-fmessage-length=0 -O2 -Wall -D_FORTIFY_SOURCE=2 -fstack-protector -funwind-tables -fasynchronous-unwind-tables -g -D_GNU_SOURCE -pipe -Wno-pointer-sign -Wno-unused-variable -Wno-unused-label -Wno-unprototyped-calls -fno-optimize-sibling-calls -DSYSTEM_PURESIZE_EXTRA=55000 -DSITELOAD_PURESIZE_EXTRA=10000 ' 'LDFLAGS=-Wl,-O2 -Wl,--hash-size=65521'' Important settings: value of $LC_COLLATE: C value of $LC_NUMERIC: POSIX value of $LANG: de_DE.UTF-8 value of $XMODIFIERS: @im=local locale-coding-system: utf-8-unix Major mode: Text 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: C-S-j C-x C-f t m p . t x t M-x i s p e l l Recent messages: For information about GNU Emacs and the GNU system, type C-h C-a. Mark set Starting new Ispell process hunspell with default dictionary... Spell-checking tmp.txt using hunspell with default dictionary...done ispell-process-line: Ispell misalignment: word `Jank' point 52; probably incompatible versions 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 time-date delsel lpr tooltip electric uniquify ediff-hook vc-hooks lisp-float-type mwheel x-win x-dnd 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 dbusbind inotify dynamic-setting system-font-setting font-render-setting move-toolbar gtk x-toolkit x multi-tty emacs) Memory information: ((conses 16 74299 8240) (symbols 48 18008 0) (miscs 40 43 163) (strings 32 10328 4490) (string-bytes 1 283385) (vectors 16 9133) (vector-slots 8 387069 15398) (floats 8 63 290) (intervals 56 250 0) (buffers 960 12) (heap 1024 18487 970)) -- Dr. Heinrich Rommerskirchen Prof.-Schmid-Str. 41 82140 Olching Tel. 08142 28787 Email heinz@h-rommerskirchen.de