bug-gnu-emacs
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

bug#3465: 23.0.94; feature request: be able to log minibuffer messages


From: Lars Ingebrigtsen
Subject: bug#3465: 23.0.94; feature request: be able to log minibuffer messages
Date: Fri, 21 Aug 2020 02:05:44 +0200
User-agent: Gnus/5.13 (Gnus v5.13) Emacs/28.0.50 (gnu/linux)

Juri Linkov <juri@linkov.net> writes:

>> There's no problem with logging in general.  The request is to also have
>> the messages output by the minibuffer-message function also end up in
>> the *Messages* buffer.
>
> This was already implemented in 8693611136 (see "Record message in the
> *Messages* buffer"
> in 'minibuffer-message'), but later reverted in 7254b63462.

The reversion refers to

    Revert aa89c84e00d8dc85100e6fedab7631c415e6364d (bug#38457)

which is a very long thread.  What was the reason for removing the
*Messages* logging?  The patch had other things in addition to the
logging...

But I liked the way to log to the buffer: 

+    ;; Record message in the *Messages* buffer
+    (let ((inhibit-message t))
+      (if args
+          (apply #'message message args)
+        (message "%s" message)))


-- 
(domestic pets only, the antidote for overdose, milk.)
   bloggy blog: http://lars.ingebrigtsen.no





reply via email to

[Prev in Thread] Current Thread [Next in Thread]