From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!.POSTED!not-for-mail From: Eli Zaretskii Newsgroups: gmane.emacs.devel Subject: Re: Proposal: new mode-line `%'-construct %o meaning "Degree of travel of window through buffer". Date: Tue, 16 May 2017 05:47:20 +0300 Message-ID: <834lwl7c1z.fsf@gnu.org> References: <20170515204416.GA7349@acm.fritz.box> Reply-To: Eli Zaretskii NNTP-Posting-Host: blaine.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 8bit X-Trace: blaine.gmane.org 1494902903 1924 195.159.176.226 (16 May 2017 02:48:23 GMT) X-Complaints-To: usenet@blaine.gmane.org NNTP-Posting-Date: Tue, 16 May 2017 02:48:23 +0000 (UTC) Cc: emacs-devel@gnu.org To: =?utf-8?Q?Cl=C3=A9ment?= Pit-Claudel Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Tue May 16 04:48:19 2017 Return-path: Envelope-to: ged-emacs-devel@m.gmane.org Original-Received: from lists.gnu.org ([208.118.235.17]) by blaine.gmane.org with esmtp (Exim 4.84_2) (envelope-from ) id 1dASX5-0000Fv-8V for ged-emacs-devel@m.gmane.org; Tue, 16 May 2017 04:48:19 +0200 Original-Received: from localhost ([::1]:39614 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1dASX4-0005iO-Fs for ged-emacs-devel@m.gmane.org; Mon, 15 May 2017 22:48:18 -0400 Original-Received: from eggs.gnu.org ([2001:4830:134:3::10]:57048) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1dASWQ-0005i6-3y for emacs-devel@gnu.org; Mon, 15 May 2017 22:47:39 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1dASWM-0002KR-6x for emacs-devel@gnu.org; Mon, 15 May 2017 22:47:38 -0400 Original-Received: from fencepost.gnu.org ([2001:4830:134:3::e]:58202) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1dASWM-0002KI-3V; Mon, 15 May 2017 22:47:34 -0400 Original-Received: from 84.94.185.246.cable.012.net.il ([84.94.185.246]:4920 helo=home-c4e4a596f7) by fencepost.gnu.org with esmtpsa (TLS1.2:RSA_AES_256_CBC_SHA1:256) (Exim 4.82) (envelope-from ) id 1dASWL-00058y-Dz; Mon, 15 May 2017 22:47:33 -0400 In-reply-to: (message from =?utf-8?Q?Cl=C3=A9ment?= Pit-Claudel on Mon, 15 May 2017 21:15:46 -0400) X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.2.x-3.x [generic] X-Received-From: 2001:4830:134:3::e X-BeenThere: emacs-devel@gnu.org X-Mailman-Version: 2.1.21 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.org@gnu.org Original-Sender: "Emacs-devel" Xref: news.gmane.org gmane.emacs.devel:214871 Archived-At: > From: Clément Pit-Claudel > Date: Mon, 15 May 2017 21:15:46 -0400 > > On 2017-05-15 20:38, Noam Postavsky wrote: > > On Mon, May 15, 2017 at 4:44 PM, Alan Mackenzie wrote: > >> > >> Numerically, "%p" is 100 * a / (a + W + b). > >> > >> "%o" is 100 * a / (a + b). > > > > Yeah, that makes much more sense, a percentage should range from %0 to > > %100, and %p's formula doesn't. I think I've dealt with this mostly by > > ignoring the number and looking at the scrollbar instead. With this > > patch, I might actually be able to rely on the number. > > I agree. But in that case, wouldn't it be better to change the default, too? Not right away, no. We should provide a defcustom that would use the new method, and make it off by default. Then we should consider making that the default in some future version. Just because a few people here like the idea (most probably without even using it, with the exception of Alan), it doesn't mean the traditional method can go out the window. We should be more cautious about such decisions.