unofficial mirror of bug-gnu-emacs@gnu.org 
 help / color / mirror / code / Atom feed
From: Eli Zaretskii <eliz@gnu.org>
To: Derek Upham <derek_upham@mailfence.com>
Cc: 72433@debbugs.gnu.org
Subject: bug#72433: 29.4; Inconsistent "Loading" message suppression for batch mode
Date: Sat, 03 Aug 2024 09:04:55 +0300	[thread overview]
Message-ID: <86le1euooo.fsf@gnu.org> (raw)
In-Reply-To: <877ccya008.fsf@priss.frightenedpiglet.com> (bug-gnu-emacs@gnu.org)

tags 72433 notabug wontfix
thanks

> Date: Fri, 02 Aug 2024 18:05:59 -0700
> From:  Derek Upham via "Bug reports for GNU Emacs,
>  the Swiss army knife of text editors" <bug-gnu-emacs@gnu.org>
> 
> 
> The second block's test skips the body if the "noninteractive" flag is
> set.  (The "-batch" command line argument sets that flag, in "main()".)
> But the first block's test does not take "noninteractive" into account.
> That means that batch mode produces loading "half-messages".
> 
>   Loading /etc/emacs/site-start.d/00debian.el (source)...
>   Loading /etc/emacs/site-start.d/50autoconf.el (source)...
>   Loading /etc/emacs/site-start.d/50bbdb3.el (source)...

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.

> We probably want consistent non-display in batch mode, which we can get
> by adding a similar "!noninteractive" test to the first progress block.

No, we don't want consistency in this case, at least not this kind of
consistency.

This is not a bug.





  reply	other threads:[~2024-08-03  6:04 UTC|newest]

Thread overview: 4+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2024-08-03  1:05 bug#72433: 29.4; Inconsistent "Loading" message suppression for batch mode Derek Upham via Bug reports for GNU Emacs, the Swiss army knife of text editors
2024-08-03  6:04 ` Eli Zaretskii [this message]
2024-08-03 16:08   ` Derek Upham via Bug reports for GNU Emacs, the Swiss army knife of text editors
2024-08-04  8:58     ` Eli Zaretskii

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

  List information: https://www.gnu.org/software/emacs/

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=86le1euooo.fsf@gnu.org \
    --to=eliz@gnu.org \
    --cc=72433@debbugs.gnu.org \
    --cc=derek_upham@mailfence.com \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
Code repositories for project(s) associated with this public inbox

	https://git.savannah.gnu.org/cgit/emacs.git

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).