GNU bug report logs - #55192
13.1.3; aspell does not work in AUCTeX buffer

Previous Next

Package: auctex;

Reported by: Uwe Siart <uwe.siart <at> tum.de>

Date: Sat, 30 Apr 2022 06:49:02 UTC

Severity: normal

Tags: notabug

Found in version 13.1.3

Done: Arash Esbati <arash <at> gnu.org>

Bug is archived. No further changes may be made.

To add a comment to this bug, you must first unarchive it, by sending
a message to control AT debbugs.gnu.org, with unarchive 55192 in the body.
You can then email your comments to 55192 AT debbugs.gnu.org in the normal way.

Toggle the display of automated, internal messages from the tracker.

View this report as an mbox folder, status mbox, maintainer mbox


Report forwarded to bug-auctex <at> gnu.org:
bug#55192; Package auctex. (Sat, 30 Apr 2022 06:49:02 GMT) Full text and rfc822 format available.

Acknowledgement sent to Uwe Siart <uwe.siart <at> tum.de>:
New bug report received and forwarded. Copy sent to bug-auctex <at> gnu.org. (Sat, 30 Apr 2022 06:49:02 GMT) Full text and rfc822 format available.

Message #5 received at submit <at> debbugs.gnu.org (full text, mbox):

From: Uwe Siart <uwe.siart <at> tum.de>
To: bug-auctex <at> gnu.org
Subject: 13.1.3; aspell does not work in AUCTeX buffer
Date: Sat, 30 Apr 2022 08:48:04 +0200
I'm using aspell with Emacs. When I try to do spell checking in a LaTeX
file (e.g. ispell-word) I keep getting the error message "No Ispell
process to read output from!"

I can't tell if it's an AUCTeX bug. But aspell works as expected with
.txt files in text-mode. The reported error occurs only in latex-mode.
That's why I'm reporting it here.

Any ideas what could go wrong?

Many thanks
Uwe

Emacs  : GNU Emacs 28.1 (build 2, x86_64-w64-mingw32)
 of 2022-04-21
Package: 13.1.3

