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

[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: Tue, 11 Dec 2012 10:54:20 +0100
User-agent: Gnus/5.130006 (Ma Gnus v0.6) Emacs/24.3.50 (windows-nt)

Hello Stefan,

Stefan Monnier wrote:
>> IIUC, in the examplified case, you mean to let-bind it in defun
>> `org-read-date'?
>
> That's one option, yes, tho doing it lower down the stack might help
> make it work in more places.  E.g. you can try advising read-from-minibuffer.

Right!

>> All those packages (`org.el', `help-fns.el', etc.) are out of my
>> responsability area. I can't patch them all, can I?
>
> These are just workarounds.  A real fix would need to be somewhere
> probably in the C code, maybe in read-from-minibuffer.

I added the following (IIUC) to my .emacs file:

--8<---------------cut here---------------start------------->8---
  (defadvice read-from-minibuffer (around read-around)
    "Read ... ."
    (let* ((minibuffer-message-timeout 0))
      ad-do-it))

  (ad-activate 'read-from-minibuffer)
--8<---------------cut here---------------end--------------->8---

Sadly, it did not provide me with a workaround to the problem... User input is
still overridden by reminiscent messages.

Best regards,
  Seb

-- 
Sebastien Vauban


reply via email to

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