Subject: Re: bug#76934: 31.0.50; rectangle-mark-mode resets fringe-mode settings

From: Eli Zaretskii <[email-masked]>
Date: Tue, 11 Mar 2025 19:16:44 +0200

> Date: Tue, 11 Mar 2025 14:34:09 +0000
> From: the_wurfkreuz <[email-masked]>
> Cc: [email-masked]
> 
> Initially, there is the fringe area (shown in the attached file called "first-screenshot"). I can interactively execute the fringe-mode command it choose the 'minimal' option. It makes the fringe area to visually disappear and emacs adjusts the space between the fringe of the window and line numbers accordingly (shown in the second-screenshot). Then i use the rectangle-mark-mode command and doing so returns the space that was previously taken by the fringe area back (shown in the third-screenshot). Yes, the added space doesn't use any highlighting, so you can't verify it by looking at the highlighting for the fringe-area, my description was confusing on that part.

Looks like Emacs decided it needed one more columns for the line
numbers, probably because the current line moved to line 9, and maybe
also because the window's glyph matrix was enlarged for some reason.
IOW, this has nothing to do with the fringes.