Re: [BUG] Warning when creating preview

2023-10-11 Thread Ihor Radchenko
Edgar Lux writes: > 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 Hopefully, fixed now. https://git.savannah.gnu.org/cgit/emacs/org-mode.git/commit/?id=37d6bde27 (the reproducer was found in a private email thread, and is

Re: [BUG] Warning when creating preview

2023-10-09 Thread Edgar Lux
On Oct 9, 2023 at 3:59 PM if I comment out the (add-hook 'org-mode-hook #'org-indent-mode), the error is gone -- Sent with https://mailfence.com Secure and private email -- Sent with https://mailfence.com Secure and private email

Re: [BUG] Warning when creating preview

2023-10-09 Thread Edgar Lux
On Oct 9, 2023 > #--- bug.org > \(a = 1\) > #--- further, if you stay "inside" the equation and do C-u C-c C-x C-l (to remove the preview) and try to show it again with C-c C-x C-l, the preview is not regenerated, but the minibuffer shows =Creating LaTeX previews in section... done.= --

Re: [BUG] Warning when creating preview

2023-10-05 Thread Ihor Radchenko
Edgar Lux writes: > Nope, there is still something wrong with my config (see attachment). Haven't > been able to reproduce consistently. Ok. We can try another way. May you add the following to your config: (setq debug-on-error t) Then, next time you will see a more detailed backtrace. --

Re: [BUG] Warning when creating preview

2023-10-02 Thread Edgar Lux
Nope, there is still something wrong with my config (see attachment). Haven't been able to reproduce consistently. -- Sent with https://mailfence.com Secure and private email log.gz Description: File Attachment: log.gz

Re: [BUG] Warning when creating preview

2023-09-28 Thread Edgar Lux
I forgot to say that now: "9.7-pre" GNU Emacs 29.1 (build 1, x86_64-pc-linux-gnu, GTK+ Version 3.24.38, cairo version 1.17.8) -- Sent with https://mailfence.com Secure and private email -- Sent with https://mailfence.com Secure and private email

Re: [BUG] Warning when creating preview

2023-09-28 Thread Edgar Lux
On Aug 28, 2023 at 11:00 AM, Ihor Radchenko wrote:Edgar Lux writes: > On Aug 27, 2023 at 7:29 PM, Ihor Radchenko wrote: >> I recommend https://github.com/Malabarba/elisp-bug-hunter to narrow down >> which part of the config is the culprit. > > We have a winner: Another winner? I am not

Re: [BUG] Warning when creating preview

2023-08-28 Thread Ihor Radchenko
Edgar Lux writes: > On Aug 27, 2023 at 7:29 PM, Ihor Radchenko wrote: >> I recommend https://github.com/Malabarba/elisp-bug-hunter to narrow down >> which part of the config is the culprit. > > We have a winner: > > ;; Bug hunter error --- > ;;

Re: [BUG] Warning when creating preview

2023-08-27 Thread Ihor Radchenko
Edgar Lux writes: > On Aug 27, 2023 at 1:28 PM, Ihor Radchenko wrote: > 9. M-& make repro REPRO_ARGS="-l /tmp/bug.el /tmp/bug.org" > >> Please run this command from terminal. >> It should spawn a clean Emacs instance with Org version from the repository. > > No warning after C-c C-x C-l

Re: [BUG] Warning when creating preview

2023-08-27 Thread Edgar Lux
On Aug 27, 2023 at 1:28 PM, Ihor Radchenko wrote: >>> 9. M-& make repro REPRO_ARGS="-l /tmp/bug.el /tmp/bug.org" > Please run this command from terminal. > It should spawn a clean Emacs instance with Org version from the repository. No warning after C-c C-x C-l(2x) -- Ihor Radchenko

Re: [BUG] Warning when creating preview

2023-08-27 Thread Ihor Radchenko
Edgar Lux writes: > On Aug 26, 2023 at 6:28 PM, Ihor Radchenko wrote: > >> Did you see a new Emacs instance at this point? > > Nope. I just launched Emacs again (there is another instance running) and > copied the command > >>> 9. M-& make repro REPRO_ARGS="-l /tmp/bug.el /tmp/bug.org" Please

Re: [BUG] Warning when creating preview

2023-08-27 Thread Edgar Lux
On Aug 26, 2023 at 6:28 PM, Ihor Radchenko wrote: > Did you see a new Emacs instance at this point? Nope. I just launched Emacs again (there is another instance running) and copied the command >> 9. M-& make repro REPRO_ARGS="-l /tmp/bug.el /tmp/bug.org" Shell buffer shows #+begin_example

Re: [BUG] Warning when creating preview

2023-08-26 Thread Ihor Radchenko
Edgar Lux writes: > 9. M-& make repro REPRO_ARGS="-l /tmp/bug.el /tmp/bug.org" Did you see a new Emacs instance at this point? > 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

Re: [BUG] Warning when creating preview

2023-08-26 Thread Edgar Lux
On Aug 23, 2023 at 9:56 AM, Ihor Radchenko > 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

Re: [BUG] Warning when creating preview

2023-08-23 Thread Ihor Radchenko
Edgar Lux writes: > * Steps to reproduce > > 1. Type this equation > >#+begin_quote >\begin{gather} >t = 0 >\end{gather} >#+end_quote > > 2. Ask for preview =C-c C-x C-l= with point on the equation > > 3. Ask to remove preview (without moving point) =C-c C-x C-l= > > 4. You

Re: [BUG] Warning when creating preview

2023-08-22 Thread Edgar Lux
On Aug 18, 2023 at 6:04 PM, Ihor Radchenko wrote: > 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. * What happens When I type

Re: [BUG] Warning when creating preview

2023-08-18 Thread Edgar Lux
On Aug 18, 2023 at 6:04 PM, Ihor Radchenko wrote:Edgar Lux writes: > 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. Super weird. I don't know why I ended up in some 9.4

Re: [BUG] Warning when creating preview

2023-08-18 Thread Ihor Radchenko
Edgar Lux 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 >

[BUG] Warning when creating preview

2023-08-18 Thread Edgar Lux
Hi, 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.