all messages for Emacs-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
From: Emanuel Berg <moasenwood@zoho.eu>
To: help-gnu-emacs@gnu.org
Subject: Re: Source file '.../killer-source.el' newer than byte-compiled file
Date: Wed, 24 Apr 2019 02:18:49 +0200	[thread overview]
Message-ID: <86pnpcfe6u.fsf@zoho.eu> (raw)
In-Reply-To: 87bm0w8g7k.fsf@alphaville.usersys.redhat.com

Nick Dokos wrote:

>>> You can concoct Make rules for that
>>
>> ... how? You mean manually? If so, I'm
>> afraid that's totally out of the question,
>> as I have 64 `provide's and 284 `require's!
>>
>
> This is called "topological sorting" and you
> can use the tsort(1) program to do that,
> although you will have to prepare an input
> file that describes the dependencies in the
> format that tsort expects:
>
> (info "(coreutils) tsort invocation")

Cool stuff, straight CS, but if it has to be
done manually, it's out of the question, as
I `require' stuff back and forth all the time!
To have a file to describe that would be so
much extra work, and not only that, but the
worst part, boring and error-prone extra work.
Unless you have a tool to analyze my Elisp,
grep the requires, parse the catch, and direct
it to a file in the format that's needed...

Besides, mustn't I then even hook it to make(1)
as well, or is there yet another tool for that?

So no, I don't think I'll do that, but it is
still interesting, so if you have an example
I'd like to see it, of course :)

OK, hands down, this error doesn't come that
often. When it does, if one could only know
_what files_ require an old .elc, one could
simply touch(1) those one or two files
and recompile!

So again, if the byte-compiler knows this (the
name of the file), it would help if it
outputted them! With errors and warnings, this
always happens. Why not now as well?

However, I think I can modify the Makefile so
that, whenever there is this warning, output
the name of the file that is being compiled!

The simplest solution, right?

But I'd still like to know what it means in
theory as well as possible practice when
a requires an old b, and c requires a new b,
and a, b and c are part of the same
Emacs system?

-- 
underground experts united
http://user.it.uu.se/~embe8573




  reply	other threads:[~2019-04-24  0:18 UTC|newest]

Thread overview: 17+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2019-04-23 17:39 Source file '.../killer-source.el' newer than byte-compiled file Emanuel Berg
2019-04-23 17:49 ` Eli Zaretskii
2019-04-23 18:32   ` Emanuel Berg
2019-04-23 18:39     ` Emanuel Berg
2019-04-23 19:03       ` Eli Zaretskii
2019-04-23 22:42         ` Emanuel Berg
2019-04-23 23:17           ` Nick Dokos
2019-04-24  0:18             ` Emanuel Berg [this message]
2019-04-24  1:33               ` Emanuel Berg
2019-04-24  6:24           ` Eli Zaretskii
2019-04-25  3:25             ` `eval-when-compile' and circular dependencies (was: Re: Source file '.../killer-source.el' newer than byte-compiled file) Emanuel Berg
2019-04-25  6:37               ` Eli Zaretskii
2019-04-25  7:03                 ` Emanuel Berg
2019-04-25  8:43                   ` Eli Zaretskii
2019-04-23 19:02     ` Source file '.../killer-source.el' newer than byte-compiled file Eli Zaretskii
2019-04-23 22:59       ` Emanuel Berg
2019-04-23 18:02 ` Emanuel Berg

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=86pnpcfe6u.fsf@zoho.eu \
    --to=moasenwood@zoho.eu \
    --cc=help-gnu-emacs@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 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.