unofficial mirror of emacs-devel@gnu.org 
 help / color / mirror / code / Atom feed
From: "Adrián Medraño Calvo" <adrian@medranocalvo.com>
To: "T.V Raman" <raman@google.com>
Cc: "emacs-devel@gnu.org" <emacs-devel@gnu.org>
Subject: Re:   HowTo: Log a message without displaying it?
Date: Tue, 30 Jun 2020 07:24:45 +0200	[thread overview]
Message-ID: <CA2B745A-32BB-4079-9AFD-B4EA1F6C16B4@fastmail.fm> (raw)

[-- Attachment #1: Type: text/plain, Size: 555 bytes --]


> On 30. Jun 2020, at 01:53, T.V Raman <raman@google.com> wrote:
> 
> The elisp docs talk about how to display a message, and how to disable
> logging of that message. Is it possible to   do the converse, ie log a
> message to *Messages* *without* displaying the message? I suppose I
> could directly access that buffer with (messages-buffer) and write to
> it -- but is there a builtin/blessed elisp call that does this?
> 
> -- 
> 
> --

Does the following help?

(let ((inhibit-message))
  (message "Hellau!"))

Regards,
Adrián.

[-- Attachment #2: Type: text/html, Size: 1178 bytes --]

             reply	other threads:[~2020-06-30  5:24 UTC|newest]

Thread overview: 4+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2020-06-30  5:24 Adrián Medraño Calvo [this message]
2020-06-30 14:37 ` HowTo: Log a message without displaying it? T.V Raman
  -- strict thread matches above, loose matches on Subject: below --
2020-06-29 23:53 T.V Raman
2020-06-30  0:42 ` T.V Raman

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=CA2B745A-32BB-4079-9AFD-B4EA1F6C16B4@fastmail.fm \
    --to=adrian@medranocalvo.com \
    --cc=emacs-devel@gnu.org \
    --cc=raman@google.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).