[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
RE: [External] : messages to *Messages* without appearing in mini-buffer
From: |
Drew Adams |
Subject: |
RE: [External] : messages to *Messages* without appearing in mini-buffer? |
Date: |
Fri, 12 Nov 2021 01:47:42 +0000 |
> >>> (let ((inhibit-message t))
> >>> (message "Msg only to be logged in *Messages*"))
> >>
> >> Doesn't work for me?
> >>
> >> I see it.
> >>
> >> Dont know if message displays it or if it is displayed because
> >> it is returned.
> >
> > What you see is the printed return value of
> > the sexp you asked to evaluate-AND-PRINT.
> > Try `eval-region' on the sexp instead.
> > Or put it in a defun and invoke the function in a way that
> > doesn't also print its return value.
>
> (progn
> (message "But then why don't you just do that?")
> 1)
Because you don't need to do that, to prevent
`message' from displaying in the echo area.
Printing a return value from evaluating a sexp
has nothing to do with the question. See the
Subject line.
<<attachment: winmail.dat>>
- Re: [External] : messages to *Messages* without appearing in mini-buffer?, (continued)
- Re: [External] : messages to *Messages* without appearing in mini-buffer?, Emanuel Berg, 2021/11/12
- Re: [External] : messages to *Messages* without appearing in mini-buffer?, Emanuel Berg, 2021/11/12
- Re: [External] : messages to *Messages* without appearing in mini-buffer?, Michael Heerdegen, 2021/11/12
- Re: [External] : messages to *Messages* without appearing in mini-buffer?, Emanuel Berg, 2021/11/12
- RE: [External] : messages to *Messages* without appearing in mini-buffer?, Drew Adams, 2021/11/12
- Re: [External] : messages to *Messages* without appearing in mini-buffer?, Emanuel Berg, 2021/11/21
- RE: [External] : messages to *Messages* without appearing in mini-buffer?, Drew Adams, 2021/11/11
- Re: [External] : messages to *Messages* without appearing in mini-buffer?, Emanuel Berg, 2021/11/11
- RE: [External] : messages to *Messages* without appearing in mini-buffer?,
Drew Adams <=
- Re: [External] : messages to *Messages* without appearing in mini-buffer?, Emanuel Berg, 2021/11/11
- RE: [External] : messages to *Messages* without appearing in mini-buffer?, Drew Adams, 2021/11/12