* bug#59310: 29.0.50; mode-line width does not respect window-divider
@ 2022-11-16 14:58 Gabriel
2022-11-17 9:23 ` Eli Zaretskii
0 siblings, 1 reply; 4+ messages in thread
From: Gabriel @ 2022-11-16 14:58 UTC (permalink / raw)
To: 59310
[-- Attachment #1: Type: text/plain, Size: 1320 bytes --]
Description:
Apparently, mode-line width does not respect window-divider. I could not
find an offending commit, so I am not sure for how long this issue
exists. I am currently debugging the Emacs internals to find the root
cause.
Steps:
1) emacs -Q (master 690f7ac86ad9a9d714b1107d05c5e856a43bb18d)
2) Eval:
(progn
(set-face-attribute 'mode-line nil
:background "yellow"
:box '(:line-width 4 :color "orange"))
(set-face-attribute 'mode-line-inactive nil
:background "yellow"
:box '(:line-width 4 :color "orange"))
(setopt window-divider-default-places t
window-divider-default-bottom-width 12
window-divider-default-right-width 12)
(set-face-attribute 'window-divider nil :foreground "green")
(set-face-attribute 'window-divider-last-pixel nil :foreground "green")
(set-face-attribute 'window-divider-first-pixel nil :foreground "green")
(window-divider-mode 1))
3) Open some windows with C-x 3
Expected: mode-line width is properly displayed considering the
window-divider width (orange borders in mode-line are properly
displayed).
Actual: mode-line width display does not properly consider the
window-divider width (missing orange right border in mode-line).
See red circle in the attached image.
[-- Attachment #2: bug.png --]
[-- Type: image/png, Size: 82499 bytes --]
[-- Attachment #3: Type: text/plain, Size: 13 bytes --]
---
Gabriel
^ permalink raw reply [flat|nested] 4+ messages in thread
* bug#59310: 29.0.50; mode-line width does not respect window-divider
2022-11-16 14:58 bug#59310: 29.0.50; mode-line width does not respect window-divider Gabriel
@ 2022-11-17 9:23 ` Eli Zaretskii
2022-11-17 14:03 ` Gabriel
0 siblings, 1 reply; 4+ messages in thread
From: Eli Zaretskii @ 2022-11-17 9:23 UTC (permalink / raw)
To: Gabriel; +Cc: 59310
> From: Gabriel <gabriel376@hotmail.com>
> Date: Wed, 16 Nov 2022 11:58:07 -0300
>
> 1) emacs -Q (master 690f7ac86ad9a9d714b1107d05c5e856a43bb18d)
>
> 2) Eval:
>
> (progn
> (set-face-attribute 'mode-line nil
> :background "yellow"
> :box '(:line-width 4 :color "orange"))
>
> (set-face-attribute 'mode-line-inactive nil
> :background "yellow"
> :box '(:line-width 4 :color "orange"))
>
> (setopt window-divider-default-places t
> window-divider-default-bottom-width 12
> window-divider-default-right-width 12)
>
> (set-face-attribute 'window-divider nil :foreground "green")
> (set-face-attribute 'window-divider-last-pixel nil :foreground "green")
> (set-face-attribute 'window-divider-first-pixel nil :foreground "green")
>
> (window-divider-mode 1))
>
> 3) Open some windows with C-x 3
>
> Expected: mode-line width is properly displayed considering the
> window-divider width (orange borders in mode-line are properly
> displayed).
>
> Actual: mode-line width display does not properly consider the
> window-divider width (missing orange right border in mode-line).
Thanks, this should be fixed now on the master branch.
^ permalink raw reply [flat|nested] 4+ messages in thread
* bug#59310: 29.0.50; mode-line width does not respect window-divider
2022-11-17 9:23 ` Eli Zaretskii
@ 2022-11-17 14:03 ` Gabriel
2022-11-17 16:57 ` Eli Zaretskii
0 siblings, 1 reply; 4+ messages in thread
From: Gabriel @ 2022-11-17 14:03 UTC (permalink / raw)
To: 59310
Eli Zaretskii <eliz@gnu.org> writes:
>
> Thanks, this should be fixed now on the master branch.
Fix confirmed, thanks, Eli.
---
Gabriel
^ permalink raw reply [flat|nested] 4+ messages in thread
* bug#59310: 29.0.50; mode-line width does not respect window-divider
2022-11-17 14:03 ` Gabriel
@ 2022-11-17 16:57 ` Eli Zaretskii
0 siblings, 0 replies; 4+ messages in thread
From: Eli Zaretskii @ 2022-11-17 16:57 UTC (permalink / raw)
To: Gabriel; +Cc: 59310-done
> From: Gabriel <gabriel376@hotmail.com>
> Date: Thu, 17 Nov 2022 11:03:42 -0300
>
> Eli Zaretskii <eliz@gnu.org> writes:
> >
> > Thanks, this should be fixed now on the master branch.
>
> Fix confirmed, thanks, Eli.
Thanks for testing, I'm therefore closing the bug.
^ permalink raw reply [flat|nested] 4+ messages in thread
end of thread, other threads:[~2022-11-17 16:57 UTC | newest]
Thread overview: 4+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2022-11-16 14:58 bug#59310: 29.0.50; mode-line width does not respect window-divider Gabriel
2022-11-17 9:23 ` Eli Zaretskii
2022-11-17 14:03 ` Gabriel
2022-11-17 16:57 ` Eli Zaretskii
Code repositories for project(s) associated with this external index
https://git.savannah.gnu.org/cgit/emacs.git
https://git.savannah.gnu.org/cgit/emacs/org-mode.git
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.