From: Tim Johnson <tim@akwebsoft.com>
To: help-gnu-emacs@gnu.org
Subject: Re: Suppress (pop kill-ring) from *Messages*
Date: Mon, 2 Nov 2015 07:23:35 -0900 [thread overview]
Message-ID: <20151102162335.GH3304@mail.akwebsoft.com> (raw)
In-Reply-To: <878u6h2pya.fsf@debian.uxu>
* Emanuel Berg <embe8573@student.uu.se> [151101 15:42]:
> >
> > How can I suppress the recording of the item
> > in messages?
>
> Perhaps (?) this experimentation is of interest to you:
Indeed, is of great interest.
> (defun test-suppress-messages ()
> (interactive)
> (let ((log-size message-log-max)) ; (setq message-log-max 1000)
> (setq message-log-max nil)
> (message "No buffer, not last - suppressed!")
> (setq message-log-max log-size)
> (message "Buffer, so this message is logged.")
> (message "Buffer and last, so this message is echoed as well as logged.") ))
> ;; (test-suppress-messages)
Thank you, Emanuel. I need to take some time to grok this and
your other email. Very interesting information that could aid me
in other issues.
--
Tim
http://www.akwebsoft.com, http://www.tj49.com
next prev parent reply other threads:[~2015-11-02 16:23 UTC|newest]
Thread overview: 9+ messages / expand[flat|nested] mbox.gz Atom feed top
2015-11-01 19:53 Suppress (pop kill-ring) from *Messages* Tim Johnson
2015-11-01 21:19 ` Random832
2015-11-01 21:19 ` Random832
2015-11-01 21:33 ` Marcin Borkowski
2015-11-01 21:55 ` Tim Johnson
2015-11-02 0:41 ` Emanuel Berg
2015-11-02 16:23 ` Tim Johnson [this message]
2015-11-03 2:46 ` Emanuel Berg
2015-11-02 1:05 ` restrictive/discrete messages log (was: Re: Suppress (pop kill-ring) from *Messages*) Emanuel Berg
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=20151102162335.GH3304@mail.akwebsoft.com \
--to=tim@akwebsoft.com \
--cc=help-gnu-emacs@gnu.org \
/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.
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).