* HowTo: Log a message without displaying it?
@ 2020-06-29 23:53 T.V Raman
2020-06-30 0:42 ` T.V Raman
0 siblings, 1 reply; 4+ messages in thread
From: T.V Raman @ 2020-06-29 23:53 UTC (permalink / raw)
To: emacs-devel
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?
--
--
^ permalink raw reply [flat|nested] 4+ messages in thread
* Re: HowTo: Log a message without displaying it?
2020-06-29 23:53 HowTo: Log a message without displaying it? T.V Raman
@ 2020-06-30 0:42 ` T.V Raman
0 siblings, 0 replies; 4+ messages in thread
From: T.V Raman @ 2020-06-30 0:42 UTC (permalink / raw)
To: emacs-devel
"T.V Raman" <raman@google.com> writes:
Here is a simple implementation
https://github.com/tvraman/emacspeak/blob/master/lisp/emacspeak-speak.el#L191-l97
> 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?
>
> --
--
^ permalink raw reply [flat|nested] 4+ messages in thread
* Re: HowTo: Log a message without displaying it?
@ 2020-06-30 5:24 Adrián Medraño Calvo
2020-06-30 14:37 ` T.V Raman
0 siblings, 1 reply; 4+ messages in thread
From: Adrián Medraño Calvo @ 2020-06-30 5:24 UTC (permalink / raw)
To: T.V Raman; +Cc: emacs-devel@gnu.org
[-- 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 --]
^ permalink raw reply [flat|nested] 4+ messages in thread
* Re: HowTo: Log a message without displaying it?
2020-06-30 5:24 Adrián Medraño Calvo
@ 2020-06-30 14:37 ` T.V Raman
0 siblings, 0 replies; 4+ messages in thread
From: T.V Raman @ 2020-06-30 14:37 UTC (permalink / raw)
To: Adrián Medraño Calvo; +Cc: emacs-devel@gnu.org
Yes, that does work:-)
--
^ permalink raw reply [flat|nested] 4+ messages in thread
end of thread, other threads:[~2020-06-30 14:37 UTC | newest]
Thread overview: 4+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2020-06-29 23:53 HowTo: Log a message without displaying it? T.V Raman
2020-06-30 0:42 ` T.V Raman
-- strict thread matches above, loose matches on Subject: below --
2020-06-30 5:24 Adrián Medraño Calvo
2020-06-30 14:37 ` T.V Raman
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.