From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp0 ([2001:41d0:2:4a6f::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by ms11 with LMTPS id gK0kK6OkRl9QdQAA0tVLHw (envelope-from ) for ; Wed, 26 Aug 2020 18:06:27 +0000 Received: from aspmx1.migadu.com ([2001:41d0:2:4a6f::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by mp0 with LMTPS id 8N4OJ6OkRl/VUwAA1q6Kng (envelope-from ) for ; Wed, 26 Aug 2020 18:06:27 +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 D7AEE94053E for ; Wed, 26 Aug 2020 18:06:26 +0000 (UTC) Received: from localhost ([::1]:60838 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1kAzoW-0000wH-Rm for larch@yhetil.org; Wed, 26 Aug 2020 14:06:24 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]:50184) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1kAzo3-0000w5-7N for emacs-orgmode@gnu.org; Wed, 26 Aug 2020 14:05:55 -0400 Received: from mail.freitagsrunde.org ([130.149.246.218]:40938) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1kAzo1-0004q2-1I for emacs-orgmode@gnu.org; Wed, 26 Aug 2020 14:05:54 -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=bVeTdPYoPNcvUMNyJ5yEm8ft8EkswYeECWRvcUg/Cms=; b=YJCjshxlSfygidOnvzltRvwNhO 3behbXpeGuKDr4gk4C5/GvTx0wj8ubRgcmOYUip682O+iGthnIylNM+NwEEEl38QBJDg9gqX0lrKO qNXF4esJDe5ukrDjT9hhJQYs4xdJqKa4+rD5sr7eA/9pze4soGeh3bKStgLRHQNNQ9PE=; Received: from ip2505f07a.dynamic.kabel-deutschland.de ([37.5.240.122] 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 1kAznw-00037A-5V; Wed, 26 Aug 2020 20:05:48 +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 lceWUL841q6Cdq0NvQUCXk8DMgI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p0eoIbJWaFX5QBtUSYT+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: Date: Wed, 26 Aug 2020 20:05:47 +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/26 14:05:49 X-ACL-Warn: Detected OS = Linux 3.11 and newer [fuzzy] X-Spam_score_int: -42 X-Spam_score: -4.3 X-Spam_bar: ---- X-Spam_report: (-4.3 / 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=-2.239, 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=YJCjshxl; 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: 6ovYYFnfEkE0 I can also confirm that org-try-cdlatex-tab outputs "t" in all cases but does not expand in align environment. I noticed that cdlatex-env-alist-default does not include the align environment. I tried to add it to "Cdlatex Env Alist" in the customize browser but it did not change the behavior to what I expect. I skimmed through cdlatex.el but did not find anything suspicious. I am not a hardcore lisp coder though. 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. >