From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp2 ([2001:41d0:2:4a6f::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by ms11 with LMTPS id EI49LqiqSF+BXwAA0tVLHw (envelope-from ) for ; Fri, 28 Aug 2020 06:56:40 +0000 Received: from aspmx1.migadu.com ([2001:41d0:2:4a6f::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by mp2 with LMTPS id CIL2KaiqSF82IgAAB5/wlQ (envelope-from ) for ; Fri, 28 Aug 2020 06:56:40 +0000 Received: from lists.gnu.org (lists.gnu.org [209.51.188.17]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by aspmx1.migadu.com (Postfix) with ESMTPS id 3F7B59401AE for ; Fri, 28 Aug 2020 06:56:40 +0000 (UTC) Received: from localhost ([::1]:60972 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1kBYJS-00031z-72 for larch@yhetil.org; Fri, 28 Aug 2020 02:56:38 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]:43796) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1kBYJ3-00031f-0p for emacs-orgmode@gnu.org; Fri, 28 Aug 2020 02:56:13 -0400 Received: from mail-ua1-f51.google.com ([209.85.222.51]:37532) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1kBYJ1-0003iX-5g for emacs-orgmode@gnu.org; Fri, 28 Aug 2020 02:56:12 -0400 Received: by mail-ua1-f51.google.com with SMTP id v20so70834ual.4 for ; Thu, 27 Aug 2020 23:56:09 -0700 (PDT) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:references:in-reply-to:from:date :message-id:subject:to:cc; bh=4feCU0XmkZusdwJzCj++13RJkbfordj6dcQnOqJU9hk=; b=nX7M/P2cZIbvZUjuvP86uAl/uLTkQE6RpgKEbxsCtyNwYd46KRYu8XvsZHYEhPD/m+ AMt639RQxNQzYnIEHrCzJjcb+/6g5oThvhQZlbQWMbwc3ii2J2+wM9zaM0bjaZYQc3U0 lc2vhQKlX+0d6J+LHGViisaSNTT3WuTiL7RkwTxQlxzjS2udGK4i9BqpB6kDMT/0DCja HXMnIUhRzR1KU0S8wqLS0Ns3A1ZDzJPP/GefhnTEsYTSqcMCAuPjTSqFuzJ7Krjit6EN PIZw03LOIcEexenSOIHz+kH67szveron5/sC5ioClCQ/0WdlB+zRFCm92be+0TBEyiSr I8lQ== X-Gm-Message-State: AOAM531Dl/Nq/20td1vjc5lBT4ycv4u4cXz5L4PSDr52DQk5EnpqOAwK KQL1dl/ZmwtY168Nmm6wHxJbq8OYVlF8cIicOyJRPJLQfmQ= X-Google-Smtp-Source: ABdhPJzt2KKymsrpofo+ISMvQMmnvRrNAdZaMTw7zNKegrrf17PQHpPpyXOaZLEDIjqcTe8l1m/B9COB6La/ow82gzs= X-Received: by 2002:ab0:5b91:: with SMTP id y17mr135410uae.95.1598597768610; Thu, 27 Aug 2020 23:56:08 -0700 (PDT) MIME-Version: 1.0 References: <87pn8fm2ux.fsf@kyleam.com> <75354f45-5fb7-423b-3aa8-a25c790929c3@freitagsrunde.org> <87tuwqm5pe.fsf@kyleam.com> <6a88885c-cc08-33fb-8793-ca0c1b459d88@freitagsrunde.org> <874kontl0d.fsf@kyleam.com> In-Reply-To: <874kontl0d.fsf@kyleam.com> From: Carsten Dominik Date: Fri, 28 Aug 2020 08:55:51 +0200 Message-ID: Subject: Re: Bug: no math-mode detection for align-environment [9.3.7 (9.3.7-13-ge62ca4-elpaplus @ /home/stefi/.emacs.d/elpa/org-plus-contrib-20200713/)] To: Kyle Meyer Content-Type: multipart/alternative; boundary="00000000000023086a05adea8c62" Received-SPF: pass client-ip=209.85.222.51; envelope-from=carsten.dominik@gmail.com; helo=mail-ua1-f51.google.com X-detected-operating-system: by eggs.gnu.org: First seen = 2020/08/28 02:56:08 X-ACL-Warn: Detected OS = Linux 2.2.x-3.x [generic] [fuzzy] X-Spam_score_int: -13 X-Spam_score: -1.4 X-Spam_bar: - X-Spam_report: (-1.4 / 5.0 requ) BAYES_00=-1.9, FREEMAIL_FORGED_FROMDOMAIN=0.25, FREEMAIL_FROM=0.001, HEADER_FROM_DIFFERENT_DOMAINS=0.249, HTML_MESSAGE=0.001, RCVD_IN_DNSWL_NONE=-0.0001, RCVD_IN_MSPIKE_H2=-0.001, SPF_HELO_NONE=0.001, SPF_PASS=-0.001 autolearn=no autolearn_force=no X-Spam_action: no action X-BeenThere: emacs-orgmode@gnu.org X-Mailman-Version: 2.1.23 Precedence: list List-Id: "General discussions about Org-mode." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Cc: Stefi , org-mode list Errors-To: emacs-orgmode-bounces+larch=yhetil.org@gnu.org Sender: "Emacs-orgmode" X-Scanner: scn0 Authentication-Results: aspmx1.migadu.com; dkim=none; dmarc=fail reason="SPF not aligned (relaxed), No valid DKIM" header.from=uva.nl (policy=none); spf=pass (aspmx1.migadu.com: domain of emacs-orgmode-bounces@gnu.org designates 209.51.188.17 as permitted sender) smtp.mailfrom=emacs-orgmode-bounces@gnu.org X-Spam-Score: 0.59 X-TUID: f1EXBgJl+Ulw --00000000000023086a05adea8c62 Content-Type: text/plain; charset="UTF-8" Hi, AUCTeX has taken back this change, realizing that texmathp.el is also used in contexts where the mechanisms of AUCTeX to find out about LaTeX packages being used does not work. I do think this is already fixed in the latest AUCTeX version. At least it is fixed in their git. - Carsten Carsten On Fri, Aug 28, 2020 at 7:09 AM Kyle Meyer wrote: > Stefi writes: > > > It might be a change to texmathp.el. It is part of Auctex and checks if > > math mode is on or off. I could not find align environment in the list > > of default environments. Maybe that has changed. > > > > However, I added align and align* to "Texmathp Tex Commands" from the > > customize browser (open a .tex file to customize auctex). Tab-expansion > > is working now. Can anyone confirm? > > > > In my .emacs, it added to custom-set-variables: > > '(texmathp-tex-commands (quote (("align*" env-on) ("align" env-on)))) > > Yes, that results in expansion on my end as well. > > It looks like this issue was introduced with AUCTeX's 91701704 (Delete > overhead in extending font lock range of math expression, 2020-06-11). > If you're getting AUCTeX from ELPA, the regression is included the > current version there (12.2.4, 2020-06-29). > > At the start of this month, it was fixed in f04a508f (Restore all math > environments in texmathp.el, 2020-08-01), so the issue should go away > with the next update that lands on ELPA. > > --00000000000023086a05adea8c62 Content-Type: text/html; charset="UTF-8" Content-Transfer-Encoding: quoted-printable
Hi,

AUCTeX has taken back th= is change, realizing that texmathp.el is also used in contexts where the me= chanisms of AUCTeX to find out about LaTeX packages being used does not wor= k.=C2=A0 I do think this is already fixed in the latest AUCTeX version.=C2= =A0 At least it is fixed in their git.

- Carsten

Carsten

On Fri, Aug 28, 2020 at 7:09 A= M Kyle Meyer <kyle@kyleam.com>= wrote:
Stefi wr= ites:

> It might be a change to texmathp.el. It is part of Auctex and checks i= f
> math mode is on or off. I could not find align environment in the list=
> of default environments. Maybe that has changed.
>
> However, I added align and align* to "Texmathp Tex Commands"= from the
> customize browser (open a .tex file to customize auctex). Tab-expansio= n
> is working now. Can anyone confirm?
>
> In my .emacs, it added to custom-set-variables:
> '(texmathp-tex-commands (quote (("align*" env-on) ("= ;align" env-on))))

Yes, that results in expansion on my end as well.

It looks like this issue was introduced with AUCTeX's 91701704 (Delete<= br> overhead in extending font lock range of math expression, 2020-06-11).
If you're getting AUCTeX from ELPA, the regression is included the
current version there (12.2.4, 2020-06-29).

At the start of this month, it was fixed in f04a508f (Restore all math
environments in texmathp.el, 2020-08-01), so the issue should go away
with the next update that lands on ELPA.

--00000000000023086a05adea8c62--