jonathanchu / emacs-powerline

Powerline for Emacs
497 stars 37 forks source link

Bottom / Bot #3

Closed rougier closed 12 years ago

rougier commented 12 years ago

Woudl that be possible to write "Bot" instead of "Bottom" when at the end of buffer ? ("Bottom" is too big realtive to allocated space)

Nicolas

jonathanchu commented 12 years ago

This is a good concern, as it brings up a bigger issue. Depending on what info is displayed in the mode line, the bar will be of variable length. Do you have a lot of total characters combined for your filename, major mode, minor modes, version control, line/column number? If so, you'll run into this issue.

For example, this is ~550px width. If any of the sections or modes have any more characters, it will cut off the "Bottom" buffer space.

emacs-powerline screenshot

I'm inclined to leave it as-is because if you just make your Emacs window wider, the problem goes away. There is a reasonable minimum width we should accommodate though. Suggestions are welcomed for this!

rougier commented 12 years ago

Yep, you're right. My concern was mainly to have "Bot" because "Top" or "33%" are 3 characters wide. And I nver find the way to get "Bot" instead of "Bottom".

Feel free to close the issue.

jonathanchu commented 12 years ago

Thanks for the feedback! :smiley: