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 12:22:17 +0000
From debbugs-submit-bounces <at> debbugs.gnu.org Sun Sep 10 08:22:17 2017
Received: from localhost ([127.0.0.1]:58532 helo=debbugs.gnu.org)
	by debbugs.gnu.org with esmtp (Exim 4.84_2)
	(envelope-from <debbugs-submit-bounces <at> debbugs.gnu.org>)
	id 1dr1Fh-0005l7-HI
	for submit <at> debbugs.gnu.org; Sun, 10 Sep 2017 08:22:17 -0400
Received: from mail-wr0-f194.google.com ([209.85.128.194]:34410)
 by debbugs.gnu.org with esmtp (Exim 4.84_2)
 (envelope-from <gojjoe@HIDDEN>) id 1dr1Ff-0005kt-KF
 for 28405 <at> debbugs.gnu.org; Sun, 10 Sep 2017 08:22:15 -0400
Received: by mail-wr0-f194.google.com with SMTP id k20so3190148wre.1
 for <28405 <at> debbugs.gnu.org>; Sun, 10 Sep 2017 05:22:15 -0700 (PDT)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025;
 h=subject:from:to:references:cc:message-id:date:user-agent
 :mime-version:in-reply-to:content-language:content-transfer-encoding;
 bh=Ygk34gH+2ho2tNcc/0QSmGxyFCnpgcKYZaFsq8EQY5w=;
 b=CoDSMYaCT13az29bWNBtlyD+WMQgjcgl64LcWO7LKMGQ+Z4nK9VbuH6qzxFOZN2urN
 InPaIUgjuMzjR/1KXdYqoysh69PC5mv6ENYO0EBlh/248ot2A+hudtJ+ZVGuSBLn8VV1
 P7UYAp5A5xvQuMp5loRmBYMbqRJ39124iZCrCacOrunMDCIpPJVrlX9Or1+TcPtdCxh/
 dhZ5E524xhJ6cYLHq4y2mYUjPG9Tk3GUC7M8FpeGQlpQytzBMfuIPXcv/2LIav+kYVBc
 uxPIYyCE2j0+GIVHCAag3vetsf3YPzSoyk4i0G4xUJZXJgLgXeZeL5bBpKFg8t3MbDgu
 NDcA==
X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed;
 d=1e100.net; s=20161025;
 h=x-gm-message-state:subject:from:to:references:cc:message-id:date
 :user-agent:mime-version:in-reply-to:content-language
 :content-transfer-encoding;
 bh=Ygk34gH+2ho2tNcc/0QSmGxyFCnpgcKYZaFsq8EQY5w=;
 b=i6guHlUJsruGkIUu42a1DMEBqTdFxKGozWe6iadQesIALkSaFRuuPslqJPViqj1EEo
 KAj0p/+Du6nJoSGOWBRjCqZZpa8GivDUTaqmnHoMzxv1C27q+FoOkZe7eBNvaplQj4Dq
 OWQyTmeCDzQoKMvFu4LqmsU2LTwN9sf5Tk+EkyxIRAdhTKf9gOsEE2Z+cCjtiEWCXy23
 wIIXk2hgmmsMOr0YkT1bNJKLkTj8TMwZsfGLSqk1HIf0gi/3XRi15N9k9ndLkh2vhQWB
 FcQOQplj8uPrvVbo7g+fFW0MJ58UrisitfAIVWVdy197xuzOk9HqZJVP8d2Bznz8qzHy
 Nl7A==
X-Gm-Message-State: AHPjjUghUgXIm1KjX6K3GAg14nPbvTF5B+W8VMn28t/8Ik0AAoO+dHbg
 6iuZt9D9HjKbGJRbl9Y=
X-Google-Smtp-Source: ADKCNb63O7izuE+e8hTUBVUqyMot9kWY9PXxkaLnpQHcWq2BNit7MY+2Sdhb6Juq1+y2RrmbjoMdXQ==
X-Received: by 10.223.132.225 with SMTP id 88mr5903481wrg.162.1505046130009;
 Sun, 10 Sep 2017 05:22:10 -0700 (PDT)
