emacs 2026-08-30

I installed the latest Emacs, and noticed one difference: warnings about missing ‘lexical-binding’ cookie So I updated my configs by adding the statement:

-*- lexical-binding: t -*-
But the check is also for the packages that I have installed. It is quite a few warnings, and I have failed to mute this type of warning (that appears on start up and when switching modes). My "patch" is currently to inject this statement into all .el files in the elpa directory (by using https://gist.github.com/DavidVujic/9735f40197a6c8d869d8bcde17be0abf), but that will only work as long as the package is unchanged. Another alternative is to make Pull Requests to the packages, but it is overwhelmingly many. Any ideas on how to solve this in a sustainable way? I know that it is only warnings, but it is very annoying to have these popping up.

Same, and somewhat related now too are error messages about packages missing autoloads

(setopt warning-suppress-types '((files missing-lexbind-cookie))
        warning-suppress-log-types '((files missing-lexbind-cookie)))
this should help

👍 1
🙏 2

I had this also. My assumption is that eventually this will go away as downstream libraries that I load at startup will update with the appropriate cookie. Is this an incorrect assumption? It is a bit annoying though.