From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.io!.POSTED.blaine.gmane.org!not-for-mail From: Derek Upham via "Bug reports for GNU Emacs, the Swiss army knife of text editors" Newsgroups: gmane.emacs.bugs Subject: bug#72433: 29.4; Inconsistent "Loading" message suppression for batch mode Date: Sat, 3 Aug 2024 18:08:02 +0200 (CEST) Message-ID: <1115600804.1109793.1722701282328@ichabod.co-bxl> References: <877ccya008.fsf@priss.frightenedpiglet.com> <86le1euooo.fsf@gnu.org> Reply-To: Derek Upham Mime-Version: 1.0 Content-Type: multipart/alternative; boundary="----=_Part_1109791_1227750513.1722701282328" Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214"; logging-data="30154"; mail-complaints-to="usenet@ciao.gmane.io" Cc: 72433@debbugs.gnu.org To: Eli Zaretskii Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane-mx.org@gnu.org Sat Aug 03 18:08:56 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 1saHJP-0007eG-IS for geb-bug-gnu-emacs@m.gmane-mx.org; Sat, 03 Aug 2024 18:08:55 +0200 Original-Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1saHJD-0007QA-Py; Sat, 03 Aug 2024 12:08:44 -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 1saHJC-0007Py-BI for bug-gnu-emacs@gnu.org; Sat, 03 Aug 2024 12:08:42 -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 1saHJC-0008L8-2r for bug-gnu-emacs@gnu.org; Sat, 03 Aug 2024 12:08:42 -0400 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=debbugs.gnu.org; s=debbugs-gnu-org; h=MIME-Version:References:In-Reply-To:From:Date:To:Subject; bh=FQPyhJ/URGqLCCxwI5d0bidIulBi3SsF7uGHlVvobfE=; b=ulyEB+bC1wWrrGldikXvEbKzDmL8W8kN7g7dsHh+tyFcGsDQPvtNgzCv38gmGBp56gyfUucQmFtZVmvr5/4GieFKIlx2lO68BW2g/C8pXMXxz9sNjVxCyon+yt2Sb+AYg5Z9qp6SOBNrkEIE4zB4HXBSGRML0qNvFPVOGL51ygDpEi40DxVjjhiTK81KymKz0lfcjFhq6LaCzyGc2UfTt+PfLtcNPHfQgX22OKQDOSdpKR3zswf78SdwdUCrz8tbl2XySB4AvjrHISDagSc7TO/4DJxhE2R5WzAIwUV4D+bKI+y2F8dYRndlztzYBAwsqMnuBPMOipfQMbohbBzfDg==; Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1saHJV-0000yv-SS for bug-gnu-emacs@gnu.org; Sat, 03 Aug 2024 12:09:01 -0400 X-Loop: help-debbugs@gnu.org Resent-From: Derek Upham Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Sat, 03 Aug 2024 16:09:01 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 72433 X-GNU-PR-Package: emacs X-GNU-PR-Keywords: wontfix notabug Original-Received: via spool by 72433-submit@debbugs.gnu.org id=B72433.17227013133684 (code B ref 72433); Sat, 03 Aug 2024 16:09:01 +0000 Original-Received: (at 72433) by debbugs.gnu.org; 3 Aug 2024 16:08:33 +0000 Original-Received: from localhost ([127.0.0.1]:54728 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1saHJ2-0000xJ-SD for submit@debbugs.gnu.org; Sat, 03 Aug 2024 12:08:33 -0400 Original-Received: from wilbur.contactoffice.com ([212.3.242.68]:38454) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1saHJ0-0000wi-D2 for 72433@debbugs.gnu.org; Sat, 03 Aug 2024 12:08:31 -0400 Original-Received: from ichabod.co-bxl (ichabod.co-bxl [10.2.0.36]) by wilbur.contactoffice.com (Postfix) with ESMTP id ED2902789; Sat, 3 Aug 2024 18:08:04 +0200 (CEST) DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; t=1722701284; s=20240605-akrp; d=mailfence.com; i=derek_upham@mailfence.com; h=Date:From:To:Cc:Message-ID:In-Reply-To:References:Subject:MIME-Version:Content-Type; bh=FQPyhJ/URGqLCCxwI5d0bidIulBi3SsF7uGHlVvobfE=; b=hL/ce3dg03xifxZzYQeS3TszhFORpdLFIINh3IcmkA1ONZqXA27z5rpOGxztbrOT iwnPkVEpgly5NBjTEdRAZy7wicgYynY1ubbNt/WzPnEQ/a+utvTdD3RXpqZlrLsja6U pNPQRlDBKLmeA21ipNkky+ykYu1GwTvSyJpsUxnGvIZFxkDFi5NR7U1qR3my/1c676T VPDTNnvnz7DuKkpL2b7u0I5Qnsln7kXGt8IlCA78CAjpOcYMlkbhkXyGeNekLISBZAO 83Aobq5Un4X3iTLD2g46n+6w9hiEwxv5bYABfPGkh84Q6HT6IPaiCUP1VR7JpEU6erM PnhjyhgP2g== In-Reply-To: <86le1euooo.fsf@gnu.org> X-Mailer: ContactOffice Mail X-ContactOffice-Account: com:175140567 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:289685 Archived-At: ------=_Part_1109791_1227750513.1722701282328 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable Content-Disposition: inline On Aug 2, 2024 at 11:04 PM, Eli Zaretskii wrote:Yes, and thi= s is done on purpose: in batch mode the second line is redundant because all the lines remain visible on the screen, whereas in the interactive case the user can only see the last message (in the echo area), and thus leaving the "Loading..." message there could be misinterpreted as if the load is still in progress. Got it.=C2=A0 Is it worth turning this into a code comment, before that sec= ond block? /* Support interactive users with extra progress messages, =C2=A0=C2=A0 following minibuffer conventions. */ --=C2=A0 Sent with https://mailfence.com Secure and private email ------=_Part_1109791_1227750513.1722701282328 Content-Type: text/html; charset=utf-8 Content-Transfer-Encoding: 7bit Content-Disposition: inline

On Aug 2, 2024 at 11:04 PM, Eli Zaretskii <eliz@gnu.org> wrote:
Yes, and this is done on purpose: in batch mode the second line is
redundant because all the lines remain visible on the screen, whereas
in the interactive case the user can only see the last message (in the
echo area), and thus leaving the "Loading..." message there could be
misinterpreted as if the load is still in progress.
Got it.  Is it worth turning this into a code comment, before that second block?

/* Support interactive users with extra progress messages,
   following minibuffer conventions. */

-- 
Sent with https://mailfence.com
Secure and private email
------=_Part_1109791_1227750513.1722701282328--