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

Modeline trucation in Emacs 29 #261

Open
fraricci opened this issue May 16, 2023 · 4 comments
Open

Modeline trucation in Emacs 29 #261

fraricci opened this issue May 16, 2023 · 4 comments

Comments

@fraricci
Copy link

sml/version is: 2.13, and emacs version is: 29.0.91.

As shown in the following picture the modeline appears truncated on the right:
image

the last piece that appears truncated is the python environment mode.
But any other mode that appears at the rightmost of the modeline gets truncated:
image

@garyo
Copy link

garyo commented Jun 8, 2023

I'm seeing the same thing with latest trunk emacs build. I added this to work around it -- not perfect but helps for me:

(setq sml/extra-filler -6)

@fraricci
Copy link
Author

fraricci commented Jun 9, 2023

Thanks! Indeed, that works for me as well.

@wasamasa
Copy link

Bumping since Emacs 29.1 has been released. The work-around is great, but it would be even greater to use the newly added padding/alignment specs if supported.

@ve-nt
Copy link

ve-nt commented Sep 8, 2023

(setq sml/extra-filler -6)

This is only a partial fix for me. Depending on the size of the window, truncation or excess padding still sometimes occurs. By "excess padding" I mean spaces between the right-flushed bit on the mode-line and the edge of the window. This seems to be caused by the minor modes list on the mode line, and how sml decides to shorten it. I've had a play with the value to set sml/extra-filler but none seem to remove this problem entirely.

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

4 participants