From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!.POSTED!not-for-mail From: Toon Claes 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 20:59:11 +0200 (CEST) Message-ID: References: <20170515204416.GA7349@acm.fritz.box> NNTP-Posting-Host: blaine.gmane.org Mime-Version: 1.0 Content-Type: text/plain X-Trace: blaine.gmane.org 1494961206 2969 195.159.176.226 (16 May 2017 19:00:06 GMT) X-Complaints-To: usenet@blaine.gmane.org NNTP-Posting-Date: Tue, 16 May 2017 19:00:06 +0000 (UTC) User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/26.0.50 (darwin) To: Emacs development discussions Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Tue May 16 20:59:57 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 1dAhhH-0000MS-CG for ged-emacs-devel@m.gmane.org; Tue, 16 May 2017 20:59:51 +0200 Original-Received: from localhost ([::1]:43526 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1dAhhK-0004TN-0P for ged-emacs-devel@m.gmane.org; Tue, 16 May 2017 14:59:54 -0400 Original-Received: from eggs.gnu.org ([2001:4830:134:3::10]:40092) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1dAhgm-0004TH-D5 for emacs-devel@gnu.org; Tue, 16 May 2017 14:59:21 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1dAhgh-0005lT-Im for emacs-devel@gnu.org; Tue, 16 May 2017 14:59:20 -0400 Original-Received: from mailout-l3b-97.contactoffice.com ([212.3.242.97]:35406) by eggs.gnu.org with esmtps (TLS1.0:DHE_RSA_AES_256_CBC_SHA1:32) (Exim 4.71) (envelope-from ) id 1dAhgh-0005kB-CO for emacs-devel@gnu.org; Tue, 16 May 2017 14:59:15 -0400 Original-Received: from smtpauth2.co-bxl (smtpauth2.co-bxl [10.2.0.24]) by mailout-l3b-97.contactoffice.com (Postfix) with ESMTP id F39677FE for ; Tue, 16 May 2017 20:59:12 +0200 (CEST) Original-Received: from T-437.local ([94.227.10.94]) by smtp.contactoffice.com (envelope-from ) with ESMTPSA for ; Tue, 16 May 2017 20:59:11 +0200 (CEST) In-Reply-To: (Dani Moncayo's message of "Tue, 16 May 2017 12:05:27 +0200") X-ContactOffice-Account: com:91601486 X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.2.x-3.x [generic] [fuzzy] X-Received-From: 212.3.242.97 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:214890 Archived-At: Dani Moncayo writes: > FWIW: I'd love to have these placeholders supported in Emacs, so that > I could show in the modeline the range of text (lines) I'm currently > seeing in the window. E.g.: "(15-25%)". For quite some time I've been using sml-modeline, it shows the window position in a scrollbar-like manner in the modeline. http://emacs-fu.blogspot.be/2010/03/showing-buffer-position-in-mode-line.html At the moment I am using nyan-mode instead. https://www.emacswiki.org/emacs/NyanMode But it also suffers from some problems it's not reaching 100%. So, there are many options possible. And everyone wants something different. So I'm not sure if this %o option would provide much added value for many users? -- Toon