From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp10.migadu.com ([2001:41d0:2:4a6f::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by ms9.migadu.com with LMTPS id +I28EoZqHGRs0QAASxT56A (envelope-from ) for ; Thu, 23 Mar 2023 16:04:38 +0100 Received: from aspmx1.migadu.com ([2001:41d0:2:4a6f::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by mp10.migadu.com with LMTPS id OB+wEYZqHGRWnAAAG6o9tA (envelope-from ) for ; Thu, 23 Mar 2023 16:04:38 +0100 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 09DF92D05 for ; Thu, 23 Mar 2023 16:04:38 +0100 (CET) Authentication-Results: aspmx1.migadu.com; dkim=fail ("headers rsa verify failed") header.d=gmail.com header.s=20210112 header.b=CA35NQLN; spf=pass (aspmx1.migadu.com: domain of "emacs-orgmode-bounces+larch=yhetil.org@gnu.org" designates 209.51.188.17 as permitted sender) smtp.mailfrom="emacs-orgmode-bounces+larch=yhetil.org@gnu.org"; dmarc=fail reason="SPF not aligned (relaxed)" header.from=gmail.com (policy=none) ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=yhetil.org; s=key1; t=1679583878; h=from:from:sender:sender:reply-to:subject:subject:date:date: message-id:message-id:to:to:cc:mime-version:mime-version: content-type:content-type: content-transfer-encoding:content-transfer-encoding: in-reply-to:in-reply-to:references:references:list-id:list-help: list-unsubscribe:list-subscribe:list-post:dkim-signature; bh=ORARJYM4FByCfA2gpNSnbRAFlO2GW7TpOyJT623dDj0=; b=I5xuStJTpnUccqO1Ji/bQ05yC+dXQuNjLH5BzFAS4cgWXBKx2xiLvnyAvxD/qaWBOuO6QU I0MZ86AuhznLSZFi3gtKEOi2qTw1oiOxJ0txudzHur2l6N6NVghUWC3a0P/XQccPzpXbWq hGX82dbZFwTIsX77w4D1jWk2P8ad3znJl1kARHpbNIQ31vXezcBJ/FFcIv6ccwq1ALhMXf Lij/N/ykjpZbx7lavGDSSkYxD2t8EyZ/X1MvX+KwIx0VvFrRgjWCVC+pj/Rhb/tWAa+8cd ABwUdqL9IIybf75an+jKWOJoiJ1ncEFAJkppRNfDfGo1Jf02/pwBjIuWChjQ+A== ARC-Seal: i=1; s=key1; d=yhetil.org; t=1679583878; a=rsa-sha256; cv=none; b=hq/VzsOCpkDZ1h/L6RM/tgFx1VaaKqLYbI+OKRWRm1J6xr0IjQu9zskeO3N6nRFkMNyfQr s1U2X3yftFWrY3Z+TI+Oo5V5OOtPHyCriPezbFK6CmUSckc/aI1CNWmH4GluXSH62sOisq JHj2edkKiK0OInY95pzyXysTDrF+LLSCIVL29uiin4pbXgOGjkfRl+sTfeVPhlJc47ZhjD 6p8DeT2r6wne+IWgN4usnU55wtjzUWL/LC8lUEast9Lvhom0RqLz7EbIDSQSBMcTOgqG4Y 7w8pmX668KCMTDuGbmascicD8FTof0ZxYVrCmzuDIC50ydw7tE9ujo+6m0/d1g== ARC-Authentication-Results: i=1; aspmx1.migadu.com; dkim=fail ("headers rsa verify failed") header.d=gmail.com header.s=20210112 header.b=CA35NQLN; spf=pass (aspmx1.migadu.com: domain of "emacs-orgmode-bounces+larch=yhetil.org@gnu.org" designates 209.51.188.17 as permitted sender) smtp.mailfrom="emacs-orgmode-bounces+larch=yhetil.org@gnu.org"; dmarc=fail reason="SPF not aligned (relaxed)" header.from=gmail.com (policy=none) Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1pfMTs-0002wv-EA; Thu, 23 Mar 2023 11:03:56 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1pfMTn-0002wJ-AW for emacs-orgmode@gnu.org; Thu, 23 Mar 2023 11:03:51 -0400 Received: from mail-lj1-x231.google.com ([2a00:1450:4864:20::231]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1pfMTf-0001bK-Gl for emacs-orgmode@gnu.org; Thu, 23 Mar 2023 11:03:49 -0400 Received: by mail-lj1-x231.google.com with SMTP id t14so22794243ljd.5 for ; Thu, 23 Mar 2023 08:03:42 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20210112; t=1679583820; h=content-transfer-encoding:in-reply-to:mail-followup-to:from :references:to:content-language:subject:user-agent:mime-version:date :message-id:sender:from:to:cc:subject:date:message-id:reply-to; bh=ORARJYM4FByCfA2gpNSnbRAFlO2GW7TpOyJT623dDj0=; b=CA35NQLNUCTrRMjmYz901XNWwHFxM6wFGNDctIOc/CKR92Iw83z8aRsOFyi4qeojHK ko4C9m++18iksEZpyZNUXjho/KPgQ3xugW1HeO4wGjiSDXl3+oD7eCzHG3iVHN4oJdoS K+PN0oMHOzdxJzXXdj9CUvwrcmAWtRkGnbHtLS/afQnlnZyD03XOT5gjayCQLTOO4XzY YYBxKaZG02dNPmNEuqfiM0SbvSPIBvT6PptbohmTg0bQSi3ZA22l8tsBxkfusvMhsBHR DbadAGnvCCWkMnV5iQCa8ej4VGi5sFLmKVqeW0aHmm0ewgpsk1C98a8F8VO+UNTz2HxB N3GQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; t=1679583820; h=content-transfer-encoding:in-reply-to:mail-followup-to:from :references:to:content-language:subject:user-agent:mime-version:date :message-id:sender:x-gm-message-state:from:to:cc:subject:date :message-id:reply-to; bh=ORARJYM4FByCfA2gpNSnbRAFlO2GW7TpOyJT623dDj0=; b=jA72+KHoUvyzqgZ6l3o4e/ygMvJk6DPOxZMKatPdy4cClzyHvfgOxgdFQ6t2JkBPMZ DpS+e/dx1d1ty/s+UP1q3EagrV8esKg2kJKI2pt4NEA/2Po/OkY+Hcsytf+AcQLBYOF0 /ND9hO+Z5LV3FISF+oR1rVx8DkZKP4adbSbmeL9F8KmTSI3Q86+GBYn4FLgkkXAnqlX6 amO0Pl7NBDLUbBbfLKGhi1OFrDLWrZh88vsS2Ch122koqGz04+pi8U2ZBFEXsMYfRMLh XC/Hd/taktPcU9ExBbimhHLUdiDw3ai3c5/cDBox6lVYPS22n37MXS1P7LqTUA6yasNN 942A== X-Gm-Message-State: AO0yUKWJvtWZdLUF3+8YHfHXXY70R0wW4v7ewXrhgGwfIpXbms5rNyli hZMLNDDDTLh78olHBqX//JU= X-Google-Smtp-Source: AK7set8b//49yCaot5RKT86dDewhiCG9aT0AItTDfdrjv2tYQf2otMXK3Vlh1Fsq3q4HOn71KJ4ZgA== X-Received: by 2002:a2e:7a0a:0:b0:29a:860e:10ac with SMTP id v10-20020a2e7a0a000000b0029a860e10acmr3859738ljc.24.1679583820235; Thu, 23 Mar 2023 08:03:40 -0700 (PDT) Received: from [192.168.0.101] (nat-0-0.nsk.sibset.net. [5.44.169.188]) by smtp.googlemail.com with ESMTPSA id c5-20020ac244a5000000b004dc4cb4f9c4sm2965228lfm.35.2023.03.23.08.03.39 (version=TLS1_3 cipher=TLS_AES_128_GCM_SHA256 bits=128/128); Thu, 23 Mar 2023 08:03:39 -0700 (PDT) Message-ID: <2fce5ab6-1a13-a6e8-a124-e77785d8147d@gmail.com> Date: Thu, 23 Mar 2023 22:03:38 +0700 MIME-Version: 1.0 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:102.0) Gecko/20100101 Thunderbird/102.8.0 Subject: Re: [PATCH] Make predicates non-interactive Content-Language: en-US To: "Aaron L. Zeng" , emacs-orgmode@gnu.org References: <20230323042244.3893585-1-me@bcc32.com> From: Max Nikulin Mail-Followup-To: "Aaron L. Zeng" , emacs-orgmode@gnu.org In-Reply-To: <20230323042244.3893585-1-me@bcc32.com> Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 7bit Received-SPF: pass client-ip=2a00:1450:4864:20::231; envelope-from=manikulin@gmail.com; helo=mail-lj1-x231.google.com X-Spam_score_int: -20 X-Spam_score: -2.1 X-Spam_bar: -- X-Spam_report: (-2.1 / 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, FREEMAIL_FROM=0.001, NICE_REPLY_A=-0.001, RCVD_IN_DNSWL_NONE=-0.0001, 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.29 Precedence: list List-Id: "General discussions about Org-mode." List-Unsubscribe: , List-Archive: List-Post: X-Migadu-Queue-Id: 09DF92D05 X-Spam-Score: -0.75 X-Migadu-Spam-Score: -0.75 X-Migadu-Scanner: scn0.migadu.com List-Help: List-Subscribe: , Errors-To: emacs-orgmode-bounces+larch=yhetil.org@gnu.org Sender: emacs-orgmode-bounces+larch=yhetil.org@gnu.org X-Migadu-Country: US X-Migadu-Flow: FLOW_IN X-TUID: 68DAKSFffdEe On 23/03/2023 11:22, Aaron L. Zeng wrote: > +++ b/lisp/org.el ... > @@ -15475,7 +15474,6 @@ If Org mode thinks that point is actually inside > an embedded LaTeX environment, return t when the environment is math > or let `texmathp' do its job otherwise. > `\\[org-cdlatex-mode-map]'" > - (interactive) > (cond > ((not (derived-mode-p 'org-mode)) (apply orig-fun args)) > ((eq this-command 'cdlatex-math-symbol) Might it be source of problems since `texmathp' is declared as interactive and the purpose of this function is to be around advice? Likely it is a false alarm since the functions have no interactive arguments.