GNU bug report logs - #21595
11.88.8; TeX help in Plain contaminated by LaTeX

Please note: This is a static page, with minimal formatting, updated once a day.
Click here to see this page with the latest information and nicer formatting.

Package: auctex; Reported by: jfbu <jfbu@HIDDEN>; dated Thu, 1 Oct 2015 05:25:01 UTC; Maintainer for auctex is bug-auctex@HIDDEN.

Message received at 21595 <at> debbugs.gnu.org:


Received: (at 21595) by debbugs.gnu.org; 2 Oct 2015 11:25:54 +0000
From debbugs-submit-bounces <at> debbugs.gnu.org Fri Oct 02 07:25:54 2015
Received: from localhost ([127.0.0.1]:51318 helo=debbugs.gnu.org)
	by debbugs.gnu.org with esmtp (Exim 4.80)
	(envelope-from <debbugs-submit-bounces <at> debbugs.gnu.org>)
	id 1ZhyTK-0001rl-8W
	for submit <at> debbugs.gnu.org; Fri, 02 Oct 2015 07:25:54 -0400
Received: from out2-smtp.messagingengine.com ([66.111.4.26]:35800)
 by debbugs.gnu.org with esmtp (Exim 4.80)
 (envelope-from <tsdh@HIDDEN>) id 1ZhyTH-0001rd-W5
 for 21595 <at> debbugs.gnu.org; Fri, 02 Oct 2015 07:25:52 -0400
Received: from compute5.internal (compute5.nyi.internal [10.202.2.45])
 by mailout.nyi.internal (Postfix) with ESMTP id CE1332035A
 for <21595 <at> debbugs.gnu.org>; Fri,  2 Oct 2015 07:25:51 -0400 (EDT)
Received: from frontend2 ([10.202.2.161])
 by compute5.internal (MEProxy); Fri, 02 Oct 2015 07:25:51 -0400
DKIM-Signature: v=1; a=rsa-sha1; c=relaxed/relaxed; d=
 messagingengine.com; h=cc:content-transfer-encoding:content-type
 :date:from:in-reply-to:message-id:mime-version:references
 :subject:to:x-sasl-enc:x-sasl-enc; s=smtpout; bh=YUwd1hPKSL8d14V
 RtaNwaImbvN0=; b=sPc9cIvoPZBOcXvHKlrUhXg7S9lI648GSDUCXt85LnAy2xQ
 V9Qm99fI1RCXjTa45OU2C+DsIqSMjyL2Bxy6y5kGj4BDa8qAcky2V9hYDV5WvhMo
 DXLVqdtiu9KAuUuAtWkduIWsbeLwhaKPZgiRgY3N2+svcylsy/HJkNELd990=
X-Sasl-enc: 4QHbjdLwckbnexLJ1MBDzPZxqEiEJvJZL4EXMwxD1EuL 1443785151
Received: from thinkpad-t440p (unknown [2.161.209.103])
 by mail.messagingengine.com (Postfix) with ESMTPA id 0CC6C6800C6;
 Fri,  2 Oct 2015 07:25:50 -0400 (EDT)
From: Tassilo Horn <tsdh@HIDDEN>
To: jfbu <jfbu@HIDDEN>
Subject: Re: bug#21595: 11.88.8; TeX help in Plain contaminated by LaTeX
References: <560CC372.4040600@HIDDEN> <87r3leabaz.fsf@HIDDEN>
 <560D7A59.5000409@HIDDEN>
