GNU bug report logs - #39373
27.0.50; [PATCH] mode-local-print-bindings broken with lexical-binding

Previous Next

Package: emacs;

Reported by: Mattias EngdegÄrd <mattiase <at> acm.org>

Date: Fri, 31 Jan 2020 17:41:03 UTC

Severity: normal

Found in version 27.0.50

Done: Lars Ingebrigtsen <larsi <at> gnus.org>

Bug is archived. No further changes may be made.

Full log


View this message in rfc822 format

From: Mattias EngdegÄrd <mattiase <at> acm.org>
To: Stefan Monnier <monnier <at> iro.umontreal.ca>
Cc: Eli Zaretskii <eliz <at> gnu.org>, 39373 <at> debbugs.gnu.org
Subject: bug#39373: 27.0.50; [PATCH] mode-local-print-bindings broken with lexical-binding
Date: Sun, 2 Feb 2020 15:14:35 +0100
2 feb. 2020 kl. 14.55 skrev Stefan Monnier <monnier <at> iro.umontreal.ca>:

> I also expected so, but I've already changed a handful of
> `(run-hooks 'foo)` to `(mapcar #'funcall foo)`.  The problem is a bit
> different, tho: it's *also* wrong to use it on dynamically-scoped let-bound
> vars (tho it mostly works), so the doc should not focus on lexical
> vars but on the difference between vars and hooks.

Very well, in that case you are probably better placed to provide the nuanced modifications necessary, if any.





This bug report was last modified 4 years and 282 days ago.

Previous Next


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