all messages for Emacs-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
From: Michael Heerdegen <michael_heerdegen@web.de>
To: Leo <sdl.web@gmail.com>
Cc: 12849@debbugs.gnu.org
Subject: bug#12849: 24.2.50; Doc: `message': mention `message-log-max'
Date: Sat, 10 Nov 2012 17:51:24 +0100	[thread overview]
Message-ID: <87ehk1pfjn.fsf@web.de> (raw)
In-Reply-To: <m2ehk25acr.fsf@gmail.com> (Leo's message of "Sat, 10 Nov 2012 12:51:32 +0800")

Leo <sdl.web@gmail.com> writes:

> How about adding:
>
> (defsubst message-nolog (format-string &rest args)
>   "Same as `message' except not writing to *Messages* buffer."
>   (let (message-log-max) (apply 'message format-string args)))
>
> This could encourage elisp authors to choose what to log to *Messages*
> buffer. For example, ff-quiet-mode defaults to nil and, boy, this
> library can write thousands of useless lines to *Messages* buffer.

I would appreciate something like that (besides improving the doc).

Maybe the same could be done for `with-temp-message'.


Regards,

Michael. 





  reply	other threads:[~2012-11-10 16:51 UTC|newest]

Thread overview: 4+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2012-11-10  0:14 bug#12849: 24.2.50; Doc: `message': mention `message-log-max' Michael Heerdegen
2012-11-10  4:51 ` Leo
2012-11-10 16:51   ` Michael Heerdegen [this message]
2012-11-16  2:42 ` Glenn Morris

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=87ehk1pfjn.fsf@web.de \
    --to=michael_heerdegen@web.de \
    --cc=12849@debbugs.gnu.org \
    --cc=sdl.web@gmail.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.