[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [BUG] Warning when creating preview
From: |
Edgar Lux |
Subject: |
Re: [BUG] Warning when creating preview |
Date: |
Sat, 26 Aug 2023 17:39:48 +0200 (CEST) |
On Aug 23, 2023 at 9:56 AM, Ihor Radchenko <yantar92@posteo.net>
> 1. Save the equation to file /tmp/bug.org
> 2. Save your `setq' snippet to /tmp/bug.el
> 3. cd /path/to/org/repo
> 4. make repro REPRO_ARGS="-l /tmp/bug.el /tmp/bug.org"
> 5. Move point to "t = 0" line
> 6. C-c C-x C-l (2x)
> 7. The preview appears and then disappears, as expected.
>
> May you please repeat my steps and let me know if your are seeing the warning?
1. emacs (loading my full configuration)
2. find the file of my previous bug report: t.org
3. dedent and mark the equation (without the =_quote=)
4. M-x copy-to-buffer RET bug.org RET
5. Save to /tmp/bug.org
6. add :tangle /tmp/bug.el to the emacs-lisp source block
7. C-u C-c C-v t to tangle (save) the file
8. find /path/to/org/repo (with dired)
9. M-& make repro REPRO_ARGS="-l /tmp/bug.el /tmp/bug.org"
10. M-x switch-to-buffer RET /tmp/bug.org RET
11. Move point to "t = 0" line
12. C-c C-x C-l (2x)
I see the warning.
After step 10, I removed the files in ltximg, ran =emacs -q=, find file
/tmp/bug.org, step 11 & 12, and I see no warning. There must be something else
in my configuration which triggers the error (if you want to follow the rabbit,
let me know).
In this case, the warning was:
#+begin_example
Warning (org-element-cache): org-element--cache: Org parser error in
bug.org::22. Resetting.
The error was: (error "Invalid search bound (wrong side of point)")
Backtrace:
" backtrace-to-string(nil)
org-element-at-point()
org-element-context()
org-latex-preview(nil)
funcall-interactively(org-latex-preview nil)
call-interactively(org-latex-preview nil nil)
command-execute(org-latex-preview)
"
Please report this to Org mode mailing list (M-x org-submit-bug-report).
Disable showing Disable logging
#+end_example
--
Sent with https://mailfence.com
Secure and private email
- [BUG] Warning when creating preview, Edgar Lux, 2023/08/18
- Re: [BUG] Warning when creating preview, Ihor Radchenko, 2023/08/18
- Re: [BUG] Warning when creating preview, Edgar Lux, 2023/08/18
- Re: [BUG] Warning when creating preview, Edgar Lux, 2023/08/22
- Re: [BUG] Warning when creating preview, Ihor Radchenko, 2023/08/23
- Re: [BUG] Warning when creating preview,
Edgar Lux <=
- Re: [BUG] Warning when creating preview, Ihor Radchenko, 2023/08/26
- Re: [BUG] Warning when creating preview, Edgar Lux, 2023/08/27
- Re: [BUG] Warning when creating preview, Ihor Radchenko, 2023/08/27
- Re: [BUG] Warning when creating preview, Edgar Lux, 2023/08/27
- Re: [BUG] Warning when creating preview, Ihor Radchenko, 2023/08/27
- Message not available
- Re: [BUG] Warning when creating preview, Ihor Radchenko, 2023/08/28