current state:
==============
(setq
 AUCTeX-date "2022-04-16"
 window-system 'w32
 LaTeX-version "2e"
 TeX-style-path '("~/.emacs.d/auctex"
                  "c:/Users/siart/.emacs.d/elpa/auctex-13.1.3/style"
                  "c:/Users/siart/.emacs.d/auctex/auto"
                  "c:/Users/siart/.emacs.d/auctex/style" "auto" "style")
 TeX-auto-save t
 TeX-parse-self t
 TeX-master t
 TeX-command-list '(("TeX"
                     "%(PDF)%(tex) %(file-line-error) %`%(extraopts) %S%(PDFout)%(mode)%' %(output-dir) %t"
                     TeX-run-TeX nil (plain-tex-mode texinfo-mode ams-tex-mode)
                     :help "Run plain TeX")
                    ("LaTeX" "%`%l%(mode)%' %T" TeX-run-TeX nil
                     (latex-mode doctex-mode) :help "Run LaTeX")
                    ("Makeinfo" "makeinfo %(extraopts) %(o-dir) %t" TeX-run-compile
                     nil (texinfo-mode) :help "Run Makeinfo with Info output")
                    ("Makeinfo HTML" "makeinfo %(extraopts) %(o-dir) --html %t"
                     TeX-run-compile nil (texinfo-mode) :help
                     "Run Makeinfo with HTML output")
                    ("AmSTeX"
                     "amstex %(PDFout) %`%(extraopts) %S%(mode)%' %(output-dir) %t"
                     TeX-run-TeX nil (ams-tex-mode) :help "Run AMSTeX")
                    ("ConTeXt"
                     "%(cntxcom) --once --texutil %(extraopts) %(execopts)%t"
                     TeX-run-TeX nil (context-mode) :help "Run ConTeXt once")
                    ("ConTeXt Full" "%(cntxcom) %(extraopts) %(execopts)%t"
                     TeX-run-TeX nil (context-mode) :help
                     "Run ConTeXt until completion")
                    ("BibTeX" "bibtex %(O?aux)" TeX-run-BibTeX nil
                     (plain-tex-mode latex-mode doctex-mode context-mode
                      texinfo-mode ams-tex-mode)
                     :help "Run BibTeX")
                    ("Biber" "biber %s %(output-dir)" TeX-run-Biber nil
                     (plain-tex-mode latex-mode doctex-mode texinfo-mode
                      ams-tex-mode)
                     :help "Run Biber")
                    ("View" "%V" TeX-run-discard-or-function t t :help "Run Viewer")
                    ("Print" "%p" TeX-run-command t t :help "Print the file")
                    ("Queue" "%q" TeX-run-background nil t :help
                     "View the printer queue" :visible TeX-queue-command)
                    ("File" "%(o?)dvips %d -landscaperotate -Ppdf -j0 -o %f "
                     TeX-run-dvips t
                     (plain-tex-mode latex-mode doctex-mode texinfo-mode
                      ams-tex-mode)
                     :help "Generate PostScript file")
                    ("Dvips" "%(o?)dvips %d -landscaperotate -Ppdf -j0 -o %f "
                     TeX-run-dvips nil
                     (plain-tex-mode latex-mode doctex-mode texinfo-mode
                      ams-tex-mode)
                     :help "Convert DVI file to PostScript")
                    ("Dvipdfmx" "dvipdfmx %d -o %(O?pdf)" TeX-run-dvipdfmx nil
                     (plain-tex-mode latex-mode doctex-mode texinfo-mode
                      ams-tex-mode)
                     :help "Convert DVI file to PDF with dvipdfmx")
                    ("Ps2pdf" "ps2pdf -dALLOWPSTRANSPARENCY %f %(O?pdf)"
                     TeX-run-ps2pdf nil
                     (plain-tex-mode latex-mode doctex-mode texinfo-mode
                      ams-tex-mode)
                     :help "Convert PostScript file to PDF")
                    ("Glossaries" "makeglossaries %(O?aux)" TeX-run-command nil
                     (plain-tex-mode latex-mode doctex-mode texinfo-mode
                      ams-tex-mode)
                     :help "Run makeglossaries to create glossary\n     file")
                    ("Index" "makeindex %(O?idx)" TeX-run-index nil
                     (plain-tex-mode latex-mode doctex-mode texinfo-mode
                      ams-tex-mode)
                     :help "Run makeindex to create index file")
                    ("upMendex" "upmendex %(O?idx)" TeX-run-index t
                     (plain-tex-mode latex-mode doctex-mode texinfo-mode
                      ams-tex-mode)
                     :help "Run upmendex to create index file")
                    ("Xindy" "texindy %s" TeX-run-command nil
                     (plain-tex-mode latex-mode doctex-mode texinfo-mode
                      ams-tex-mode)
                     :help "Run xindy to create index file")
                    ("Check" "lacheck %s" TeX-run-compile nil (latex-mode) :help
                     "Check LaTeX file for correctness")
                    ("ChkTeX" "chktex -v6 %s" TeX-run-compile nil (latex-mode) :help
                     "Check LaTeX file for common mistakes")
                    ("Spell" "(TeX-ispell-document \"\")" TeX-run-function nil t
                     :help "Spell-check the document")
                    ("Clean" "TeX-clean" TeX-run-function nil t :help
                     "Delete generated intermediate files")
                    ("Clean All" "(TeX-clean t)" TeX-run-function nil t :help
                     "Delete generated intermediate and output files")
                    ("Other" "" TeX-run-command t t :help "Run an arbitrary command")
                    )
 )

-- 
Dr.-Ing. Uwe Siart
Technical University of Munich
TUM School of Computation, Information and Technology
Chair of High-Frequency Engineering
Arcisstraße 21
80333 Munich, Germany




Information forwarded to bug-auctex <at> gnu.org:
bug#55192; Package auctex. (Sun, 01 May 2022 05:08:01 GMT) Full text and rfc822 format available.

Message #8 received at 55192 <at> debbugs.gnu.org (full text, mbox):

From: Ikumi Keita <ikumi <at> ikumi.que.jp>
To: Uwe Siart <uwe.siart <at> tum.de>
Cc: 55192 <at> debbugs.gnu.org
Subject: Re: bug#55192: 13.1.3; aspell does not work in AUCTeX buffer
Date: Sun, 01 May 2022 14:07:48 +0900
Hi Uwe,

>>>>> Uwe Siart <uwe.siart <at> tum.de> writes:
> I'm using aspell with Emacs. When I try to do spell checking in a LaTeX
> file (e.g. ispell-word) I keep getting the error message "No Ispell
> process to read output from!"

> I can't tell if it's an AUCTeX bug. But aspell works as expected with
> .txt files in text-mode. The reported error occurs only in latex-mode.
> That's why I'm reporting it here.

> Any ideas what could go wrong?

A similar issue was reported last August[1], but it didn't get resolved.

There were reports of another type that aspell crashes (or freezes) on
TeX buffer[2][3].