Date: Fri, 02 Oct 2015 13:25:48 +0200
In-Reply-To: <560D7A59.5000409@HIDDEN> (jfbu@HIDDEN's message of "Thu, 1 Oct
 2015 20:24:25 +0200")
Message-ID: <87r3ldtsub.fsf@HIDDEN>
User-Agent: Gnus/5.130014 (Ma Gnus v0.14) Emacs/25.0.50 (gnu/linux)
MIME-Version: 1.0
Content-Type: text/plain; charset=utf-8
Content-Transfer-Encoding: quoted-printable
X-Spam-Score: 0.3 (/)
X-Debbugs-Envelope-To: 21595
Cc: 21595 <at> debbugs.gnu.org
X-BeenThere: debbugs-submit <at> debbugs.gnu.org
X-Mailman-Version: 2.1.15
Precedence: list
List-Id: <debbugs-submit.debbugs.gnu.org>
List-Unsubscribe: <https://debbugs.gnu.org/cgi-bin/mailman/options/debbugs-submit>, 
 <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=unsubscribe>
List-Archive: <https://debbugs.gnu.org/cgi-bin/mailman/private/debbugs-submit/>
List-Post: <mailto:debbugs-submit <at> debbugs.gnu.org>
List-Help: <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=help>
List-Subscribe: <https://debbugs.gnu.org/cgi-bin/mailman/listinfo/debbugs-submit>, 
 <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=subscribe>
Errors-To: debbugs-submit-bounces <at> debbugs.gnu.org
Sender: "Debbugs-submit" <debbugs-submit-bounces <at> debbugs.gnu.org>
X-Spam-Score: 0.3 (/)

jfbu <jfbu@HIDDEN> writes:

Hi Jean-Fran=C3=A7ois,

> as I said to Mos=C3=A8: perhaps in the future, some modifications could be
> considered.

Yes, absolutely.  For example, it wouldn't require much effort to allow
entries of the form (REGEX . FUNCTION) in addition to (REGEX . STRING).
For such an entry, FUNCTION would be called and had to return an
appropriate description string.  That function could check, e.g.,
`major-mode', to see if this is plain TeX, LaTeX, or whatever and
provide better help.

That would certainly be feasible.  I just don't have enough (La)TeX
knowledge to be able to judge which descriptions and hints are still
relevant, which ones are outdated, and which ones are missing.  So
that's a point where you could help a lot.

Bye,
Tassilo




Information forwarded to bug-auctex@HIDDEN:
bug#21595; Package auctex. Full text available.

Message received at 21595 <at> debbugs.gnu.org:


Received: (at 21595) by debbugs.gnu.org; 1 Oct 2015 20:55:00 +0000
From debbugs-submit-bounces <at> debbugs.gnu.org Thu Oct 01 16:54:59 2015
Received: from localhost ([127.0.0.1]:51052 helo=debbugs.gnu.org)
	by debbugs.gnu.org with esmtp (Exim 4.80)
	(envelope-from <debbugs-submit-bounces <at> debbugs.gnu.org>)
	id 1ZhksV-00051Q-H2
	for submit <at> debbugs.gnu.org; Thu, 01 Oct 2015 16:54:59 -0400
Received: from eggs.gnu.org ([208.118.235.92]:39575)
 by debbugs.gnu.org with esmtp (Exim 4.80)
 (envelope-from <mose@HIDDEN>) id 1ZhksU-00051I-2R
 for 21595 <at> debbugs.gnu.org; Thu, 01 Oct 2015 16:54:58 -0400
Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71)
 (envelope-from <mose@HIDDEN>) id 1ZhksQ-0000Gp-KD
 for 21595 <at> debbugs.gnu.org; Thu, 01 Oct 2015 16:54:57 -0400
X-Spam-Checker-Version: SpamAssassin 3.3.2 (2011-06-06) on eggs.gnu.org
X-Spam-Level: 
X-Spam-Status: No, score=0.8 required=5.0 tests=BAYES_50,T_RP_MATCHES_RCVD
 autolearn=disabled version=3.3.2
Received: from fencepost.gnu.org ([2001:4830:134:3::e]:53037)
 by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from <mose@HIDDEN>)
 id 1ZhksQ-0000Ga-GU
 for 21595 <at> debbugs.gnu.org; Thu, 01 Oct 2015 16:54:54 -0400
Received: from mail-wi0-f172.google.com ([209.85.212.172]:33709)
 by fencepost.gnu.org with esmtpsa (TLS1.2:RSA_ARCFOUR_SHA1:128)
 (Exim 4.82) (envelope-from <mose@HIDDEN>) id 1ZhksQ-00038Y-4G
 for 21595 <at> debbugs.gnu.org; Thu, 01 Oct 2015 16:54:54 -0400
Received: by wiclk2 with SMTP id lk2so8010089wic.0
 for <21595 <at> debbugs.gnu.org>; Thu, 01 Oct 2015 13:54:53 -0700 (PDT)
X-Received: by 10.180.188.169 with SMTP id gb9mr798936wic.72.1443732893096;
 Thu, 01 Oct 2015 13:54:53 -0700 (PDT)
MIME-Version: 1.0
Received: by 10.28.152.10 with HTTP; Thu, 1 Oct 2015 13:54:13 -0700 (PDT)
In-Reply-To: <C384D2C3-D2D3-45BB-B3F7-49B8387EFFEC@HIDDEN>
References: <560CC372.4040600@HIDDEN>
 <CAKtYQqRRNPHJ_Ti2PtJY0d4Tnw=3EOZhWscisM2BW1WxU5KNcA@HIDDEN>
 <C384D2C3-D2D3-45BB-B3F7-49B8387EFFEC@HIDDEN>
From: =?UTF-8?Q?Mos=C3=A8_Giordano?= <mose@HIDDEN>
Date: Thu, 1 Oct 2015 22:54:13 +0200
Message-ID: <CAKtYQqQAsFfPFg7yo+Pt2Dmb=X+80QNyxa=QfYc7oZzhWKVpzg@HIDDEN>
Subject: Re: bug#21595: 11.88.8; TeX help in Plain contaminated by LaTeX
To: jfbu <jfbu@HIDDEN>
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: quoted-printable
X-detected-operating-system: by eggs.gnu.org: Error: Malformed IPv6 address
 (bad octet value).
X-Received-From: 2001:4830:134:3::e
X-Spam-Score: -5.0 (-----)
X-Debbugs-Envelope-To: 21595
Cc: 21595 <at> debbugs.gnu.org
X-BeenThere: debbugs-submit <at> debbugs.gnu.org
X-Mailman-Version: 2.1.15
Precedence: list
List-Id: <debbugs-submit.debbugs.gnu.org>
List-Unsubscribe: <https://debbugs.gnu.org/cgi-bin/mailman/options/debbugs-submit>, 
 <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=unsubscribe>
List-Archive: <https://debbugs.gnu.org/cgi-bin/mailman/private/debbugs-submit/>
List-Post: <mailto:debbugs-submit <at> debbugs.gnu.org>
List-Help: <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=help>
List-Subscribe: <https://debbugs.gnu.org/cgi-bin/mailman/listinfo/debbugs-submit>, 
 <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=subscribe>
Errors-To: debbugs-submit-bounces <at> debbugs.gnu.org
Sender: "Debbugs-submit" <debbugs-submit-bounces <at> debbugs.gnu.org>
X-Spam-Score: -5.0 (-----)

2015-10-01 14:28 GMT+02:00 jfbu <jfbu@HIDDEN>:
> However you may keep this in mind if one day before the 22th
> century LaTeX3 starts being widely used, perhaps that will
> mean then a need for a complete rewrite of the format error
> messages.

I know some members of the LaTeX3 team are Emacs users, probably
AUCTeX too, you may suggest them to provide us with updated help
messages before the 22th century ;-)

Bye,
Mos=C3=A8




Information forwarded to bug-auctex@HIDDEN:
bug#21595; Package auctex. Full text available.

Message received at 21595 <at> debbugs.gnu.org:


Received: (at 21595) by debbugs.gnu.org; 1 Oct 2015 18:24:30 +0000
From debbugs-submit-bounces <at> debbugs.gnu.org Thu Oct 01 14:24:30 2015
Received: from localhost ([127.0.0.1]:50958 helo=debbugs.gnu.org)
	by debbugs.gnu.org with esmtp (Exim 4.80)
	(envelope-from <debbugs-submit-bounces <at> debbugs.gnu.org>)
	id 1ZhiWs-0001Qb-7e
	for submit <at> debbugs.gnu.org; Thu, 01 Oct 2015 14:24:30 -0400
Received: from smtp3-g21.free.fr ([212.27.42.3]:53475)
 by debbugs.gnu.org with esmtp (Exim 4.80)
 (envelope-from <jfbu@HIDDEN>) id 1ZhiWp-0001QS-PH
 for 21595 <at> debbugs.gnu.org; Thu, 01 Oct 2015 14:24:28 -0400
Received: from mba-de-jfb.local (unknown [88.160.125.12])
 by smtp3-g21.free.fr (Postfix) with ESMTP id 01152A6223;
 Thu,  1 Oct 2015 20:24:25 +0200 (CEST)
Subject: Re: bug#21595: 11.88.8; TeX help in Plain contaminated by LaTeX
To: Tassilo Horn <tsdh@HIDDEN>
References: <560CC372.4040600@HIDDEN> <87r3leabaz.fsf@HIDDEN>
From: jfbu <jfbu@HIDDEN>
Message-ID: <560D7A59.5000409@HIDDEN>
Date: Thu, 1 Oct 2015 20:24:25 +0200
User-Agent: Mozilla/5.0 (Macintosh; Intel Mac OS X 10.9; rv:38.0)
 Gecko/20100101 Thunderbird/38.2.0
MIME-Version: 1.0
In-Reply-To: <87r3leabaz.fsf@HIDDEN>
Content-Type: text/plain; charset=windows-1252; format=flowed
Content-Transfer-Encoding: 8bit
X-Spam-Score: -0.7 (/)
X-Debbugs-Envelope-To: 21595
Cc: 21595 <at> debbugs.gnu.org
X-BeenThere: debbugs-submit <at> debbugs.gnu.org
X-Mailman-Version: 2.1.15
Precedence: list
List-Id: <debbugs-submit.debbugs.gnu.org>
List-Unsubscribe: <https://debbugs.gnu.org/cgi-bin/mailman/options/debbugs-submit>, 
 <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=unsubscribe>
List-Archive: <https://debbugs.gnu.org/cgi-bin/mailman/private/debbugs-submit/>
List-Post: <mailto:debbugs-submit <at> debbugs.gnu.org>
List-Help: <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=help>
List-Subscribe: <https://debbugs.gnu.org/cgi-bin/mailman/listinfo/debbugs-submit>, 
 <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=subscribe>
Errors-To: debbugs-submit-bounces <at> debbugs.gnu.org
Sender: "Debbugs-submit" <debbugs-submit-bounces <at> debbugs.gnu.org>
X-Spam-Score: -0.7 (/)

Le 01/10/2015 16:55, Tassilo Horn a écrit :
> jfbu <jfbu@HIDDEN> writes:
>
>> A guru from the LaTeX3 team tells me it can't be the case,
>> thus my question is
>>
>>     Does the message somehow come from AUCTeX ?
>>
>> Perhaps no, in which case sorry for the noise.
>
> Yes, the message comes from AUCTeX.  The variable
> `TeX-error-description-list' is an alist of regular expressions matched
> agains error messages and such explanations about what that error means
> and what might cause it.
>
> The same list is used for plain TeX, LaTeX, ConTeXt etc. and I don't
> think it is reasonable to split it into multiple lists just to have some
> explanations a bit more specific.  Well, and you are a TeX-pro anyway,
> so I'd recommend you put
>
>    (setq TeX-error-description-list '((".*" . "Go figure!")))
>
> into your ~/.emacs. :-)
>
> Bye,
> Tassilo
>

Hi Tassilo,

as I said to Mosè: perhaps in the future, some modifications could
be considered. In the specific case of my test file the Knuth TeX
error message

TeX capacity exceeded, sorry [grouping levels=255]

will remain always quite to the point. This is already nowadays not
quite the case of the LaTeX error message about memory matters.

I will ponder the addition of the line above to my .emacs, but
perhaps I will first make a reading of the database of error
messages in tex-dbg.el as mentioned in the link from Mosè's message.

Bye,

Jean-François








Information forwarded to bug-auctex@HIDDEN:
bug#21595; Package auctex. Full text available.

Message received at 21595 <at> debbugs.gnu.org:


Received: (at 21595) by debbugs.gnu.org; 1 Oct 2015 14:55:04 +0000
From debbugs-submit-bounces <at> debbugs.gnu.org Thu Oct 01 10:55:04 2015
Received: from localhost ([127.0.0.1]:50745 helo=debbugs.gnu.org)
	by debbugs.gnu.org with esmtp (Exim 4.80)
	(envelope-from <debbugs-submit-bounces <at> debbugs.gnu.org>)
	id 1ZhfGB-0008Ps-Tx
	for submit <at> debbugs.gnu.org; Thu, 01 Oct 2015 10:55:04 -0400
Received: from deliver.uni-koblenz.de ([141.26.64.15]:39314)
 by debbugs.gnu.org with esmtp (Exim 4.80)
 (envelope-from <tsdh@HIDDEN>) id 1ZhfG9-0008PP-Bj
 for 21595 <at> debbugs.gnu.org; Thu, 01 Oct 2015 10:55:02 -0400
Received: from thinkpad-t440p (dhcp145.uni-koblenz.de [141.26.71.145])
 (using TLSv1 with cipher AES128-SHA (128/128 bits))
 (No client certificate requested)
 by deliver.uni-koblenz.de (Postfix) with ESMTPSA id A219C1A837E;
 Thu,  1 Oct 2015 16:55:00 +0200 (CEST)
From: Tassilo Horn <tsdh@HIDDEN>
To: jfbu <jfbu@HIDDEN>
Subject: Re: bug#21595: 11.88.8; TeX help in Plain contaminated by LaTeX
References: <560CC372.4040600@HIDDEN>
Date: Thu, 01 Oct 2015 16:55:00 +0200
In-Reply-To: <560CC372.4040600@HIDDEN> (jfbu@HIDDEN's message of "Thu, 1 Oct
 2015 07:24:02 +0200")
Message-ID: <87r3leabaz.fsf@HIDDEN>
User-Agent: Gnus/5.130014 (Ma Gnus v0.14) Emacs/25.0.50 (gnu/linux)
MIME-Version: 1.0
Content-Type: text/plain
X-Spam-Score: -1.3 (-)
X-Debbugs-Envelope-To: 21595
Cc: 21595 <at> debbugs.gnu.org
X-BeenThere: debbugs-submit <at> debbugs.gnu.org
X-Mailman-Version: 2.1.15
Precedence: list
List-Id: <debbugs-submit.debbugs.gnu.org>
List-Unsubscribe: <https://debbugs.gnu.org/cgi-bin/mailman/options/debbugs-submit>, 
 <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=unsubscribe>
List-Archive: <https://debbugs.gnu.org/cgi-bin/mailman/private/debbugs-submit/>
List-Post: <mailto:debbugs-submit <at> debbugs.gnu.org>
List-Help: <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=help>
List-Subscribe: <https://debbugs.gnu.org/cgi-bin/mailman/listinfo/debbugs-submit>, 
 <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=subscribe>
Errors-To: debbugs-submit-bounces <at> debbugs.gnu.org
Sender: "Debbugs-submit" <debbugs-submit-bounces <at> debbugs.gnu.org>
X-Spam-Score: -1.3 (-)

jfbu <jfbu@HIDDEN> writes:

> A guru from the LaTeX3 team tells me it can't be the case,
> thus my question is
>
>    Does the message somehow come from AUCTeX ?
>
> Perhaps no, in which case sorry for the noise.

Yes, the message comes from AUCTeX.  The variable
`TeX-error-description-list' is an alist of regular expressions matched
agains error messages and such explanations about what that error means
and what might cause it.

The same list is used for plain TeX, LaTeX, ConTeXt etc. and I don't
think it is reasonable to split it into multiple lists just to have some
explanations a bit more specific.  Well, and you are a TeX-pro anyway,
so I'd recommend you put

  (setq TeX-error-description-list '((".*" . "Go figure!")))

into your ~/.emacs. :-)

Bye,
Tassilo




Information forwarded to bug-auctex@HIDDEN:
bug#21595; Package auctex. Full text available.

Message received at 21595 <at> debbugs.gnu.org:


Received: (at 21595) by debbugs.gnu.org; 1 Oct 2015 12:28:16 +0000
From debbugs-submit-bounces <at> debbugs.gnu.org Thu Oct 01 08:28:16 2015
Received: from localhost ([127.0.0.1]:50002 helo=debbugs.gnu.org)
	by debbugs.gnu.org with esmtp (Exim 4.80)
	(envelope-from <debbugs-submit-bounces <at> debbugs.gnu.org>)
	id 1Zhcy8-0004sn-8D
	for submit <at> debbugs.gnu.org; Thu, 01 Oct 2015 08:28:16 -0400
Received: from smtp01.univ-lille1.fr ([193.49.225.19]:37783)
 by debbugs.gnu.org with esmtp (Exim 4.80)
 (envelope-from <jfbu@HIDDEN>) id 1Zhcy4-0004sd-O0
 for 21595 <at> debbugs.gnu.org; Thu, 01 Oct 2015 08:28:14 -0400
Received: from smtps2.univ-lille1.fr (smtps2.univ-lille1.fr [193.49.225.53])
 by smtp01.univ-lille1.fr (8.14.3/8.14.3) with ESMTP id t91CSADo010572;
 Thu, 1 Oct 2015 14:28:10 +0200
Received: from [192.168.0.11] (hel59-4-88-160-125-12.fbx.proxad.net
 [88.160.125.12]) (authenticated bits=0)
 by smtps2.univ-lille1.fr (8.14.3/8.14.3/Debian-5) with ESMTP id t91CS9rh012919
 (version=TLSv1/SSLv3 cipher=AES128-SHA bits=128 verify=NO);
 Thu, 1 Oct 2015 14:28:11 +0200
Content-Type: text/plain; charset=iso-8859-1
Mime-Version: 1.0 (Mac OS X Mail 7.3 \(1878.6\))
Subject: Re: bug#21595: 11.88.8; TeX help in Plain contaminated by LaTeX
From: jfbu <jfbu@HIDDEN>
In-Reply-To: <CAKtYQqRRNPHJ_Ti2PtJY0d4Tnw=3EOZhWscisM2BW1WxU5KNcA@HIDDEN>
Date: Thu, 1 Oct 2015 14:28:01 +0200
Content-Transfer-Encoding: quoted-printable
Message-Id: <C384D2C3-D2D3-45BB-B3F7-49B8387EFFEC@HIDDEN>
References: <560CC372.4040600@HIDDEN>
 <CAKtYQqRRNPHJ_Ti2PtJY0d4Tnw=3EOZhWscisM2BW1WxU5KNcA@HIDDEN>
To: =?iso-8859-1?Q?Mos=E8_Giordano?= <mose@HIDDEN>
X-Mailer: Apple Mail (2.1878.6)
X-USTL-MailScanner-Information: Please contact the ISP for more information
X-USTL-MailScanner-ID: t91CSADo010572
X-USTL-MailScanner: Found to be clean
X-USTL-MailScanner-From: jfbu@HIDDEN
X-Spam-Status: No
X-Spam-Score: -0.7 (/)
X-Debbugs-Envelope-To: 21595
Cc: 21595 <at> debbugs.gnu.org
X-BeenThere: debbugs-submit <at> debbugs.gnu.org
X-Mailman-Version: 2.1.15
Precedence: list
List-Id: <debbugs-submit.debbugs.gnu.org>
List-Unsubscribe: <https://debbugs.gnu.org/cgi-bin/mailman/options/debbugs-submit>, 
 <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=unsubscribe>
List-Archive: <https://debbugs.gnu.org/cgi-bin/mailman/private/debbugs-submit/>
List-Post: <mailto:debbugs-submit <at> debbugs.gnu.org>
List-Help: <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=help>
List-Subscribe: <https://debbugs.gnu.org/cgi-bin/mailman/listinfo/debbugs-submit>, 
 <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=subscribe>
Errors-To: debbugs-submit-bounces <at> debbugs.gnu.org
Sender: "Debbugs-submit" <debbugs-submit-bounces <at> debbugs.gnu.org>
X-Spam-Score: -0.7 (/)

Hi Mos=E8

Le 1 oct. 2015 =E0 14:06, Mos=E8 Giordano <mose@HIDDEN> a =E9crit :

> Hi Jean-Fran=E7ois,
>=20
> 2015-10-01 7:24 GMT+02:00 jfbu <jfbu@HIDDEN>:
>> Remember to cover the basics, that is, what you expected to happen =
and
>> what in fact did happen.
>>=20
>> The following TeX source file
>>=20
>>    \def\foo{\begingroup\foo}\foo
>>=20
>>    \bye
>>=20
>> when run from a TeX-mode Emacs/AUCTeX buffer generates on C-c `,
>> after compilation has halted on a TeX capacity exceeded error,
>> a buffer displaying a long text of which I reproduce only the start
>> here:
>>=20
>> ERROR: TeX capacity exceeded, sorry [grouping levels=3D255].
>>=20
>> --- TeX said ---
>> \foo ->\begingroup
>>                   \foo
>> l.1 \def\foo{\begingroup\foo}\foo
>>                                 --- HELP ---
>> TeX has just run out of space and aborted its execution. Before you
>> panic, remember that the least likely cause of this error is TeX not
>> having the capacity to process your document.  It was probably an
>> error in your input file that caused TeX to run out of room. The
>> following discussion explains how to decide whether you've really
>> exceeded TeX's capacity and, if so, what to do. If the problem is an
>> error in the input, you may have to use the divide and conquer method
>> described previously to locate it. LaTeX seldom runs out of space on =
a
>> short input file, so if running it on the last few pages before the
>> error indicator's position still produces the error, then there's
>> almost certainly something wrong in the input file.
>>=20
>> The end of the error indicator tells what kind of space TeX ran out
>> of. The more common ones are listed below, with an explanation of
>> their probable causes.
>>=20
>> buffer size
>> =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D
>> Can be caused by too long a piece of text as the argument
>>=20
>> [continued]
>>=20
>> The rest of the text has many many references to LaTeX.
>>=20
>> As the context here is Plain TeX this longish info is mostly
>> irrelevant (it provides useful information to average LaTeX
>> users, but nothing spicy to well trained macro programmers ;-) )
>>=20
>> For some years I thought that the message originated in the
>> help system of the tex binary itself (my Emacs is configured
>> actually to run etex not tex if that matters), but it appears
>> that I could very well
>> have erred completely. I of course realized Knuth would not
>> have included such a message, but perhaps the binaries of
>> my TeXLive installation did provide an extended help system.
>>=20
>> A guru from the LaTeX3 team tells me it can't be the case,
>> thus my question is
>>=20
>>   Does the message somehow come from AUCTeX ?
>=20
> Yes, AUCTeX has help messages builtin in `TeX-error-description-list'
> variable, seemingly provided by someone called Leslie Lamport [1],
> maybe you've heard about him.   These messages are sometimes more
> verbose and useful than help messages present in log file.  If AUCTeX
> can't find help messages in its database, falls back on log file.
> Probably all those reference to LaTeX come from Lamport.
>=20
> Being `TeX-error-description-list' a variable I'm not sure to have it
> would be easy to have different values for different modes (plain
> TeX/LaTeX/you name it).
>=20
> Bye,
> Mos=E8
>=20
>=20
> Reference:
> [1] =
http://git.savannah.gnu.org/gitweb/?p=3Dauctex.git;a=3Dblob;f=3Ddoc/histor=
y.texi;hb=3DHEAD

Thanks for confirming that this comes from AUCTeX incorporating
probable contributtions of Leslie Lamport. For bystanders
here are a few more lines of the help message.

> buffer size
> =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D
> Can be caused by too long a piece of text as the argument
> of a sectioning, \caption, \addcontentsline, or \addtocontents
> command. This error will probably occur when the \end{document} is
> being processed, but it could happen when a \tableofcontents,
> \listoffigures, or \listoftables command is executed. To solve this
> problem, use a shorter optional argument. Even if you're producing a
> table of contents or a list of figures or tables, such a long entry
> won't help the reader.


this information is 100% LaTeX and presents no interest for users of
other formats. It is somewhat informative to users of the LaTeX macros
although it may be obsolete by now because the TeX memory parameters
have been considerably increased in the distributions like TeXLive
and MikTeX since the eighties.

This is not a big issue, naturally.

However you may keep this in mind if one day before the 22th
century LaTeX3 starts being widely used, perhaps that will
mean then a need for a complete rewrite of the format error
messages.

I have my answer, thanks a lot.

best
Jean-Fran=E7ois








Information forwarded to bug-auctex@HIDDEN:
bug#21595; Package auctex. Full text available.

Message received at 21595 <at> debbugs.gnu.org:


Received: (at 21595) by debbugs.gnu.org; 1 Oct 2015 12:07:24 +0000
From debbugs-submit-bounces <at> debbugs.gnu.org Thu Oct 01 08:07:24 2015
Received: from localhost ([127.0.0.1]:49989 helo=debbugs.gnu.org)
	by debbugs.gnu.org with esmtp (Exim 4.80)
	(envelope-from <debbugs-submit-bounces <at> debbugs.gnu.org>)
	id 1Zhcdv-0004PE-Us
	for submit <at> debbugs.gnu.org; Thu, 01 Oct 2015 08:07:24 -0400
Received: from eggs.gnu.org ([208.118.235.92]:58908)
 by debbugs.gnu.org with esmtp (Exim 4.80)
 (envelope-from <mose@HIDDEN>) id 1Zhcdu-0004P6-71
 for 21595 <at> debbugs.gnu.org; Thu, 01 Oct 2015 08:07:22 -0400
Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71)
 (envelope-from <mose@HIDDEN>) id 1Zhcdl-0002Ok-Ub
 for 21595 <at> debbugs.gnu.org; Thu, 01 Oct 2015 08:07:22 -0400
