GNU bug report logs - #28405
Inhibit auto-fill & LaTeX-indent-environment-list

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: gojjoe@HIDDEN; dated Sun, 10 Sep 2017 11:11:02 UTC; Maintainer for auctex is bug-auctex@HIDDEN.

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


Received: (at 28405) by debbugs.gnu.org; 10 Sep 2017 11:22:56 +0000
From debbugs-submit-bounces <at> debbugs.gnu.org Sun Sep 10 07:22:56 2017
Received: from localhost ([127.0.0.1]:58478 helo=debbugs.gnu.org)
	by debbugs.gnu.org with esmtp (Exim 4.84_2)
	(envelope-from <debbugs-submit-bounces <at> debbugs.gnu.org>)
	id 1dr0KG-0002ZY-K8
	for submit <at> debbugs.gnu.org; Sun, 10 Sep 2017 07:22:56 -0400
Received: from eggs.gnu.org ([208.118.235.92]:46668)
 by debbugs.gnu.org with esmtp (Exim 4.84_2)
 (envelope-from <dak@HIDDEN>) id 1dr0KF-0002ZL-Cv
 for 28405 <at> debbugs.gnu.org; Sun, 10 Sep 2017 07:22:55 -0400
Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71)
 (envelope-from <dak@HIDDEN>) id 1dr0K7-0002gt-68
 for 28405 <at> debbugs.gnu.org; Sun, 10 Sep 2017 07:22:50 -0400
X-Spam-Checker-Version: SpamAssassin 3.3.2 (2011-06-06) on eggs.gnu.org
X-Spam-Level: 
X-Spam-Status: No, score=-1.9 required=5.0 tests=BAYES_00,RP_MATCHES_RCVD
 autolearn=disabled version=3.3.2
Received: from fencepost.gnu.org ([2001:4830:134:3::e]:58869)
 by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from <dak@HIDDEN>)
 id 1dr0K7-0002gn-2h; Sun, 10 Sep 2017 07:22:47 -0400
Received: from x2f3fcc9.dyn.telefonica.de ([2.243.252.201]:60416 helo=lola)
 by fencepost.gnu.org with esmtpsa (TLS1.2:RSA_AES_256_CBC_SHA1:256)
 (Exim 4.82) (envelope-from <dak@HIDDEN>)
 id 1dr0K4-0006j3-H1; Sun, 10 Sep 2017 07:22:44 -0400
From: David Kastrup <dak@HIDDEN>
To: gojjoe@HIDDEN
Subject: Re: bug#28405: Inhibit auto-fill & LaTeX-indent-environment-list
References: <decfb652-f1a9-3660-c0ef-9f2e0481d2e2@HIDDEN>
 <87lglmztr5.fsf@HIDDEN>
Date: Sun, 10 Sep 2017 13:22:42 +0200
In-Reply-To: <87lglmztr5.fsf@HIDDEN> (David Kastrup's message of
 "Sun, 10 Sep 2017 13:18:54 +0200")
Message-ID: <87h8waztkt.fsf@HIDDEN>
User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/26.0.50 (gnu/linux)
MIME-Version: 1.0
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: 2001:4830:134:3::e
X-Spam-Score: -5.0 (-----)
X-Debbugs-Envelope-To: 28405
Cc: 28405 <at> debbugs.gnu.org
X-BeenThere: debbugs-submit <at> debbugs.gnu.org
X-Mailman-Version: 2.1.18
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 (-----)

David Kastrup <dak@HIDDEN> writes:

> gojjoe@HIDDEN writes:
>
>> Dear All,
>>
>> =E2=80=93 Not really a bug:
>>
>> I have auto-fill mode on when editing tex files in LaTeX mode. I'd
>> like to inhibit the fill functions within math environments like
>> "equation", "gather", "align", though.
>>
>> One way to achieve this is given by Thomas here:
>>
>> https://tex.stackexchange.com/questions/69555/i-want-to-disable-auto-fil=
l-mode-when-editing-equations#11480465
>>
>> This solution works with "equation" and "align", but strangely not
>> with "gather" and "multline". The reason, I think, is that the latter
>> are not included in LaTeX-indent-environment-list in its
>> standard/global value, while "align" and "equation" are. I can
>> customize and include them manually, but is there a reason why gather
>> and multline aren't included?
>
> In my default setting, align is _not_ included; you likely added it
> yourself.

