GNU bug report logs - #73637
[PATCH] New hook 'help-setup-hook'

Previous Next

Package: emacs;

Reported by: Eshel Yaron <me <at> eshelyaron.com>

Date: Sat, 5 Oct 2024 07:18:02 UTC

Severity: normal

Tags: patch

Done: Dmitry Gutov <dmitry <at> gutov.dev>

Bug is archived. No further changes may be made.

Full log


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

From: Eshel Yaron <me <at> eshelyaron.com>
To: Stefan Monnier <monnier <at> iro.umontreal.ca>
Cc: Dmitry Gutov <dmitry <at> gutov.dev>, Eli Zaretskii <eliz <at> gnu.org>,
 73637 <at> debbugs.gnu.org
Subject: Re: bug#73637: [PATCH] New hook 'help-setup-hook'
Date: Sat, 05 Oct 2024 15:32:56 +0200
Dmitry Gutov <dmitry <at> gutov.dev> writes:

> Have you tried going in the other direction? Meaning, killing all locals 
> by default but keeping the ones that are really needed.
>
> This is less backward compatible, but ultimately a more predictable and 
> common design. This seems to work okay here:

Stefan Monnier writes:

> Looking at the patch from a distance it makes me wonder whether we
> shouldn't call `kill-all-local-variables` instead?
> IOW instead of listing all the vars that need to be killed, change to
> code to preserve the few vars that should not be killed.

SGTM, that works too and it's definitely a simpler approach.




This bug report was last modified 227 days ago.

Previous Next


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