From: Arthur Miller <arthur.miller@live.com>
To: Andrea Corallo <akrl@sdf.org>
Cc: emacs-devel@gnu.org
Subject: Re: native-comp - Questions: eln-cache and subdirs.el?
Date: Wed, 30 Sep 2020 13:49:02 +0200 [thread overview]
Message-ID: <VI1PR06MB4526AE3C58C2C836C6D822B896330@VI1PR06MB4526.eurprd06.prod.outlook.com> (raw)
In-Reply-To: <xjf8scry1tw.fsf@sdf.org> (Andrea Corallo's message of "Wed, 30 Sep 2020 10:51:39 +0000")
Andrea Corallo <akrl@sdf.org> writes:
> Arthur Miller <arthur.miller@live.com> writes:
>
>> I have something like 3 different eln-caches now
>>
>> 28.0.50-x86_64-pc-linux-gnu-8e48a483af0cc5adcb56147eb760a39f
>> 2020-09-27 12:03 28.0.50-x86_64-pc-linux-gnu-cfb9403e84a6e99e5ac1bea6ab4abade
>> 2020-08-21 17:21 x86_64-pc-linux-gnu-958646d5fbcc566c
>>
>> Are they all used or I can delete some? I also see that not all files
>> are in all folders;
>
> Hi Arthur,
>
> if you have only one Emacs compiled you can always remove all of these
> but the most recent. Well technically you could also remove all of them
> and even eln-cache and it will recompile only what's needed in that case.
Yes; thanks!
>> About subdirs:
>>
>> since Emacs deprecated subdirs; are there plans to get rid of that
>> mechanism later on, or it is it here to stay? I see in source code that
>> content of all subidirs.el is same (I checked few) on my machine; it
>> says:
>>
>> ;; In load-path, after this directory should come
>> ;; certain of its subdirectories. Here we specify them.
>> (normal-top-level-add-to-load-path '("eln-x86_64-pc-linux-gnu-600a7a2b93bc09d0" ))
>> ;; Local Variables:
>> ;; version-control: never
>> ;; no-byte-compile: t
>> ;; no-update-autoloads: t
>> ;; End:
>>
>> Since Emacs screams about deprecation when compiling; maybe this could
>> be saved into 'somefile.el' and then followed by a directory listing, or
>> just as assoc list?
>>
>> Example:
>>
>> ;; In load-path, after this directory should come
>> ;; certain of its subdirectories. Here we specify them.
>> ;; Local Variables:
>> ;; version-control: never
>> ;; no-byte-compile: t
>> ;; no-update-autoloads: t
>> ;; End:
>> ((dir1 . '(normal-top-level-add-to-load-path "eln-x86_64-pc-linux-gnu-600a7a2b93bc09d0" ))
>> (dir2 . '(normal-top-level-add-to-load-path "eln-x86_64-pc-linux-gnu-600a7a2b93bc09d0" ))
>> ( .... )
>> (dirN . '(normal-top-level-add-to-load-path "eln-x86_64-pc-linux-gnu-600a7a2b93bc09d0" )))
>>
>> Maybe I missunderstand how this set of subdirs is ment to be specified,
>> but maybe some similar mechanism is possible?
>
> Not sure I understand the interaction of subdirs with the native
> compiler. The system is meant to be transparent and the .elc are still
> there for now so any decision on this should not be influenced by the
> .eln machinery I think.
I am not sure I understand either :-);
It can be the product of me running Emacs directly from the source
folder; where I compile it. So it must be something in Emacs that
produces those subdirs.el. I thought it was native compiler that is
responsible for those.
There is one in the lisp folder in emacs sources for each directory. I
tried to remove them and then Emacs can not find anything :-), and they
were back after I recompiled.
next prev parent reply other threads:[~2020-09-30 11:49 UTC|newest]
Thread overview: 11+ messages / expand[flat|nested] mbox.gz Atom feed top
2020-09-30 10:12 native-comp - Questions: eln-cache and subdirs.el? Arthur Miller
2020-09-30 10:51 ` Andrea Corallo via Emacs development discussions.
2020-09-30 11:49 ` Arthur Miller [this message]
2020-09-30 14:24 ` Andrea Corallo via Emacs development discussions.
2020-09-30 15:05 ` Arthur Miller
2020-09-30 14:06 ` Eli Zaretskii
2020-09-30 15:04 ` Arthur Miller
2020-09-30 15:49 ` Andrea Corallo via Emacs development discussions.
2020-09-30 15:51 ` Stefan Monnier
2020-10-04 15:27 ` Arthur Miller
2020-10-04 20:16 ` Andreas Schwab
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
List information: https://www.gnu.org/software/emacs/
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=VI1PR06MB4526AE3C58C2C836C6D822B896330@VI1PR06MB4526.eurprd06.prod.outlook.com \
--to=arthur.miller@live.com \
--cc=akrl@sdf.org \
--cc=emacs-devel@gnu.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
Code repositories for project(s) associated with this public inbox
https://git.savannah.gnu.org/cgit/emacs.git
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).