GNU bug report logs - #12833
24.2.50; Avoid questions asked in the echo area to be overridden by messages

Previous Next

Package: emacs;

Reported by: "Sebastien Vauban" <wxhgmqzgwmuf <at> spammotel.com>

Date: Thu, 8 Nov 2012 13:12:01 UTC

Severity: minor

Tags: fixed

Found in version 24.2.50

Fixed in version 28.1

Done: Lars Ingebrigtsen <larsi <at> gnus.org>

Bug is archived. No further changes may be made.

Full log


View this message in rfc822 format

From: Stefan Monnier <monnier <at> iro.umontreal.ca>
To: "Sebastien Vauban" <wxhgmqzgwmuf <at> spammotel.com>
Cc: 12833 <at> debbugs.gnu.org
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
>> (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




This bug report was last modified 4 years and 359 days ago.

Previous Next


GNU bug tracking system
Copyright (C) 1999 Darren O. Benham, 1997,2003 nCipher Corporation Ltd, 1994-97 Ian Jackson.