unofficial mirror of bug-gnu-emacs@gnu.org 
 help / color / mirror / code / Atom feed
From: Eli Zaretskii <eliz@gnu.org>
To: Andrea Corallo <acorallo@gnu.org>
Cc: philipk@posteo.net, njackson@posteo.net, 73303@debbugs.gnu.org
Subject: bug#73303: 30.0.91; Native compiler repeatedly interrupts at random moments
Date: Sat, 19 Oct 2024 09:58:51 +0300	[thread overview]
Message-ID: <86a5f0mvdg.fsf@gnu.org> (raw)
In-Reply-To: <yp1cykrefj8.fsf@fencepost.gnu.org> (message from Andrea Corallo on Wed, 25 Sep 2024 14:47:55 -0400)

> From: Andrea Corallo <acorallo@gnu.org>
> Cc: njackson@posteo.net,  philipk@posteo.net,  73303@debbugs.gnu.org
> Date: Wed, 25 Sep 2024 14:47:55 -0400
> 
> Eli Zaretskii <eliz@gnu.org> writes:
> 
> >> From: Andrea Corallo <acorallo@gnu.org>
> >> Cc: "N. Jackson" <njackson@posteo.net>,  Philip Kaludercic
> >>  <philipk@posteo.net>,  73303@debbugs.gnu.org
> >> Date: Tue, 24 Sep 2024 15:10:10 -0400
> >> 
> >> Eli Zaretskii <eliz@gnu.org> writes:
> >> 
> >> > If your init file arranges for many packages to load only on demand,
> >> > then I don't think there is a way, except summarily compile all the
> >> > packages under your ~/.emacs.d/ directory (assuming that's where you
> >> > install them).  Maybe we should have a native-compile-directory
> >> > function to make that easier; currently we only have
> >> > emacs-lisp-native-compile, which compiles a single file.  Andrea,
> >> > WDYT? 
> >> 
> >> Yes we could do that if we think is useful, is probably few lines like:
> >> 
> >> (defun native-compile-directory (directory)
> >>   (mapc (lambda (file)
> >> 	  (native-compile file))
> >> 	(directory-files-recursively directory ".+\\.el$")))
> >> 
> >> but this will recompile all files, so maybe to make it useful for .emacs
> >> we should have something that compiles files only when the corresponding
> >> eln is not already present?
> >
> > Yes, that would be better.  But the test is not very trivial, because
> > the .eln file can be in another directory, somewhere on
> > native-comp-eln-load-path, and there's the issue of the right version
> > and hash.  Maybe we should have a find-eln-file function to do that?
> 
> Yep, just looping on `native-comp-eln-load-path` using
> `comp-el-to-eln-rel-filename` should do the job.  Okay I'll try to put
> together a patch.

Ping!





  reply	other threads:[~2024-10-19  6:58 UTC|newest]

Thread overview: 17+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2024-09-16 18:14 bug#73303: 30.0.91; Native compiler repeatedly interrupts at random moments N. Jackson
2024-09-16 18:42 ` Eli Zaretskii
2024-09-16 19:27   ` Andrea Corallo
2024-09-18  0:43     ` N. Jackson
     [not found]   ` <87plp2mhj1.fsf@moondust.awandering>
2024-09-17 15:59     ` Eli Zaretskii
2024-09-17 18:46       ` Philip Kaludercic
2024-09-17 19:09         ` N. Jackson
2024-09-17 20:10           ` Philip Kaludercic
2024-09-24 19:13           ` Andrea Corallo
2024-09-17 19:09         ` Eli Zaretskii
2024-09-17 20:09       ` N. Jackson
2024-09-18 11:29         ` Eli Zaretskii
2024-09-24 19:10       ` Andrea Corallo
2024-09-25 11:15         ` Eli Zaretskii
2024-09-25 18:47           ` Andrea Corallo
2024-10-19  6:58             ` Eli Zaretskii [this message]
2024-09-17 16:01   ` N. Jackson

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=86a5f0mvdg.fsf@gnu.org \
    --to=eliz@gnu.org \
    --cc=73303@debbugs.gnu.org \
    --cc=acorallo@gnu.org \
    --cc=njackson@posteo.net \
    --cc=philipk@posteo.net \
    /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).