Closed schickele closed 5 months ago
@schickele I realized and rolled back my comment. You happen to see it :cry:
It's related to doom-modeline-percent-position
.
Thanks a lot! It's perfect now:
At my side, this commit introduced some unwanted behaviour. It shows the buffer-position
two times:
;; doom-modeline - A minimal and modern mode-line
;; https://github.com/seagle0128/doom-modeline
(use-package doom-modeline
:pin "melpa-latest"
:hook ((after-init . doom-modeline-mode)
(emacs-startup . display-time)))
It got introduced by this change:
@sebastiaanspeck Are you using the latest version? I cannot reproduce this issue.
@sebastiaanspeck Are you using the latest version? I cannot reproduce this issue.
I am using the latest version indeed. Is there any way to help you to reproduce?
I do have column-number-mode
and line-number-mode
disabled, but enabled global-display-line-numbers-mode
.
If I turn on column-number-mode
or line-number-mode
the first percentage is replaced with the contents of the column-number or line-number.
This is a screenshot with both column-number-mode
and line-number-mode
enabled:
But since I have my line-number in the left-fringe, I do not need the column-number and line-number in my modeline.
@sebastiaanspeck Gotcha. Already fixed.
Thank you for the bug report
doom-modeline
related packages.emacs -Q
.Bug description
There is a small visual inconsistency between the
buffer-position
and theselection-info
segments. Whenbuffer-position
displays a percent position, both segments are separated by two spaces. If the buffer position is instead equal toTop
,Bot
orAll
, they are separated by one space. Here is a small demonstration:This is especially noticeable if you highlight the
selection-info
segment like I like to do:Steps to reproduce
Visit a file and select a region.
Expected behavior
Two separation spaces in every case would be a visually more pleasing solution IMHO. I'm a elisp beginner and I'm not able to draft a pull request myself.
OS
Linux
Emacs Version
29
Emacs Configurations
Vanilla Emacs or Doom Emacs
Error callstack
No response
Anything else
No response