all messages for Emacs-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
* Why is lexical-binding's global value ignored?
@ 2023-01-28  3:01 abq
  2023-01-28  7:10 ` tomas
  2023-01-28 16:11 ` abq
  0 siblings, 2 replies; 14+ messages in thread
From: abq @ 2023-01-28  3:01 UTC (permalink / raw)
  To: emacs-devel

If somebody does (setq-default lexical-binding t), the intention is 
obvious. But in current versions of Emacs, when loading a file that 
doesn't specify a local value for lexical-binding, the global value is 
ignored. Why?

IOW, what would break if the global value were honored? It defaults to 
nil, which is already how files are loaded if no local value is 
specified, so honoring the global wouldn't change anything by default.



^ permalink raw reply	[flat|nested] 14+ messages in thread

end of thread, other threads:[~2023-02-01  2:04 UTC | newest]

Thread overview: 14+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2023-01-28  3:01 Why is lexical-binding's global value ignored? abq
2023-01-28  7:10 ` tomas
2023-01-29  9:36   ` Jean Louis
2023-01-31  4:19     ` Richard Stallman
2023-01-31 13:49       ` Eli Zaretskii
2023-01-28 16:11 ` abq
2023-01-28 18:44   ` tomas
2023-01-28 22:34   ` abq
2023-01-29  6:54     ` Eli Zaretskii
2023-01-30  3:53       ` abq
2023-01-30 12:32         ` Eli Zaretskii
2023-01-30 12:59           ` tomas
2023-01-30 13:45         ` Po Lu
2023-02-01  2:04     ` abq

Code repositories for project(s) associated with this external index

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

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.