emacs-devel
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

RE: [External] : Re: emacs-28 47cbd10: * lisp/bindings.el (mode-line-pos


From: Drew Adams
Subject: RE: [External] : Re: emacs-28 47cbd10: * lisp/bindings.el (mode-line-position): Improve tooltip.
Date: Sun, 10 Oct 2021 00:09:39 +0000

> 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



reply via email to

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