emacs-devel
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Smarter M-x that filters on major-mode


From: Basil L. Contovounesios
Subject: Re: Smarter M-x that filters on major-mode
Date: Sun, 14 Feb 2021 18:44:22 +0000
User-agent: Gnus/5.13 (Gnus v5.13) Emacs/28.0.50 (gnu/linux)

Lars Ingebrigtsen <larsi@gnus.org> writes:

> "Basil L. Contovounesios" <contovob@tcd.ie> writes:
>
>> FWIW, my vote's for something along those lines, as it's far less
>> intrusive, less controversial, more flexible, and more compatible.
>
> Like I said, I don't see why.  The .el files aren't compatible, so why
> should the .elc files be?
>
> Just like a lexically-bound .elc file doesn't work totally in older
> Emacsen, neither does a lexically-bound .el file.  It's an analogous
> situation.

Yes, but a lexical-binding cookie makes no difference in Emacs 23,
whereas (interactive nil foo-mode) would be an error.  Hence my vote for
just the (declare (modes ...)) and/or symbol property approach.

-- 
Basil



reply via email to

[Prev in Thread] Current Thread [Next in Thread]