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#61014: 29.0.60; flymake-mode stderr warning is confusing when edit the init.el or eary-init.el Date: Sun, 12 Feb 2023 14:22:17 +0200 Message-ID: <83ttzrgjk6.fsf@gnu.org> References: <831qnljt26.fsf@gnu.org> <87fsbxlf54.fsf@gmail.com> <83r0veaor9.fsf@gnu.org> Mime-Version: 1.0 Content-Type: text/plain; charset=iso-8859-1 Content-Transfer-Encoding: 8bit Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214"; logging-data="27465"; mail-complaints-to="usenet@ciao.gmane.io" Cc: aqua0210@foxmail.com, joaotavora@gmail.com, 61014-done@debbugs.gnu.org To: Stefan Monnier Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane-mx.org@gnu.org Sun Feb 12 13:23:29 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 1pRBOC-0006wi-5X for geb-bug-gnu-emacs@m.gmane-mx.org; Sun, 12 Feb 2023 13:23:28 +0100 Original-Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1pRBNo-00055M-Fv; Sun, 12 Feb 2023 07:23:04 -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 1pRBNm-000551-5T for bug-gnu-emacs@gnu.org; Sun, 12 Feb 2023 07:23: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 1pRBNl-0006Qs-Sk for bug-gnu-emacs@gnu.org; Sun, 12 Feb 2023 07:23:01 -0500 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1pRBNl-0008Ru-OH for bug-gnu-emacs@gnu.org; Sun, 12 Feb 2023 07:23:01 -0500 Resent-From: Eli Zaretskii Original-Sender: "Debbugs-submit" Resent-To: bug-gnu-emacs@gnu.org Resent-Date: Sun, 12 Feb 2023 12:23:01 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: cc-closed 61014 X-GNU-PR-Package: emacs Mail-Followup-To: 61014@debbugs.gnu.org, eliz@gnu.org, aqua0210@foxmail.com Original-Received: via spool by 61014-done@debbugs.gnu.org id=D61014.167620457532462 (code D ref 61014); Sun, 12 Feb 2023 12:23:01 +0000 Original-Received: (at 61014-done) by debbugs.gnu.org; 12 Feb 2023 12:22:55 +0000 Original-Received: from localhost ([127.0.0.1]:44269 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1pRBNf-0008RW-5D for submit@debbugs.gnu.org; Sun, 12 Feb 2023 07:22:55 -0500 Original-Received: from eggs.gnu.org ([209.51.188.92]:59882) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1pRBNc-0008RH-VD for 61014-done@debbugs.gnu.org; Sun, 12 Feb 2023 07:22:53 -0500 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 1pRBNV-0006NS-LR; Sun, 12 Feb 2023 07:22:45 -0500 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=gnu.org; s=fencepost-gnu-org; h=MIME-version:References:Subject:In-Reply-To:To:From: Date; bh=WwXzcs0XCNM4hKqnTmPtVypDaNvO0pbdopuiWY3tWVs=; b=i4QXGTeWnH9rqdaC/i7q hGvMdADb11I9OpE1BwEolEyFfPkjO1EsiHKASnNcZ/aw4+et3KvpV+zjb80yNcfofqOugpEOX8viM g1WMQaSPNmFzB3vDOfwoIyOPNLo52Kw7JrFfFoyCEnpFF47bU93/pKILf7anUVmATHHFoyULESPM0 qHlnZruNZGNkpl6MifA2pmDeeLnfGrpIGT8dmCTrtjFthbRrzMgv8t9h741tyypKq+MMSeOGH/eY2 M7LL7ZJbus0mBEZFe0hMud88wfjIVuaX1nvQP3M++CGPG7aRC8kJ1hnSmf6UPav/swhL3X1umVB5A J3aopOyjq6cCqQ==; Original-Received: from [87.69.77.57] (helo=home-c4e4a596f7) by fencepost.gnu.org with esmtpsa (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1pRBNU-0001GE-4F; Sun, 12 Feb 2023 07:22:45 -0500 In-Reply-To: (message from Stefan Monnier on Thu, 02 Feb 2023 11:01:20 -0500) 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:255401 Archived-At: > From: Stefan Monnier > Cc: João Távora , > 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.