Subject: Re: bug#20563: Echo Area Disrupts Minibuffer Input

From: Eli Zaretskii <[email-masked]>
Date: Tue, 12 May 2015 21:26:33 +0300

> Date: Tue, 12 May 2015 11:18:44 -0700
> From: Michael Xavier <[email-masked]>
> Cc: [email-masked]
> 
> I can't get it to reproduce right now. It may be a race condition, or maybe its
> on a timer before it reverts to the minibuffer? I'm not sure.

In general, code that displays intermittent messages should call

  (message nil)

once it's done displaying the message.  This will bring the minibuffer
contents (the completion in your example) back on screen again.  Code
that doesn't call 'message' like that when its message can be
discarded has a bug and should be reported here.