* bug#59687: 30.0.50; whitespace-mode not working on message-mode
@ 2022-11-29 18:42 Gabriel
0 siblings, 0 replies; only message in thread
From: Gabriel @ 2022-11-29 18:42 UTC (permalink / raw)
To: 59687
[-- Attachment #1: Type: text/plain, Size: 1587 bytes --]
Severity: bug
Description:
Some styles from whitespace-mode are not working properly when enabled
in message-mode and mail-user-agent is set to gnus-user-agent.
Steps:
1) emacs -Q (master "7939184f8e0370e7a3397d492812c6d202c2a193")
2) Eval the following to automatically enable whitespace-mode on
message-mode buffers:
(add-hook 'message-mode-hook #'whitespace-mode)
3) Compose new email with C-x m
Result: the whitespace-mode is enabled and the styles are properly
displayed, e.g., the red mark (trailing) on line 2 after the word "Subject: ".
4) Run Gnus with M-x gnus (ignore all errors, just make sure gnus is running)
5) Compose new email with C-x m
Result: the whitespace-mode is enabled and the styles are properly
displayed, e.g., the red mark (trailing) on line 2 after the word "Subject: ".
6) Eval the following to set mail-user-agent:
(setopt mail-user-agent 'gnus-user-agent)
7) Compose new email with C-x m
Result: the whitespace-mode is enabled but some styles are NOT properly
displayed, e.g., the red mark (trailing) on line 2 after the word
"Subject: " is missing. The dot (space-mark) and the dollar sign
(newline-mark) are properly displayed.
8) Toggle whitespace-mode by executing twice M-x whitespace-mode
Result: the whitespace-mode is disabled and enabled, and now all styles
are properly displayed (as in steps 3 and 5).
Notes:
- The problem is not be reproduced if mail-user-agent is not set to
gnus-user-agent.
- The problem is not reproduced if whitespace-mode is manually enabled
in message-mode buffers (i.e., without using hook).
[-- Attachment #2: bug.mkv --]
[-- Type: video/x-matroska, Size: 524087 bytes --]
[-- Attachment #3: Type: text/plain, Size: 13 bytes --]
---
Gabriel
^ permalink raw reply [flat|nested] only message in thread
only message in thread, other threads:[~2022-11-29 18:42 UTC | newest]
Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2022-11-29 18:42 bug#59687: 30.0.50; whitespace-mode not working on message-mode Gabriel
Code repositories for project(s) associated with this public inbox
https://git.savannah.gnu.org/cgit/emacs.git
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).