all messages for Emacs-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
From: Drew Adams <drew.adams@oracle.com>
To: Eli Zaretskii <eliz@gnu.org>, Stefan Kangas <stefan@marxist.se>
Cc: "emacs-devel@gnu.org" <emacs-devel@gnu.org>
Subject: RE: [External] : Re: emacs-28 47cbd10: * lisp/bindings.el (mode-line-position): Improve tooltip.
Date: Sun, 10 Oct 2021 00:09:39 +0000	[thread overview]
Message-ID: <SJ0PR10MB5488BCBEAFF1FAD89B931A63F3B49@SJ0PR10MB5488.namprd10.prod.outlook.com> (raw)
In-Reply-To: <834k9qy6hn.fsf@gnu.org>

> 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.

IMO: 

It should be "size", and it should not say more than that.
In particular, we should not mention "percentage".

It's about showing something about the size of buffer
text.  (We already dynamically adjust the size to
reflect a buffer restriction.)
___

FWIW, in my library `modeline-posn.el', I've extended
this to optionally provide different size indications.

You can optionally show the size of the active region.
In addition to the # of lines & columns, you can
optionally show the # of words & chars in the region.

If the region is a rectangle, in addition to the # of
rows & columns you can optionally show the # of words
& chars.  (And in this case the count includes only
words that are entirely inside the rectangle.)

All of this is about "size".  (The library enhances
variable`mode-line-position', so "position" is in the
name, but it and that variable are more correctly
about size.)

https://www.emacswiki.org/emacs/ModeLinePosition



      parent reply	other threads:[~2021-10-10  0:09 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
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 ` Drew Adams [this message]

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=SJ0PR10MB5488BCBEAFF1FAD89B931A63F3B49@SJ0PR10MB5488.namprd10.prod.outlook.com \
    --to=drew.adams@oracle.com \
    --cc=eliz@gnu.org \
    --cc=emacs-devel@gnu.org \
    --cc=stefan@marxist.se \
    /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.