X-Spam-Checker-Version: SpamAssassin 3.3.2 (2011-06-06) on eggs.gnu.org
X-Spam-Level: 
X-Spam-Status: No, score=-0.2 required=5.0 tests=ALL_TRUSTED,BAYES_50,
 T_RP_MATCHES_RCVD autolearn=disabled version=3.3.2
Received: from fencepost.gnu.org ([208.118.235.10]:45783)
 by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from <mose@HIDDEN>)
 id 1Zhcdl-0002OW-QL
 for 21595 <at> debbugs.gnu.org; Thu, 01 Oct 2015 08:07:13 -0400
Received: from mail-wi0-f179.google.com ([209.85.212.179]:35718)
 by fencepost.gnu.org with esmtpsa (TLS1.2:RSA_ARCFOUR_SHA1:128)
 (Exim 4.82) (envelope-from <mose@HIDDEN>) id 1Zhcdl-0000Mx-65
 for 21595 <at> debbugs.gnu.org; Thu, 01 Oct 2015 08:07:13 -0400
Received: by wicge5 with SMTP id ge5so26572947wic.0
 for <21595 <at> debbugs.gnu.org>; Thu, 01 Oct 2015 05:07:12 -0700 (PDT)
X-Received: by 10.194.93.229 with SMTP id cx5mr9852882wjb.62.1443701232258;
 Thu, 01 Oct 2015 05:07:12 -0700 (PDT)
MIME-Version: 1.0
Received: by 10.28.152.10 with HTTP; Thu, 1 Oct 2015 05:06:32 -0700 (PDT)
In-Reply-To: <560CC372.4040600@HIDDEN>
References: <560CC372.4040600@HIDDEN>
From: =?UTF-8?Q?Mos=C3=A8_Giordano?= <mose@HIDDEN>
Date: Thu, 1 Oct 2015 14:06:32 +0200
Message-ID: <CAKtYQqRRNPHJ_Ti2PtJY0d4Tnw=3EOZhWscisM2BW1WxU5KNcA@HIDDEN>
Subject: Re: bug#21595: 11.88.8; TeX help in Plain contaminated by LaTeX
To: jfbu <jfbu@HIDDEN>
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: quoted-printable
X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.2.x-3.x [generic]
X-Received-From: 208.118.235.10
X-Spam-Score: -5.0 (-----)
X-Debbugs-Envelope-To: 21595
Cc: 21595 <at> debbugs.gnu.org
X-BeenThere: debbugs-submit <at> debbugs.gnu.org
X-Mailman-Version: 2.1.15
Precedence: list
List-Id: <debbugs-submit.debbugs.gnu.org>
List-Unsubscribe: <https://debbugs.gnu.org/cgi-bin/mailman/options/debbugs-submit>, 
 <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=unsubscribe>
