unofficial mirror of bug-gnu-emacs@gnu.org 
 help / color / mirror / code / Atom feed
From: Michael Heerdegen <michael_heerdegen@web.de>
To: Stefan Monnier <monnier@iro.umontreal.ca>
Cc: 49163@debbugs.gnu.org
Subject: bug#49163: 28.0.50; Dynbind add-function and lambdas as file vars
Date: Tue, 22 Jun 2021 04:26:09 +0200	[thread overview]
Message-ID: <87mtritz26.fsf@web.de> (raw)
In-Reply-To: <jwvr1guy8hn.fsf-monnier+emacs@gnu.org> (Stefan Monnier's message of "Mon, 21 Jun 2021 21:54:19 -0400")

Stefan Monnier <monnier@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.






  reply	other threads:[~2021-06-22  2:26 UTC|newest]

Thread overview: 5+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2021-06-21 23:16 bug#49163: 28.0.50; Dynbind add-function and lambdas as file vars Michael Heerdegen
2021-06-22  1:54 ` Stefan Monnier via Bug reports for GNU Emacs, the Swiss army knife of text editors
2021-06-22  2:26   ` Michael Heerdegen [this message]
2021-06-27 22:18     ` Stefan Monnier via Bug reports for GNU Emacs, the Swiss army knife of text editors
2021-06-28  2:56       ` Michael Heerdegen

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

  List information: https://www.gnu.org/software/emacs/

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=87mtritz26.fsf@web.de \
    --to=michael_heerdegen@web.de \
    --cc=49163@debbugs.gnu.org \
    --cc=monnier@iro.umontreal.ca \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
Code repositories for project(s) associated with this public inbox

	https://git.savannah.gnu.org/cgit/emacs.git

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).