GNU bug report logs -
#27847
26.0.50; mode-line-percent-position: line-based instead of char-based (optionally)
Previous Next
Full log
View this message in rfc822 format
> AFAIK, the percentage(s) shown in the modeline by the variable
> "mode-line-percent-position" are all character-based, i.e., the
> percentage(s) is (are) computed based on the number of _characters_
> before a certain visible character (first visible, last visible, first
> in middle line, ...)
>
> I'd prefer this (those) percentage(s) to be based on the number of
> _lines_ instead, because that would give me the information I really
> want to see: the relative _vertical_ position of the window/viewport
> wrt the whole buffer (i.e., the kind of information that a graphical
> vertical scrollbar provides visually).
>
> So I'd like I could set some variable for switching to this way of
> computing the modeline percentage(s). I think that many users would
> like it.
FYI, you can use library `modeline-posn.el' to get what you
want. In this case you would define a custom behavior (it
is not one of the predefined choices), but that is easy to do.
https://www.emacswiki.org/emacs/modeline-posn.el
This bug report was last modified 7 years and 324 days ago.
Previous Next
GNU bug tracking system
Copyright (C) 1999 Darren O. Benham,
1997,2003 nCipher Corporation Ltd,
1994-97 Ian Jackson.