From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.io!.POSTED.blaine.gmane.org!not-for-mail From: Eli Zaretskii Newsgroups: gmane.emacs.bugs Subject: bug#73303: 30.0.91; Native compiler repeatedly interrupts at random moments Date: Wed, 25 Sep 2024 14:15:41 +0300 Message-ID: <86ldzgc7c2.fsf@gnu.org> References: <87wmjbmpnt.fsf@moondust.awandering> <867cbbcuen.fsf@gnu.org> <87plp2mhj1.fsf@moondust.awandering> <865xqub7ai.fsf@gnu.org> Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214"; logging-data="16774"; mail-complaints-to="usenet@ciao.gmane.io" Cc: philipk@posteo.net, njackson@posteo.net, 73303@debbugs.gnu.org To: Andrea Corallo Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane-mx.org@gnu.org Wed Sep 25 13:19:00 2024 Return-path: Envelope-to: geb-bug-gnu-emacs@m.gmane-mx.org Original-Received: from lists.gnu.org ([209.51.188.17]) by ciao.gmane.io with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.92) (envelope-from ) id 1stQ2u-00049k-6Y for geb-bug-gnu-emacs@m.gmane-mx.org; Wed, 25 Sep 2024 13:19:00 +0200 Original-Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1stQ2a-0005E1-9G; Wed, 25 Sep 2024 07:18:40 -0400 Original-Received: from eggs.gnu.org ([2001:470:142:3::10]) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1stQ2X-000541-HT for bug-gnu-emacs@gnu.org; Wed, 25 Sep 2024 07:18:38 -0400 Original-Received: from debbugs.gnu.org ([2001:470:142:5::43]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1stQ2X-0004dx-7V for bug-gnu-emacs@gnu.org; Wed, 25 Sep 2024 07:18:37 -0400 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=debbugs.gnu.org; s=debbugs-gnu-org; h=References:In-Reply-To:From:Date:To:Subject; bh=j4e1rJsQe+baTNn3/PmG4hp3jH192zFBNgjg1rVtE1A=; b=dxIq4ErqOU0GviMVlHadEpQNYVO9qyO2Sl3YitTygkKE/Y8IUxPOzZ2a4eRM88RK5EuGdlsWuJsmgPE2ul+p6T6PJH35A00UWtXuRTQDPqNwkAzuCvGw5akY0M6wZIVZMfIxfLwPKAiEJkvCnJMP+BtOIOBI9RngTgZ4u8cmlUmDE/osUmOgTTKxyFzr4EJ0FvlIKKWs+4acHSXbf8MUsOAgiRKJuAAfXqNTwRxtljFQgVjKweJgGoa0sjgCMrtTObDfKd8FmdJ3YKSw5W3ko3ZJxy2ckt7sgiYeeVcITAJfSLY1L3cTcBmXPfNmp21U5v01gNHUrOGlDHNI00sUBQ==; Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1stQ2w-0001PU-Gn for bug-gnu-emacs@gnu.org; Wed, 25 Sep 2024 07:19:02 -0400 X-Loop: help-debbugs@gnu.org Resent-From: Eli Zaretskii Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Wed, 25 Sep 2024 11:19:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 73303 X-GNU-PR-Package: emacs X-GNU-PR-Keywords: notabug Original-Received: via spool by 73303-submit@debbugs.gnu.org id=B73303.17272631105336 (code B ref 73303); Wed, 25 Sep 2024 11:19:02 +0000 Original-Received: (at 73303) by debbugs.gnu.org; 25 Sep 2024 11:18:30 +0000 Original-Received: from localhost ([127.0.0.1]:57405 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1stQ2P-0001Ny-E9 for submit@debbugs.gnu.org; Wed, 25 Sep 2024 07:18:29 -0400 Original-Received: from eggs.gnu.org ([209.51.188.92]:57790) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1stQ2M-0001Nc-Q6 for 73303@debbugs.gnu.org; Wed, 25 Sep 2024 07:18:27 -0400 Original-Received: from fencepost.gnu.org ([2001:470:142:3::e]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1stPzk-0004Rx-7T; Wed, 25 Sep 2024 07:15:44 -0400 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=gnu.org; s=fencepost-gnu-org; h=References:Subject:In-Reply-To:To:From:Date: mime-version; bh=j4e1rJsQe+baTNn3/PmG4hp3jH192zFBNgjg1rVtE1A=; b=oMaBJVhHpUnS WpFOYtCKE981fnnqP3XxhSkFaB91zwwSe0nS6m3XzHIZ/GFklXOeFEKXUaQdbHBlZpEO+/LUk+Z04 JegocPqJQ2iSUA/rjbzbDuuDu8eFuC+VZHV774AJxVb00vD+Tzi0TiKwtR7CYCP+NxaW7WViGSeE5 Umif1UyhQWPZmdi4XIJE7LJG0NnBDzV9dblQa93rzONR2SY+tvc/ap/nr7BY64sQ85aiRUmVLo/q3 sT1T0a6iZXZWMTIR+9FrSmLnsnl3SAU/uOgyIJj3DXJS6WOz4OdfMZw9o/hh1Rxf14gMvX4OZ6uaE wu5uHnduHGw7FbGbF2pHOQ==; In-Reply-To: (message from Andrea Corallo on Tue, 24 Sep 2024 15:10:10 -0400) X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list X-BeenThere: bug-gnu-emacs@gnu.org List-Id: "Bug reports for GNU Emacs, the Swiss army knife of text editors" List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane-mx.org@gnu.org Original-Sender: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane-mx.org@gnu.org Xref: news.gmane.io gmane.emacs.bugs:292384 Archived-At: > From: Andrea Corallo > Cc: "N. Jackson" , Philip Kaludercic > , 73303@debbugs.gnu.org > Date: Tue, 24 Sep 2024 15:10:10 -0400 > > Eli Zaretskii 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?