From: Daan Ro <daanturo@gmail.com>
To: Ihor Radchenko <yantar92@posteo.net>
Cc: "emacs-orgmode@gnu.org" <emacs-orgmode@gnu.org>
Subject: Re: [BUG] Patch: Add an option to silence org-latex-preview (also a feature request) [9.7.11 (release_9.7.11 @ /usr/local/share/emacs/30.0.91/lisp/org/)]
Date: Mon, 14 Oct 2024 00:32:07 +0700 [thread overview]
Message-ID: <37E53521-13CF-4156-93ED-196834780D2F@getmailspring.com> (raw)
In-Reply-To: <87set0z1in.fsf@localhost>
[-- Attachment #1: Type: text/plain, Size: 2151 bytes --]
> See https://list.orgmode.org/87lek2up0w.fsf@tec.tecosaur.net/ (https://link.getmailspring.com/link/37E53521-13CF-4156-93ED-196834780D2F@getmailspring.com/0?redirect=https%3A%2F%2Flist.orgmode.org%2F87lek2up0w.fsf%40tec.tecosaur.net%2F&recipient=ZW1hY3Mtb3JnbW9kZUBnbnUub3Jn)
Thank you, the said fork has all I needed for now. I've decided to use it for now.
I think this bug ticket can be closed.
Daanturo
On Oct 13 2024, at 6:27 pm, Ihor Radchenko <yantar92@posteo.net> wrote:
> Daan Ro <daanturo@gmail.com> writes:
>
> > Currently I have minor mode that automates `org-latex-preview` every some idle
> > seconds so that newly typed fragments are automatically rendered. Having an
> > option to disable messages would make Emacs's interface much cleaner.
>
> You can suppress all the messages via `inhibit-message', which see.
> Is it good enough for your needs?
>
> > About org-mode's similar messages, I just saw that some `message` calls are
> > conditioned on `(called-interactively-p 'any)`. IMO `org-latex-preview`'s
> > messages should do the same as the latter (only notify when called
> > interactively) by default, but maybe that's a breakage for some people.
>
> It is not self-evident. Sometimes, it is useful to see messages from
> non-interactive calls. Imagine functions that are called by other
> interactive Org commands.
>
> > Additionally, I'd love to make `org-latex-preview` asynchronous. First, that
> > will definitely speedup opening org files with `org-startup-with-latex-preview`
> > as Emacs doesn't freeze while generating images. Second, auto preview minor
> > modes such as mine would be smoother.
> >
> > I have a rough idea of implementation by passing `org-place-formula-image` as a
> > callback closure to `org-create-formula-image` and `org-compile-file`. Would
> > such a feature request/patch be accepted?
>
> See https://list.orgmode.org/87lek2up0w.fsf@tec.tecosaur.net/
> --
> Ihor Radchenko // yantar92,
> Org mode contributor,
> Learn more about Org mode at <https://orgmode.org/>.
> Support Org development at <https://liberapay.com/org-mode>,
> or support my work at <https://liberapay.com/yantar92>
>
[-- Attachment #2: Type: text/html, Size: 3815 bytes --]
next prev parent reply other threads:[~2024-10-13 17:33 UTC|newest]
Thread overview: 6+ messages / expand[flat|nested] mbox.gz Atom feed top
2024-10-04 18:43 [BUG] Patch: Add an option to silence org-latex-preview (also a feature request) [9.7.11 (release_9.7.11 @ /usr/local/share/emacs/30.0.91/lisp/org/)] Daan Ro
2024-10-12 15:49 ` Ihor Radchenko
2024-10-13 6:18 ` Daan Ro
2024-10-13 11:27 ` Ihor Radchenko
2024-10-13 17:32 ` Daan Ro [this message]
2024-10-14 14:19 ` Ihor Radchenko
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=37E53521-13CF-4156-93ED-196834780D2F@getmailspring.com \
--to=daanturo@gmail.com \
--cc=emacs-orgmode@gnu.org \
--cc=yantar92@posteo.net \
/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).