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: Clément Pit-Claudel
Subject: Re: Proposal: new mode-line `%'-construct %o meaning "Degree of travel of window through buffer".
Date: Mon, 15 May 2017 21:15:46 -0400
User-agent: Mozilla/5.0 (X11; Linux x86_64; rv:45.0) Gecko/20100101 Thunderbird/45.8.0

On 2017-05-15 20:38, Noam Postavsky wrote:
> On Mon, May 15, 2017 at 4:44 PM, Alan Mackenzie <address@hidden> wrote:
>>
>> Numerically, "%p" is 100 * a / (a + W + b).
>>
>> "%o" is 100 * a / (a + b).
> 
> Yeah, that makes much more sense, a percentage should range from %0 to
> %100, and %p's formula doesn't. I think I've dealt with this mostly by
> ignoring the number and looking at the scrollbar instead. With this
> patch, I might actually be able to rely on the number.

I agree. But in that case, wouldn't it be better to change the default, too?
That is, either change %p's meaning (possibly offering the old meaning as %o), 
or change the default mode line format to use %p.

Clément.




reply via email to

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