From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp1.migadu.com ([2001:41d0:303:e16b::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by ms1.migadu.com with LMTPS id GE7rHAXqGWbFkwAA62LTzQ:P1 (envelope-from ) for ; Sat, 13 Apr 2024 04:12:21 +0200 Received: from aspmx1.migadu.com ([2001:41d0:303:e16b::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by mp1.migadu.com with LMTPS id GE7rHAXqGWbFkwAA62LTzQ (envelope-from ) for ; Sat, 13 Apr 2024 04:12:21 +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=c8geJN5k; 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=1712974341; h=from:from:sender:sender:reply-to: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=YHlnpeofUF21CJ3EESEUOWM3Cz/z0VHO8sxoeR55lwE=; b=ce9dvp2CSmPL2xXdNk0O8yurkxAm8zak8yPPJcDuBXE4XPiVu5GiE6lcg97QWkwuBd25AP oPJQ0onF0+67W+6QHwGOupOcNFKdMv6Skm5l4t+YscM/rxMKc32H3a1KGuCLZCl/xS6SJS QOt26GvJwaNPdfrjLTjsWlpDfYLc3IpdqNl0vb8okVlm8IHVcFoVcB5k9kkUZNChe7u1sC /JL6KN4ETbk6ap0RPV4ZBJsL9yBOrfw0YDeHs3mAPHa+RrcTICS4cLaqTsc1nto8AD2KZS YosFrEFMKYRq1IXKaUozZ3O1W44+/68B1Jog8YV8a2jmzAlt3T2Or274rpnwIQ== ARC-Seal: i=1; s=key1; d=yhetil.org; t=1712974341; a=rsa-sha256; cv=none; b=BdI7JMDgnOv23PIMBTvnhWXqE28OrVMqWzLJNABY2ymGburVIKtW1tnbBKAMV7fhd0r+6/ 8Hq7X9IWE+tNooKrNi7jsAZL7OZi0DUDlJ6DbfXjJBsri/I4fa5LWbAYI4WYhR7qRbOas1 UDiRjd28c55SEt751WuehK94zxq5Ssrl8dHUw/a9glT2lydstZeCnr4TXWC5CwoUsdTLn8 1G5jJDIWkx00HVpNUYFZUtUHqApsfXxvYeg4S2XUzmrxe7Ge2saOXSbLJJET9HRpYGiSj9 FFjCedRVxiuBiSyznUxghmTnziY3qEwhC6SPqPb6Z6U9iFWfKM60FGWJ8FDWBA== 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=c8geJN5k; 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 095D661B01 for ; Sat, 13 Apr 2024 04:12:21 +0200 (CEST) Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1rvSrY-0005lq-7n; Fri, 12 Apr 2024 22:11:28 -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 1rvSrW-0005lS-No for emacs-orgmode@gnu.org; Fri, 12 Apr 2024 22:11:26 -0400 Received: from mail-oi1-x22c.google.com ([2607:f8b0:4864:20::22c]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1rvSrU-0002xy-B0 for emacs-orgmode@gnu.org; Fri, 12 Apr 2024 22:11:26 -0400 Received: by mail-oi1-x22c.google.com with SMTP id 5614622812f47-3c3aeef1385so954907b6e.3 for ; Fri, 12 Apr 2024 19:11:20 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=iitbombay-org.20230601.gappssmtp.com; s=20230601; t=1712974279; x=1713579079; darn=gnu.org; h=mime-version:user-agent:message-id:date:references:in-reply-to :subject:cc:to:from:from:to:cc:subject:date:message-id:reply-to; bh=YHlnpeofUF21CJ3EESEUOWM3Cz/z0VHO8sxoeR55lwE=; b=c8geJN5kIDZ6BpzNtM66ss5EODtLTA3/WqdS03mtfLFFX50JnNrV+lKuQ3rfgRVzw1 5c4jJNq+YcJqoBs9mmi1YYsmpY1ZbZwNzZlV1lCYr9FSxmMpFoZco6ajDo7hsg1N5Qmh MQMOzcG/Zk03bE9ywXo184ChfShmVclv6rL3Bgf31yiQTIb9bYDeHr+dHUHNRdThUhNA dQTcH/fU9eu1X/BtnXi1ciTw8pWpIugq/eQrXEg6DxH6FmEHyPG76Ce7RrAmuYCCC+Q0 2yMWGd2nMBWRS8YI8uhsHn6QDN9f6CuDMtbx+Y0f5D9xDFCVl7Y3F0ckuCG60TB012bJ PJJQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1712974279; x=1713579079; h=mime-version:user-agent:message-id:date:references:in-reply-to :subject:cc:to:from:x-gm-message-state:from:to:cc:subject:date :message-id:reply-to; bh=YHlnpeofUF21CJ3EESEUOWM3Cz/z0VHO8sxoeR55lwE=; b=ehG2+QrWK/15YYue2/PNU1QfPUWsC/+EvlCb00K1dt14qapzchLwguakGOnhx8Ctfg TEQWf5yEBpXv9itxNzxBdOSrrKW/jrLc+on7PuTgEWexuAB0vRb5NjY2mpQvN9jkrrgw zhJQZZSmem8q6b2MIe4kXZyOsONswAwVCFnklwgO460gIhq26lAdInr0QxGY1zWZq9QP GMwxGT2V2ovBRXKSNEvnTtTah8jPFPM+jemd9tlGC1CQiUnO3wThnA4Jon7lnf51M95Q +mitW8oligeQDyyFefE6DMmzvmMMXEMp0DVU0LK1ehck25P05ryKbiuzDUvZYUGHAap2 USuw== X-Gm-Message-State: AOJu0YxYdfl6kMLIhJl/YJ+gf88OdASuHmHZMlXSvo9KwiAu343F8l8t sVpV4bt8Mmir3sZxYQlGFrDvBn/Ys706BGQOSkM/+blCqNhFIOEuHzyH0xBQGq4Bi9cCgRTd0dc = X-Google-Smtp-Source: AGHT+IGHVIxN68fiK1EhK8yJ60IQ0Je2DUmISOJthV1A8V8p/hFT/OhMjNBn0EMhS/8+co7+qgOuMQ== X-Received: by 2002:a54:470c:0:b0:3c5:e025:42f4 with SMTP id k12-20020a54470c000000b003c5e02542f4mr4287570oik.15.1712974279526; Fri, 12 Apr 2024 19:11:19 -0700 (PDT) Received: from minerva (edge-nat-128-197-29-250.bu.edu. [128.197.29.250]) by smtp.gmail.com with ESMTPSA id u13-20020a05620a084d00b0078a04882ac2sm3111185qku.53.2024.04.12.19.11.18 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Fri, 12 Apr 2024 19:11:18 -0700 (PDT) To: Ihor Radchenko Cc: emacs-orgmode@gnu.org Subject: Re: [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/)] In-Reply-To: <87frvqcucu.fsf@localhost> (Ihor Radchenko's message of "Fri, 12 Apr 2024 18:24:17 +0000") References: <87r0fbs5d1.fsf@iitbombay.org> <87frvqcucu.fsf@localhost> Date: Fri, 12 Apr 2024 22:11:17 -0400 Message-ID: <87h6g6t3ju.fsf@iitbombay.org> User-Agent: Gnus/5.13 (Gnus v5.13) MIME-Version: 1.0 Content-Type: multipart/mixed; boundary="=-=-=" Received-SPF: pass client-ip=2607:f8b0:4864:20::22c; envelope-from=anush4692@iitbombay.org; helo=mail-oi1-x22c.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-Country: US X-Migadu-Flow: FLOW_IN X-Migadu-Spam-Score: -5.38 X-Spam-Score: -5.38 X-Migadu-Queue-Id: 095D661B01 X-Migadu-Scanner: mx13.migadu.com X-TUID: QPMjqli0Mc1G --=-=-= Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable > From: Ihor Radchenko > Date: Fri, 12 Apr 2024 18:24:17 +0000 > > Anush V via "General discussions about Org-mode." > writes: > >> 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 er= ror 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-subm= it-bug-report. > > Thanks for reporting! > I tried to follow your steps, but I am unable to reproduce the problem. > May you please attach the exact problematic Org file, so that we can > make sure that we do the same thing? Thanks for the prompt response. Please find the attached file tmp.org. Please ensure that the LaTeX preview image for the equation ($\alpha$) is not in the directory specified by org-preview-latex-image-directory. This warning appears when you generate a preview image that is not already present in the directory specified by org-preview-latex-image-directory. I should have clarified this in the initial email. Apologies for any confusion. --=20 Anush Veeranala --=-=-= Content-Type: text/x-org Content-Disposition: attachment; filename=tmp.org - H $\alpha$ --=-=-=--