GNU bug report logs - #78522
31.0.50; Conflict between standard-display-unicode-special-glyphs and whitespace-mode

Previous Next

Package: emacs;

Reported by: Ergus <spacibba <at> aol.com>

Date: Wed, 21 May 2025 00:12:01 UTC

Severity: normal

Found in version 31.0.50

Done: Eli Zaretskii <eliz <at> gnu.org>

Full log


View this message in rfc822 format

From: Ergus <spacibba <at> aol.com>
To: Eli Zaretskii <eliz <at> gnu.org>
Cc: "gerd.moellmann <at> gmail.com" <gerd.moellmann <at> gmail.com>, "78522 <at> debbugs.gnu.org" <78522 <at> debbugs.gnu.org>
Subject: bug#78522: 31.0.50; Conflict between standard-display-unicode-special-glyphs and whitespace-mode
Date: Thu, 29 May 2025 21:14:35 +0000 (UTC)
[Message part 1 (text/plain, inline)]
 Hi Eli:
    On Wednesday, May 28, 2025 at 01:20:52 PM GMT+2, Eli Zaretskii <eliz <at> gnu.org> wrote:   

 > Date: Tue, 27 May 2025 17:06:57 +0000 (UTC)
> From: Ergus <spacibba <at> aol.com>
> Cc: "78522 <at> debbugs.gnu.org" <78522 <at> debbugs.gnu.org>
> 
> The patch improved a bit, but didn't solved it totally.
> 
> I mean:
> 
> > M-x standard-display-unicode-special-glyphs ;; This looks as expected
> > M-x whitespace-mode ;; reverts the effect
> 
> This part of the issue is still there exactly like before.

??? I've just tried, and it definitely does solve the problem here.

Or maybe I don't understand well enough what you mean by "reverts the
effect"?  You've never actually shown a recipe with detailed
explanations which explain what exactly is "reverted".  Because
standard-display-unicode-special-glyphs by itself doesn't change
anything on display in 'emacs -Q", you must do something else to see
its effect.  In my testing, I used "C-x 3", which shows the vertical
border between two windows using a Unicode character when
standard-display-unicode-special-glyphs is in effect.  Before my
changes, whitespace-mode would revert the border back to the ASCII
characters they used originally; after my changes this no longer
happens.
emacs -Q -nwC-x 3    ;; See the vertical division line with |S-M-: (standard-display-unicode-special-glyphs) ;; See the vertical division line with #x2502M-x whitespace-mode ;; See the vertical division line reverted to |M-x whitespace-mode ;; whitespace mode disabled vertical divisor back to #x2502
M-x whitespace-mode ;; whitespace mode enabled again, vertical divisor stays #x2502




So what is your recipe, starting from "emacs -Q", where you see that
whitespace-mode still reverts the effect of
standard-display-unicode-special-glyphs?

> But, if I do latter:
> 
> M-x whitespace-mode ;; disables whitespace and restores special-glyphs
> M-x whitespace-mode ;; re-enable whitespace mode and keeps special-glyphs
> 
> Then it looks correctly. 

What "special glyphs" are you talking about, and how do you make Emacs
display them?
  
[Message part 2 (text/html, inline)]

This bug report was last modified 7 days ago.

Previous Next


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