Closed DivineDominion closed 2 years ago
I remember having tried that but I got problem with the face using for alignment. For example, if you want to have a continuous underline, it was not working.
@rougier Do you remember the particular setup? When I save my replacement for mode-line-render
in elegant.el and launch emacs -q -l sanity.el -l elegance.el Splash.org &
it looks fine.
Thanks. I need I'll merge. In the meantime, I'll try to adapt your code to nano-modeline
Fixes #29
Looking at marginalia.el issues, code, and the README I found out about alignment propertization, and that fixes the problem of chopped-off characters for me:
You can also easily add a middle column later if you want:
With the space alignment stuff here, this even works on a per-pixel offset basis -- I can freely resize the window and the line and column indicators stick to the window edges.
Compare with
... and you'll see that the current approach moves in units of 1 character, while this PR will move per pixel.