* ispell/aspell misalignment @ 2002-10-28 17:16 Per Starback 2002-10-29 6:05 ` Eli Zaretskii 0 siblings, 1 reply; 6+ messages in thread From: Per Starback @ 2002-10-28 17:16 UTC (permalink / raw) In GNU Emacs 21.2.1 (i386-redhat-linux-gnu, X toolkit, Xaw3d scroll bars) of 2002-09-18 on tempus configured using `configure i386-redhat-linux --prefix=/usr --exec-prefix=/usr --bindir=/usr/bin --sbindir=/usr/sbin --sysconfdir=/etc --datadir=/usr/share --includedir=/usr/include --libdir=/usr/lib --libexecdir=/usr/libexec --localstatedir=/var --sharedstatedir=/usr/com --mandir=/usr/share/man --infodir=/usr/share/info --with-gcc --with-pop --with-sound' Important settings: value of $LC_ALL: nil value of $LC_COLLATE: nil value of $LC_CTYPE: sv_SE.ISO8859-1 value of $LC_MESSAGES: nil value of $LC_MONETARY: nil value of $LC_NUMERIC: nil value of $LC_TIME: nil value of $LANG: en_US.iso885915 locale-coding-system: iso-latin-1 default-enable-multibyte-characters: t Please describe exactly what actions triggered the bug and the precise symptoms of the bug: 1. emacs -q ispell-bug.tex & where ispell-bug.tex contains the following: ======8<==========8<============8<===================== \documentclass{report} \begin{document} grux an orange \ref{one-dictionary} \end{document} ======8<==========8<============8<===================== 2. M-x ispell-buffer RET 3. SPC (to leave "grux" unchanged) Message: Spell-checking done 4. M-x ispell-buffer RET 5. SPC (to again leave "grux" unchanged) This yields an error: ispell-process-line: Ispell misalignment: word `sgml' point 86; probably incompatible versions $ /usr/bin/ispell --version Ispell compatibility script for Aspell. Usage: /usr/bin/ispell [options] -a|-l|-v[v]|<file> This is from aspell-0.33.7.1-9 on Red Hat. If I add 1.5 M-: (setq ispell-program-name "aspell") RET I still get the same error. $ aspell --version @(#) International Ispell Version 3.1.20 (but really Aspell .33.7.1 alpha) (I haven't tried with a real ispell.) I expected it to just work without any errors, at least when I told it to use aspell. ^ permalink raw reply [flat|nested] 6+ messages in thread
* Re: ispell/aspell misalignment 2002-10-28 17:16 ispell/aspell misalignment Per Starback @ 2002-10-29 6:05 ` Eli Zaretskii 2002-10-29 23:18 ` Glenn Morris 0 siblings, 1 reply; 6+ messages in thread From: Eli Zaretskii @ 2002-10-29 6:05 UTC (permalink / raw) Cc: bug-gnu-emacs On Mon, 28 Oct 2002, Per Starback wrote: > ispell-process-line: Ispell misalignment: word `sgml' point 86; probably incompatible versions > > $ /usr/bin/ispell --version > Ispell compatibility script for Aspell. > Usage: /usr/bin/ispell [options] -a|-l|-v[v]|<file> > > This is from aspell-0.33.7.1-9 on Red Hat. If I add > > 1.5 M-: (setq ispell-program-name "aspell") RET > > I still get the same error. > > $ aspell --version > @(#) International Ispell Version 3.1.20 (but really Aspell .33.7.1 alpha) > > (I haven't tried with a real ispell.) Please do try this with a real Ispell (and please use the latest Ispell 3.2.06). If that works, then I think it's really an aspell bug, not an Emacs bug. ^ permalink raw reply [flat|nested] 6+ messages in thread
* Re: ispell/aspell misalignment 2002-10-29 6:05 ` Eli Zaretskii @ 2002-10-29 23:18 ` Glenn Morris 2002-10-31 17:25 ` Richard Stallman 0 siblings, 1 reply; 6+ messages in thread From: Glenn Morris @ 2002-10-29 23:18 UTC (permalink / raw) Cc: Per Starback, bug-gnu-emacs Eli Zaretskii wrote: > Please do try this with a real Ispell (and please use the latest Ispell > 3.2.06). If that works, then I think it's really an aspell bug, not an > Emacs bug. I have also been annoyed by the "misalignment" error a few times, so I was interested to see this advice. It surprised me a little, though, because aspell doesn't give any error when run from the command line, so I always thought it must be an Emacs bug. Anyway, just for the record, while I get the same error with aspell .33.7.1 alpha, the latest version of aspell, namely 0.50.2, works fine. Ispell 3.2.06 also works fine. ^ permalink raw reply [flat|nested] 6+ messages in thread
* Re: ispell/aspell misalignment 2002-10-29 23:18 ` Glenn Morris @ 2002-10-31 17:25 ` Richard Stallman 2002-10-31 19:04 ` Glenn Morris 0 siblings, 1 reply; 6+ messages in thread From: Richard Stallman @ 2002-10-31 17:25 UTC (permalink / raw) Cc: eliz, starback, bug-gnu-emacs Anyway, just for the record, while I get the same error with aspell .33.7.1 alpha, the latest version of aspell, namely 0.50.2, works fine. In that case, all we need to do is document it in etc/PROBLEMS. Would someone like to write an entry? ^ permalink raw reply [flat|nested] 6+ messages in thread
* Re: ispell/aspell misalignment 2002-10-31 17:25 ` Richard Stallman @ 2002-10-31 19:04 ` Glenn Morris 2002-11-02 3:31 ` Richard Stallman 0 siblings, 1 reply; 6+ messages in thread From: Glenn Morris @ 2002-10-31 19:04 UTC (permalink / raw) Cc: eliz, starback, bug-gnu-emacs Richard Stallman wrote: > Anyway, just for the record, while I get the same error with aspell > .33.7.1 alpha, the latest version of aspell, namely 0.50.2, works > fine. > > In that case, all we need to do is document it in etc/PROBLEMS. > Would someone like to write an entry? I would be happy to (PROBLEMS already suggests upgrading Ispell, but not Aspell), but, having just tried a more thorough spell-check test, I'm not so sure. Aspell 0.50.2 called via Emacs certainly performs correctly in the simple test case in the original bug report, and Aspell .33.7.1 alpha certainly fails with the misalignment error. I have just tried spell-checking a large LaTeX document from Emacs using both versions of Aspell. The new version does not seem to spell-check the whole document: if I add a deliberate mistake near the end and run `ispell-buffer', the error is not found. No errors from Emacs, just a "Spell-checking done" message. The spell check seems to finish too quickly for the whole document to have been checked. If I use `ispell-region' on a small region around the error, or use the old Aspell, the mistake is found. It's surely worse if a spell-check silently misses mistakes, rather than throwing up a "misalignment" error - at least that can be worked around (to some extent) with ispell-region. So I don't know if it's good to recommend upgrading Aspell. Maybe I haven't compiled the new Aspell version properly, or something, but in all other respects it seems OK. ^ permalink raw reply [flat|nested] 6+ messages in thread
* Re: ispell/aspell misalignment 2002-10-31 19:04 ` Glenn Morris @ 2002-11-02 3:31 ` Richard Stallman 0 siblings, 0 replies; 6+ messages in thread From: Richard Stallman @ 2002-11-02 3:31 UTC (permalink / raw) Cc: eliz, starback, bug-gnu-emacs Have you sent an Aspell bug report for the new bug? If not, would you please do that? The maintainer can't fix it if he doesn't know about it. ^ permalink raw reply [flat|nested] 6+ messages in thread
end of thread, other threads:[~2002-11-02 3:31 UTC | newest] Thread overview: 6+ messages (download: mbox.gz follow: Atom feed -- links below jump to the message on this page -- 2002-10-28 17:16 ispell/aspell misalignment Per Starback 2002-10-29 6:05 ` Eli Zaretskii 2002-10-29 23:18 ` Glenn Morris 2002-10-31 17:25 ` Richard Stallman 2002-10-31 19:04 ` Glenn Morris 2002-11-02 3:31 ` Richard Stallman
Code repositories for project(s) associated with this public inbox https://git.savannah.gnu.org/cgit/emacs.git This is a public inbox, see mirroring instructions for how to clone and mirror all data and code used for this inbox; as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).