List-Archive: <https://debbugs.gnu.org/cgi-bin/mailman/private/debbugs-submit/>
List-Post: <mailto:debbugs-submit <at> debbugs.gnu.org>
List-Help: <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=help>
List-Subscribe: <https://debbugs.gnu.org/cgi-bin/mailman/listinfo/debbugs-submit>, 
 <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=subscribe>
Errors-To: debbugs-submit-bounces <at> debbugs.gnu.org
Sender: "Debbugs-submit" <debbugs-submit-bounces <at> debbugs.gnu.org>
X-Spam-Score: -5.0 (-----)

Hi Jean-Fran=C3=A7ois,

2015-10-01 7:24 GMT+02:00 jfbu <jfbu@HIDDEN>:
> Remember to cover the basics, that is, what you expected to happen and
> what in fact did happen.
>
> The following TeX source file
>
>     \def\foo{\begingroup\foo}\foo
>
>     \bye
>
> when run from a TeX-mode Emacs/AUCTeX buffer generates on C-c `,
> after compilation has halted on a TeX capacity exceeded error,
> a buffer displaying a long text of which I reproduce only the start
> here:
>
> ERROR: TeX capacity exceeded, sorry [grouping levels=3D255].
>
> --- TeX said ---
> \foo ->\begingroup
>                    \foo
> l.1 \def\foo{\begingroup\foo}\foo
>                                  --- HELP ---
> TeX has just run out of space and aborted its execution. Before you
> panic, remember that the least likely cause of this error is TeX not
> having the capacity to process your document.  It was probably an
> error in your input file that caused TeX to run out of room. The
> following discussion explains how to decide whether you've really
> exceeded TeX's capacity and, if so, what to do. If the problem is an
> error in the input, you may have to use the divide and conquer method
> described previously to locate it. LaTeX seldom runs out of space on a
> short input file, so if running it on the last few pages before the
> error indicator's position still produces the error, then there's
> almost certainly something wrong in the input file.
>
> The end of the error indicator tells what kind of space TeX ran out
> of. The more common ones are listed below, with an explanation of
> their probable causes.
>
> buffer size
> =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D
> Can be caused by too long a piece of text as the argument
>
> [continued]
>
> The rest of the text has many many references to LaTeX.
>
> As the context here is Plain TeX this longish info is mostly
> irrelevant (it provides useful information to average LaTeX
> users, but nothing spicy to well trained macro programmers ;-) )
>
> For some years I thought that the message originated in the
> help system of the tex binary itself (my Emacs is configured
> actually to run etex not tex if that matters), but it appears
> that I could very well
> have erred completely. I of course realized Knuth would not
> have included such a message, but perhaps the binaries of
> my TeXLive installation did provide an extended help system.
>
> A guru from the LaTeX3 team tells me it can't be the case,
> thus my question is
>
>    Does the message somehow come from AUCTeX ?

Yes, AUCTeX has help messages builtin in `TeX-error-description-list'
variable, seemingly provided by someone called Leslie Lamport [1],
maybe you've heard about him.   These messages are sometimes more
verbose and useful than help messages present in log file.  If AUCTeX
can't find help messages in its database, falls back on log file.
Probably all those reference to LaTeX come from Lamport.

