GNU bug report logs - #70455
[PATCH] Add new user option `preview-leave-open-previews-visible'

Previous Next

Package: auctex;

Reported by: Paul Nelson <ultrono <at> gmail.com>

Date: Thu, 18 Apr 2024 14:52:03 UTC

Severity: normal

Tags: patch

Done: Arash Esbati <arash <at> gnu.org>

Bug is archived. No further changes may be made.

Full log


Message #14 received at 70455 <at> debbugs.gnu.org (full text, mbox):

From: Ikumi Keita <ikumi <at> ikumi.que.jp>
To: Paul Nelson <ultrono <at> gmail.com>, Arash Esbati <arash <at> gnu.org>
Cc: 70455 <at> debbugs.gnu.org, Tassilo Horn <tsdh <at> gnu.org>
Subject: Re: bug#70455: [PATCH] Add new user option
 `preview-leave-open-previews-visible'
Date: Mon, 22 Apr 2024 20:48:56 +0900
Hi Arash and Paul,

>>>>> Arash Esbati <arash <at> gnu.org> writes:
> I don't have a suggestion for a better name, but another comment.  Your
> patch uses `cl-find-if' which is a function.  Until now, we used only
> macros from the cl-lib inside AUCTeX in order to have no other runtime
> dependencies.  In general, I have no problem if we lift this limitation
> and use cl-lib functions as well -- the library is part of Emacs and why
> not use it.  But before we do this, I'd like to hear from Keita and
> Tassilo what they think about this.

I don't mind. It doesn't matter to use emacs built-in library to write
code simply.

I'd like to ask Paul some questions:

> Paul Nelson <ultrono <at> gmail.com> writes:

>> With the new user option disabled, behavior is instead:
>> 
>> - When you enter a preview, it remains visible.  The tex code appears
>> below the preview.

The TeX code appears _to right of_ the preview for inline math
expression for me. Is this a misbehavior? Or does your above sentence
miss this case?

I don't understand the change as a whole, but it seems that this change
extends cases which doesn't touch the preview images through EXCEPTION
argument of `preview-clearout' function. Doesn't this lead to leave some
kind of "debris" which needs additional clean-up facility after usage of
preview-latex?

Regards,
Ikumi Keita
#StandWithUkraine #StopWarInUkraine
#Gaza #StopMassiveKilling #CeasefireNOW




This bug report was last modified 1 year and 88 days ago.

Previous Next


GNU bug tracking system
Copyright (C) 1999 Darren O. Benham, 1997,2003 nCipher Corporation Ltd, 1994-97 Ian Jackson.