GNU bug report logs - #79253
Add timestamps to *Messages*

Previous Next

Package: emacs;

Reported by: "R. Diez" <rdiez-2006 <at> rd10.de>

Date: Sat, 16 Aug 2025 07:38:04 UTC

Severity: wishlist

Full log


View this message in rfc822 format

From: Eli Zaretskii <eliz <at> gnu.org>
To: Rudolf Adamkovič <rudolf <at> adamkovic.org>
Cc: 79253 <at> debbugs.gnu.org, rdiez-2006 <at> rd10.de
Subject: bug#79253: Add timestamps to *Messages*
Date: Sun, 17 Aug 2025 16:02:28 +0300
> From: Rudolf Adamkovič <rudolf <at> adamkovic.org>
> Cc: 79253 <at> debbugs.gnu.org
> Date: Sun, 17 Aug 2025 14:44:13 +0200
> 
> Eli Zaretskii <eliz <at> gnu.org> writes:
> 
> > This happens because in this case we call 'message' 3 times, with the
> > following 3 strings:
> >
> >   "previous-line"
> >   ": "
> >   "Beginning of buffer"
> 
> Not the OP, I would like to understand more.
> 
> I have just evaluated
> 
>   (progn (message "previous-line")
>          (message ": ")
>          (message "Beginning of buffer"))
> 
> and I see 3 separate messages in the *Messages* buffer:
> 
>   previous-line
>   : 
>   Beginning of buffer
> 
> Why were they not concatenated as you had described?

Because that's not what Emacs does in that case (I've simplified this
in my explanation).  If you want to see all the details, put a
breakpoint in message_dolog and then trigger the error message.

> Not to derail the bug report, but speaking the *Messages* buffer
> improvements, I would also like to see automatic scrolling, along with
> two new key bindings, one for adding some sort of separator and another
> for clearing the buffer.  I mention these ideas here in the case they
> somehow tie to the missing time stamps design-wise.

Automatic scrolling already exists.  As for the rest, feel free to
propose new features (just not as part of this bug report).




This bug report was last modified 25 days ago.

Previous Next


GNU bug tracking system
Copyright (C) 1999 Darren O. Benham, 1997,2003 nCipher Corporation Ltd, 1994-97 Ian Jackson.