GNU bug report logs -
#79840
31.0.50; user-error message is printed with newline in *Messages* buffer
Previous Next
To reply to this bug, email your comments to 79840 AT debbugs.gnu.org.
Toggle the display of automated, internal messages from the tracker.
Report forwarded
to
bug-gnu-emacs <at> gnu.org:
bug#79840; Package
emacs.
(Sat, 15 Nov 2025 16:07:02 GMT)
Full text and
rfc822 format available.
Acknowledgement sent
to
Daniel Mendler <mail <at> daniel-mendler.de>:
New bug report received and forwarded. Copy sent to
bug-gnu-emacs <at> gnu.org.
(Sat, 15 Nov 2025 16:07:02 GMT)
Full text and
rfc822 format available.
Message #5 received at submit <at> debbugs.gnu.org (full text, mbox):
There is a discrepancy in how errors are printed in the *Messages*
buffer.
1. Define the following two commands:
(defun test-error ()
(interactive)
(error "message"))
(defun test-user-error ()
(interactive)
(user-error "message"))
2. Run the commands:
M-x test-error
M-x test-user-error
3. The output in the *Messages* buffer looks like this:
test-error: message
test-user-error:
message
I don't recall that there has been such a difference in the past. Is
this a regression, maybe from b03f11d9ac867833a504a2184620e531fbe43a44?
I've compiled Emacs a few days ago from Emacs master.
Thanks!
In GNU Emacs 31.0.50 (build 1, x86_64-pc-linux-gnu, GTK+ Version
3.24.49, cairo version 1.18.4) of 2025-11-14
Windowing system distributor 'The X.Org Foundation', version 11.0.12101016
System Description: Debian GNU/Linux 13 (trixie)
Configured using:
'configure --prefix=$HOME/.local/share/emacs
--without-compress-install --with-tree-sitter --with-native-compilation
--with-dbus --without-selinux --without-threads --disable-gc-mark-trace
--without-gsettings --without-gpm --with-cairo --with-cairo-xcb
--with-xinput2 --with-x-toolkit=gtk3 --without-toolkit-scroll-bars
'CFLAGS=-O3 -mtune=native -march=native''
Configured features:
CAIRO DBUS FREETYPE GIF GLIB GMP GNUTLS HARFBUZZ JPEG LIBOTF LIBSYSTEMD
LIBXML2 MODULES NATIVE_COMP NOTIFY INOTIFY PDUMPER PNG RSVG SECCOMP
SOUND SQLITE3 TIFF TREE_SITTER WEBP X11 XDBE XIM XINERAMA XINPUT2 XPM
XRANDR GTK3 ZLIB
Information forwarded
to
bug-gnu-emacs <at> gnu.org:
bug#79840; Package
emacs.
(Sat, 15 Nov 2025 17:32:02 GMT)
Full text and
rfc822 format available.
Message #8 received at 79840 <at> debbugs.gnu.org (full text, mbox):
> Date: Sat, 15 Nov 2025 17:05:12 +0100
> From: Daniel Mendler via "Bug reports for GNU Emacs,
> the Swiss army knife of text editors" <bug-gnu-emacs <at> gnu.org>
>
> There is a discrepancy in how errors are printed in the *Messages*
> buffer.
>
> 1. Define the following two commands:
>
> (defun test-error ()
> (interactive)
> (error "message"))
>
> (defun test-user-error ()
> (interactive)
> (user-error "message"))
>
> 2. Run the commands:
>
> M-x test-error
> M-x test-user-error
>
> 3. The output in the *Messages* buffer looks like this:
>
> test-error: message
> test-user-error:
> message
>
> I don't recall that there has been such a difference in the past. Is
> this a regression, maybe from b03f11d9ac867833a504a2184620e531fbe43a44?
> I've compiled Emacs a few days ago from Emacs master.
Thanks, should be fixed now.
This bug report was last modified 2 days ago.
Previous Next
GNU bug tracking system
Copyright (C) 1999 Darren O. Benham,
1997,2003 nCipher Corporation Ltd,
1994-97 Ian Jackson.