From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!.POSTED!not-for-mail From: Dani Moncayo 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 12:05:27 +0200 Message-ID: References: <20170515204416.GA7349@acm.fritz.box> NNTP-Posting-Host: blaine.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset="UTF-8" X-Trace: blaine.gmane.org 1494929142 26584 195.159.176.226 (16 May 2017 10:05:42 GMT) X-Complaints-To: usenet@blaine.gmane.org NNTP-Posting-Date: Tue, 16 May 2017 10:05:42 +0000 (UTC) To: Emacs development discussions Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Tue May 16 12:05:37 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 1dAZMH-0006lo-6T for ged-emacs-devel@m.gmane.org; Tue, 16 May 2017 12:05:37 +0200 Original-Received: from localhost ([::1]:41016 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1dAZML-0001cC-97 for ged-emacs-devel@m.gmane.org; Tue, 16 May 2017 06:05:41 -0400 Original-Received: from eggs.gnu.org ([2001:4830:134:3::10]:59462) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1dAZMF-0001as-2u for emacs-devel@gnu.org; Tue, 16 May 2017 06:05:35 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1dAZM9-0005QJ-Iz for emacs-devel@gnu.org; Tue, 16 May 2017 06:05:35 -0400 Original-Received: from mail-wm0-x22c.google.com ([2a00:1450:400c:c09::22c]:35713) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1dAZM9-0005Q9-DB for emacs-devel@gnu.org; Tue, 16 May 2017 06:05:29 -0400 Original-Received: by mail-wm0-x22c.google.com with SMTP id b84so125679617wmh.0 for ; Tue, 16 May 2017 03:05:29 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=mime-version:in-reply-to:references:from:date:message-id:subject:to; bh=9SrZC5gVaYzUV6ySv4hWxngI+9/HjiSEvJs1vFJ3lyw=; b=pOlmDeN1ayLJm4o39c7HI7i8o7TiefTAXLg4wINyhfQ0jldX+gJQn1foBC6k3Vl8eP 4rbGAFl94uQgK3ek2w+5nXVRIPGIv5/aaDogAz0xFjf6KLwLTj1wq4SBXvfVycn36vvx k0W72KeHpvRSNtieckcHzYPilLagCwu4YOgeGEixUz1yyq0D067+Wf9WdZgyVzDUFxD8 zO6qjdGcw2CZjewWhMN7VHQDhY5U71GhxHwn3CAP4V4bIeWqs15cLUqOfT9pRtAabGTU MBJEHINBNbr7kiJ1Wl333wMafcrxyOCdQxCoBehda/YNPWfl1BM6IYvbSDkV4u0LbbWx dtfw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:in-reply-to:references:from:date :message-id:subject:to; bh=9SrZC5gVaYzUV6ySv4hWxngI+9/HjiSEvJs1vFJ3lyw=; b=HD4iLUP35+UFHH+NCmwwphAOG/ybq712xL2vAhInwpptzmNXSDqHwmzXqpSDwHtw9p 5fsGleXDnVJvcEmG4lUwxKZma6PEpyrI2mwjy7WQPy0ZXW+MWFDYHhWI7W3kAWRbGdBt DYGgZLqefjxZeR0YSc3tlBiWe/oQaUdlySCEUjEyogAAi98NhGtOPXVcVXjlgw68avIL k82EOGDGvOvssaekXp0lVF8JcReEamH6FAapqRLbnXfO6Vfe5xzwlpkxp5siG2ehcUwT pp2qpQjOAHvTl545grYNep1z32DqF07wBEbERKSjHIttOft3vCgHh+Cgg/MoPIOa0eu3 c2gg== X-Gm-Message-State: AODbwcDub8ADs29vif3JY3thxi0ADHun1AptFU9F5KkNmYE6iP9vI67n Muy7m+oSo43GPx1OQ7WXdMxJ+XWzuQ== X-Received: by 10.25.56.2 with SMTP id f2mr2901351lfa.73.1494929127838; Tue, 16 May 2017 03:05:27 -0700 (PDT) Original-Received: by 10.25.29.6 with HTTP; Tue, 16 May 2017 03:05:27 -0700 (PDT) In-Reply-To: X-detected-operating-system: by eggs.gnu.org: Genre and OS details not recognized. X-Received-From: 2a00:1450:400c:c09::22c 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:214878 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). 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%)". -- Dani Moncayo