all messages for Emacs-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
From: Eli Zaretskii <eliz@gnu.org>
To: Drew Adams <drew.adams@oracle.com>
Cc: tclwarrior@gmail.com, corwin@bru.st, 71801@debbugs.gnu.org
Subject: bug#71801: emacs 29.4 windows binaries
Date: Sat, 06 Jul 2024 09:04:07 +0300	[thread overview]
Message-ID: <86y16f5a5k.fsf@gnu.org> (raw)
In-Reply-To: <SJ0PR10MB5488C9D018D871A0931D4DFFF3DF2@SJ0PR10MB5488.namprd10.prod.outlook.com> (message from Drew Adams on Fri, 5 Jul 2024 19:33:21 +0000)

> From: Drew Adams <drew.adams@oracle.com>
> CC: "corwin@bru.st" <corwin@bru.st>,
>         "tclwarrior@gmail.com"
> 	<tclwarrior@gmail.com>,
>         "71801@debbugs.gnu.org" <71801@debbugs.gnu.org>
> Date: Fri, 5 Jul 2024 19:33:21 +0000
> 
> > > It seems to start OK but I get this warning repeated
> > > periodically (forever) in buffer *Warnings*:
> > >
> > >  ■  Warning (comp): x86_64-w64-mingw32-gcc-11.3.0: fatal error: cannot
> > execute 'as': CreateProcess: No such file or directory
> > 
> > You need to install GNU Binutils, which is where as.exe, the GNU
> > assembler, comes from.
> 
> Why?

It's needed for JIT native compilation of Lisp.

> > > I haven't noticed other problems yet (with -Q), but
> > > is the continual emission of that warning expected?
> > 
> > Yes.
> 
> Why is that a good thing to do?

It isn't supposed to happen in a working Emacs installation.  Its
absence is like the absence of dired.el/dired.elc: it should not
happen.  So by default Emacs warns about it every time it wants to
natively compile a file.

> > > Clicking that black, square icon pops up this
> > > question as a menu:
> > >
> > >   Suppress `comp' warnings?
> > >   _________________________
> > >
> > >   Yes, Ignore `Comp' Warnings Completely
> > >   No, Just Disable Showing Them
> > >   Quit And Do Nothing
> > >
> > > I have no idea what any of that means.
> > 
> > It allows you to disable these warnings, so that they don't annoy you.
> 
> Sure.  But _what are_ `Comp' warnings?

They are the warnings labeled 'comp', as in the warning you've shown.

> How is someone to know whether they might want to (or need to)
> ignore, disable, or do nothing?

By reading the warnings, understanding what they say and mean, and
deciding what to do with them.  It's a user decision.  Isn't it you
that always requests to let the users the freedom of deciding how to
deal with non-trivial situations?  That's what Emacs does there.

> Expecting someone to decide which to do makes
> no sense if they have no idea what the meaning
> or consequences are (beyond not seeing msgs).

We expect our users to understand the warnings and make the above
decision, yes.

> Warnings should be for things that you need to
> be WARNed about.  If this is one such thing,
> then we should tell users what the "this" is.
> 
>  *****
>  WARNING - there's a FOOBAR in the vicinity!
>  Quick!  What do you want to do about it?
>  *****

That's an unfair comparison.  The warning in question did tell you
what was the problem: a specific program was missing or could not be
found.

> >   Warning (comp): SOMETHING
> > 
> > and the prompt asks about suppressing "comp" warnings, which fits the
> > warning ID.  You are showed 3 possible answers with the meaning of
> > each one of them.  What is not clear here?
> 
> Nothing is clear.  I'm a user.  I didn't build
> Emacs.  I see this:
> 
>  x86_64-w64-mingw32-gcc-11.3.0: fatal error: cannot
>  execute 'as': CreateProcess: No such file or directory
> 
> Is that a problem?  I'm warned about it, so I
> guess maybe it is.  Is it a problem that I'm
> expected, and that I can, do something about?
> If so, what needs to be done?

What needs to be done is find out why GCC could not fine 'as', and fix
that.  Alternatively, you can just shut up the warnings if you don't
want to know about that.  See the text popped up by the GUI dialog or
shown by '?' that explains how to deal with that warning.

> > > I also notice that if I put point on that icon and
> > > hit RET I get the question in the minibuffer, but
> > > with the additional key `?' highlighted (no such
> > > option in the menu version).
> > >
> > > I hit `?' and this is shown in buffer *Multiple
> > > Choice Help*:
> > >
> > > Suppress `comp' warnings?
> > >
> > > y: yes, ignore `comp'    n: no, just disable      q: quit and do
> > > warnings completely      showing them             nothing
> > >
> > > That "help" text seems worse than useless.
> > 
> > It just repeats what was in the menu.
> 
> And you're just repeating what I reported.
> Why have the `?' and `RET' binding, which
> just repeats the text you're clicking `?'
> for help about?

It adds some information about the possible responses, something that
in the case of clicking is already shown in the dialog Emacs pop up.

> `?', like an `i' Information icon, should
> tell you something different, or something
> more, than the text you're already looking at.

And it does.  Of course, if you already clicked on the icon, you
already have seen the same information, but users can press RET right
away, e.g. if they don't have a mouse or don't use it.

> If you think about it for a few moments, I
> hope you'll see it's either misguided or
> it's missing something.
> 
> We get a "security fix" point release, and
> the first thing seen is an indecipherable,
> continually popped-up scary WARNING.  No
> help from Emacs to understand what's involved -
> what the danger/problem is, or what to do
> about it.
> 
> And your response is that this is all OK
> and expected?

No.  My response was quite more than that.





  parent reply	other threads:[~2024-07-06  6:04 UTC|newest]

Thread overview: 18+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2024-06-27 13:27 bug#71801: emacs 29.4 windows binaries Ali M.
2024-06-27 15:00 ` Eli Zaretskii
2024-06-27 19:34   ` Corwin Brust
2024-06-27 22:27     ` Drew Adams via Bug reports for GNU Emacs, the Swiss army knife of text editors
2024-07-05 11:56       ` Corwin Brust
2024-07-05 16:04         ` Drew Adams via Bug reports for GNU Emacs, the Swiss army knife of text editors
2024-07-05 18:25           ` Eli Zaretskii
2024-07-05 19:33             ` Drew Adams via Bug reports for GNU Emacs, the Swiss army knife of text editors
2024-07-05 21:52               ` Corwin Brust
2024-07-05 22:38                 ` Drew Adams via Bug reports for GNU Emacs, the Swiss army knife of text editors
2024-07-06 10:01                 ` Corwin Brust
2024-07-06 15:58                   ` Drew Adams via Bug reports for GNU Emacs, the Swiss army knife of text editors
2024-07-06  6:04               ` Eli Zaretskii [this message]
2024-07-06 15:33                 ` Drew Adams via Bug reports for GNU Emacs, the Swiss army knife of text editors
2024-07-06 16:20                   ` Eli Zaretskii
2024-07-06 16:33                     ` Drew Adams via Bug reports for GNU Emacs, the Swiss army knife of text editors
2024-07-06 16:49                       ` Corwin Brust
2024-07-06 17:26                         ` 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

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

  git send-email \
    --in-reply-to=86y16f5a5k.fsf@gnu.org \
    --to=eliz@gnu.org \
    --cc=71801@debbugs.gnu.org \
    --cc=corwin@bru.st \
    --cc=drew.adams@oracle.com \
    --cc=tclwarrior@gmail.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 external index

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

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.