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.devel Subject: Re: master 5a125fb5a97 1/2: Update to Org 9.7.3 Date: Thu, 13 Jun 2024 16:54:17 +0300 Message-ID: <86bk45ymly.fsf@gnu.org> References: <171796793548.23337.12512115872160390161@vcs2.savannah.gnu.org> <20240609211858.A2C31C1F9FB@vcs2.savannah.gnu.org> <87a5jtd403.fsf@yahoo.com> <87h6e1lhtd.fsf@kyleam.com> <868qzd9hjg.fsf@gnu.org> <871q53u75e.fsf@localhost> <8634pj7jni.fsf@gnu.org> <87jzitc6jo.fsf@localhost> Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214"; logging-data="10075"; mail-complaints-to="usenet@ciao.gmane.io" Cc: monnier@iro.umontreal.ca, kyle@kyleam.com, emacs-devel@gnu.org To: Ihor Radchenko Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane-mx.org@gnu.org Thu Jun 13 15:55:14 2024 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 1sHkv3-0002Or-3j for ged-emacs-devel@m.gmane-mx.org; Thu, 13 Jun 2024 15:55:13 +0200 Original-Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1sHkuI-0003cj-Ie; Thu, 13 Jun 2024 09:54:26 -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 1sHkuG-0003cA-EZ for emacs-devel@gnu.org; Thu, 13 Jun 2024 09:54:25 -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 1sHkuD-0006tx-RP; Thu, 13 Jun 2024 09:54:22 -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=g91td8tIchd2RfGt+Rsihs4NRdzr0Mb4OLpJuvujc+E=; b=D70D93LayzZt OWpPfBBuadNE+Wh+zd7pNeqVcuPuJHrh9xrB5N1Yqvpcuy1sEjXRvV3VSyi+JS+056ardrbZyHwpI KpyEA8TgJKjAYT+/YN0Dium9+nXcYsWqcCLxqrOQ96yEUOG8Zo1BBTyHpmevgJbK1zduaw+ulBn+/ +kVmCCM0M4VXOGQjR0uTs/+eKbeExJabh1PGRtEnqw6cGxWaVlB+vycRMID0Nm3ZXKSX855oPz0HF NqqTQeSb/bSC0oki42qTvv9bpCTdqELWhy8C01NNl3y9vNmY9r35jsa4oMGsiiaf6obJDz6ro4uO7 mfnHdv0mcFHVhJUd5Ucw/g==; In-Reply-To: <87jzitc6jo.fsf@localhost> (message from Ihor Radchenko on Thu, 13 Jun 2024 13:32:11 +0000) 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:320022 Archived-At: > From: Ihor Radchenko > Cc: Stefan Monnier , kyle@kyleam.com, > emacs-devel@gnu.org > Date: Thu, 13 Jun 2024 13:32:11 +0000 > > Eli Zaretskii writes: > > >>... > >> > Executing Emacs-Lisp code block at position 660552... > >> > Code block evaluation complete. > >> > > >> > Can we please shut up these messages, or at least hide them behind > >> > some $(AM_V_GEN) trick? > >> > >> Why? It is not much different from "scraping loaddefs..." message > >> sequence. > > > > The messages about loaddefs are progress indicators, and show some > > indication of how much is done and how much is left. By contrast, the > > above don't show any progress indications, and are completely > > incomprehensible, except perhaps to those who wrote the relevant code. > > > >> Of course, we can hide this, but seeing that some code is evaluated may > >> be useful in the logs. > > > > People who want this in the logs could perhaps turn it on by setting > > an environment variable or saying "make VAR=value". The value of VAR > > should be accessible from Lisp via getenv. But I think by default > > this should be off. > > I studied the existing Org mode code, and found that some parts of Org > already disable progress messages when Org mode is running > noninteractively. I now enforced this rule across all the code > block evaluation done by Org, except cases when the message highlights > some problem with evaluation. > > https://git.savannah.gnu.org/cgit/emacs/org-mode.git/commit/?id=e4902995a Thanks. Looking forward to seeing this in the Emacs Git repository.