Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Take mode-line-right-align-edge into account #40

Open
angrybacon opened this issue Feb 3, 2024 · 0 comments
Open

Take mode-line-right-align-edge into account #40

angrybacon opened this issue Feb 3, 2024 · 0 comments

Comments

@angrybacon
Copy link

Expected behavior

Use mode-line-format-right-align (Emacs 30.0.50) in my mode-line and have the right segments aligned to the appropriate offset, depending on mode-line-right-align-edge value.

Actual behavior

The right segments are off-screen.

Steps to reproduce

  • (setq mode-line-format '("Left" mode-line-format-right-align "Right"))
  • (centered-window-mode 1)

Furthermore if customizing mode-line-right-align-edge with the 'right-margin value, the right segments are now aligned to the right edge of the window rather than the right margin. It seems this mode and olivetti with which I don't reproduce the issue use different parts of the frame to create spacing around content (fringes vs. margins perhaps?)

Versions of centered-window-mode, Emacs, OS etc.

  • centered-window-mode: 80965f6
  • Emacs: 30.0.50
  • OS: Arch and macOS
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant