From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!.POSTED!not-for-mail From: Bob Alice Newsgroups: gmane.emacs.bugs Subject: bug#25766: aspell problem in LaTeX mode Date: Fri, 17 Feb 2017 16:21:11 +0000 Message-ID: References: <8360k9xp0v.fsf@gnu.org> <83y3x5w1zy.fsf@gnu.org> <83wpcpvtbk.fsf@gnu.org> NNTP-Posting-Host: blaine.gmane.org Mime-Version: 1.0 Content-Type: multipart/alternative; boundary=001a1141ce0a596ca10548bc4d97 X-Trace: blaine.gmane.org 1487348770 5925 195.159.176.226 (17 Feb 2017 16:26:10 GMT) X-Complaints-To: usenet@blaine.gmane.org NNTP-Posting-Date: Fri, 17 Feb 2017 16:26:10 +0000 (UTC) Cc: 25766@debbugs.gnu.org To: Eli Zaretskii Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Fri Feb 17 17:26:07 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 1celME-00013o-BY for geb-bug-gnu-emacs@m.gmane.org; Fri, 17 Feb 2017 17:26:06 +0100 Original-Received: from localhost ([::1]:54534 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1celMK-0001Wi-4C for geb-bug-gnu-emacs@m.gmane.org; Fri, 17 Feb 2017 11:26:12 -0500 Original-Received: from eggs.gnu.org ([2001:4830:134:3::10]:52401) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1celME-0001WD-00 for bug-gnu-emacs@gnu.org; Fri, 17 Feb 2017 11:26:07 -0500 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1celMA-00041t-SJ for bug-gnu-emacs@gnu.org; Fri, 17 Feb 2017 11:26:06 -0500 Original-Received: from debbugs.gnu.org ([208.118.235.43]:45545) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1celMA-00041p-PF for bug-gnu-emacs@gnu.org; Fri, 17 Feb 2017 11:26:02 -0500 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1celMA-0005N6-Hg for bug-gnu-emacs@gnu.org; Fri, 17 Feb 2017 11:26:02 -0500 X-Loop: help-debbugs@gnu.org Resent-From: Bob Alice Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Fri, 17 Feb 2017 16:26: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.148734870520523 (code B ref 25766); Fri, 17 Feb 2017 16:26:02 +0000 Original-Received: (at 25766) by debbugs.gnu.org; 17 Feb 2017 16:25:05 +0000 Original-Received: from localhost ([127.0.0.1]:43721 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1celLF-0005Ks-4d for submit@debbugs.gnu.org; Fri, 17 Feb 2017 11:25:05 -0500 Original-Received: from mail-qt0-f179.google.com ([209.85.216.179]:36259) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1celHa-0005Ev-0D for 25766@debbugs.gnu.org; Fri, 17 Feb 2017 11:21:18 -0500 Original-Received: by mail-qt0-f179.google.com with SMTP id k15so44365946qtg.3 for <25766@debbugs.gnu.org>; Fri, 17 Feb 2017 08:21:17 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=googlemail.com; s=20161025; h=mime-version:in-reply-to:references:from:date:message-id:subject:to :cc; bh=f4wF75PX4WvLrVL6pX3tVc/yZpgyZjVsCnFTTwWCJTQ=; b=diLniEd74p6Q2d+iJR7iaaXXsg73zeo7bcDH4wwcMaHHNo7lPTfeR0l9mtRUHK4lER ZDoOE3sSVyYaEuUMJ2B3+bRXuC3KZclc8skK4doMW/Or8mTcqbHiuQVVBd/kh/KxJ2v6 3/CeTfqGJ1caMPw+dHbMF3pWT2NSY0lMzRRJEWKbFvBm/1P6b+3VUdxt17qktYCwgKdX /xV5gDi+L20o+uQnnvk7grJMHbEz+H/9N7mvBXy++2FP4hSWg1pY+KhLo45SLouN2sNs 8wBic9NAfSP5Zfy9jmEJPCr6WrGAkIq94FKQM1z/cKJoG8nxgqfa775zrdVPdcjxEROv lpGg== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:in-reply-to:references:from:date :message-id:subject:to:cc; bh=f4wF75PX4WvLrVL6pX3tVc/yZpgyZjVsCnFTTwWCJTQ=; b=d6HVjS/sncGQ0BPk5ul3b1sxnfyx5IfVD56YHSPCZ8EyH23m9MPzp7wGlMP0DcIqDc XG4ReBgeZdga4mSXtgclwDtJLYlhQWfhEdq/M6S+pad3nWH3MUvxj3o5/asiJkKpkbfj wie4sjWwAqNx0VOkLP2qjV3l4vHZGiNp+B3A5xF8z7nK4PfvYKFmVNTok3yKr6/lgxap YvaHvMqeo/gU/Q6Esp9HKd/FHHb1BonfEqcLyBsH1NPPErPMKhVTB+KbWlmAIqhIZOiT iMtM+9Hg5NWaaJ07X4oumEZcUzA8a7YZJbLpuP5hfg/sX/0ycoWCaET6hq7dpBveutIu J1gQ== X-Gm-Message-State: AMke39nwFA6f2en4qhqV+pLOnJrASuawYGW5LTZIWd2pI8JOPH7qF7oNvt2UcSRb+X81/mWNMHPCZFF1M9Wu/w== X-Received: by 10.237.55.196 with SMTP id j62mr7763219qtb.36.1487348472295; Fri, 17 Feb 2017 08:21:12 -0800 (PST) Original-Received: by 10.12.136.49 with HTTP; Fri, 17 Feb 2017 08:21:11 -0800 (PST) In-Reply-To: <83wpcpvtbk.fsf@gnu.org> X-Mailman-Approved-At: Fri, 17 Feb 2017 11:25:03 -0500 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:129452 Archived-At: --001a1141ce0a596ca10548bc4d97 Content-Type: text/plain; charset=UTF-8 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. On 17 February 2017 at 13:29, Eli Zaretskii wrote: > > [Please keep the bug address, 25766@debbugs.gnu.org, on the CC list.] > > > From: Bob Alice > > Date: Fri, 17 Feb 2017 10:53:44 +0000 > > > > It doesn't work. I tried: > > while((1));do ps -Alf|grep aspell >>results; done > > > > but the only thing I get is: > > 0 S meuser 4839 4828 0 80 0 - 8093 - 10:42 ? 00:00:00 /usr/bin/aspell -a > -m -d en --encoding=utf-8 > > This is all we need to know, so this did work. > > > It doesn't show me what's being passed to aspell even for text where it > finds spelling errors. > > It isn't supposed to. > > Now invoke aspell from your shell prompt exactly as shown above, i.e. > > /usr/bin/aspell -a -m -d en --encoding=utf-8 > > Aspell will then wait for input from standard input. Type the string > you see in the ispell.el's debug buffer. E.g., with hunspell, when I > invoke the command ispell-buffer-with-debug on your LaTeX file, I see > this in the ispell debug buffer: > > ispell-region: string pos (29->53), eol: 53, [in-comment]: [nil], > [add-comment]: [nil], [string]: [^\autoref{alice} envolope > ] > > which tells me that the string it will pass to the speller is > "^\autoref{alice} envolope" (without the quotes). So type this string > and hit [Enter]. Then see what aspell outputs in return. > > Once again, please CC the bug address so that this discussion gets > recorded there. > > Thanks. > --001a1141ce0a596ca10548bc4d97 Content-Type: text/html; charset=UTF-8 Content-Transfer-Encoding: quoted-printable
Note: I removed \autoref{alice}. It wa= sn't necessary. New file is:

\caption{5\% \label{_fred}}
envo= lope

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=3Dutf-8

Inputting:
^envolope

Output:
& envolope 7 1: enve= lope, enveloper, envelop, enveloped, envelopes, envelops, envelope's
This output looks sensible, but the spelling options do not appe= ar in the emacs buffer.


<= div class=3D"gmail_extra">
On 17 February 201= 7 at 13:29, Eli Zaretskii <eliz@gnu.org> wrote:

[Please keep the bug address, 2576= 6@debbugs.gnu.org, on the CC list.]

> From: Bob Alice <bob= fredalice@googlemail.com>
> Date: Fri, 17 Feb 2017 10:53:44 +0000
>
> It doesn't work. I tried:
> while((1));do ps -Alf|grep aspell >>results; done
>
> but the only thing I get is:
> 0 S meuser 4839 4828 0 80 0 - 8093 - 10:42 ? 00:00:00 /usr/bin/aspell = -a -m -d en --encoding=3Dutf-8

This is all we need to know, so this did work.

> It doesn't show me what's being passed to aspell even for text= where it finds spelling errors.

It isn't supposed to.

Now invoke aspell from your shell prompt exactly as shown above, i.e.

=C2=A0 /usr/bin/aspell -a -m -d en --encoding=3Dutf-8

Aspell will then wait for input from standard input.=C2=A0 Type the string<= br> you see in the ispell.el's debug buffer.=C2=A0 E.g., with hunspell, whe= n I
invoke the command ispell-buffer-with-debug on your LaTeX file, I see
this in the ispell debug buffer:

=C2=A0 ispell-region: string pos (29->53), eol: 53, [in-comment]: [nil],= [add-comment]: [nil], [string]: [^\autoref{alice} envolope
]

which tells me that the string it will pass to the speller is
"^\autoref{alice} envolope" (without the quotes).=C2=A0 So type t= his string
and hit [Enter].=C2=A0 Then see what aspell outputs in return.

Once again, please CC the bug address so that this discussion gets
recorded there.

Thanks.

--001a1141ce0a596ca10548bc4d97--