Subject: bug#19064: bug#17272: bug#19064: 25.0.50; `message' overwrites `y-or-n-p' prompt, so user misses it

From: Juri Linkov <[email-masked]>
Date: Wed, 13 Nov 2019 00:20:03 +0200

> `message', unlike `minibuffer-message', not only
> interrupts input (switching to the echo area).
> By doing so it also takes over that complete space.
>
> Yes, that hides your input temporarily - but that's
> the point.

No, `message' hides your input not temporarily,
but permanently.  That's the problem.

And `minibuffer-message' fixes it both ways:
when the minibuffer is active, it displays the
message at the end of the minibuffer for 2 seconds.
When the minibuffer is not active, it displays
the message in the echo area for 2 seconds
(the timeout is configurable).

> (`message' also logs messages, which can be very
> important.)

`minibuffer-message' logs messages as well.

> Don't stop _callers_ from determining the
> appropriate behavior.  If a caller uses
> `message' then respect that.  If the caller
> does something stupid then fix the caller.

Callers will be able to determine the
appropriate behavior using new variable
like `display-messages-in-minibuffer'.