From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!.POSTED!not-for-mail From: Eli Zaretskii Newsgroups: gmane.emacs.bugs Subject: bug#25766: aspell problem in LaTeX mode Date: Fri, 17 Feb 2017 18:37:42 +0200 Message-ID: <83tw7srcx5.fsf@gnu.org> References: <8360k9xp0v.fsf@gnu.org> <83y3x5w1zy.fsf@gnu.org> <83wpcpvtbk.fsf@gnu.org> Reply-To: Eli Zaretskii NNTP-Posting-Host: blaine.gmane.org X-Trace: blaine.gmane.org 1487349497 6472 195.159.176.226 (17 Feb 2017 16:38:17 GMT) X-Complaints-To: usenet@blaine.gmane.org NNTP-Posting-Date: Fri, 17 Feb 2017 16:38:17 +0000 (UTC) Cc: 25766@debbugs.gnu.org To: Bob Alice Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Fri Feb 17 17:38:09 2017 Return-path: Envelope-to: geb-bug-gnu-emacs@m.gmane.org Original-Received: from lists.gnu.org ([208.118.235.17]) by blaine.gmane.org with esmtp (Exim 4.84_2) (envelope-from ) id 1celXs-00010R-RY for geb-bug-gnu-emacs@m.gmane.org; Fri, 17 Feb 2017 17:38:08 +0100 Original-Received: from localhost ([::1]:54629 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1celXy-0005Ms-LU for geb-bug-gnu-emacs@m.gmane.org; Fri, 17 Feb 2017 11:38:14 -0500 Original-Received: from eggs.gnu.org ([2001:4830:134:3::10]:56878) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1celXp-0005LQ-N5 for bug-gnu-emacs@gnu.org; Fri, 17 Feb 2017 11:38:06 -0500 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1celXm-0003MR-L9 for bug-gnu-emacs@gnu.org; Fri, 17 Feb 2017 11:38:05 -0500 Original-Received: from debbugs.gnu.org ([208.118.235.43]:45554) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1celXm-0003M7-HU for bug-gnu-emacs@gnu.org; Fri, 17 Feb 2017 11:38:02 -0500 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1celXm-0005ej-Bv for bug-gnu-emacs@gnu.org; Fri, 17 Feb 2017 11:38:02 -0500 X-Loop: help-debbugs@gnu.org Resent-From: Eli Zaretskii Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Fri, 17 Feb 2017 16:38:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 25766 X-GNU-PR-Package: emacs X-GNU-PR-Keywords: Original-Received: via spool by 25766-submit@debbugs.gnu.org id=B25766.148734944721701 (code B ref 25766); Fri, 17 Feb 2017 16:38:02 +0000 Original-Received: (at 25766) by debbugs.gnu.org; 17 Feb 2017 16:37:27 +0000 Original-Received: from localhost ([127.0.0.1]:43753 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1celXC-0005dx-ND for submit@debbugs.gnu.org; Fri, 17 Feb 2017 11:37:26 -0500 Original-Received: from eggs.gnu.org ([208.118.235.92]:37167) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1celX9-0005dg-Mp for 25766@debbugs.gnu.org; Fri, 17 Feb 2017 11:37:24 -0500 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1celX1-0002ZI-F5 for 25766@debbugs.gnu.org; Fri, 17 Feb 2017 11:37:18 -0500 Original-Received: from fencepost.gnu.org ([2001:4830:134:3::e]:56536) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1celX1-0002ZC-CB; Fri, 17 Feb 2017 11:37:15 -0500 Original-Received: from 84.94.185.246.cable.012.net.il ([84.94.185.246]:3979 helo=home-c4e4a596f7) by fencepost.gnu.org with esmtpsa (TLS1.2:RSA_AES_256_CBC_SHA1:256) (Exim 4.82) (envelope-from ) id 1celX0-0005KV-MY; Fri, 17 Feb 2017 11:37:15 -0500 In-reply-to: (message from Bob Alice on Fri, 17 Feb 2017 16:21:11 +0000) X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.2.x-3.x [generic] X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.2.x-3.x [generic] X-Received-From: 208.118.235.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" Xref: news.gmane.org gmane.emacs.bugs:129453 Archived-At: > From: Bob Alice > Date: Fri, 17 Feb 2017 16:21:11 +0000 > Cc: 25766@debbugs.gnu.org > > Note: I removed \autoref{alice}. It wasn't necessary. New file is: > > \caption{5\% \label{_fred}} > envolope > > Debugger gives: > ispell-region: string pos (29->37), eol: 37, [in-comment]: [nil], [add-comment]: [nil], [string]: [^envolope > > Running: > /usr/bin/aspell -a -m -d en --encoding=utf-8 > > Inputting: > ^envolope > > Output: > & envolope 7 1: envelope, enveloper, envelop, enveloped, envelopes, envelops, envelope's > > This output looks sensible, but the spelling options do not appear in the emacs buffer. Strange. I guess the next step is to look at what Emacs receives from aspell. I think if you display the value of ispell-filter in ispell-process-line, it will show that. Here's the relevant part of ispell-process-line: ;; send string to spell process and get input. (ispell-send-string string) (while (progn (ispell-accept-output) ;; Last item of output contains a blank line. <<<<<<<<<<<< (not (string= "" (car ispell-filter))))) Insert (message "%s" ispell-filter) before the marked line, then load ispell.el manually, and repeat the experiment. The results should be in the *Messages* buffer. Maybe if we see what Emacs gets back from aspell, we will see the light. Thanks.