Being `TeX-error-description-list' a variable I'm not sure to have it
would be easy to have different values for different modes (plain
TeX/LaTeX/you name it).

Bye,
Mos=C3=A8


Reference:
[1] http://git.savannah.gnu.org/gitweb/?p=3Dauctex.git;a=3Dblob;f=3Ddoc/his=
tory.texi;hb=3DHEAD




Information forwarded to bug-auctex@HIDDEN:
bug#21595; Package auctex. Full text available.

Message received at submit <at> debbugs.gnu.org:


Received: (at submit) by debbugs.gnu.org; 1 Oct 2015 05:24:15 +0000
From debbugs-submit-bounces <at> debbugs.gnu.org Thu Oct 01 01:24:15 2015
Received: from localhost ([127.0.0.1]:49769 helo=debbugs.gnu.org)
	by debbugs.gnu.org with esmtp (Exim 4.80)
	(envelope-from <debbugs-submit-bounces <at> debbugs.gnu.org>)
	id 1ZhWLm-0001pq-O2
	for submit <at> debbugs.gnu.org; Thu, 01 Oct 2015 01:24:15 -0400
Received: from eggs.gnu.org ([208.118.235.92]:36038)
 by debbugs.gnu.org with esmtp (Exim 4.80)
 (envelope-from <jfbu@HIDDEN>) id 1ZhWLk-0001ph-Ri
 for submit <at> debbugs.gnu.org; Thu, 01 Oct 2015 01:24:13 -0400
Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71)
 (envelope-from <jfbu@HIDDEN>) id 1ZhWLj-0004je-Ld
 for submit <at> debbugs.gnu.org; Thu, 01 Oct 2015 01:24:12 -0400
X-Spam-Checker-Version: SpamAssassin 3.3.2 (2011-06-06) on eggs.gnu.org
X-Spam-Level: 
X-Spam-Status: No, score=0.8 required=5.0 tests=BAYES_50,FREEMAIL_FROM
 autolearn=disabled version=3.3.2
Received: from lists.gnu.org ([2001:4830:134:3::11]:59179)
 by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from <jfbu@HIDDEN>)
 id 1ZhWLj-0004ja-IS
 for submit <at> debbugs.gnu.org; Thu, 01 Oct 2015 01:24:11 -0400
Received: from eggs.gnu.org ([2001:4830:134:3::10]:46022)
 by lists.gnu.org with esmtp (Exim 4.71)
 (envelope-from <jfbu@HIDDEN>) id 1ZhWLi-0008GA-C8
 for bug-auctex@HIDDEN; Thu, 01 Oct 2015 01:24:11 -0400
Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71)
 (envelope-from <jfbu@HIDDEN>) id 1ZhWLd-0004i4-9e
 for bug-auctex@HIDDEN; Thu, 01 Oct 2015 01:24:10 -0400
Received: from smtp3-g21.free.fr ([2a01:e0c:1:1599::12]:30628)
 by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from <jfbu@HIDDEN>)
 id 1ZhWLd-0004hm-40
 for bug-auctex@HIDDEN; Thu, 01 Oct 2015 01:24:05 -0400
Received: from mba-de-jfb.local (unknown [88.160.125.12])
 by smtp3-g21.free.fr (Postfix) with ESMTP id 7866BA621D
 for <bug-auctex@HIDDEN>; Thu,  1 Oct 2015 07:24:03 +0200 (CEST)
To: bug-auctex@HIDDEN
From: jfbu <jfbu@HIDDEN>
Subject: 11.88.8; TeX help in Plain contaminated by LaTeX
Message-ID: <560CC372.4040600@HIDDEN>
Date: Thu, 1 Oct 2015 07:24:02 +0200
User-Agent: Mozilla/5.0 (Macintosh; Intel Mac OS X 10.9; rv:38.0)
 Gecko/20100101 Thunderbird/38.2.0
MIME-Version: 1.0
Content-Type: text/plain; charset=utf-8; format=flowed
Content-Transfer-Encoding: quoted-printable
X-detected-operating-system: by eggs.gnu.org: Error: Malformed IPv6 address
 (bad octet value).
X-detected-operating-system: by eggs.gnu.org: Error: Malformed IPv6 address
 (bad octet value).
X-Received-From: 2001:4830:134:3::11
X-Spam-Score: -5.0 (-----)
X-Debbugs-Envelope-To: submit
X-BeenThere: debbugs-submit <at> debbugs.gnu.org
X-Mailman-Version: 2.1.15
Precedence: list
List-Id: <debbugs-submit.debbugs.gnu.org>
List-Unsubscribe: <https://debbugs.gnu.org/cgi-bin/mailman/options/debbugs-submit>, 
 <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=unsubscribe>
List-Archive: <https://debbugs.gnu.org/cgi-bin/mailman/private/debbugs-submit/>
List-Post: <mailto:debbugs-submit <at> debbugs.gnu.org>
List-Help: <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=help>
List-Subscribe: <https://debbugs.gnu.org/cgi-bin/mailman/listinfo/debbugs-submit>, 
 <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=subscribe>
Errors-To: debbugs-submit-bounces <at> debbugs.gnu.org
Sender: "Debbugs-submit" <debbugs-submit-bounces <at> debbugs.gnu.org>
X-Spam-Score: -5.0 (-----)

Remember to cover the basics, that is, what you expected to happen and
what in fact did happen.

The following TeX source file

     \def\foo{\begingroup\foo}\foo

     \bye

when run from a TeX-mode Emacs/AUCTeX buffer generates on C-c `,
after compilation has halted on a TeX capacity exceeded error,
a buffer displaying a long text of which I reproduce only the start
here:

