Re: Docs on lexical binding cookie?

<[email protected]>
Newsgroups gmane.emacs.devel
Message-ID <[email protected]>
On Thu, Aug 27, 2026 at 05:47:37PM -0400, Ryan Tate wrote:
> Can someone direct me to the documentation that explains what a lexical binding cookie is. I have run many searches and cannot find it . Thanks. 

Section 12.10.4 "Selecting Lisp Dialect" of the Emacs Lisp reference,
available online here [1].

The term "cookie" is a bit obscure, but it merely refers to that
little text snippet you put in an Emacs Lisp source file:

  ;;; -*- lexical-binding: t -*-

to tell the interpreter/compiler what to do. The term hangs around
in computing and usually denotes such a snippet in different
context (MIT magic cookie, HTTP cookies) [2], always denoting such
"small snippets of info".

No idea whether it would be appropriate to take that into the Elisp
glossary (or perhaps to put an explanation in the text).

Cheers

[1] https://en.wikipedia.org/wiki/Cookie_(disambiguation)#Computing
-- 
tomás
signature.asc (application/pgp-signature, 195 B)
-----BEGIN PGP SIGNATURE-----

iF0EABECAB0WIQRp53liolZD6iXhAoIFyCz1etHaRgUCapEmUAAKCRAFyCz1etHa
RuiyAJ0ff1aQiETs0hkoRH7oFcQhRWX1ZwCff6c5r39mvkVkNMJQb2QWI/r0eGg=
=0pm1
-----END PGP SIGNATURE-----
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.