From: Stefan Monnier <monnier@IRO.UMontreal.CA>
To: Alan Mackenzie <acm@muc.de>
Cc: Juanma Barranquero <lekktu@gmail.com>, 1355@emacsbugs.donarmstrong.com
Subject: bug#1355: suggestion on the modeline
Date: Tue, 18 Nov 2008 11:30:07 -0500 [thread overview]
Message-ID: <jwvabbxknl2.fsf-monnier+emacsbugreports@gnu.org> (raw)
In-Reply-To: <20081118103731.GC2491@muc.de> (Alan Mackenzie's message of "Tue, 18 Nov 2008 10:37:31 +0000")
>> %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
next prev parent reply other threads:[~2008-11-18 16:30 UTC|newest]
Thread overview: 10+ messages / expand[flat|nested] mbox.gz Atom feed top
2008-11-16 1:09 bug#1355: suggestion on the modeline xah lee
2008-11-17 2:57 ` Richard M. Stallman
2008-11-17 23:26 ` Alan Mackenzie
2008-11-18 3:47 ` Stefan Monnier
2008-11-18 9:42 ` Juanma Barranquero
2008-11-18 10:37 ` Alan Mackenzie
2008-11-18 10:37 ` Juanma Barranquero
2008-11-18 16:30 ` Stefan Monnier [this message]
2008-11-18 18:17 ` James Cloos
2020-09-19 21:59 ` Lars Ingebrigtsen
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=jwvabbxknl2.fsf-monnier+emacsbugreports@gnu.org \
--to=monnier@iro.umontreal.ca \
--cc=1355@emacsbugs.donarmstrong.com \
--cc=acm@muc.de \
--cc=lekktu@gmail.com \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
Code repositories for project(s) associated with this external index
https://git.savannah.gnu.org/cgit/emacs.git
https://git.savannah.gnu.org/cgit/emacs/org-mode.git
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.