emacs-devel
[Top][All Lists]
Advanced

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

Re: Default lexical-binding to t


From: Sebastián Monía
Subject: Re: Default lexical-binding to t
Date: Fri, 08 Nov 2024 15:18:32 -0500
User-agent: Gnus/5.13 (Gnus v5.13)

Eli Zaretskii <eliz@gnu.org> writes:
>> From: Sebastián Monía <sebastian@sebasmonia.com>
>> Eli Zaretskii <eliz@gnu.org> writes:
>> >> From: Sebastián Monía <sebastian@sebasmonia.com>
>> >> Andrea Corallo <acorallo@gnu.org> writes:
>> >> >
>> >> > Most people load files without first fisiting them, so I still
>> >> > think the load time warning idea has some advantage.
>> >> 
>> >> They _really_ shouldn't do that, though... :)
>> >
>> > Why not?
>> 
>> Isn't it general considered a bad idea to run arbitrary code without
>> taking a look first?
>
> Don't you do that with all the Lisp files that come with Emacs?

Yes! but in this context I understood Andrea meant "loading some random
lone file", which is different from a vetted (or at least, well known)
package, and very different from code included with Emacs.

If some file has no explicit binding cookie, it is relativaly old, maybe
even unmaintaned. No? Since using explicit lexical binding has been the
recommendation for a while now.


-- 
Sebastián Monía
https://site.sebasmonia.com/



reply via email to

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