From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.io!.POSTED.blaine.gmane.org!not-for-mail From: Eli Zaretskii Newsgroups: gmane.emacs.devel Subject: Re: emacs-28 47cbd10: * lisp/bindings.el (mode-line-position): Improve tooltip. Date: Sat, 09 Oct 2021 11:34:04 +0300 Message-ID: <831r4uy4ub.fsf@gnu.org> References: <834k9qy6hn.fsf@gnu.org> Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214"; logging-data="13197"; mail-complaints-to="usenet@ciao.gmane.io" Cc: emacs-devel@gnu.org To: Stefan Kangas Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane-mx.org@gnu.org Sat Oct 09 10:35:22 2021 Return-path: Envelope-to: ged-emacs-devel@m.gmane-mx.org Original-Received: from lists.gnu.org ([209.51.188.17]) by ciao.gmane.io with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.92) (envelope-from ) id 1mZ7pB-0003ET-Jg for ged-emacs-devel@m.gmane-mx.org; Sat, 09 Oct 2021 10:35:21 +0200 Original-Received: from localhost ([::1]:40716 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1mZ7p9-000820-VT for ged-emacs-devel@m.gmane-mx.org; Sat, 09 Oct 2021 04:35:20 -0400 Original-Received: from eggs.gnu.org ([2001:470:142:3::10]:48010) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1mZ7oG-0007JJ-LU for emacs-devel@gnu.org; Sat, 09 Oct 2021 04:34:24 -0400 Original-Received: from fencepost.gnu.org ([2001:470:142:3::e]:49942) by eggs.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1mZ7oG-0002g2-Bs; Sat, 09 Oct 2021 04:34:24 -0400 Original-Received: from 84.94.185.95.cable.012.net.il ([84.94.185.95]:1740 helo=home-c4e4a596f7) by fencepost.gnu.org with esmtpsa (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1mZ7oF-0007wh-OP; Sat, 09 Oct 2021 04:34:24 -0400 In-Reply-To: (message from Stefan Kangas on Sat, 9 Oct 2021 10:28:01 +0200) X-BeenThere: emacs-devel@gnu.org X-Mailman-Version: 2.1.23 Precedence: list List-Id: "Emacs development discussions." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: emacs-devel-bounces+ged-emacs-devel=m.gmane-mx.org@gnu.org Original-Sender: "Emacs-devel" Xref: news.gmane.io gmane.emacs.devel:276599 Archived-At: > From: Stefan Kangas > Date: Sat, 9 Oct 2021 10:28:01 +0200 > Cc: Emacs developers > > 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". How about "Buffer text percentage"?