bug-gnu-emacs
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

bug#12833: 24.2.50; Avoid questions asked in the echo area to be overrid


From: Stefan Monnier
Subject: bug#12833: 24.2.50; Avoid questions asked in the echo area to be overridden by messages
Date: Wed, 12 Dec 2012 15:06:08 -0500
User-agent: Gnus/5.13 (Gnus v5.13) Emacs/24.3.50 (gnu/linux)

>> (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





reply via email to

[Prev in Thread] Current Thread [Next in Thread]