From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp2.migadu.com ([2001:41d0:403:4876::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by ms1.migadu.com with LMTPS id cDhnIvKBGmbBaAEAe85BDQ:P1 (envelope-from ) for ; Sat, 13 Apr 2024 15:00:34 +0200 Received: from aspmx1.migadu.com ([2001:41d0:403:4876::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by mp2.migadu.com with LMTPS id cDhnIvKBGmbBaAEAe85BDQ (envelope-from ) for ; Sat, 13 Apr 2024 15:00:34 +0200 X-Envelope-To: larch@yhetil.org Authentication-Results: aspmx1.migadu.com; dkim=pass header.d=posteo.net header.s=2017 header.b=GPJDYWtw; dmarc=pass (policy=none) header.from=posteo.net; 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" ARC-Seal: i=1; s=key1; d=yhetil.org; t=1713013234; a=rsa-sha256; cv=none; b=kL0LTPohtiCAtqcu4hX41/nYi8rkeAbw3aQPg7AhTdTV7MQha0XgUMGDMg5wA7u2NT9bWb C6eR89SW4dr855vVVh1OpSEW0oHd8eLM/h9+9fQvrXyNNKVzocOkEBQAocMGRCB1u0FxEC FwyXiMkQMB7OROOTvpvmqjdZ0tJD97jM0+aTKNFAkeQ0IlWwEWvmuK4OqnfwV8OFmCl+VL myRDwhQuSQz32EnCNFRSZAbVITB0zphnIMoGxfaiZCS7VDGpa/lEhAnRBLEDifUYzViZJd K/ucVrKKdVIg7VZ7kaePiMRR+0f9YxVKJzWOXAb6s4wIRYW2rGt/MrzBWIDBXA== ARC-Authentication-Results: i=1; aspmx1.migadu.com; dkim=pass header.d=posteo.net header.s=2017 header.b=GPJDYWtw; dmarc=pass (policy=none) header.from=posteo.net; 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" ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=yhetil.org; s=key1; t=1713013234; h=from:from:sender:sender:reply-to:subject:subject:date:date: message-id:message-id:to:to:cc:cc:mime-version:mime-version: content-type:content-type:in-reply-to:in-reply-to: references:references:list-id:list-help:list-unsubscribe: list-subscribe:list-post:dkim-signature; bh=12X1LzZOlm0XkV7Av5f0RREEOaCdTjZRhuuiHd+i4EM=; b=EH7zM4V3vigAFRy7slT5YKWeMwZF5YTHQrI2bi3wSWs5I2oQXK818duGC1Ey2x13fyOkHX yGh23dX5R3wyoPH+ovOWMAMS0CYskp5f12ooCR48ew6PDBJD44v4MhhYt42D9FyBT+Ggrl f//Ms2CL/xFkCeNO2WaVdf0LK0PTX9lLU16lIbAsz/COFD3gsNVtYf5wz/5QAt6ItMSVjO Q89kitu9DB+Xbl8jpDMWssCSHDvsGhRnqFzRXxQu092/P9jyd6kYOZFTEUwdHdA8ub0d2X fbE0vt727U6nlnDAVzOU+DZ76MFvHxWtfZMV8lLO/TEawtD8pIfEFvYr+QGjWA== 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 5B0D468EC3 for ; Sat, 13 Apr 2024 15:00:34 +0200 (CEST) Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1rvczB-0008OJ-IK; Sat, 13 Apr 2024 09:00:01 -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 1rvcz9-0008O2-5v for emacs-orgmode@gnu.org; Sat, 13 Apr 2024 08:59:59 -0400 Received: from mout02.posteo.de ([185.67.36.66]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1rvcz6-0002YA-TU for emacs-orgmode@gnu.org; Sat, 13 Apr 2024 08:59:58 -0400 Received: from submission (posteo.de [185.67.36.169]) by mout02.posteo.de (Postfix) with ESMTPS id 7E495240101 for ; Sat, 13 Apr 2024 14:59:54 +0200 (CEST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=posteo.net; s=2017; t=1713013194; bh=TYE+OeJdPuazySVUIzqlJsW/5hKXC0njQV+nLJUEUjU=; h=From:To:Cc:Subject:Date:Message-ID:MIME-Version:Content-Type: From; b=GPJDYWtwlrkhjsW8ocR0h4Rsjoui2M+eIQ6CXEMzcFuRLZbLm9OpjnaeVn/+1rhuo NH5MuKAosvXei83jpmd8ohKR38KyNh5dc/xjowpo00PvhckYYLIKeoS36JXF5WH1zM qrcJ9iTfmFbUFqlIHAcresfqFyM7TnmbGCqc6ai6JTIfwfnSuW4E+yBn7o9Iy/GW+M KxHLTnBZhqxkqF0XDp53BTA2eRUGkl08nBYkYMj4G+NMJP0zfPocO+sPlMM7wmZY3c klzAYiZ+AzKoME6WjNw35/XtqeGSKmYiQTEOh23RfFjnMw/2UkTPhkKj87itHGz0f1 xaHyNlMXZSnKQ== Received: from customer (localhost [127.0.0.1]) by submission (posteo.de) with ESMTPSA id 4VGtnP5fGWz6tsB; Sat, 13 Apr 2024 14:59:53 +0200 (CEST) From: Ihor Radchenko To: Garid Zorigoo Cc: emacs-orgmode@gnu.org Subject: Re: [BUG] A custom org-num-format-function causes org-latex-preview warn when it called. [9.6.15 (release_9.6.15 @ /usr/share/emacs/29.3/lisp/org/)] In-Reply-To: References: Date: Sat, 13 Apr 2024 13:00:17 +0000 Message-ID: <877ch1ct9a.fsf@localhost> MIME-Version: 1.0 Content-Type: text/plain Received-SPF: pass client-ip=185.67.36.66; envelope-from=yantar92@posteo.net; helo=mout02.posteo.de X-Spam_score_int: -43 X-Spam_score: -4.4 X-Spam_bar: ---- X-Spam_report: (-4.4 / 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_MED=-2.3, RCVD_IN_MSPIKE_H4=0.001, RCVD_IN_MSPIKE_WL=0.001, 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: 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-Flow: FLOW_IN X-Migadu-Country: US X-Spam-Score: -8.17 X-Migadu-Queue-Id: 5B0D468EC3 X-Migadu-Spam-Score: -8.17 X-Migadu-Scanner: mx10.migadu.com X-TUID: Fbc/EcSeYGaN Garid Zorigoo writes: > * To Reproduce > > 1. Change the org-num-format-function as written above > 2. (In org-file) Turn-on ~org-num-mode~ > 3. (In org-file) On any equation, change it. > 4. run ~org-latex-preview~ to preview the equation image. > 5, run ~org-latex-preview~ go back to text mode. (here warning comes) > (If warning doesn't appear try from step 3 again) > (When org-num-mode turned off, it doesn't produce warning) > > $\alpha$ Thanks for reporting! I was able to reproduce using the provided steps using the built-in Org mode version and using the latest stable Org mode version. However, I am unable to reproduce using the latest development Org mode version. -- Ihor Radchenko // yantar92, Org mode contributor, Learn more about Org mode at . Support Org development at , or support my work at