emacs-orgmode
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: visual-line-mode don't play well with org-latex-preview


From: chris
Subject: Re: visual-line-mode don't play well with org-latex-preview
Date: Thu, 09 Mar 2023 01:24:09 +0100

On Wednesday, 8 March 2023 20:14:53 CET Bruno Barbier wrote:
> 
> Hi Chris,
> 
> chris <inkbottle007@gmail.com> writes:
> 
> > On Thursday, 2 March 2023 20:00:14 CET Bruno Barbier wrote: 
> >> The behavior looks the same using only text-mode (without using org).
> >> You should probably report this as an Emacs bug (see M-x
> >> report-emacs-bug).
> >
> > What command for latex preview in text mode? (I'll probably figure that 
> > out.)
> >
> 
> org-latex-preview. Why ? :-)
> 
> 
> > Yes, I should definitely report that bug.
> 
> In case it helps you to report the bug, here is the minimal way I found
> to reproduce it (no latex, no org):
> 
>      #+begin_src elisp
>        (let ((b (generate-new-buffer "=bug")))
>          (with-current-buffer b
>            (dotimes (_ 110) (insert "Hello "))
>            (insert-image (svg-image (let ((s (svg-create 250 9)))
>                                    (svg-line s 0 0 250 9 :stroke-color 
> "green")
>                                    s)))
>            (org-mode)
>            (visual-line-mode 1)
>            (pop-to-buffer b)))
>      #+end_src

Amazing,
Chris

> 
> Bruno
> 







reply via email to

[Prev in Thread] Current Thread [Next in Thread]