GNU bug report logs -
#1355
suggestion on the modeline
Previous Next
Reported by: xah lee <xah <at> xahlee.org>
Date: Sun, 16 Nov 2008 01:20:03 UTC
Severity: wishlist
Done: Lars Ingebrigtsen <larsi <at> gnus.org>
Bug is archived. No further changes may be made.
Full log
Message #57 received at 1355 <at> emacsbugs.donarmstrong.com (full text, mbox):
>> %p -- print percent of buffer above top of window, or Top, Bot or All.
> How about:
> %p -- print Top, Bot, All, or how far through the buffer the window
> is (in percent). This is 100 * A / (A + B), where A is the number
> bytes above the window, B the number below it.
>> Also, the same change should be done to %P, shouldn't it?
> Hmmm. :-) If so, than %p + %P = 100% (modulo rounding errors), and %P
> is kind of redundant. So, for backwards compatibility, %p and %P should
> remain unchanged, and 100 * A / (A + B) should be attached to a new
> %-construct, say %v. (Why %v? Why not? It's reminiscent of C-v, and
> %M-v.)
You'd have to ask people who use %P: how do they use it? Why (or what for)?
Maybe it's OK to have %P represent B/(A+B), or maybe a better solution
would be to offer access to A/(A+B) as well as (TOTAL-A-B)/TOTAL
(i.e. percentage of buffer shown).
I don't think it's urgent, so we should take the time to try and figure
out what %P users want.
Stefan
This bug report was last modified 4 years and 301 days ago.
Previous Next
GNU bug tracking system
Copyright (C) 1999 Darren O. Benham,
1997,2003 nCipher Corporation Ltd,
1994-97 Ian Jackson.