From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: "Sebastien Vauban" Newsgroups: gmane.emacs.bugs 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 Organization: Sebastien Vauban Message-ID: <8038zcykvn.fsf@somewhere.org> References: <80liec1dea.fsf@somewhere.org> <1354662544.WXHGMQZGWMUF@spammotel.com> <80txs03mu2.fsf@somewhere.org> <80vccaqkk1.fsf@somewhere.org> NNTP-Posting-Host: plane.gmane.org Mime-Version: 1.0 Content-Type: text/plain X-Trace: ger.gmane.org 1355219713 22904 80.91.229.3 (11 Dec 2012 09:55:13 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Tue, 11 Dec 2012 09:55:13 +0000 (UTC) To: bug-gnu-emacs-mXXj517/zsQ@public.gmane.org Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org-mXXj517/zsQ@public.gmane.org Tue Dec 11 10:55:25 2012 Return-path: Envelope-to: geb-bug-gnu-emacs@m.gmane.org Original-Received: from lists.gnu.org ([208.118.235.17]) by plane.gmane.org with esmtp (Exim 4.69) (envelope-from ) id 1TiMYd-0003YD-Hf for geb-bug-gnu-emacs@m.gmane.org; Tue, 11 Dec 2012 10:55:23 +0100 Original-Received: from localhost ([::1]:52982 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1TiMYQ-0003Up-PW for geb-bug-gnu-emacs@m.gmane.org; Tue, 11 Dec 2012 04:55:10 -0500 Original-Path: usenet.stanford.edu!news.glorb.com!us.feeder.erje.net!feeder.erje.net!eu.feeder.erje.net!eternal-september.org!feeder.eternal-september.org!mx04.eternal-september.org!.POSTED!not-for-mail Original-Newsgroups: gnu.emacs.bug Original-Lines: 36 Injection-Info: mx04.eternal-september.org; posting-host="368fa3c7dc5c1bbe516391bd65bd1ab2"; logging-data="24620"; mail-complaints-to="abuse-VVbKFVtnif8H+i2N2EyTrmui9UKz+5OX@public.gmane.org"; posting-account="U2FsdGVkX18PmG9jPtkBzaiVJtatxQCb" User-Agent: Gnus/5.130006 (Ma Gnus v0.6) Emacs/24.3.50 (windows-nt) X-Archive: encrypt Cancel-Lock: sha1:ogKom4YhdVaupbCjf9KvJp6kMjA= sha1:7It/tHv4KZ6xRrro47lI8ESMTy8= X-Url: Under construction... Original-Xref: usenet.stanford.edu gnu.emacs.bug:94666 X-BeenThere: bug-gnu-emacs-mXXj517/zsQ@public.gmane.org X-Mailman-Version: 2.1.14 Precedence: list List-Id: "Bug reports for GNU Emacs, the Swiss army knife of text editors" List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org-mXXj517/zsQ@public.gmane.org Original-Sender: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org-mXXj517/zsQ@public.gmane.org Xref: news.gmane.org gmane.emacs.bugs:68306 Archived-At: 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