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: Noam Postavsky
Subject: Re: Proposal: new mode-line `%'-construct %o meaning "Degree of travel of window through buffer".
Date: Mon, 15 May 2017 23:35:45 -0400

On Mon, May 15, 2017 at 11:00 PM, Eli Zaretskii <address@hidden> wrote:
>>
>> 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?

I don't think so, this formula also never reaches 100%.

> This shows the portion of buffer before the window-center.  It will
> show 50% in the first use case and 73% in the second.

Jumping from 73% to "Bot" is less wrong than jumping from 50%, but 98%
being the last number before "Bot" makes more sense to me.



reply via email to

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