From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.io!.POSTED.blaine.gmane.org!not-for-mail From: Lynn Winebarger Newsgroups: gmane.emacs.devel Subject: Re: Finalizing 'inhibit-automatic-native-compilation' Date: Sat, 4 Feb 2023 14:55:27 -0500 Message-ID: References: <837cx8cey0.fsf@gnu.org> <83357vauh5.fsf@gnu.org> <837cx6a8me.fsf@gnu.org> <83357ua6ja.fsf@gnu.org> <83zga28ra8.fsf@gnu.org> <83r0vd97s0.fsf@gnu.org> <83lell73yv.fsf@gnu.org> <83k0145guk.fsf@gnu.org> Mime-Version: 1.0 Content-Type: text/plain; charset="UTF-8" Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214"; logging-data="18272"; mail-complaints-to="usenet@ciao.gmane.io" Cc: Stefan Monnier , eliz@gnu.org, emacs-devel@gnu.org To: rms@gnu.org Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane-mx.org@gnu.org Sat Feb 04 20:56:30 2023 Return-path: Envelope-to: ged-emacs-devel@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 1pOOeD-0004YZ-Pq for ged-emacs-devel@m.gmane-mx.org; Sat, 04 Feb 2023 20:56:29 +0100 Original-Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1pOOdY-0002VP-Vv; Sat, 04 Feb 2023 14:55:49 -0500 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 1pOOdW-0002Up-Kq for emacs-devel@gnu.org; Sat, 04 Feb 2023 14:55:46 -0500 Original-Received: from mail-pl1-x62f.google.com ([2607:f8b0:4864:20::62f]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1pOOdT-0001WC-4p; Sat, 04 Feb 2023 14:55:45 -0500 Original-Received: by mail-pl1-x62f.google.com with SMTP id be8so8472299plb.7; Sat, 04 Feb 2023 11:55:40 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20210112; h=cc:to:subject:message-id:date:from:in-reply-to:references :mime-version:from:to:cc:subject:date:message-id:reply-to; bh=08MzZARIz2EdR1cbdKYbm2EL4/b35VYuAsPtMRmh0pc=; b=E+B/ihd1DpGpw7IXpINUK60V+U86B7bwDSFa8Q4dxHdAoeZ/Uxj+gesd+t+ZWrEBio nsUf/eozwW1lCs9p7CAUmYTa/DYzvDJAJofP5faLUVPeH4M6lkc7Qf48mnBUc7gDSvz7 m35pXSfZGtUh3fG3ktdCULzUIyuCo7TeINGW/lOiDvkY5YG+FKLwPHqDn6RkYLBjL+3s jfRPjK6bMXyAE5PjjLnb3vsKLGoHH3H6kI0K7epEA5ROas2J1W8/znMWOu2ym0DnLZlS jxriBCJGvieiIhCXc+slZdZJE0bj9BhXTLkPdsWYEuftg/8HaGlYOscVo76+32tJL+AS FO5A== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=cc:to:subject:message-id:date:from:in-reply-to:references :mime-version:x-gm-message-state:from:to:cc:subject:date:message-id :reply-to; bh=08MzZARIz2EdR1cbdKYbm2EL4/b35VYuAsPtMRmh0pc=; b=t2wMcFArJq/EhVYgwfE2rtaHawta53mPMyU9J4HNIFTaPcVZTGe0ybEbq4zBb79J2P T+P6LS75YmhqLHSOBL8+5f5oHQxbn0v8FrTdzxRbuSLlt6KzprM7TJF6SJ4N3OI4dOvg wI+/LPsqxrsnWBb3Gb8F3E33zSBMamufan2Yshg6WBwWGNJnUQrCmuAuJJf/sWs4wV7Z luCaKj+fhwgouKzDa1ixrOtBQHzhkupKNJkrqsCBdY8O1bcpNkDHNqUwogI90SVnbYBD npZny7pwAZVGdVFEUUslfwp2SSZvn0E51H1YRhF5dzCsuBaU4P2dSQnwA1kKFjwFJr// CO3w== X-Gm-Message-State: AO0yUKXE88zxgQVPaEz/YHzHYnSEj1ybMPgDcUfiFbCUglVx8XAlMy0t sR260WWZgWAQx2glJhVRzsEMeVYgJLN6NJxuZfbyhmGK X-Google-Smtp-Source: AK7set/tqDrh74QmnCtsuOVfNNEj8l7eEb7lknFbBULHbG4i2IE4nkKLOMx3Dp39va89XfCvGW1A49L9YEGCMzV8+xY= X-Received: by 2002:a17:90a:6487:b0:230:7ffb:cead with SMTP id h7-20020a17090a648700b002307ffbceadmr1016657pjj.14.1675540539155; Sat, 04 Feb 2023 11:55:39 -0800 (PST) In-Reply-To: Received-SPF: pass client-ip=2607:f8b0:4864:20::62f; envelope-from=owinebar@gmail.com; helo=mail-pl1-x62f.google.com X-Spam_score_int: -20 X-Spam_score: -2.1 X-Spam_bar: -- X-Spam_report: (-2.1 / 5.0 requ) BAYES_00=-1.9, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, DKIM_VALID_EF=-0.1, FREEMAIL_FROM=0.001, RCVD_IN_DNSWL_NONE=-0.0001, SPF_HELO_NONE=0.001, SPF_PASS=-0.001 autolearn=ham autolearn_force=no X-Spam_action: no action X-BeenThere: emacs-devel@gnu.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: "Emacs development discussions." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: emacs-devel-bounces+ged-emacs-devel=m.gmane-mx.org@gnu.org Original-Sender: emacs-devel-bounces+ged-emacs-devel=m.gmane-mx.org@gnu.org Xref: news.gmane.io gmane.emacs.devel:302982 Archived-At: On Wed, Feb 1, 2023 at 12:05 AM Richard Stallman wrote: > Not at all. The point of advice is for _users_ to alter functions > in Emacs. But code in Emacs should never do that. > [...] > The node Advising Named Functions in the Emacs Lisp Reference says: > [...] Especially, Emacs's own source files should not put > advice on functions in Emacs. (There are currently a few exceptions > to this convention, but we aim to correct them.) Are those exceptions considered bugs? Something in emacs is putting advice on call-interactively. When I extended the baseline dump to include essentially all libraries included with emacs with native-compilation, it caused an infinite (asynchronous) regress while compiling the trampoline for call-interactively. I wasn't aware of this until /tmp filled up. That could also be cured by ensuring the dump file used for asynchronous compiling is a version that excludes site-specific libraries. But as you noted, it's harder to debug advice than hooks. Lynn