Received: from hello.gmail.com ([87.236.195.22])
 by smtp.gmail.com with ESMTPSA id v82sm9330660wmd.44.2017.09.10.05.22.06
 (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128);
 Sun, 10 Sep 2017 05:22:08 -0700 (PDT)
Subject: Re: bug#28405: Inhibit auto-fill & LaTeX-indent-environment-list
From: gojjoe@HIDDEN
To: 28405 <at> debbugs.gnu.org
References: <decfb652-f1a9-3660-c0ef-9f2e0481d2e2@HIDDEN>
 <87lglmztr5.fsf@HIDDEN> <87h8waztkt.fsf@HIDDEN>
 <908cbf12-aa45-f72b-0619-431e819ea0be@HIDDEN>
Message-ID: <72a8dc69-aa39-5b61-7d7d-08ab39a99ead@HIDDEN>
Date: Sun, 10 Sep 2017 14:22:03 +0200
User-Agent: Thunderbird/666
MIME-Version: 1.0
In-Reply-To: <908cbf12-aa45-f72b-0619-431e819ea0be@HIDDEN>
Content-Type: text/plain; charset=utf-8
Content-Language: en-CA
Content-Transfer-Encoding: 7bit
X-Spam-Score: -2.8 (--)
X-Debbugs-Envelope-To: 28405
Cc: David Kastrup <dak@HIDDEN>
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: -2.8 (--)



On 2017-09-10 13:39, gojjoe@HIDDEN wrote:
> I'm now checking the other style files loaded by auctex-reset to see whether any of them is causing this problem. I'm not loading any custom-made style files, though.

Could the culprit be amsmath.el itself? I've manually added to it

(add-to-list 'LaTeX-indent-environment-list '("gather" LaTeX-indent-tabular) t)
 
and now "gather" appears in LaTeX-indent-environment-list.

I see that amsmath.el does issue a "LaTeX-add-environments", but no "(add-to-list 'LaTeX-indent-environment-list..."

Cheers,
J




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:39:16 +0000
From debbugs-submit-bounces <at> debbugs.gnu.org Sun Sep 10 07:39:16 2017
Received: from localhost ([127.0.0.1]:58490 helo=debbugs.gnu.org)
	by debbugs.gnu.org with esmtp (Exim 4.84_2)
	(envelope-from <debbugs-submit-bounces <at> debbugs.gnu.org>)
	id 1dr0a4-0004mb-2L
	for submit <at> debbugs.gnu.org; Sun, 10 Sep 2017 07:39:16 -0400
Received: from mail-wr0-f173.google.com ([209.85.128.173]:34160)
 by debbugs.gnu.org with esmtp (Exim 4.84_2)
 (envelope-from <gojjoe@HIDDEN>) id 1dr0a2-0004mN-CK
 for 28405 <at> debbugs.gnu.org; Sun, 10 Sep 2017 07:39:14 -0400
Received: by mail-wr0-f173.google.com with SMTP id v109so10162515wrc.1
 for <28405 <at> debbugs.gnu.org>; Sun, 10 Sep 2017 04:39:14 -0700 (PDT)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025;
 h=subject:to:references:cc:from:message-id:date:user-agent
 :mime-version:in-reply-to:content-language:content-transfer-encoding;
 bh=bsi4eZx/+E9yrT1cgcGGfri+trsHkg/ziKmC6jRjgHI=;
 b=qDY6AeS1+29U1eMbv4WP/3P4BSYfi4L+B+fKd/QDLBJBDK1BWPZh1q8ov2w1OjXbKB
 Sr7rHmI/g0xis/Fa2Wm7BnBPS8v6HHRa0OokacSpIQl5tqAYcmzpAI7Cbqk1ckarm53S
 tLABnSdE5Fv5op1YinxAzaFid4yZD83I3tAjqtQKGqN1Ka3uCd5xBKyEzra2Uoo8eqVt
 AUacJ/YaoxHCfqAUi2TvgOssWl4WOuS5iO8fGNFeJFMumpj1ZRodF7ZkBzDXrzlxRp6U
 M8Nb0PWBAM3JeUbgXTyfnu+ZCUkxhSDr8W+nQtB6VxSF9QmNBxPHHwN+bnynC5tiaLfy
 Wtzw==