ERROR: TeX capacity exceeded, sorry [grouping levels=3D255].

--- TeX said ---
\foo ->\begingroup
                    \foo
l.1 \def\foo{\begingroup\foo}\foo
                                 =20
--- HELP ---
TeX has just run out of space and aborted its execution. Before you
panic, remember that the least likely cause of this error is TeX not
having the capacity to process your document.  It was probably an
error in your input file that caused TeX to run out of room. The
following discussion explains how to decide whether you've really
exceeded TeX's capacity and, if so, what to do. If the problem is an
error in the input, you may have to use the divide and conquer method
described previously to locate it. LaTeX seldom runs out of space on a
short input file, so if running it on the last few pages before the
error indicator's position still produces the error, then there's
almost certainly something wrong in the input file.

The end of the error indicator tells what kind of space TeX ran out
of. The more common ones are listed below, with an explanation of
their probable causes.

buffer size
=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D
Can be caused by too long a piece of text as the argument

[continued]

The rest of the text has many many references to LaTeX.

As the context here is Plain TeX this longish info is mostly
irrelevant (it provides useful information to average LaTeX
users, but nothing spicy to well trained macro programmers ;-) )

For some years I thought that the message originated in the
help system of the tex binary itself (my Emacs is configured
actually to run etex not tex if that matters), but it appears
that I could very well
have erred completely. I of course realized Knuth would not
have included such a message, but perhaps the binaries of
my TeXLive installation did provide an extended help system.

