emacs-orgmode@gnu.org archives
 help / color / mirror / code / Atom feed
From: Ihor Radchenko <yantar92@posteo.net>
To: Edgar Lux <edgarlux@mailfence.com>
Cc: Emacs Orgmode <emacs-orgmode@gnu.org>
Subject: Re: [BUG] Warning when creating preview
Date: Fri, 18 Aug 2023 16:04:17 +0000	[thread overview]
Message-ID: <87ttsw8hha.fsf@localhost> (raw)
In-Reply-To: <1650384805.753459.1692364837267@ichabod.co-bxl>

Edgar Lux <edgarlux@mailfence.com> writes:

> I don't really need help with this. Org has been telling me for days
> that I should report this, but I don't really want to share my
> configuration publicly, and I thought that it was only for a file on
> which I was working. It seems to be general for my configuration. I
> hope that it helps. If you have an encrypted personal account to which
> I can send my config file, let me know.

You do not have to. If you wish, you can disable the warning by clicking
on Disable showing or Disable logging.

However, the warning indicates a problem with Org parser cache. Org
recovers from it, but not necessarily immediately. You may get certain
edits bugging out if the parser cache is not correct. For example,
certain edits may "lose" first star of a heading behind. That's why we
are so into the face of users with this warning you are seeing.

> * What happens
>
> When I type some equations and get the preview, I get this warning
>
> #+begin_quote
> \begin{gather}
> t = 0
> \end{gather}
> #+end_quote
>
> * My "system"
>
> Emacs  : GNU Emacs 28.2 (build 1, x86_64-pc-linux-gnu, GTK+ Version 3.24.36, cairo version 1.17.6)
>  of 2023-01-03
> Package: Org mode version 9.4.6 (release_9.4.6-13-g4be129)
>
> * The message
>
> Warning (org-element-cache): org-element--cache: Org parser error in t.org::35. Resetting.
>  The error was: (error "Invalid search bound (wrong side of point)")

The Org version is very strange. Emacs 28 ships with Org 9.5.5 and the
latest stable version of Org available on ELPA is Org 9.6.7. The warning
comes from Org >9.6.

It appears to me that you have some problem with Org installation.

May you try to install the latest stable Org first, following
https://orgmode.org/manual/Installation.html? You should get M-x
org-version printing Org 9.6.7.

Then, let us know if the warning keeps appearing.

-- 
Ihor Radchenko // yantar92,
Org mode contributor,
Learn more about Org mode at <https://orgmode.org/>.
Support Org development at <https://liberapay.com/org-mode>,
or support my work at <https://liberapay.com/yantar92>


  reply	other threads:[~2023-08-18 16:04 UTC|newest]

Thread overview: 19+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2023-08-18 13:20 [BUG] Warning when creating preview Edgar Lux
2023-08-18 16:04 ` Ihor Radchenko [this message]
2023-08-19  0:37   ` Edgar Lux
2023-08-22 16:29   ` Edgar Lux
2023-08-23  7:56     ` Ihor Radchenko
2023-08-26 15:39       ` Edgar Lux
2023-08-26 16:28         ` Ihor Radchenko
2023-08-27 11:13           ` Edgar Lux
2023-08-27 11:28             ` Ihor Radchenko
2023-08-27 17:26               ` Edgar Lux
2023-08-27 17:29                 ` Ihor Radchenko
     [not found]                   ` <1064170796.778390.1693179229311@ichabod.co-bxl>
2023-08-28  9:00                     ` Ihor Radchenko
2023-09-28 14:21                       ` Edgar Lux
2023-09-28 14:53                         ` Edgar Lux
2023-10-02 10:14                           ` Edgar Lux
2023-10-05 14:31                             ` Ihor Radchenko
     [not found]                               ` <1472786502.941.1696851881089@ichabod.co-bxl>
2023-10-09 13:59                                 ` Edgar Lux
2023-10-09 14:17                                   ` Edgar Lux
2023-10-11  9:11 ` Ihor Radchenko

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

  List information: https://www.orgmode.org/

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=87ttsw8hha.fsf@localhost \
    --to=yantar92@posteo.net \
    --cc=edgarlux@mailfence.com \
    --cc=emacs-orgmode@gnu.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
Code repositories for project(s) associated with this public inbox

	https://git.savannah.gnu.org/cgit/emacs/org-mode.git

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).