all messages for Emacs-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
From: Andrea Corallo via "Emacs development discussions." <emacs-devel@gnu.org>
To: Arthur Miller <arthur.miller@live.com>
Cc: emacs-devel@gnu.org
Subject: Re: native-comp - Questions: eln-cache and subdirs.el?
Date: Wed, 30 Sep 2020 10:51:39 +0000	[thread overview]
Message-ID: <xjf8scry1tw.fsf@sdf.org> (raw)
In-Reply-To: <VI1PR06MB45266938F239660364678C7496330@VI1PR06MB4526.eurprd06.prod.outlook.com> (Arthur Miller's message of "Wed, 30 Sep 2020 12:12:20 +0200")

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.

> 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.

Regards

  Andrea



  reply	other threads:[~2020-09-30 10:51 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. [this message]
2020-09-30 11:49   ` Arthur Miller
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

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=xjf8scry1tw.fsf@sdf.org \
    --to=emacs-devel@gnu.org \
    --cc=akrl@sdf.org \
    --cc=arthur.miller@live.com \
    /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 external index

	https://git.savannah.gnu.org/cgit/emacs.git
	https://git.savannah.gnu.org/cgit/emacs/org-mode.git

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.