GNU bug report logs - #49163
28.0.50; Dynbind add-function and lambdas as file vars

Previous Next

Package: emacs;

Reported by: Michael Heerdegen <michael_heerdegen <at> web.de>

Date: Mon, 21 Jun 2021 23:18:02 UTC

Severity: normal

Found in version 28.0.50

Done: Stefan Monnier <monnier <at> iro.umontreal.ca>

Bug is archived. No further changes may be made.

Full log


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

From: Michael Heerdegen <michael_heerdegen <at> web.de>
To: Stefan Monnier <monnier <at> iro.umontreal.ca>
Cc: bug-gnu-emacs <at> gnu.org
Subject: Re: 28.0.50; Dynbind add-function and lambdas as file vars
Date: Tue, 22 Jun 2021 04:26:09 +0200
Stefan Monnier <monnier <at> iro.umontreal.ca> writes:

> Remember, file-local vars set a var to a value, there's no evaluation
> going on, so this sets `my-do-with-test-process-fun` to a list whose
> car is the symbol `lambda`.

Grml...

> It might (when you do the `M-x test`); have you checked *Messages*?

No, but I guess you have ;-)  Ok, that's the maximum it can do.

> -     (save-excursion (eval val)))
> +     (save-excursion (eval val t)))

I would certainly welcome that.  How controversial would doing that be
(and would `(eval val lexical-binding)' be less controversial then)?


Thanks,

Michael.





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

Previous Next


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