From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!.POSTED!not-for-mail From: Drew Adams 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 06:31:28 -0700 (PDT) Message-ID: <24f08ad8-c162-4d70-a0fc-6b166c32caec@default> References: <20170515204416.GA7349@acm.fritz.box> NNTP-Posting-Host: blaine.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable X-Trace: blaine.gmane.org 1494941535 9592 195.159.176.226 (16 May 2017 13:32:15 GMT) X-Complaints-To: usenet@blaine.gmane.org NNTP-Posting-Date: Tue, 16 May 2017 13:32:15 +0000 (UTC) To: Dani Moncayo , Emacs development discussions Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Tue May 16 15:32:11 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 1dAcaA-0002OQ-SG for ged-emacs-devel@m.gmane.org; Tue, 16 May 2017 15:32:10 +0200 Original-Received: from localhost ([::1]:42261 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1dAcaG-0007mb-EU for ged-emacs-devel@m.gmane.org; Tue, 16 May 2017 09:32:16 -0400 Original-Received: from eggs.gnu.org ([2001:4830:134:3::10]:33446) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1dAcZg-0007mK-8v for emacs-devel@gnu.org; Tue, 16 May 2017 09:31:41 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1dAcZb-0001yL-D1 for emacs-devel@gnu.org; Tue, 16 May 2017 09:31:40 -0400 Original-Received: from userp1040.oracle.com ([156.151.31.81]:23372) by eggs.gnu.org with esmtps (TLS1.0:DHE_RSA_AES_256_CBC_SHA1:32) (Exim 4.71) (envelope-from ) id 1dAcZb-0001xr-4R for emacs-devel@gnu.org; Tue, 16 May 2017 09:31:35 -0400 Original-Received: from userv0022.oracle.com (userv0022.oracle.com [156.151.31.74]) by userp1040.oracle.com (Sentrion-MTA-4.3.2/Sentrion-MTA-4.3.2) with ESMTP id v4GDVUeo003717 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-GCM-SHA384 bits=256 verify=OK); Tue, 16 May 2017 13:31:31 GMT Original-Received: from userv0122.oracle.com (userv0122.oracle.com [156.151.31.75]) by userv0022.oracle.com (8.14.4/8.14.4) with ESMTP id v4GDVUl9013560 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-GCM-SHA384 bits=256 verify=OK); Tue, 16 May 2017 13:31:30 GMT Original-Received: from abhmp0013.oracle.com (abhmp0013.oracle.com [141.146.116.19]) by userv0122.oracle.com (8.14.4/8.14.4) with ESMTP id v4GDVUZ2016177; Tue, 16 May 2017 13:31:30 GMT In-Reply-To: X-Priority: 3 X-Mailer: Oracle Beehive Extensions for Outlook 2.0.1.9.1 (1003210) [OL 12.0.6767.5000 (x86)] X-Source-IP: userv0022.oracle.com [156.151.31.74] X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.4.x-2.6.x [generic] [fuzzy] X-Received-From: 156.151.31.81 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:214884 Archived-At: > > less offers a way to specify which window position to use as the base > > for the percentage (top (%pt), bottom (%pb) or middle (%pm)). That > > works with other formats, too (line number, byte number). >=20 > 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%)". +1 to this too. I might not use it (again), but it sounds useful.