Skip to content

[Bug]  #752

@psionic-k

Description

@psionic-k

Thank you for the bug report

  • I am using the latest version of doom-modeline related packages.
  • I checked FAQ.
  • You may also try reproduce the issue using clean environment and minimal configurations with
    the command emacs -Q.

Bug description

I previously had a setting combination to pad my column on the right. This configuration no longer achieves the desired effect. The -3 in mode-line-position-column-format is ignored.

(setopt doom-modeline-position-column-line-format '("%3l:%c"))
(setopt mode-line-position-column-format '(" C%-3c"))

Steps to reproduce

Use settings

Expected behavior

Buffer position is represented with a stable length string that only has a discontinuity on column 1k and again at line 1k, "123:2 " etc. With content positioned afterward, it no longer jitters around wildly.

OS

Linux

Emacs Version

30

Emacs Configurations

No response

Error callstack

No response

Anything else

I played around with the new values, doom-modeline-position-line-format etc. The format spec ends up printing a lot of dashes, like "-----------------------------------------" whenever I use anything like "%3-c" on either column or mode line.

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't working

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions