emacs-devel
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Proposal: new mode-line `%'-construct %o meaning "Degree of travel o


From: Eli Zaretskii
Subject: Re: Proposal: new mode-line `%'-construct %o meaning "Degree of travel of window through buffer".
Date: Tue, 16 May 2017 06:00:12 +0300

> Date: Mon, 15 May 2017 20:44:17 +0000
> From: Alan Mackenzie <address@hidden>
> 
> Numerically, "%p" is 100 * a / (a + W + b).
> 
> "%o" is 100 * a / (a + b).

Isn't it better to display 100 * (a + W/2) / (a + W + b) instead?

This shows the portion of buffer before the window-center.  It will
show 50% in the first use case and 73% in the second.  IMO, showing
98% in the second case sounds misleading, not unlike the current 49%,
because it effectively disregards the text inside the window, and thus
can lead to skewed estimations when the part inside the window is
non-negligible relative to the part that outside.



reply via email to

[Prev in Thread] Current Thread [Next in Thread]