Skip to content

Missing ‘lexical-binding’ cookie on future Emacs 31.0.50 #69

@xmacex

Description

@xmacex

Hello. I get the following warning from pre-release Emacs 31.0.50 with this package:

 ■  Warning (files): Missing ‘lexical-binding’ cookie in "~/Library/Application Support/SuperCollider/downloaded-quarks/scel/el/sclang.el".
You can add one with ‘M-x elisp-enable-lexical-binding RET’.
See ‘(elisp)Selecting Lisp Dialect’ and ‘(elisp)Converting to Lexical Binding’
for more information.
 ■  Warning (files): Missing ‘lexical-binding’ cookie in "~/Library/Application Support/SuperCollider/downloaded-quarks/scel/el/sclang-util.el".
You can add one with ‘M-x elisp-enable-lexical-binding RET’.
See ‘(elisp)Selecting Lisp Dialect’ and ‘(elisp)Converting to Lexical Binding’
for more information.
 ■  Warning (files): Missing ‘lexical-binding’ cookie in "~/Library/Application Support/SuperCollider/downloaded-quarks/scel/el/sclang-browser.el".
You can add one with ‘M-x elisp-enable-lexical-binding RET’.
See ‘(elisp)Selecting Lisp Dialect’ and ‘(elisp)Converting to Lexical Binding’
for more information.
 ■  Warning (files): Missing ‘lexical-binding’ cookie in "~/Library/Application Support/SuperCollider/downloaded-quarks/scel/el/sclang-interp.el".
You can add one with ‘M-x elisp-enable-lexical-binding RET’.
See ‘(elisp)Selecting Lisp Dialect’ and ‘(elisp)Converting to Lexical Binding’
for more information.
 ■  Warning (files): Missing ‘lexical-binding’ cookie in "~/Library/Application Support/SuperCollider/downloaded-quarks/scel/el/sclang-language.el".
You can add one with ‘M-x elisp-enable-lexical-binding RET’.
See ‘(elisp)Selecting Lisp Dialect’ and ‘(elisp)Converting to Lexical Binding’
for more information.
 ■  Warning (files): Missing ‘lexical-binding’ cookie in "~/Library/Application Support/SuperCollider/downloaded-quarks/scel/el/sclang-document.el".
You can add one with ‘M-x elisp-enable-lexical-binding RET’.
See ‘(elisp)Selecting Lisp Dialect’ and ‘(elisp)Converting to Lexical Binding’
for more information.
 ■  Warning (files): Missing ‘lexical-binding’ cookie in "~/Library/Application Support/SuperCollider/downloaded-quarks/scel/el/sclang-mode.el".
You can add one with ‘M-x elisp-enable-lexical-binding RET’.
See ‘(elisp)Selecting Lisp Dialect’ and ‘(elisp)Converting to Lexical Binding’
for more information.
 ■  Warning (files): Missing ‘lexical-binding’ cookie in "~/Library/Application Support/SuperCollider/downloaded-quarks/scel/el/sclang-dev.el".
You can add one with ‘M-x elisp-enable-lexical-binding RET’.
See ‘(elisp)Selecting Lisp Dialect’ and ‘(elisp)Converting to Lexical Binding’
for more information.
 ■  Warning (files): Missing ‘lexical-binding’ cookie in "~/Library/Application Support/SuperCollider/downloaded-quarks/scel/el/sclang-minor-mode.el".
You can add one with ‘M-x elisp-enable-lexical-binding RET’.
See ‘(elisp)Selecting Lisp Dialect’ and ‘(elisp)Converting to Lexical Binding’
for more information.
 ■  Warning (files): Missing ‘lexical-binding’ cookie in "~/Library/Application Support/SuperCollider/downloaded-quarks/scel/el/sclang-help.el".
You can add one with ‘M-x elisp-enable-lexical-binding RET’.
See ‘(elisp)Selecting Lisp Dialect’ and ‘(elisp)Converting to Lexical Binding’
for more information.
 ■  Warning (files): Missing ‘lexical-binding’ cookie in "~/Library/Application Support/SuperCollider/downloaded-quarks/scel/el/sclang-server.el".
You can add one with ‘M-x elisp-enable-lexical-binding RET’.
See ‘(elisp)Selecting Lisp Dialect’ and ‘(elisp)Converting to Lexical Binding’
for more information.
 ■  Warning (files): Missing ‘lexical-binding’ cookie in "~/Library/Application Support/SuperCollider/downloaded-quarks/scel/el/sclang-widgets.el".
You can add one with ‘M-x elisp-enable-lexical-binding RET’.
See ‘(elisp)Selecting Lisp Dialect’ and ‘(elisp)Converting to Lexical Binding’
for more information.

I figure adding ;; -*- lexical-binding: t; -*- to the very top of the files will make the warning go away, but I have zero idea whether this breaks stuff.

I have scel 1.0.0 installed using the installation option 1, ie. as a Quark in SuperCollider except instead of adding the path to load-path, I made a symlink on my filesystem. The package itself seems to work just fine, it's just those warnings.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions