GNU bug report logs - #79230
30.1; global-whitespace-mode doesn’t enable whitespace-mode in remember-notes buffer

Previous Next

Package: emacs;

Reported by: Anush V <j <at> gnu.org>

Date: Wed, 13 Aug 2025 06:38:01 UTC

Severity: normal

Found in version 30.1

To reply to this bug, email your comments to 79230 AT debbugs.gnu.org.

Toggle the display of automated, internal messages from the tracker.

View this report as an mbox folder, status mbox, maintainer mbox


Report forwarded to bug-gnu-emacs <at> gnu.org:
bug#79230; Package emacs. (Wed, 13 Aug 2025 06:38:02 GMT) Full text and rfc822 format available.

Acknowledgement sent to Anush V <j <at> gnu.org>:
New bug report received and forwarded. Copy sent to bug-gnu-emacs <at> gnu.org. (Wed, 13 Aug 2025 06:38:02 GMT) Full text and rfc822 format available.

Message #5 received at submit <at> debbugs.gnu.org (full text, mbox):

From: Anush V <j <at> gnu.org>
To: bug-gnu-emacs <at> gnu.org
Subject: 30.1; global-whitespace-mode doesn’t enable
 whitespace-mode in remember-notes buffer
Date: Wed, 13 Aug 2025 02:36:48 -0400
Hello Emacs Maintainers,  global-whitespace-mode does not enable 
whitespace-mode in remember-notes-buffer-name buffer.  This 
happens because whitespace-enable-predicate prevents 
whitespace-mode from activating in buffers whose names start with 
‘*’, with only *scratch* being an
exception. While it makes sense for buffers like *Messages* or
*Ibuffer*, it unintentionally affects remember-notes-buffer-name
buffers, which should likely be treated similarly to *scratch*.

Steps to reproduce:

emacs -Q

M-x global-whitespace-mode
M-x remember-notes
C-h v whitespace-mode

Value of whitespace-mode is nil, indicating whitespace-mode is not
enabled in the remember-notes-buffer-name buffer

Thank you for your time!

* * *

In GNU Emacs 30.1 (build 1, x86_64-pc-linux-gnu, GTK+ Version 3.24.43,
cairo version 1.18.2)
System Description: Guix System

Configured using:
'configure
CONFIG_SHELL=/gnu/store/m0xdsa8cfq6mq1kxgxmpmpg71la4f0b9-bash-minimal-5.1.16/bin/bash
SHELL=/gnu/store/m0xdsa8cfq6mq1kxgxmpmpg71la4f0b9-bash-minimal-5.1.16/bin/bash --prefix=/gnu/store/416vvmsc3n33wsliga55ljzmcvhyry54-emacs-pgtk-30.1 --enable-fast-install --with-pgtk --with-cairo --with-modules --with-native-compilation=aot --disable-build-details'

--
Regards,
Anush Veeranala




Information forwarded to bug-gnu-emacs <at> gnu.org:
bug#79230; Package emacs. (Wed, 13 Aug 2025 12:22:01 GMT) Full text and rfc822 format available.

Message #8 received at 79230 <at> debbugs.gnu.org (full text, mbox):

From: Eli Zaretskii <eliz <at> gnu.org>
To: Anush V <j <at> gnu.org>
Cc: 79230 <at> debbugs.gnu.org
Subject: Re: bug#79230: 30.1;
 global-whitespace-mode doesn’t enable
 whitespace-mode in remember-notes buffer
Date: Wed, 13 Aug 2025 15:20:54 +0300
> From: Anush V <j <at> gnu.org>
> Date: Wed, 13 Aug 2025 02:36:48 -0400
> 
>  
> Hello Emacs Maintainers,  global-whitespace-mode does not enable 
> whitespace-mode in remember-notes-buffer-name buffer.  This 
> happens because whitespace-enable-predicate prevents 
> whitespace-mode from activating in buffers whose names start with 
> ‘*’, with only *scratch* being an
> exception. While it makes sense for buffers like *Messages* or
> *Ibuffer*, it unintentionally affects remember-notes-buffer-name
> buffers, which should likely be treated similarly to *scratch*.
> 
> Steps to reproduce:
> 
> emacs -Q
> 
> M-x global-whitespace-mode
> M-x remember-notes
> C-h v whitespace-mode
> 
> Value of whitespace-mode is nil, indicating whitespace-mode is not
> enabled in the remember-notes-buffer-name buffer

Patches to add a user option that allows to make exceptions for more
than just *scratch* will be welcome.

Thanks.




This bug report was last modified 23 days ago.

Previous Next


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