all messages for Emacs-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
From: Stefan Kangas <stefan@marxist.se>
To: Eli Zaretskii <eliz@gnu.org>
Cc: Emacs developers <emacs-devel@gnu.org>
Subject: Re: emacs-28 47cbd10: * lisp/bindings.el (mode-line-position): Improve tooltip.
Date: Sat, 9 Oct 2021 10:28:01 +0200	[thread overview]
Message-ID: <CADwFkmmyc7jG8rWdTq95=4N7Gf5EVemUgDvAtz+CdURo+QK_gQ@mail.gmail.com> (raw)
In-Reply-To: <CADwFkm=reyHa9=LQX-LpYOhdmXs8kqrAV_qptt=pRS5LhS7fag@mail.gmail.com>

Stefan Kangas <stefan@marxist.se> writes:

> Eli Zaretskii <eliz@gnu.org> writes:
>
> > This change is incorrect: the "All/Top/Bot/NN%" part is NOT "buffer
> > position".  If you have a suggestion for better description than "Size
> > indication mode", please tell; otherwise, let's leave the original
> > description intact.
>
> The original was even more incorrect, as it had nothing to do with
> "Size indication mode".  Let me think about an alternative.

The info node "(emacs) Mode Line" says "POS tells you whether there is
additional text above the top of the window, or below the bottom."
The info node "(emacs) Optional Mode Line" says "The buffer percentage
POS indicates the percentage of the buffer above the top of the
window."

In the doc string for mode-line-format we have:

  %p -- print percent of buffer above top of window, or Top, Bot or All.
  %P -- print percent of buffer above bottom of window, perhaps plus Top,
        or print Bottom or All.

I could not find any other documentation of this feature.  Did I miss something?

I guess "Percent of buffer above top of window, or Top, Bot or All" is
pretty hopeless as far as a user-facing description goes.  In
particular, it doesn't say what any of it means.

Based on the documentation I could find, I can only suggest "Buffer
Percentage Position" or, if you prefer, "Buffer Percentage POS", the
latter of which exactly matches the description of this in the info
node "(emacs) Optional Mode Line".  But I'm not sure that this is
better than "Buffer Position".



  reply	other threads:[~2021-10-09  8:28 UTC|newest]

Thread overview: 16+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2021-10-09  7:58 emacs-28 47cbd10: * lisp/bindings.el (mode-line-position): Improve tooltip Eli Zaretskii
2021-10-09  8:06 ` Stefan Kangas
2021-10-09  8:28   ` Stefan Kangas [this message]
2021-10-09  8:34     ` Eli Zaretskii
2021-10-09  8:52       ` Andreas Schwab
2021-10-09  9:30         ` Eli Zaretskii
2021-10-09  9:54           ` Omar Polo
2021-10-13  3:33             ` Stefan Kangas
2021-10-13 12:32               ` Eli Zaretskii
2021-10-13 12:56                 ` Stefan Kangas
2021-10-13 12:58                   ` Stefan Kangas
2021-10-13 13:31                     ` Eli Zaretskii
2021-10-13 22:28                       ` Stefan Kangas
2021-10-13 13:30                   ` Eli Zaretskii
2021-10-09 11:33           ` Andreas Schwab
2021-10-10  0:09 ` [External] : " Drew Adams

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='CADwFkmmyc7jG8rWdTq95=4N7Gf5EVemUgDvAtz+CdURo+QK_gQ@mail.gmail.com' \
    --to=stefan@marxist.se \
    --cc=eliz@gnu.org \
    --cc=emacs-devel@gnu.org \
    /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.