all messages for Emacs-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
From: "Drew Adams" <drew.adams@oracle.com>
Subject: How to suppress messages?
Date: Wed, 26 Jan 2005 15:25:48 -0800	[thread overview]
Message-ID: <MEEKKIABFKKDFJMPIOEBIEBACJAA.drew.adams@oracle.com> (raw)

I couldn't find any mention in the Elisp manual of a way to do this. If I
have a function that calls a function (a built-in, as it turns out) that
calls (message...), how can my function stop the message from being
displayed by the called function?

The example is a call to `default-boundp'. In Emacs 20, this apparently
displays a message "Library is file `whatever'." By grepping, this seems
like it might come from a call to `locate-library', but, as I say,
`default-boundp' is built-in.

Is there some way to bind something and then call the "messaging" function
(e.g. `default-boundp') from within the binding scope, to prevent messages
from echoing? E.g. (let ((inhibit-messages t)) ... (default-boundp ...)).

             reply	other threads:[~2005-01-26 23:25 UTC|newest]

Thread overview: 13+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2005-01-26 23:25 Drew Adams [this message]
2005-01-27  0:33 ` How to suppress messages? Edward O'Connor
2005-01-27  1:03   ` Drew Adams
2005-01-27  5:15 ` Eli Zaretskii
2005-01-27 17:24   ` Drew Adams
2005-01-27 20:50     ` John Paul Wallington
2005-01-27 21:10       ` Drew Adams
2005-01-27 23:18         ` T. V. Raman
     [not found]     ` <mailman.15770.1106861744.27204.help-gnu-emacs@gnu.org>
2005-01-27 23:45       ` Thien-Thi Nguyen
     [not found] <mailman.15741.1106847668.27204.help-gnu-emacs@gnu.org>
2005-01-28  7:43 ` Tom Capey
2005-01-28  8:20   ` Tom Capey
2005-01-28 15:06   ` Drew Adams
2005-01-28 18:56     ` Joe Corneli

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

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

  git send-email \
    --in-reply-to=MEEKKIABFKKDFJMPIOEBIEBACJAA.drew.adams@oracle.com \
    --to=drew.adams@oracle.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 external index

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

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.