Subject: bug#12833: 24.2.50; Avoid questions asked in the echo area to be overridden by messages

From: Stefan Monnier <[email-masked]>
Date: Wed, 12 Dec 2012 15:06:08 -0500

>> (defadvice read-from-minibuffer (before crush-message activate)
>>   (message nil))
> Thanks for the tip!  However, no, it did not change anything...

My guess is that the advice is not run, then.  Probably because the
minibuffer is setup via completing-read which is coded in C and calls
Fread_from_minibuffer directly, thus bypassing advice.

You can try adding

   (defadvice completing-read (before crush-message activate)
     (message nil))

[ tho Fcompleting_read is also called a few times from the C code, so
  that advice will also be bypassed in various occasions.  ]

        Stefan