unofficial mirror of bug-gnu-emacs@gnu.org 
 help / color / mirror / code / Atom feed
* bug#27847: 26.0.50; mode-line-percent-position: line-based instead of char-based (optionally)
@ 2017-07-27 13:08 Dani Moncayo
  2017-07-27 17:25 ` Eli Zaretskii
  2017-07-27 18:00 ` Drew Adams
  0 siblings, 2 replies; 8+ messages in thread
From: Dani Moncayo @ 2017-07-27 13:08 UTC (permalink / raw)
  To: 27847

Severity: wishlist

Hi,

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.

TIA.

-- 
Dani Moncayo

In GNU Emacs 26.0.50 (build 1, x86_64-unknown-cygwin)
 of 2017-07-24 built on ZVDES404
Repository revision: 6dc5d45c542a6f9cfbcf3e37d597c9e0efb3070d
Windowing system distributor 'Microsoft Corp.', version 6.3.9600

Configured using:
 'configure --with-mailutils --with-w32'

Configured features:
SOUND ACL GNUTLS ZLIB TOOLKIT_SCROLL_BARS

Important settings:
  value of $LANG: C.ISO-8859-1
  locale-coding-system: iso-latin-1-unix





^ permalink raw reply	[flat|nested] 8+ messages in thread

end of thread, other threads:[~2017-07-28  8:07 UTC | newest]

Thread overview: 8+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2017-07-27 13:08 bug#27847: 26.0.50; mode-line-percent-position: line-based instead of char-based (optionally) Dani Moncayo
2017-07-27 17:25 ` Eli Zaretskii
2017-07-27 20:44   ` Dani Moncayo
2017-07-28  2:44     ` Alexis
2017-07-28  6:46       ` Eli Zaretskii
2017-07-28  8:07         ` Alexis
2017-07-28  5:28     ` Nick Helm
2017-07-27 18:00 ` Drew Adams

Code repositories for project(s) associated with this public inbox

	https://git.savannah.gnu.org/cgit/emacs.git

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).