GNU bug report logs - #73386
[PATCH] Fix keybinding support for *-auto-reveal

Previous Next

Package: auctex;

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

Date: Fri, 20 Sep 2024 14:54:02 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 73386 <at> debbugs.gnu.org (full text, mbox):

From: Arash Esbati <arash <at> gnu.org>
To: Paul Nelson <ultrono <at> gmail.com>
Cc: 73386 <at> debbugs.gnu.org
Subject: Re: bug#73386: [PATCH] Fix keybinding support for *-auto-reveal
Date: Wed, 25 Sep 2024 10:05:25 +0200
Paul Nelson <ultrono <at> gmail.com> writes:

>> Thanks.  I have one question: Is it possible to set the LEXICAL argument
>> of `eval' to t?
>
> If I understand correctly, your suggestion is to use something like
> the following?

Yes, plus the one addition below.

> (defcustom preview-auto-reveal
>       '(eval . ((apply #'preview-arrived-via
>                        (mapcar (lambda (cmd)
>                                  (if (and (listp cmd) (eq (car cmd) 'key-binding))
>                                      (eval cmd)
                                       (eval cmd t)
>                                    cmd))
>                                preview-auto-reveal-commands))
>                 t))
> ...)
>
> I assume this will have no effect, but would be happy to test it out
> for a couple days.

Great, thanks, looking forward to your feedback.

Best, Arash




This bug report was last modified 238 days ago.

Previous Next


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