All these issues are on windows, so I guess something is broken in the
implementation of "tex mode" of ispell which only appears on windows. In
the thread [3], Brian told me that
> It seems to work if line 4084 of ispell.el is commented:
>       ;;     (ispell-send-string "+\n")    ; set ispell mode to tex
... oh I realized now that he sent this message as private reply, not as
group reply, so this information wasn't recorded in the archive...

Regards,
Ikumi Keita
#StandWithUkraine #StopWarInUkraine

[1] https://lists.gnu.org/r/auctex/2021-08/msg00004.html
[2] https://debbugs.gnu.org/cgi/bugreport.cgi?bug=20755
[3] https://lists.gnu.org/r/auctex/2021-03/msg00011.html




Information forwarded to bug-auctex <at> gnu.org:
bug#55192; Package auctex. (Sun, 01 May 2022 06:24:01 GMT) Full text and rfc822 format available.

Message #11 received at 55192 <at> debbugs.gnu.org (full text, mbox):

From: "Uwe Siart" <uwe.siart <at> tum.de>
To: Ikumi Keita <ikumi <at> ikumi.que.jp>,
              <55192 <at> debbugs.gnu.org>
Subject: Re: bug#55192: 13.1.3; aspell does not work in AUCTeX buffer
Date: Sun, 01 May 2022 08:23:28 +0200
Hi Ikumi,

On 1 May 2022 at 14:07, Ikumi Keita wrote:

> All these issues are on windows, so I guess something is broken in the
> implementation of "tex mode" of ispell which only appears on windows. In
> the thread [3], Brian told me that
> > It seems to work if line 4084 of ispell.el is commented:
> >       ;;     (ispell-send-string "+\n")    ; set ispell mode to tex
> ... oh I realized now that he sent this message as private reply, not as
> group reply, so this information wasn't recorded in the archive...

I can confirm that commenting this line in ispell.el also helps in my
case. Meanwhile (in the Emacs 28.1 release) it's line 4056.

Best regards,
Uwe





Information forwarded to bug-auctex <at> gnu.org:
bug#55192; Package auctex. (Sun, 01 May 2022 10:27:02 GMT) Full text and rfc822 format available.

Message #14 received at 55192 <at> debbugs.gnu.org (full text, mbox):

From: Arash Esbati <arash <at> gnu.org>
To: "Uwe Siart" <uwe.siart <at> tum.de>
Cc: Ikumi Keita <ikumi <at> ikumi.que.jp>, 55192 <at> debbugs.gnu.org
Subject: Re: bug#55192: 13.1.3; aspell does not work in AUCTeX buffer
Date: Sun, 01 May 2022 12:25:52 +0200
Hi Uwe,

"Uwe Siart" <uwe.siart <at> tum.de> writes:

> On 1 May 2022 at 14:07, Ikumi Keita wrote:
>
>> All these issues are on windows, so I guess something is broken in the
>> implementation of "tex mode" of ispell which only appears on windows. In
>> the thread [3], Brian told me that
>> > It seems to work if line 4084 of ispell.el is commented:
>> >       ;;     (ispell-send-string "+\n")    ; set ispell mode to tex
>> ... oh I realized now that he sent this message as private reply, not as
>> group reply, so this information wasn't recorded in the archive...
>
> I can confirm that commenting this line in ispell.el also helps in my 
> case. Meanwhile (in the Emacs 28.1 release) it's line 4056.

IIUC the only place where the error can occur is in the function
`ispell-accept-output'.  Maybe you can Edebug the function, trigger the
issue and see what's going wrong.  The question is if this an ispell.el
issue, then we can assign your report to Emacs, otherwise maybe to
aspell itself.

Best, Arash




Added tag(s) notabug. Request was from Arash Esbati <arash <at> gnu.org> to control <at> debbugs.gnu.org. (Mon, 04 Mar 2024 22:09:01 GMT) Full text and rfc822 format available.

bug closed, send any further explanations to 55192 <at> debbugs.gnu.org and Uwe Siart <uwe.siart <at> tum.de> Request was from Arash Esbati <arash <at> gnu.org> to control <at> debbugs.gnu.org. (Mon, 04 Mar 2024 22:09:02 GMT) Full text and rfc822 format available.

bug archived. Request was from Debbugs Internal Request <help-debbugs <at> gnu.org> to internal_control <at> debbugs.gnu.org. (Tue, 02 Apr 2024 11:24:33 GMT) Full text and rfc822 format available.

This bug report was last modified 22 days ago.

Previous Next


GNU bug tracking system
Copyright (C) 1999 Darren O. Benham, 1997,2003 nCipher Corporation Ltd, 1994-97 Ian Jackson.