I have to take that back after updating the AUCTeX repository.  There is

1100cd8c1 (Tassilo Horn                   2013-10-14 11:42:31 +0200 3130)  =
   ("align" LaTeX-indent-tabular)
1100cd8c1 (Tassilo Horn                   2013-10-14 11:42:31 +0200 3131)  =
   ("align*" LaTeX-indent-tabular)

in latex.el.  The rest, however, holds:

> It is the job of amsmath.el to include most of those settings, so it's
> likely that you haven't document parsing enabled and/or working.
>
> See the first page of AUCTeX's documentation for more info.

--=20
David Kastrup




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

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


Received: (at 28405) by debbugs.gnu.org; 10 Sep 2017 11:19:07 +0000
From debbugs-submit-bounces <at> debbugs.gnu.org Sun Sep 10 07:19:07 2017
Received: from localhost ([127.0.0.1]:58474 helo=debbugs.gnu.org)
	by debbugs.gnu.org with esmtp (Exim 4.84_2)
	(envelope-from <debbugs-submit-bounces <at> debbugs.gnu.org>)
	id 1dr0GZ-0002UA-3M
	for submit <at> debbugs.gnu.org; Sun, 10 Sep 2017 07:19:07 -0400
Received: from eggs.gnu.org ([208.118.235.92]:46098)
 by debbugs.gnu.org with esmtp (Exim 4.84_2)
 (envelope-from <dak@HIDDEN>) id 1dr0GX-0002Th-T0
 for 28405 <at> debbugs.gnu.org; Sun, 10 Sep 2017 07:19:06 -0400
Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71)
 (envelope-from <dak@HIDDEN>) id 1dr0GP-0001Iz-Fr
 for 28405 <at> debbugs.gnu.org; Sun, 10 Sep 2017 07:19:00 -0400
X-Spam-Checker-Version: SpamAssassin 3.3.2 (2011-06-06) on eggs.gnu.org
X-Spam-Level: 
X-Spam-Status: No, score=-1.9 required=5.0 tests=BAYES_00,RP_MATCHES_RCVD
 autolearn=disabled version=3.3.2
Received: from fencepost.gnu.org ([2001:4830:134:3::e]:58825)
 by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from <dak@HIDDEN>)
 id 1dr0GP-0001Io-Bv; Sun, 10 Sep 2017 07:18:57 -0400
Received: from x2f3fcc9.dyn.telefonica.de ([2.243.252.201]:60408 helo=lola)
 by fencepost.gnu.org with esmtpsa (TLS1.2:RSA_AES_256_CBC_SHA1:256)
 (Exim 4.82) (envelope-from <dak@HIDDEN>)
 id 1dr0GO-0001zs-Qr; Sun, 10 Sep 2017 07:18:57 -0400
From: David Kastrup <dak@HIDDEN>
To: gojjoe@HIDDEN
Subject: Re: bug#28405: Inhibit auto-fill & LaTeX-indent-environment-list
References: <decfb652-f1a9-3660-c0ef-9f2e0481d2e2@HIDDEN>
Date: Sun, 10 Sep 2017 13:18:54 +0200
In-Reply-To: <decfb652-f1a9-3660-c0ef-9f2e0481d2e2@HIDDEN> (gojjoe's
 message of "Sun, 10 Sep 2017 13:10:30 +0200")
Message-ID: <87lglmztr5.fsf@HIDDEN>
User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/26.0.50 (gnu/linux)
MIME-Version: 1.0
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: 2001:4830:134:3::e
X-Spam-Score: -5.0 (-----)
X-Debbugs-Envelope-To: 28405
Cc: 28405 <at> debbugs.gnu.org
X-BeenThere: debbugs-submit <at> debbugs.gnu.org
X-Mailman-Version: 2.1.18
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 (-----)

gojjoe@HIDDEN writes:

> Dear All,
>
> =E2=80=93 Not really a bug:
>
> I have auto-fill mode on when editing tex files in LaTeX mode. I'd
> like to inhibit the fill functions within math environments like
> "equation", "gather", "align", though.
>
> One way to achieve this is given by Thomas here:
>
> https://tex.stackexchange.com/questions/69555/i-want-to-disable-auto-fill=
-mode-when-editing-equations#11480465
>
> This solution works with "equation" and "align", but strangely not
> with "gather" and "multline". The reason, I think, is that the latter
> are not included in LaTeX-indent-environment-list in its
> standard/global value, while "align" and "equation" are. I can
> customize and include them manually, but is there a reason why gather
> and multline aren't included?

In my default setting, align is _not_ included; you likely added it
yourself.

It is the job of amsmath.el to include most of those settings, so it's
likely that you haven't document parsing enabled and/or working.

See the first page of AUCTeX's documentation for more info.

--=20
David Kastrup




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

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


Received: (at submit) by debbugs.gnu.org; 10 Sep 2017 11:10:53 +0000
From debbugs-submit-bounces <at> debbugs.gnu.org Sun Sep 10 07:10:53 2017
Received: from localhost ([127.0.0.1]:58463 helo=debbugs.gnu.org)
	by debbugs.gnu.org with esmtp (Exim 4.84_2)
	(envelope-from <debbugs-submit-bounces <at> debbugs.gnu.org>)
	id 1dr08b-0002Hw-4u
	for submit <at> debbugs.gnu.org; Sun, 10 Sep 2017 07:10:53 -0400
Received: from eggs.gnu.org ([208.118.235.92]:44378)
 by debbugs.gnu.org with esmtp (Exim 4.84_2)
 (envelope-from <gojjoe@HIDDEN>) id 1dr08Z-0002Hi-Fz
 for submit <at> debbugs.gnu.org; Sun, 10 Sep 2017 07:10:52 -0400
Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71)
 (envelope-from <gojjoe@HIDDEN>) id 1dr08T-00070p-Eh
 for submit <at> debbugs.gnu.org; Sun, 10 Sep 2017 07:10:46 -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.5 required=5.0 tests=BAYES_05,FREEMAIL_FROM,
 T_DKIM_INVALID autolearn=disabled version=3.3.2
Received: from lists.gnu.org ([2001:4830:134:3::11]:43354)
 by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_256_CBC_SHA1:32)
 (Exim 4.71) (envelope-from <gojjoe@HIDDEN>) id 1dr08T-00070h-7x
 for submit <at> debbugs.gnu.org; Sun, 10 Sep 2017 07:10:45 -0400
Received: from eggs.gnu.org ([2001:4830:134:3::10]:35342)
 by lists.gnu.org with esmtp (Exim 4.71)
 (envelope-from <gojjoe@HIDDEN>) id 1dr08S-0006XA-2F
 for bug-auctex@HIDDEN; Sun, 10 Sep 2017 07:10:45 -0400
Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71)
 (envelope-from <gojjoe@HIDDEN>) id 1dr08N-0006yC-Sg
 for bug-auctex@HIDDEN; Sun, 10 Sep 2017 07:10:43 -0400
Received: from mail-wm0-x22f.google.com ([2a00:1450:400c:c09::22f]:46168)
 by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_128_CBC_SHA1:16)
 (Exim 4.71) (envelope-from <gojjoe@HIDDEN>) id 1dr08N-0006xf-HT
 for bug-auctex@HIDDEN; Sun, 10 Sep 2017 07:10:39 -0400
Received: by mail-wm0-x22f.google.com with SMTP id i189so23586044wmf.1
 for <bug-auctex@HIDDEN>; Sun, 10 Sep 2017 04:10:38 -0700 (PDT)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025;
 h=to:from:subject:message-id:date:user-agent:mime-version
 :content-language:content-transfer-encoding;
 bh=D+vQRQxs8AUwDFBXDoc/aERhWYtYtbvaBwK02TBG8sI=;
 b=nt3lY48Tcy8oRLMqtDYYsdb71ERVK6r/RgZ7u922wzDfTs98EbuBpAjH2APvhP7y1L
 r2aSAV9xGr+GxEb3Ncp3CtU+nDyMXfAMq/eCQC/wQm0SRjKEx8ugmQXn/65qqSYbAFeF
 4VYLmzrZcRKta4VrhSVgwU0lsDPH1r/rUlCcUJispm9Hyn5/9Bbr+O8JAdyseuv9F1Vw
 BQLBDSSPlfa8o/U5O7y6R/031Rc53BM1msQwKFCh+fqXzXSvlJqkyI4RPgTz9hkMFzQb
 nm4YNjTBrPDgEyr9XftHw5UpEqMtuxcNupbM2T2fc5sywtZauaREOjmpxs1QQu+ok6sD
 VaJQ==
