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 QmWtGb7aRV9EdQAA0tVLHw (envelope-from ) for ; Wed, 26 Aug 2020 03:45:02 +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 KB5nFb7aRV/sTAAAB5/wlQ (envelope-from ) for ; Wed, 26 Aug 2020 03:45:02 +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 B5FC19402A0 for ; Wed, 26 Aug 2020 03:45:01 +0000 (UTC) Received: from localhost ([::1]:35308 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1kAmMu-00008N-LB for larch@yhetil.org; Tue, 25 Aug 2020 23:45:00 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]:35278) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1kAmMX-000085-Hb for emacs-orgmode@gnu.org; Tue, 25 Aug 2020 23:44:37 -0400 Received: from pb-smtp1.pobox.com ([64.147.108.70]:53564) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1kAmMV-0006JR-77 for emacs-orgmode@gnu.org; Tue, 25 Aug 2020 23:44:37 -0400 Received: from pb-smtp1.pobox.com (unknown [127.0.0.1]) by pb-smtp1.pobox.com (Postfix) with ESMTP id 29C14788C1; Tue, 25 Aug 2020 23:44:32 -0400 (EDT) (envelope-from kyle@kyleam.com) DKIM-Signature: v=1; a=rsa-sha1; c=relaxed; d=pobox.com; h=from:to:cc :subject:in-reply-to:references:date:message-id:mime-version :content-type; s=sasl; bh=ajlrYuLAfFncpe9AsFNlXIWWWpg=; b=l5Osq8 jqGebA1AqLNtQTTPdy8O1/NUecCLqybd9fy2P6N5detHt0IzKX5d8J8XxteTKp4L qhu+U3XvZwjsjhE4mMvt4ADeYDHcSYNZxz/nk/rGVY9m1KxJBRH78vRDj9eTAbOc mCqBXoUAlEFMBSV0/tpJPccaHEcg7NqlZPl3o= Received: from pb-smtp1.nyi.icgroup.com (unknown [127.0.0.1]) by pb-smtp1.pobox.com (Postfix) with ESMTP id 20540788BF; Tue, 25 Aug 2020 23:44:32 -0400 (EDT) (envelope-from kyle@kyleam.com) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed; d=kyleam.com; h=from:to:cc:subject:in-reply-to:references:date:message-id:mime-version:content-type; s=mesmtp; bh=Ck5UQzMCK/FFQ2jd/c4CzYSQLxyfTVLz+WZD3p9//2s=; b=qTgnwhIDUySFZgL3ADB7bnTIxoZGIl2GBy98kTYzbC1jVtgHwS+ioq9eulNHnKaJTRyozLry3609E3Ffek4/zKMomFTJPNySNuZJHv5ozOCTNI73WsA+HLrDeeiz7mmHhJ/Wfk/EbdSQdj1YuWFYw72IjwVS7wNCyDeUD+WOwfA= Received: from localhost (unknown [45.33.91.115]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by pb-smtp1.pobox.com (Postfix) with ESMTPSA id 72AAB788BE; Tue, 25 Aug 2020 23:44:30 -0400 (EDT) (envelope-from kyle@kyleam.com) From: Kyle Meyer To: Stefi 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/)] In-Reply-To: <75354f45-5fb7-423b-3aa8-a25c790929c3@freitagsrunde.org> References: <87pn8fm2ux.fsf@kyleam.com> <75354f45-5fb7-423b-3aa8-a25c790929c3@freitagsrunde.org> Date: Tue, 25 Aug 2020 23:44:29 -0400 Message-ID: <87tuwqm5pe.fsf@kyleam.com> MIME-Version: 1.0 Content-Type: text/plain X-Pobox-Relay-ID: 72A17716-E74E-11EA-A25F-01D9BED8090B-24757444!pb-smtp1.pobox.com Received-SPF: pass client-ip=64.147.108.70; envelope-from=kyle@kyleam.com; helo=pb-smtp1.pobox.com X-detected-operating-system: by eggs.gnu.org: First seen = 2020/08/25 23:44:32 X-ACL-Warn: Detected OS = Linux 2.2.x-3.x [generic] [fuzzy] X-Spam_score_int: -27 X-Spam_score: -2.8 X-Spam_bar: -- X-Spam_report: (-2.8 / 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, RCVD_IN_DNSWL_LOW=-0.7, 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=pass header.d=pobox.com header.s=sasl header.b=l5Osq8 j; dkim=pass header.d=kyleam.com header.s=mesmtp header.b=qTgnwhID; 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: -1.21 X-TUID: UWocgaGxS3+t 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.