[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: bug#12833: 24.2.50; Avoid questions asked in the echo area to be ove
From: |
Sebastien Vauban |
Subject: |
Re: bug#12833: 24.2.50; Avoid questions asked in the echo area to be overridden by messages |
Date: |
Thu, 13 Dec 2012 12:17:49 +0100 |
User-agent: |
Gnus/5.130006 (Ma Gnus v0.6) Emacs/24.2.90 (windows-nt) |
Hi Stefan,
Stefan Monnier wrote:
>>> (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. ]
Thanks again...
I now have added this to my .emacs:
--8<---------------cut here---------------start------------->8---
(defadvice read-from-minibuffer (before crush-message activate)
(message nil))
(defadvice completing-read (before crush-message activate)
(message nil))
--8<---------------cut here---------------end--------------->8---
However, that still does not solve this override problem...
Best regards,
Seb
--
Sebastien Vauban
- bug#12833: **: Re: bug#12833: 24.2.50; Avoid questions asked in the echo area to be overridden by messages, (continued)
- Message not available
- Message not available
- Re: bug#12833: 24.2.50; Avoid questions asked in the echo area to be overridden by messages, Sebastien Vauban, 2012/12/05
- bug#12833: 24.2.50; Avoid questions asked in the echo area to be overridden by messages, Stefan Monnier, 2012/12/06
- Message not available
- Re: bug#12833: 24.2.50; Avoid questions asked in the echo area to be overridden by messages, Sebastien Vauban, 2012/12/10
- bug#12833: 24.2.50; Avoid questions asked in the echo area to be overridden by messages, Stefan Monnier, 2012/12/10
- Message not available
- Re: bug#12833: 24.2.50; Avoid questions asked in the echo area to be overridden by messages, Sebastien Vauban, 2012/12/11
- bug#12833: 24.2.50; Avoid questions asked in the echo area to be overridden by messages, Stefan Monnier, 2012/12/11
- Message not available
- Re: bug#12833: 24.2.50; Avoid questions asked in the echo area to be overridden by messages, Sebastien Vauban, 2012/12/12
- bug#12833: 24.2.50; Avoid questions asked in the echo area to be overridden by messages, Stefan Monnier, 2012/12/12
- Message not available
- Re: bug#12833: 24.2.50; Avoid questions asked in the echo area to be overridden by messages,
Sebastien Vauban <=