emacs-orgmode@gnu.org archives
 help / color / mirror / code / Atom feed
From: Vladimir Nikishkin <lockywolf@gmail.com>
To: emacs-orgmode <emacs-orgmode@gnu.org>
Subject: Bug: why does org-goto call org-latex-preview?
Date: Wed, 27 May 2020 10:59:22 +0800	[thread overview]
Message-ID: <CA+A2iZZtdqDWyD29nfHWE63WSfiXjed8nPtoOF4cJyx=xMO1oA@mail.gmail.com> (raw)

Hello, everyone!

Below is an excerpt of the profiler report after  typing C-c C-j:

- command-execute                                                2385  76%
 - call-interactively                                            2385  76%
  - funcall-interactively                                        1928  61%
   - org-goto                                                    1878  60%
    - org-goto-location                                          1867  59%
     - org-mode                                                  1861  59%
      - org-latex-preview                                        1590  51%
       - org--latex-preview-region                               1590  51%
        - org-format-latex                                       1588  50%

Why is it that org-goto enforces the regeneration of previews in a buffer?

In my case, the buffer has a huge number of latex formulae, and in
total is 65000 lines long, so I can't really wait till the
regeneration finishes, just takes too much time.

-- 
Yours sincerely, Vladimir Nikishkin


             reply	other threads:[~2020-05-27  2:59 UTC|newest]

Thread overview: 6+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2020-05-27  2:59 Vladimir Nikishkin [this message]
2020-05-27  3:45 ` Bug: why does org-goto call org-latex-preview? Kyle Meyer
2020-05-27  3:49   ` Ihor Radchenko
2020-05-27  4:20     ` Kyle Meyer
2020-05-28  4:26       ` [PATCH] goto: Avoid invoking org-mode for outline navigation Kyle Meyer
2020-09-05  7:42         ` Bastien

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='CA+A2iZZtdqDWyD29nfHWE63WSfiXjed8nPtoOF4cJyx=xMO1oA@mail.gmail.com' \
    --to=lockywolf@gmail.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).