From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp2.migadu.com ([2001:41d0:303:e224::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by ms1.migadu.com with LMTPS id 6ONLEBWXGGbb/wAAe85BDQ:P1 (envelope-from ) for ; Fri, 12 Apr 2024 04:06:13 +0200 Received: from aspmx1.migadu.com ([2001:41d0:303:e224::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by mp2.migadu.com with LMTPS id 6ONLEBWXGGbb/wAAe85BDQ (envelope-from ) for ; Fri, 12 Apr 2024 04:06:13 +0200 X-Envelope-To: larch@yhetil.org Authentication-Results: aspmx1.migadu.com; dkim=fail ("headers rsa verify failed") header.d=iitbombay-org.20230601.gappssmtp.com header.s=20230601 header.b=1BwlX0QH; 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=pass (policy=none) header.from=gnu.org ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=yhetil.org; s=key1; t=1712887573; h=from:from:sender:sender:reply-to: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:list-id:list-help: list-unsubscribe:list-subscribe:list-post:dkim-signature; bh=bpJdd+d/NiQoZXzKpMb5YHySf1JiW1l5Q76wibqepeo=; b=Pfnxs6x1sT426M1cO8dbgVHmlVl4SkYW1w2N3vckrfZSnnHtBLPr4iKjrtvnPuPSyAmTdv wmSHwVqPgIKMVuspwEO2Q7xGtBMoCnAio19PNSMerBNmnjNnqBeqc/zhM7AY/YmPMEaxRH xF7qPhGCOJYN+VsuOq8RQHqgj92swOo2OhmCVwdoj9b9QCKlEwFeBqxwA2FWts9EehdYxF 8EixFlKDdoJOmoUHpghuURzj8LjSBXvmwMsNm8QAWiplRjlXgOzEYgEgJj3jpUHvi6rHrz jBR8en+PV+U89FUVO8ung9OJ/A4GZuHJc8hY5Lt7Lq9aOJpAeiB6N4SlMj7VNw== ARC-Seal: i=1; s=key1; d=yhetil.org; t=1712887573; a=rsa-sha256; cv=none; b=rck8fXtXDRgaUCEv7uejT3KxUwNaASvkgRaZeTxpQRCCmGYs1mU+MaVuxZiHZJ9b+cqqYo uRx9isBdPzaQbBhsCU+H6Ml0ShVQ2SAu8psrkJuL3JPCBx+VtLyEG83hAYgIScdE17K7Sx eRRqRsTsE2ePTwltBdEvT3+qQIELWXUoktikkDSLxGMy0AhsC+VKTxZIdnRkecFBx7GRci 3TAfDTK5pjmwNhsq4vnE8NO0XB0xKe/9yPUCJu4QWKTVKgHY/jAjP77XNNPnm0omVw6dth i21UogQ/CS9chzmZJi0wKd6xNIYq75NFgT1qPCesUoHwxSQY4udqZdaiq2zboQ== ARC-Authentication-Results: i=1; aspmx1.migadu.com; dkim=fail ("headers rsa verify failed") header.d=iitbombay-org.20230601.gappssmtp.com header.s=20230601 header.b=1BwlX0QH; 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=pass (policy=none) header.from=gnu.org 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 9747866879 for ; Fri, 12 Apr 2024 04:06:12 +0200 (CEST) Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1rv6I8-0003HB-E7; Thu, 11 Apr 2024 22:05:24 -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 1rv6I6-0003GV-Ah for emacs-orgmode@gnu.org; Thu, 11 Apr 2024 22:05:22 -0400 Received: from mail-qv1-xf2a.google.com ([2607:f8b0:4864:20::f2a]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1rv6I4-0003hD-5H for emacs-orgmode@gnu.org; Thu, 11 Apr 2024 22:05:22 -0400 Received: by mail-qv1-xf2a.google.com with SMTP id 6a1803df08f44-696315c9da5so4137526d6.2 for ; Thu, 11 Apr 2024 19:05:19 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=iitbombay-org.20230601.gappssmtp.com; s=20230601; t=1712887518; x=1713492318; darn=gnu.org; h=content-transfer-encoding:mime-version:user-agent:message-id:date :subject:to:from:from:to:cc:subject:date:message-id:reply-to; bh=bpJdd+d/NiQoZXzKpMb5YHySf1JiW1l5Q76wibqepeo=; b=1BwlX0QHvgEqZ3lBoPh4gsnJOqqt6BsiG6SmjFQpy+flLFIevoRFxE9QbgGURXYlZ/ bK3PZjPekSIMbNWiq50r1LWpFIG+jvsYcV7SvNtOSH/9xqt/HJVUWWhxCyf8HGGAwaZy fb0Ky89FjKiGgdf+Dpm52DWmPx3JBrU5c4475hi3itfYSn12Q7yrN0ObUYZbou5GsEYO xOwUEF3dcNUNCGkSh5+PXRKotP+4DEArsSgR2rXRKWeOfyeZJE0eqUKr/LQH1cXaxrce vCGs7BUfmtG41YkAizZI0EmXfZbE3PyOuSNbp6A9a/f1Nitkp1x1uspiyy5IJombN6j1 vc8w== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1712887518; x=1713492318; h=content-transfer-encoding:mime-version:user-agent:message-id:date :subject:to:from:x-gm-message-state:from:to:cc:subject:date :message-id:reply-to; bh=bpJdd+d/NiQoZXzKpMb5YHySf1JiW1l5Q76wibqepeo=; b=vHgjeSgxYxhUvKQqrE+YgivHVoTGXdbR5IRzbcsT+qNtr7VU6UpDU4HOpPLb1KsUVO wKm5b+nINYjrXUmrmAmjfNBSI3YFK+Njx8hdSGyexCiGes4yWRVOfpV8VCIAXlPh9euC stDPRfWbaiNLdyEEvHUhmc9VUYpPNGhYsQRC6qLMUa6VRyMbwVCpwKw7iO/m0Rt5xNtJ TVdleY9QCuMLKn3e7QmoGqtCp4yAo2HVNAVNKtxmpPdDFgvs5na6z1Nn/XXFSuC7e+li YTbzV45FxfypOB+IOus2I7/yvay7uNjmudB7qw2dzdtkA8l07ndte8duy7eucjiaRqQd la2g== X-Gm-Message-State: AOJu0YzaBZ1noiNpG7bKR1RbXbS5O1pUASXuOA6ydsl5NZ6haEW+UjBn 2/gcf/FJ/t9b5eu2kRnRXnUl0ts821Ops4Ut6HCAfP1bXJyMnCAe/VzO01lNRiaiLOSSWsUlz2s = X-Google-Smtp-Source: AGHT+IHiXFS9LhtZb1oNrO7cXBCUhcak9rMJXdMdDxnKm9T0f3wXqdi7UTl+7P/Lp8exzoL14jMEaA== X-Received: by 2002:ac8:5fc5:0:b0:434:fe03:15d8 with SMTP id k5-20020ac85fc5000000b00434fe0315d8mr1857233qta.55.1712887518044; Thu, 11 Apr 2024 19:05:18 -0700 (PDT) Received: from minerva (edge-nat-128-197-29-250.bu.edu. [128.197.29.250]) by smtp.gmail.com with ESMTPSA id i5-20020ac813c5000000b00434dc7c5305sm1621357qtj.65.2024.04.11.19.05.17 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Thu, 11 Apr 2024 19:05:17 -0700 (PDT) To: emacs-orgmode@gnu.org Subject: [BUG] Org parser error when removing latex preview [9.6.15 (release_9.6.15 @ /gnu/store/gnvv2a1nxfbibkm1wdxdv6bd6mhk4cf8-emacs-29.3/share/emacs/29.3/lisp/org/)] Date: Thu, 11 Apr 2024 22:05:14 -0400 Message-ID: <87r0fbs5d1.fsf@iitbombay.org> User-Agent: Gnus/5.13 (Gnus v5.13) MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable Received-SPF: pass client-ip=2607:f8b0:4864:20::f2a; envelope-from=anush4692@iitbombay.org; helo=mail-qv1-xf2a.google.com X-Spam_score_int: -18 X-Spam_score: -1.9 X-Spam_bar: - X-Spam_report: (-1.9 / 5.0 requ) BAYES_00=-1.9, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, 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: List-Help: List-Subscribe: , Reply-to: Anush V From: Anush V via "General discussions about Org-mode." 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-Migadu-Spam-Score: -6.87 X-Spam-Score: -6.87 X-Migadu-Queue-Id: 9747866879 X-Migadu-Scanner: mx12.migadu.com X-TUID: tPxi1eALIVJf Remember to cover the basics, that is, what you expected to happen and what in fact did happen. You don't know how to make a good report? See https://orgmode.org/manual/Feedback.html#Feedback Your bug report will be posted to the Org mailing list. ------------------------------------------------------------------------ Hello, Below are the steps to replicate the issue: Start emacs by running "emacs --no-init". Set the org-startup-numerated variable to true with the command (setq org-startup-numerated t). Create a new file named tmp.org and insert the following content: - H $\alpha$ To view the latex equation, place the cursor on the equation and press the shortcut C-c C-x C-l to run org-latex-preview. This will display the latex preview. Press C-c C-x C-l again to remove the latex preview and receive the warning: =E2=96=A0 Warning (org-element-cache): org-element--cache: Org parser error= in tmp.org::11. Resetting. The error was: (error "Invalid search bound (wrong side of point)") Backtrace: nil Please report this issue to the Org mode mailing list using M-x org-submit-= bug-report. Running C-c C-x C-l again will not trigger the warning. However, the warning reappears whenever a new latex preview is generated. For example, changing $\alpha$ to $\beta$ and generating a latex preview using C-c C-x C-l and removing preview using C-c C-x C-l will again result in this warning. Emacs : GNU Emacs 29.3 (build 1, x86_64-pc-linux-gnu, GTK+ Version 3.24.41= , cairo version 1.16.0) Package: Org mode version 9.6.15 (release_9.6.15 @ /gnu/store/gnvv2a1nxfbib= km1wdxdv6bd6mhk4cf8-emacs-29.3/share/emacs/29.3/lisp/org/) current state: =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D (setq org-link-elisp-confirm-function 'yes-or-no-p org-bibtex-headline-format-function #[257 "\300\236A\207" [:title] 3 "\n\n= (fn ENTRY)"] org-persist-after-read-hook '(org-element--cache-persist-after-read) org-export-before-parsing-hook '(org-attach-expand-links) org-cycle-tab-first-hook '(org-babel-hide-result-toggle-maybe org-babel-header-arg-expand) org-archive-hook '(org-attach-archive-delete-maybe) org-odt-format-inlinetask-function 'org-odt-format-inlinetask-default-func= tion org-ascii-format-drawer-function #[771 "\207" [] 4 "\n\n(fn NAME CONTENTS = WIDTH)"] org-cycle-hook '(org-cycle-hide-archived-subtrees org-cycle-show-empty-lin= es org-cycle-optimize-window-after-visibility-change org-cycle-display-inline-images) org-startup-numerated t org-persist-before-read-hook '(org-element--cache-persist-before-read) org-mode-hook '(#[0 "\300\301\302\303\304$\207" [add-hook change-major-mode-hook org-fold-show-all append local] 5] #[0 "\300\301\302\303\304$\207" [add-hook change-major-mode-hook org-babel-show-result-all append local] 5] org-babel-result-hide-spec org-babel-hide-all-hashes) org-latex-format-drawer-function #[514 "\207" [] 3 "\n\n(fn _ CONTENTS)"] org-latex-format-headline-function 'org-latex-format-headline-default-func= tion org-confirm-shell-link-function 'yes-or-no-p org-html-format-drawer-function #[514 "\207" [] 3 "\n\n(fn NAME CONTENTS)"] outline-isearch-open-invisible-function 'outline-isearch-open-invisible org-odt-format-headline-function 'org-odt-format-headline-default-function org-agenda-before-write-hook '(org-agenda-add-entry-text) org-src-mode-hook '(org-src-babel-configure-edit-buffer org-src-mode-configure-edit-buffer) org-confirm-elisp-link-function 'yes-or-no-p org-speed-command-hook '(org-speed-command-activate org-babel-speed-command-activate) org-html-format-inlinetask-function 'org-html-format-inlinetask-default-fu= nction org-ascii-format-inlinetask-function 'org-ascii-format-inlinetask-default org-odt-format-drawer-function #[514 "\207" [] 3 "\n\n(fn NAME CONTENTS)"] org-persist-directory "/tmp/org-persist-Wop8rB" org-fold-core-isearch-open-function 'org-fold--isearch-reveal org-latex-format-inlinetask-function 'org-latex-format-inlinetask-default-= function org-persist-before-write-hook '(org-element--cache-persist-before-write) org-tab-first-hook '(org-babel-hide-result-toggle-maybe org-babel-header-arg-expand) org-link-shell-confirm-function 'yes-or-no-p org-babel-pre-tangle-hook '(save-buffer) org-agenda-loop-over-headlines-in-active-region nil org-occur-hook '(org-first-headline-recenter) org-metadown-hook '(org-babel-pop-to-session-maybe) org-link-parameters '(("attachment" :follow org-attach-follow :complete org-attach-complete-link) ("id" :follow org-id-open) ("eww" :follow org-eww-open :store org-eww-store-link) ("rmail" :follow org-rmail-open :store org-rmail-store-link) ("mhe" :follow org-mhe-open :store org-mhe-store-link) ("irc" :follow org-irc-visit :store org-irc-store-link :export org-irc-export) ("info" :follow org-info-open :export org-info-export :store org-info-store-link :insert-description org-info-description-as-command) ("gnus" :follow org-gnus-open :store org-gnus-store-link) ("docview" :follow org-docview-open :export org-docview-export :store org-docview-store-link) ("bibtex" :follow org-bibtex-open :store org-bibtex-store-link) ("bbdb" :follow org-bbdb-open :export org-bbdb-export :complete org-bbdb-complete-link :store org-bbdb-store-link) ("w3m" :store org-w3m-store-link) ("doi" :follow org-link-doi-open :export org-link-doi-export) ("file+sys") ("file+emacs") ("shell" :follow org-link--open-shell) ("news" :follow #[514 "\301\300\302Q\"\207" ["news" browse-url ":"] 6 "\n\n(fn URL ARG)"] ) ("mailto" :follow #[514 "\301\300\302Q\"\207" ["mailto" browse-url ":"] 6 "\n\n(fn URL ARG)"] ) ("https" :follow #[514 "\301\300\302Q\"\207" ["https" browse-url ":"] 6 "\n\n(fn URL ARG)"] ) ("http" :follow #[514 "\301\300\302Q\"\207" ["http" browse-url ":"] 6 "\n\n(fn URL ARG)"] ) ("ftp" :follow #[514 "\301\300\302Q\"\207" ["ftp" browse-url ":"] 6 "\n\n(fn URL ARG)"] ) ("help" :follow org-link--open-help :store org-link--store-help) ("file" :complete org-link-complete-file) ("elisp" :follow org-link--open-elisp)) org-html-format-headline-function 'org-html-format-headline-default-functi= on org-metaup-hook '(org-babel-load-in-session-maybe) org-num-format-function 'org-num-default-format ) Regards, -- Anush Veeranala