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 WFALFcmbR188TgAA0tVLHw (envelope-from ) for ; Thu, 27 Aug 2020 11:40:57 +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 ONvqEMmbR1/cSAAAB5/wlQ (envelope-from ) for ; Thu, 27 Aug 2020 11:40:57 +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 C9F9D9401AE for ; Thu, 27 Aug 2020 11:40:56 +0000 (UTC) Received: from localhost ([::1]:44352 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1kBGH1-0007Xh-P6 for larch@yhetil.org; Thu, 27 Aug 2020 07:40:55 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]:41960) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1kBGGF-0007XJ-5D for emacs-orgmode@gnu.org; Thu, 27 Aug 2020 07:40:07 -0400 Received: from mail.freitagsrunde.org ([130.149.246.218]:55968) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1kBGGC-0005s1-5B for emacs-orgmode@gnu.org; Thu, 27 Aug 2020 07:40:06 -0400 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=freitagsrunde.org; s=dkimandmate; h=Content-Transfer-Encoding:Content-Type: In-Reply-To:MIME-Version:Date:Message-ID:Subject:From:References:Cc:To:Sender :Reply-To:Content-ID:Content-Description:Resent-Date:Resent-From: Resent-Sender:Resent-To:Resent-Cc:Resent-Message-ID:List-Id:List-Help: List-Unsubscribe:List-Subscribe:List-Post:List-Owner:List-Archive; bh=dVSrSnp2ggJ+X/XyDIz3mG6H/BwaJYMV8fKbXSVHKn8=; b=kEZx9lLKO4UbnT2dERoFMy3bGx R4XeEHFdruMAnycmWxTXLUv3+KesL6gJ4ex4rLogZ/UKl9QG0WuDZQlHcJ6Zk2wddWreImV76VzoQ Ujd5AIOK9lHHIxagekpLAiS5UgoUUq82myC4C4F+5DL5OOYMHneCMvoEjFXmZV1Arih4=; Received: from ip4d14ff24.dynamic.kabel-deutschland.de ([77.20.255.36] helo=[192.168.0.9]) by mail.freitagsrunde.org with esmtpsa (TLSv1.2:ECDHE-RSA-AES128-GCM-SHA256:128) (Exim 4.92) (envelope-from ) id 1kBGG8-0000EV-50; Thu, 27 Aug 2020 13:40:00 +0200 To: Kyle Meyer References: <87pn8fm2ux.fsf@kyleam.com> <75354f45-5fb7-423b-3aa8-a25c790929c3@freitagsrunde.org> <87tuwqm5pe.fsf@kyleam.com> From: Stefi Autocrypt: addr=stefi@freitagsrunde.org; keydata= mQENBF5PAzABCADnjxaXsqFNxgZbI6hVfCAqj8m2iESin8B7heYBF7Om1gxDqOjNSuDzLx0e CNKmtw8PWS4X/M5kzjQ/bq+CVh408hlDk2h/5fgQ984HktdV1KyHuthan80/Mb8ba5aUKWBX K0A3CJk2RInzjNXSNB3L4zuZcmVesnwLzTO7xlLmKf48fqfzyxg5syr11762b671HK5q7el5 8BVw63w5+iPVPQKNRA0ThM2NF1Yc3aX3IxZARpnO+Cbo7ClO1P99re4mXAt0zmMn6v0UU1tT ijqyh/9yPUdYRGyAQvj/61XlWluymxXKARDD2aN3Y8sbH+rSK0oNUSq/5zeDPRWCtmabABEB AAG0H1N0ZWZpIDxzdGVmaUBmcmVpdGFnc3J1bmRlLm9yZz6JAVQEEwEIAD4WIQTWFRUDH4+p lceWUL841q6Cdq0NvQU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BmKXbb+cp0eoIbJWaFX5QBtUSYT+Z6EceDFlboPnw2ZohHpE4hX+zka1n6Uq8S bblB9KBbJBMsgyFvwRYNS1hxIrWX3Yy5eW51/TrsIWyHS7EJ/dKrDMHJFXDOOzaKMpt4 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/)] Message-ID: <6a88885c-cc08-33fb-8793-ca0c1b459d88@freitagsrunde.org> Date: Thu, 27 Aug 2020 13:39:59 +0200 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:68.0) Gecko/20100101 Thunderbird/68.10.0 MIME-Version: 1.0 In-Reply-To: <87tuwqm5pe.fsf@kyleam.com> Content-Type: text/plain; charset=utf-8 Content-Language: en-US-large Content-Transfer-Encoding: 8bit Received-SPF: pass client-ip=130.149.246.218; envelope-from=stefi@freitagsrunde.org; helo=mail.freitagsrunde.org X-detected-operating-system: by eggs.gnu.org: First seen = 2020/08/27 07:40:01 X-ACL-Warn: Detected OS = Linux 3.11 and newer [fuzzy] X-Spam_score_int: -38 X-Spam_score: -3.9 X-Spam_bar: --- X-Spam_report: (-3.9 / 5.0 requ) BAYES_00=-1.9, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, DKIM_VALID_EF=-0.1, NICE_REPLY_A=-1.782, SPF_HELO_NONE=0.001, SPF_PASS=-0.001 autolearn=ham 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: emacs-orgmode@gnu.org Errors-To: emacs-orgmode-bounces+larch=yhetil.org@gnu.org Sender: "Emacs-orgmode" X-Scanner: scn0 Authentication-Results: aspmx1.migadu.com; dkim=fail (rsa verify failed) header.d=freitagsrunde.org header.s=dkimandmate header.b=kEZx9lLK; dmarc=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.01 X-TUID: iAfztQ6HEDjk 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)))) On 8/26/20 5:44 AM, Kyle Meyer wrote: > Stefi writes: > >> Hi Kyle, hi mailing list, >> >> I also evaluated (org-inside-LaTeX-fragment-p) and got non-nil values >> for all blocks, however, inside the align* environment, the "fr" does >> not get expanded on TAB whereas it does in equation environment. So >> either the matchers do not include align/align*, or there is something >> different now with cdlatex. > > I'm leaning towards there being something different with cdlatex. > > I've now installed cdlatex from > . The > file header says the version is 4.8, and the file's md5sum is > 9246a4e9f30c9589406783ffd5270641. > > I tried your example file with this minimal configuration: > > (require 'org) > (add-hook 'org-mode-hook (lambda () (org-cdlatex-mode 1))) > (require 'edebug) > (edebug-instrument-function 'org-try-cdlatex-tab) > > As you and Rafael report, "fr => \frac{}{}" is not expanded in the align > or align* environments, while it is expanded in the equation > environment. However, stepping through the org-try-cdlatex-tab call, > cdlatex-tab is called in all cases. So it would seem that something has > changed downstream. > > In line with this idea, I observed the same behavior with both the > latest commit of the master branch (cdfc404be) and v9.2 (released in Dec > 2018). Also, as I mentioned in earlier in the thread, I don't see any > recent changes on Org's side related to the cdlatex functionality. >