X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed;
 d=1e100.net; s=20161025;
 h=x-gm-message-state:to:from:subject:message-id:date:user-agent
 :mime-version:content-language:content-transfer-encoding;
 bh=D+vQRQxs8AUwDFBXDoc/aERhWYtYtbvaBwK02TBG8sI=;
 b=Y7dMLXW2JBVmA6pgXeWRskIT2Rt2e/4jFpxa3Ib8J0aG5PV66yZG4Nl61g8BCxSgBu
 kqtLHR5UnfLi5pmX0bpSnDJgkuetmUxjB9R3dxDX1Nm1dV8M9DcMRr/ui43+35qyJW9m
 M1DOUMJ7hcWI+uDyCEqZ4zvPVLb+OdR2yALERMku6C8ZHayqZtXDiC+0oL1T2IohzexI
 /bijFuHtbf+s1mjEiVLIpRrJv6xBbjnlzVDbDxkIsXwsx1GR9qmMU50qM/WObYK4yK3U
 fv8SkZ2vGIFLepNvBhw/w0+GhipzvTfKgdtyV2f4sEcTWymrBOaH+gEEFNmeplWwWTvA
 LTpg==
X-Gm-Message-State: AHPjjUhkbbXfMB0wsum21LseRvX8JpnUUXJ12RA85gJMdzjTDmcGnDKl
 APcEt7BKM3+gzE/fov9u/CYDbVbk
X-Google-Smtp-Source: AOwi7QCzSCUsyTiRfT35yBcgy7VLVBglmvOZCQgYZqyTZ070THA+HVk9GOi0zBdmlAv8NwxP4wasZg==
X-Received: by 10.28.183.85 with SMTP id h82mr5398662wmf.24.1505041836875;
 Sun, 10 Sep 2017 04:10:36 -0700 (PDT)
Received: from hello.gmail.com ([87.236.195.22])
 by smtp.gmail.com with ESMTPSA id j65sm92491wmj.3.2017.09.10.04.10.34
 for <bug-auctex@HIDDEN>
 (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128);
 Sun, 10 Sep 2017 04:10:35 -0700 (PDT)
To: bug-auctex@HIDDEN
From: gojjoe@HIDDEN
Subject: Inhibit auto-fill & LaTeX-indent-environment-list
Message-ID: <decfb652-f1a9-3660-c0ef-9f2e0481d2e2@HIDDEN>
Date: Sun, 10 Sep 2017 13:10:30 +0200
User-Agent: Thunderbird/666
MIME-Version: 1.0
Content-Type: text/plain; charset=utf-8
Content-Language: en-CA
Content-Transfer-Encoding: 8bit
X-detected-operating-system: by eggs.gnu.org: Genre and OS details not
 recognized.
X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.6.x
X-Received-From: 2001:4830:134:3::11
X-Spam-Score: -4.0 (----)
X-Debbugs-Envelope-To: submit
X-BeenThere: debbugs-submit <at> debbugs.gnu.org
X-Mailman-Version: 2.1.18
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: -4.0 (----)

Dear All,

– Not really a bug:

I have auto-fill mode on when editing tex files in LaTeX mode. I'd like to inhibit the fill functions within math environments like "equation", "gather", "align", though.

One way to achieve this is given by Thomas here:

https://tex.stackexchange.com/questions/69555/i-want-to-disable-auto-fill-mode-when-editing-equations#11480465

This solution works with "equation" and "align", but strangely not with "gather" and "multline". The reason, I think, is that the latter are not included in LaTeX-indent-environment-list in its standard/global value, while "align" and "equation" are. I can customize and include them manually, but is there a reason why gather and multline aren't included?

Cheers,
J




Acknowledgement sent to gojjoe@HIDDEN:
New bug report received and forwarded. Copy sent to bug-auctex@HIDDEN. Full text available.
Report forwarded to bug-auctex@HIDDEN:
bug#28405; 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: Sun, 10 Sep 2017 11:30:01 UTC

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