bug-gnu-emacs
[Top][All Lists]
Advanced

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

bug#47067: 28.0.50; [feature/native-comp] Crash while scrolling through


From: Andrea Corallo
Subject: bug#47067: 28.0.50; [feature/native-comp] Crash while scrolling through dispnew.c
Date: Fri, 19 Mar 2021 14:05:06 +0000
User-agent: Gnus/5.13 (Gnus v5.13) Emacs/28.0.50 (gnu/linux)

Eli Zaretskii <eliz@gnu.org> writes:

>> From: Andrea Corallo <akrl@sdf.org>
>> Cc: 47067@debbugs.gnu.org
>> Date: Fri, 19 Mar 2021 09:42:33 +0000
>> 
>> I've a patch that works modifying `load' to prevent native code being
>> loaded when a file with .elc suffix is explicitly presented as argument.
>> 
>> I was going to post it but re-reading your message I now wanted to ask:
>> do we want to act at `load' level or at `load-file' + `load-library'
>> level?
>
> The former, I think.  This is to keep the original semantics of 'load'
> as it existed before the native-compilation: if you say
>
>   (load "foo.el")
>
> Emacs loads the .el file, even if the corresponding .elc file exists.
>
> But if doing that in 'load' causes some trouble, I think we should at
> least do this on the level of 'load-file' and 'load-library'.

Okay b3ad62f8a3 does that in `load'.

At a quick test it does not create problems, will see.

Thanks

  Andrea





reply via email to

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