From: Random832 <random832@fastmail.com>
To: help-gnu-emacs@gnu.org
Subject: Re: Suppress (pop kill-ring) from *Messages*
Date: Sun, 01 Nov 2015 16:19:26 -0500 [thread overview]
Message-ID: <878u6hju3l.fsf@fastmail.com> (raw)
In-Reply-To: 20151101195356.GD3304@mail.akwebsoft.com
Tim Johnson <tim@akwebsoft.com> writes:
> If I invoke (pop kill-ring) from some elisp code, the top item shows
> in in *Messages*
> How can I suppress the recording of the item in messages?
pop _returns_ the popped object. It's printing as a message because, I
suspect, you're executing it with C-x C-e or M-:. You can suppress this
by having it return nil, but it shouldn't be an issue when the code is
being run normally (being called a function you've put in a key binding,
or a hook etc) rather than through C-x C-e or M-:.
next prev parent reply other threads:[~2015-11-01 21:19 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 [this message]
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
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=878u6hju3l.fsf@fastmail.com \
--to=random832@fastmail.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).