From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.io!.POSTED.blaine.gmane.org!not-for-mail From: Eason Huang Newsgroups: gmane.emacs.bugs Subject: bug#61014: 29.0.60; flymake-mode stderr warning is confusing when edit the init.el or eary-init.el Date: Sun, 12 Feb 2023 22:45:47 +0800 Message-ID: References: <831qnljt26.fsf@gnu.org> <87fsbxlf54.fsf@gmail.com> <83r0veaor9.fsf@gnu.org> <83ttzrgjk6.fsf@gnu.org> Mime-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214"; logging-data="23611"; mail-complaints-to="usenet@ciao.gmane.io" User-Agent: Gnus/5.13 (Gnus v5.13) Cc: 61014-done@debbugs.gnu.org, Stefan Monnier , joaotavora@gmail.com To: Eli Zaretskii Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane-mx.org@gnu.org Sun Feb 12 15:47:34 2023 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 1pRDdd-0005uE-Fa for geb-bug-gnu-emacs@m.gmane-mx.org; Sun, 12 Feb 2023 15:47:34 +0100 Original-Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1pRDdI-0003u9-Tu; Sun, 12 Feb 2023 09:47:12 -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 1pRDd8-0003tN-Ra for bug-gnu-emacs@gnu.org; Sun, 12 Feb 2023 09:47:02 -0500 Original-Received: from debbugs.gnu.org ([209.51.188.43]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1pRDd8-0001ip-IV for bug-gnu-emacs@gnu.org; Sun, 12 Feb 2023 09:47:02 -0500 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1pRDd8-0006FV-E8 for bug-gnu-emacs@gnu.org; Sun, 12 Feb 2023 09:47:02 -0500 X-Loop: help-debbugs@gnu.org Resent-From: Eason Huang Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Sun, 12 Feb 2023 14:47:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 61014 X-GNU-PR-Package: emacs Original-Received: via spool by 61014-done@debbugs.gnu.org id=D61014.167621316223918 (code D ref 61014); Sun, 12 Feb 2023 14:47:02 +0000 Original-Received: (at 61014-done) by debbugs.gnu.org; 12 Feb 2023 14:46:02 +0000 Original-Received: from localhost ([127.0.0.1]:44446 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1pRDc9-0006DY-Oo for submit@debbugs.gnu.org; Sun, 12 Feb 2023 09:46:02 -0500 Original-Received: from [203.205.251.84] (port=59218 helo=out203-205-251-84.mail.qq.com) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1pRDc6-0006DE-Gs for 61014-done@debbugs.gnu.org; Sun, 12 Feb 2023 09:46:00 -0500 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=foxmail.com; s=s201512; t=1676213149; bh=6a3pQVLmOmxLT44I1MmTEjPQZKnIWTuJcheV7FOsUuc=; h=From:To:Cc:Subject:In-Reply-To:References:Date; b=qBpNEuKdEADJKsd0B2SUNFG2vwgUfhEkKfN3qidKrXiQtePEzudiw9R3JihdPgQd7 A46eCb7arbqQDaXe0QCn4Oeiv7NMuQi1Y3JS77DHYnkm/jketmYceM4JbF2FVOAK+V lm/3y//BhwKpSlJa0rk8Gq1HGas6LIbo6t83v0Io= Original-Received: from MacBook ([101.85.10.85]) by newxmesmtplogicsvrszc5-0.qq.com (NewEsmtp) with SMTP id B700B44E; Sun, 12 Feb 2023 22:45:48 +0800 X-QQ-mid: xmsmtpt1676213148tgbx1sax8 X-QQ-XMAILINFO: NsUj10X1lkUXCtL3AtOffBc+uUnVHXjCXuDH5my4o2mLa+RxYIRG8qdbqThZ90 Nx6lYHZxGHeaUaXhKenRPvyGNqNGQA/kSVM7D6r3BNP3VBydxvJZ6IFg2zPTUCoEPJCVsvxsrral cciTkbjgT4YO6hsjupBQFvZjeFDGbHjtWaxEfYqUQtSUxK+51UHQMBEGM5PySZT+YSPbzoIc+LeT 8lNKQb7S1xLgeC2XxbGbOBMVLEcsjNz3kQTJHUgmBhvmUpaT90t+HljoN7wrRR1E2UuocKsaSDSY ShfTXRjdnlqahvFAGFwYjuizRfbEZfHONB4cXzBqRzd/Rxkz4CBkaTQMHQ0Pb5/zE9eu6yAT0t82 gy66AEV2OpSm0vOPA91oqODN7MMzVfKQ1un3v4EnKAls1p3LSJ6SkMvAftLRzEaLMKrYsZN32MUn 7Wm+iTEOEqWAPtRGyheYgwoIUDCMHDU0RbPR/bLxPodDMVWgJZVsyQuC4XOxLYymQ8Bqkgzf7B7c aFGlcjcz1WkWkDVSI4mMh7jH2N7mckhi4yvJH1rKOqm9feaH8kab/uWIBF9plpB3EFiBkuGiMXZa 7y+lrRBS/9aEGERqOL1KzjGSMGgrRyhlOKGtW46gg85+CnuCjMZa2aE5pNVqkTgnl7Jbfa9R6zNF QKic/8PysBQvCHT2wUPoKOWKbCYSvjo3JdWl03S/1W4CZDSqQrI3XN/+yOZson0Nm/zlGOetB0XF kUEsdP7aX0vUMLphEAu4BnEtiy8RKAp5OPsoAiI2/AzFnO13nBwvO4V6de0cLoEShwaMpyVmSZZw w1sdvGtMvRmO3b7GTiD44aX4bk9pB/+sJ8rMb8aw In-Reply-To: <83ttzrgjk6.fsf@gnu.org> (Eli Zaretskii's message of "Sun, 12 Feb 2023 14:22:17 +0200") Original-Message-ID: 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:255418 Eli Zaretskii writes: >> From: Stefan Monnier >> Cc: Jo=C3=A3o T=C3=A1vora , >> aqua0210@foxmail.com, >> 61014@debbugs.gnu.org >> Date: Thu, 02 Feb 2023 11:01:20 -0500 >> >> > How about disabling this warning in non-interactive sessions? That >> > should be easy, and I don't see why we would want to emit such a >> > warning in non-interactive sessions anyway. >> >> Before making any change, I'd wait to see some explanation about why >> this message in a hidden " *stderr of elisp-flymake-byte-compile*" buffer >> is a problem. >> >> I think the choice of `load-path` in the subprocess is a concern (with >> no reliably right answer, sadly), and maybe it would make sense to >> avoid adding the CWD when we're in ~/.emacs.d (presumably using the >> same code used to decide whether to emit the warning under >> discussion :-), but there's no hurry for that. > > No further comments, so I've now made that warning be emitted only in > interactive sessions, and I'm boldly marking this bug done. > > Thanks. Great! I build the latest commit(d4fc7012978) of emacs-29 branch, It works perfect. Thanks for working on this issue. --=20 Eason Huang