[Bug 1110387] New: ispell-process-line: Ispell misalignment: ... probably incompatible versions
http://bugzilla.opensuse.org/show_bug.cgi?id=1110387 Bug ID: 1110387 Summary: ispell-process-line: Ispell misalignment: ... probably incompatible versions Classification: openSUSE Product: openSUSE Distribution Version: Leap 42.3 Hardware: x86-64 OS: openSUSE 42.3 Status: NEW Severity: Normal Priority: P5 - None Component: Other Assignee: bnc-team-screening@forge.provo.novell.com Reporter: Ulrich.Windl@rz.uni-regensburg.de QA Contact: qa-bugs@suse.de Found By: --- Blocker: --- Created attachment 784841 --> http://bugzilla.opensuse.org/attachment.cgi?id=784841&action=edit Very simple, stupid LaTeX example that reproduces the error When trying to spell-check a LaTeX document with German umlauts coded in ISO-Latin (not UTF-8) in EMacs, ispell has problems with Umlauts it seems. The messages read like this: Wrote /home/windl/Dokumente/LaTeX/briefe/bug.tex (No files need saving) Ispell process killed Starting new Ispell process [/usr/bin/hunspell::default] ... Spell-checking bug.tex using hunspell with default dictionary...done ispell-process-line: Ispell misalignment: word `müßte' point 154; probably incompatible versions Steps to reproduce: Open sample file in Emacs (emacs-24.3-28.1.x86_64, hunspell-1.3.2-7.4.x86_64), then run M-x ispell-buffer -- You are receiving this mail because: You are on the CC list for the bug.
http://bugzilla.opensuse.org/show_bug.cgi?id=1110387
Ulrich Windl
http://bugzilla.opensuse.org/show_bug.cgi?id=1110387
http://bugzilla.opensuse.org/show_bug.cgi?id=1110387#c2
--- Comment #2 from Dr. Werner Fink
http://bugzilla.opensuse.org/show_bug.cgi?id=1110387
http://bugzilla.opensuse.org/show_bug.cgi?id=1110387#c3
Dr. Werner Fink
http://bugzilla.opensuse.org/show_bug.cgi?id=1110387
http://bugzilla.opensuse.org/show_bug.cgi?id=1110387#c6
--- Comment #6 from Ulrich Windl
Hi Ulrich,
I noticed that you are still on Leap 42.3, and the Emacs version is also not up-to-date. Could you please make an update and then check again?
This is the current version (after installing all updates): Name : emacs Version : 24.3 Release : 28.1 Architecture: x86_64 Install Date: Mon 18 Dec 2017 12:55:28 PM CET -- You are receiving this mail because: You are on the CC list for the bug.
http://bugzilla.opensuse.org/show_bug.cgi?id=1110387
http://bugzilla.opensuse.org/show_bug.cgi?id=1110387#c7
Ulrich Windl
I get for Tumbleweed and 15.0:
$ echo $LC_CTYPE en_US.UTF-8 $ file bug.tex bug.tex: LaTeX 2e document, ISO-8859 text $ hunspell -l -i ISO-8859-1 -d de_DE bug.tex müßte $
echo $LC_TYPE
file /tmp/bug.tex /tmp/bug.tex: LaTeX 2e document, ISO-8859 text hunspell -l -i ISO-8859-1 -d de_DE bug.tex Can't open affix or dictionary files for dictionary named "de_DE".
Looking for dictionaries, I see ispell-dictionaries, myspell-dictionaries, and aspell-dictionaries. Which is the dictionary to be installed? -- You are receiving this mail because: You are on the CC list for the bug.
http://bugzilla.opensuse.org/show_bug.cgi?id=1110387
http://bugzilla.opensuse.org/show_bug.cgi?id=1110387#c9
--- Comment #9 from Ulrich Windl
http://bugzilla.opensuse.org/show_bug.cgi?id=1110387
http://bugzilla.opensuse.org/show_bug.cgi?id=1110387#c11
--- Comment #11 from Ulrich Windl
Just read comment #5 and then do what I've done ... or remove all ispell packages and restart GNU Emacs
I don't quite understand: There are no ispell packages installed (just some myspell packages), and how are your Emacs settings different? -- You are receiving this mail because: You are on the CC list for the bug.
http://bugzilla.opensuse.org/show_bug.cgi?id=1110387
http://bugzilla.opensuse.org/show_bug.cgi?id=1110387#c13
--- Comment #13 from Ulrich Windl
Tools -> Spell Checking -> Change Dictionary
and you get in minibuffer
Use new dictionary (RET for current, SPC to complete):
type in
de_DE<ENTER>
I cannot select de_DE, because the only completions (startuing with "d") are: dansk default deutsch deutsch8
you might also use Customize
Beside this does there a file "/usr/lib/ispell/ispell-emacs-menu.el" exist?
No such file. -- You are receiving this mail because: You are on the CC list for the bug.
http://bugzilla.opensuse.org/show_bug.cgi?id=1110387
http://bugzilla.opensuse.org/show_bug.cgi?id=1110387#c15
--- Comment #15 from Ulrich Windl
Please write
de_DE
that's it.
No: If I try to enter it, I just get " [no match]" (which is not surprising presenting the completion list in comment 13). When adding it the hard way (via Customize), the messages created are: Starting new Ispell process [/usr/bin/hunspell::de_DE] ... Spell-checking bug.tex using hunspell with de_DE dictionary...done ispell-get-decoded-string: No data for dictionary "de_DE", neither in `ispell-local-dictionary-alist' nor in `ispell-dictionary-alist' -- You are receiving this mail because: You are on the CC list for the bug.
http://bugzilla.opensuse.org/show_bug.cgi?id=1110387
http://bugzilla.opensuse.org/show_bug.cgi?id=1110387#c18
--- Comment #18 from Ulrich Windl
(ispell-find-hunspell-dictionaries)
I just get: "eval: Symbol's function definition is void: ispell-find-hunspell-dictionaries" -- You are receiving this mail because: You are on the CC list for the bug.
http://bugzilla.opensuse.org/show_bug.cgi?id=1110387
http://bugzilla.opensuse.org/show_bug.cgi?id=1110387#c19
--- Comment #19 from Dr. Werner Fink
http://bugzilla.opensuse.org/show_bug.cgi?id=1110387
http://bugzilla.opensuse.org/show_bug.cgi?id=1110387#c20
--- Comment #20 from Ulrich Windl
http://bugzilla.opensuse.org/show_bug.cgi?id=1110387
http://bugzilla.opensuse.org/show_bug.cgi?id=1110387#c21
--- Comment #21 from Dr. Werner Fink
(In reply to Dr. Werner Fink from comment #19) The mystery continues; maybe it would help if you could actually try with Leap 42.3: (load-library "ispell") was successful, but the function ispell-find-hunspell-dictionaries is still unknown. The function most similar to that would be ispell-find-aspell-dictionaries, but when executes it says "ispell-find-aspell-dictionaries: This function only works with aspell >= 0.60"
(evaluating your elisp code made no difference)
Use Leap 15 ... GNU Emacs from Leap 42.3 does not know about hunspell and I'll not fix this -- You are receiving this mail because: You are on the CC list for the bug.
http://bugzilla.opensuse.org/show_bug.cgi?id=1110387
http://bugzilla.opensuse.org/show_bug.cgi?id=1110387#c22
--- Comment #22 from Ulrich Windl
Use Leap 15 ... GNU Emacs from Leap 42.3 does not know about hunspell and I'll not fix this
Wonderful (ironic)! Wasn't the support for Leap 42.3 extended (until 31.06.2019), because Leap 15 has so many new issues? -- You are receiving this mail because: You are on the CC list for the bug.
http://bugzilla.opensuse.org/show_bug.cgi?id=1110387
http://bugzilla.opensuse.org/show_bug.cgi?id=1110387#c25
--- Comment #25 from Dr. Werner Fink
(In reply to Dr. Werner Fink from comment #21)
Use Leap 15 ... GNU Emacs from Leap 42.3 does not know about hunspell and I'll not fix this
Wonderful (ironic)! Wasn't the support for Leap 42.3 extended (until 31.06.2019), because Leap 15 has so many new issues?
Bug and security fixes yes ... new features no (IMHO) ... the question is if the new ispell.el would compile below old GNU Emacs You could use aspell and/or ispell -- You are receiving this mail because: You are on the CC list for the bug.
http://bugzilla.opensuse.org/show_bug.cgi?id=1110387
http://bugzilla.opensuse.org/show_bug.cgi?id=1110387#c26
--- Comment #26 from Dr. Werner Fink
http://bugzilla.opensuse.org/show_bug.cgi?id=1110387
http://bugzilla.opensuse.org/show_bug.cgi?id=1110387#c28
Dr. Werner Fink
participants (1)
-
bugzilla_noreply@novell.com