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

From: Juri Linkov <[email-masked]>
Date: Sun, 10 Nov 2019 00:57:23 +0200

> (progn
>   (man "X")
>   (y-or-n-p "-->"))
>
> This stills behave as described: the prompt disappears and doesn't come
> back from alone.
>
> OTOH, a simple call to message done from within a timer doesn't behave
> like this.  So this seems to be special to process sentinels, thus it's
> probably a rare situation that this happens - a bit annoying
> nonetheless.

Now this is fixed.

There is another unrelated problem when a man page doesn't exist,
it moves point to wrong window, and never returns back to the minibuffer:

(progn
  (man "XYZ")
  (y-or-n-p "-->"))

But this problem is not new.  The same can be reproduced
in older versions with

(progn
  (man "XYZ")
  (read-string "-->"))

This is because quit-restore-window moves point to wrong window.

Maybe a new bug report should be created for this?