Subject: bug#79230: 30.1; global-whitespace-mode doesn’t enable whitespace-mode in remember-notes buffer

From: Eli Zaretskii <[email-masked]>
Date: Wed, 13 Aug 2025 15:20:54 +0300

> From: Anush V <[email-masked]>
> 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.