X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed;
 d=1e100.net; s=20161025;
 h=x-gm-message-state:subject:to:references:cc:from:message-id:date
 :user-agent:mime-version:in-reply-to:content-language
 :content-transfer-encoding;
 bh=bsi4eZx/+E9yrT1cgcGGfri+trsHkg/ziKmC6jRjgHI=;
 b=cIGrtC/YO9lDKA49yKvkcAyYwU2TH0YpkW8uDgx8r3qS5pto1xlCj+dRsARDmTsnq9
 ZvMHPESqMn88lq1HitNSFSOaQ36A048Ukx84ZDlCZALW+wmms1K6CjOfCYmz6XfVwKEu
 LlGGOMQOcJzJALbpw7iTCStrx1RADvkDU+d6N4h050YMN4E7eeTncU5qs5xGqFYQimoD
 zeYS/klVRWDBBGFGiFynmOg7AJCufPwdBE+kLjESx8R3tz6Jq3zyx/qlwefKm8qxcEK+
 x4HZJniIMWF2n/L9rJ0Yf4Ul8vu+RSDuMhRCCd8SXpIJArZwk+jYYfA7mh6ku2Vg4Uhj
 SkjQ==
X-Gm-Message-State: AHPjjUhYs8vRCNokj/+U2jI5ejI7AE27Cvt0V3IUF12CuGB+q9jqTf4J
 MrKd5ijQl2RTk+KNQXo=
X-Google-Smtp-Source: ADKCNb6yhFGDv9UwQDFGp2PwHeQORivqlHMwLtsPCNjYl/oT0/CtGQm7I27zFpYDJvROm1hWwQa9iA==
X-Received: by 10.223.164.74 with SMTP id e10mr6888013wra.19.1505043548408;
 Sun, 10 Sep 2017 04:39:08 -0700 (PDT)
Received: from hello.gmail.com ([87.236.195.22])
 by smtp.gmail.com with ESMTPSA id e8sm14545454wmf.12.2017.09.10.04.39.06
 (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128);
 Sun, 10 Sep 2017 04:39:07 -0700 (PDT)
Subject: Re: bug#28405: Inhibit auto-fill & LaTeX-indent-environment-list
To: 28405 <at> debbugs.gnu.org
References: <decfb652-f1a9-3660-c0ef-9f2e0481d2e2@HIDDEN>
 <87lglmztr5.fsf@HIDDEN> <87h8waztkt.fsf@HIDDEN>
From: gojjoe@HIDDEN
Message-ID: <908cbf12-aa45-f72b-0619-431e819ea0be@HIDDEN>
Date: Sun, 10 Sep 2017 13:39:02 +0200
User-Agent: Thunderbird/666
MIME-Version: 1.0
In-Reply-To: <87h8waztkt.fsf@HIDDEN>
Content-Type: text/plain; charset=utf-8
Content-Language: en-CA
Content-Transfer-Encoding: 7bit
X-Spam-Score: -2.8 (--)
X-Debbugs-Envelope-To: 28405
Cc: David Kastrup <dak@HIDDEN>
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: -2.8 (--)

Hi David,

>> 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.


Indeed. What's strange is that I:

1. delete the auto-generated el style file for this particular buffer
2. reset AUCTex with C-u C-c C-n 
3. check the message logs and I see it's loading amsmath.elc:

Loading c:/[...]/.emacs.d/elpa/auctex-11.91.0/style/amsmath.elc...done

4. inquiry about the value of LaTeX-indent-environment-list in that buffer, but "gather" and "multline" and several amsmath others do *not* appear there.

I'm now checking the other style files loaded by auctex-reset to see whether any of them is causing this problem. I'm not loading any custom-made style files, though.

Cheers,
J




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: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: Mon, 25 Nov 2019 12:00:02 UTC

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