unofficial mirror of bug-gnu-emacs@gnu.org 
 help / color / mirror / code / Atom feed
From: Stefan Monnier <monnier@iro.umontreal.ca>
To: "Sebastien Vauban" <wxhgmqzgwmuf@spammotel.com>
Cc: 12833@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	[thread overview]
Message-ID: <jwv62475973.fsf-monnier+emacs@gnu.org> (raw)
In-Reply-To: <80wqwnr5p5.fsf@somewhere.org> (Sebastien Vauban's message of "Wed, 12 Dec 2012 10:16:22 +0100")

>> (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	other threads:[~2012-12-12 20:06 UTC|newest]

Thread overview: 15+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2012-11-08 12:34 bug#12833: 24.2.50; Avoid questions asked in the echo area to be overridden by messages Sebastien Vauban
2012-12-04 20:14 ` Stefan Monnier
2012-12-04 22:06   ` Jan Djärv
     [not found]   ` <jwvobi9tw7n.fsf-monnier+emacs-mXXj517/zsQ@public.gmane.org>
2012-12-04 22:10     ` bug#12833: **: " Sebastien Vauban
     [not found]   ` <1354662544.WXHGMQZGWMUF@spammotel.com>
2012-12-05  3:41     ` Stefan Monnier
     [not found]     ` <mailman.14537.1354678921.855.bug-gnu-emacs@gnu.org>
2012-12-05  8:49       ` Sebastien Vauban
2012-12-06 20:14         ` Stefan Monnier
     [not found]         ` <mailman.14688.1354824897.855.bug-gnu-emacs@gnu.org>
2012-12-10 10:16           ` Sebastien Vauban
2012-12-10 17:01             ` Stefan Monnier
     [not found]             ` <mailman.14984.1355158954.855.bug-gnu-emacs@gnu.org>
2012-12-11  9:54               ` Sebastien Vauban
2012-12-11 13:50                 ` Stefan Monnier
     [not found]                 ` <mailman.15030.1355233953.855.bug-gnu-emacs@gnu.org>
2012-12-12  9:16                   ` Sebastien Vauban
2012-12-12 20:06                     ` Stefan Monnier [this message]
     [not found]                     ` <mailman.15189.1355342844.855.bug-gnu-emacs@gnu.org>
2012-12-13 11:17                       ` Sebastien Vauban
2020-08-20 18:14 ` Lars Ingebrigtsen

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

  List information: https://www.gnu.org/software/emacs/

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=jwv62475973.fsf-monnier+emacs@gnu.org \
    --to=monnier@iro.umontreal.ca \
    --cc=12833@debbugs.gnu.org \
    --cc=wxhgmqzgwmuf@spammotel.com \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
Code repositories for project(s) associated with this public inbox

	https://git.savannah.gnu.org/cgit/emacs.git

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).