[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [External] : emacs-28 windows binaries available from alpha
From: |
H. Dieter Wilhelm |
Subject: |
Re: [External] : emacs-28 windows binaries available from alpha |
Date: |
Sat, 05 Feb 2022 17:49:31 +0100 |
User-agent: |
Gnus/5.13 (Gnus v5.13) Emacs/28.0.91 (windows-nt) |
Eli Zaretskii <eliz@gnu.org> writes:
>> From: "H. Dieter Wilhelm" <dieter@duenenhof-wilhelm.de>
>> Cc: Drew Adams <drew.adams@oracle.com>, Andrea Corallo <akrl@sdf.org>,
>> corwin@bru.st, emacs-devel@gnu.org
>> Date: Sat, 05 Feb 2022 10:22:26 +0100
>>
>> On a Windows system WITH ligccjit I could load Drew's .elc file without
>> an error.
>>
>> Then I added his .el file in the same folder and reloaded the .elc file
>> (with load-file). I was expecting that Emacs would create a respective
>> .eln file in this situation. But it didn't.
>
> Please repeat this experiment in a fresh Emacs session, started
> when the .el file is already available...
>
>> Loading d:/tmp/Corwin/strings.elc (compiled; note, source file is
>> newer)...done
>
> ...and make sure the .elc file is newer, not older, than the .el file.
"Touched" and loaded strings.elc.
-rw-r--r-- 1 uidg1626 Domain Users 34051 Feb 5 10:04 strings.el
-rw-r--r-- 1 uidg1626 Domain Users 22756 Feb 5 16:54 strings.elc
But it seems that string.el wasn't compiled, I can't see it in
*Asysnc-native-compile-log* neither in eln-cache!?
>> Does this mean that Emacs - by default - is only natively compiling .el
>> files which are from Emacs' tree and (M)elpa packages?
>
> No. Emacs should natively compile any .el file when its .elc file is
> loaded, provided that (a) the .el file can be found, and (b) the .el
> file is older than the .elc file.
Might it work when the .el files are in PATH or in Emacs' tree?
>> When (load-file)ing the .el file then Emacs compiled the cl.el library.
>> *Asyn-native-compoile-log* Compiling
>> d:/tmp/Corwin/2022-02-04/share/emacs/28.0.91/lisp/obsolete/cl.el...
>>
>> *Messages* Loading d:/tmp/Corwin/strings.el (source)...
>> d:/tmp/Corwin/strings.el: Warning: ‘psetq’ is an obsolete alias (as of
>> 27.1); use ‘cl-psetq’ instead.
>
> As expected. When you load a file with an explicit .el extension,
> Emacs will not natively compile that file -- this is a feature.
Good to know, thank you
--
Dieter
- Re: [External] : emacs-28 windows binaries available from alpha, (continued)
- Re: [External] : emacs-28 windows binaries available from alpha, Corwin Brust, 2022/02/04
- RE: [External] : emacs-28 windows binaries available from alpha, Drew Adams, 2022/02/04
- Re: [External] : emacs-28 windows binaries available from alpha, Corwin Brust, 2022/02/04
- Re: [External] : emacs-28 windows binaries available from alpha, Eli Zaretskii, 2022/02/05
- Re: [External] : emacs-28 windows binaries available from alpha, Corwin Brust, 2022/02/05
- Re: [External] : emacs-28 windows binaries available from alpha, Eli Zaretskii, 2022/02/05
- RE: [External] : emacs-28 windows binaries available from alpha, Drew Adams, 2022/02/05
- Re: [External] : emacs-28 windows binaries available from alpha, Eli Zaretskii, 2022/02/05
- Re: [External] : emacs-28 windows binaries available from alpha, H. Dieter Wilhelm, 2022/02/05
- Re: [External] : emacs-28 windows binaries available from alpha, Eli Zaretskii, 2022/02/05
- Re: [External] : emacs-28 windows binaries available from alpha,
H. Dieter Wilhelm <=
- Re: [External] : emacs-28 windows binaries available from alpha, Eli Zaretskii, 2022/02/05
- Re: [External] : emacs-28 windows binaries available from alpha, H. Dieter Wilhelm, 2022/02/05
- Re: [External] : emacs-28 windows binaries available from alpha, Eli Zaretskii, 2022/02/05
- Re: [External] : emacs-28 windows binaries available from alpha, H. Dieter Wilhelm, 2022/02/05
- Re: [External] : emacs-28 windows binaries available from alpha, Corwin Brust, 2022/02/05
- RE: [External] : emacs-28 windows binaries available from alpha, Drew Adams, 2022/02/05
- Re: [External] : emacs-28 windows binaries available from alpha, Eli Zaretskii, 2022/02/06
- RE: [External] : emacs-28 windows binaries available from alpha, Drew Adams, 2022/02/06
- Re: [External] : emacs-28 windows binaries available from alpha, Eli Zaretskii, 2022/02/06
- RE: [External] : emacs-28 windows binaries available from alpha, Drew Adams, 2022/02/06