emacs-orgmode@gnu.org archives
 help / color / mirror / code / Atom feed
From: Bruno Barbier <brubar.cs@gmail.com>
To: chris <inkbottle007@gmail.com>, emacs-orgmode@gnu.org
Subject: Re: visual-line-mode don't play well with org-latex-preview
Date: Wed, 08 Mar 2023 20:14:53 +0100	[thread overview]
Message-ID: <6408deaf.050a0220.c7461.1513@mx.google.com> (raw)
In-Reply-To: <5913981.lOV4Wx5bFT@pluto>


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

Bruno


  reply	other threads:[~2023-03-08 19:15 UTC|newest]

Thread overview: 5+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2023-02-27 17:14 visual-line-mode don't play well with org-latex-preview chris
2023-03-02 19:00 ` Bruno Barbier
2023-03-06 17:02   ` chris
2023-03-08 19:14     ` Bruno Barbier [this message]
2023-03-09  0:24       ` chris

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=6408deaf.050a0220.c7461.1513@mx.google.com \
    --to=brubar.cs@gmail.com \
    --cc=emacs-orgmode@gnu.org \
    --cc=inkbottle007@gmail.com \
    /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).