unofficial mirror of emacs-devel@gnu.org 
 help / color / mirror / code / Atom feed
From: Steingold <sds@gnu.org>
To: emacs-devel@gnu.org
Subject: Re: More reliable byte compilation, take 45
Date: Tue, 05 Oct 2021 10:50:14 -0400	[thread overview]
Message-ID: <lzee8zwmop.fsf@3c22fb11fdab.ant.amazon.com> (raw)
In-Reply-To: 87sfxg6izt.fsf@gnus.org

> * Lars Ingebrigtsen <ynefv@tahf.bet> [2021-10-05 09:14:30 +0200]:
>
> Steingold <sds@gnu.org> writes:
>
>> See if subr.ell has changed (the compiler should not change subr.ell
>> unless necessary, including the timestamp).
>
> Right, because the subr.ell only contains macros (and the like).  So
> the suggestion here is basically the same as mine, only with a lot
> more files spread around.

here is your suggestion:

> go through all the .el files and just look for "^\(defmacro ([^
> \t\n]+)" (and defsubst and cl-defstruct and probably a couple of other
> things, but not a whole lot more), and then do a sha256 of the region
> from the start of the match and until the next "^(".  It would maintain
> a database of these macro names/hashes.  If a macro changes its hash, it
> would then just grep through all the .el files for the macro name, and
> delete the .elc files where it fines matches.

I think the extra "compiled header" file is _way_ simpler and more
transparent solution.


-- 
Sam Steingold (http://sds.podval.org/) on darwin Ns 10.3.1894
http://childpsy.net http://calmchildstories.com http://steingoldpsychology.com
https://ij.org/ https://ffii.org https://memri.org https://jihadwatch.org
Illiterate?  Write today, for free help!




  reply	other threads:[~2021-10-05 14:50 UTC|newest]

Thread overview: 19+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2021-10-04 10:51 More reliable byte compilation, take 45 Lars Ingebrigtsen
2021-10-04 15:36 ` Clément Pit-Claudel
2021-10-04 16:16   ` Lars Ingebrigtsen
2021-10-04 18:16   ` T.V Raman
2021-10-04 18:21     ` Eli Zaretskii
2021-10-04 19:18       ` Stefan Monnier
2021-10-04 19:51         ` Eli Zaretskii
2021-10-04 20:13           ` Stefan Monnier
2021-10-05 11:52             ` Eli Zaretskii
2021-10-05 13:27               ` Stefan Monnier
2021-10-05 14:06                 ` Adam Porter
2021-10-05 15:41                 ` Eli Zaretskii
2021-10-04 16:03 ` Steingold
2021-10-04 17:35   ` Lars Ingebrigtsen
2021-10-04 18:59     ` Steingold
2021-10-05  7:14       ` Lars Ingebrigtsen
2021-10-05 14:50         ` Steingold [this message]
2021-10-05 14:51   ` Steingold
2021-10-05 19:30     ` Stefan Monnier

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=lzee8zwmop.fsf@3c22fb11fdab.ant.amazon.com \
    --to=sds@gnu.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).