A guru from the LaTeX3 team tells me it can't be the case,
thus my question is

    Does the message somehow come from AUCTeX ?

Perhaps no, in which case sorry for the noise.

Best, Jean-Fran=C3=A7ois

------------------------------------------------------------------------

Emacs  : GNU Emacs 24.5.6 (x86_64-apple-darwin13.4.0, Carbon Version 157 =
AppKit 1265.21)
  of 2015-08-26 on Atago.local
Package: 11.88.8

current state:
=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D
(setq
  AUCTeX-date "2015-08-28"
  window-system 'mac
  LaTeX-version "2e"
  TeX-style-path '("~/.emacs.d/auctex"
		  "/Users/xxxxxxxx/.emacs.d/elpa/auctex-11.88.8/style"
		  "/Users/xxxxxxxx/.emacs.d/auctex/auto"
		  "/Users/xxxxxxxx/.emacs.d/auctex/style" "auto" "style")
  TeX-auto-save t
  TeX-parse-self t
  TeX-master t
  [...]
  )




Acknowledgement sent to jfbu <jfbu@HIDDEN>:
New bug report received and forwarded. Copy sent to bug-auctex@HIDDEN. Full text available.
Report forwarded to bug-auctex@HIDDEN:
bug#21595; Package auctex. Full text available.
Please note: This is a static page, with minimal formatting, updated once a day.
Click here to see this page with the latest information and nicer formatting.
Last modified: Fri, 2 Oct 2015 11:30:03 UTC

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