From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!.POSTED!not-for-mail From: Dani Moncayo Newsgroups: gmane.emacs.bugs Subject: bug#27847: 26.0.50; mode-line-percent-position: line-based instead of char-based (optionally) Date: Thu, 27 Jul 2017 15:08:18 +0200 Message-ID: NNTP-Posting-Host: blaine.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset="UTF-8" X-Trace: blaine.gmane.org 1501160954 14707 195.159.176.226 (27 Jul 2017 13:09:14 GMT) X-Complaints-To: usenet@blaine.gmane.org NNTP-Posting-Date: Thu, 27 Jul 2017 13:09:14 +0000 (UTC) To: 27847@debbugs.gnu.org Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Thu Jul 27 15:09:10 2017 Return-path: Envelope-to: geb-bug-gnu-emacs@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 1daiXN-0003WK-6b for geb-bug-gnu-emacs@m.gmane.org; Thu, 27 Jul 2017 15:09:09 +0200 Original-Received: from localhost ([::1]:42968 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1daiXR-00014c-AT for geb-bug-gnu-emacs@m.gmane.org; Thu, 27 Jul 2017 09:09:13 -0400 Original-Received: from eggs.gnu.org ([2001:4830:134:3::10]:53139) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1daiXK-00014S-8E for bug-gnu-emacs@gnu.org; Thu, 27 Jul 2017 09:09:07 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1daiXG-0004X5-EK for bug-gnu-emacs@gnu.org; Thu, 27 Jul 2017 09:09:06 -0400 Original-Received: from debbugs.gnu.org ([208.118.235.43]:55391) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1daiXG-0004Wt-B2 for bug-gnu-emacs@gnu.org; Thu, 27 Jul 2017 09:09:02 -0400 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1daiXG-0002NS-1J for bug-gnu-emacs@gnu.org; Thu, 27 Jul 2017 09:09:02 -0400 X-Loop: help-debbugs@gnu.org Resent-From: Dani Moncayo Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Thu, 27 Jul 2017 13:09:01 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: report 27847 X-GNU-PR-Package: emacs X-GNU-PR-Keywords: X-Debbugs-Original-To: bug-gnu-emacs Original-Received: via spool by submit@debbugs.gnu.org id=B.15011609119094 (code B ref -1); Thu, 27 Jul 2017 13:09:01 +0000 Original-Received: (at submit) by debbugs.gnu.org; 27 Jul 2017 13:08:31 +0000 Original-Received: from localhost ([127.0.0.1]:58067 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1daiWk-0002Mb-Vn for submit@debbugs.gnu.org; Thu, 27 Jul 2017 09:08:31 -0400 Original-Received: from eggs.gnu.org ([208.118.235.92]:33510) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1daiWj-0002MO-Cy for submit@debbugs.gnu.org; Thu, 27 Jul 2017 09:08:29 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1daiWd-0003tq-6U for submit@debbugs.gnu.org; Thu, 27 Jul 2017 09:08:23 -0400 Original-Received: from lists.gnu.org ([2001:4830:134:3::11]:41115) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_256_CBC_SHA1:32) (Exim 4.71) (envelope-from ) id 1daiWd-0003tm-3c for submit@debbugs.gnu.org; Thu, 27 Jul 2017 09:08:23 -0400 Original-Received: from eggs.gnu.org ([2001:4830:134:3::10]:52708) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1daiWc-0000j3-2U for bug-gnu-emacs@gnu.org; Thu, 27 Jul 2017 09:08:22 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1daiWb-0003rA-7Y for bug-gnu-emacs@gnu.org; Thu, 27 Jul 2017 09:08:22 -0400 Original-Received: from mail-lf0-x22d.google.com ([2a00:1450:4010:c07::22d]:37321) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1daiWa-0003pz-Vb for bug-gnu-emacs@gnu.org; Thu, 27 Jul 2017 09:08:21 -0400 Original-Received: by mail-lf0-x22d.google.com with SMTP id m86so72833898lfi.4 for ; Thu, 27 Jul 2017 06:08:20 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=mime-version:from:date:message-id:subject:to; bh=EkgARSrVPap8Mxqo/4wMI9hSHPZX4fGDhKJTWH4MiiA=; b=rSu9lIibzgyrDsFCmjC4Xv5A/TWZglbwCnaH0AYsPtbV8ReL6U7OmvMCgeHQo08OW9 h04te6qaHm6VzWGsvRAsHYWbPd0v2cL6BAtFQ5qdrLlQ3yxgw5O0vztkQf26rI92eyAN 5mrOrZhOvxQ2WLZIL3t0NZodkXXiA5ZZhwwma5eu1SDY3RR+VckaDn15tfermqgRJc21 qNFABM/c8GyeTbA4by+g27+KMSL5wUwzXOzMTEh+OyHjdbW4ZrF7NcpFvtvIX7/P5Qi+ vNN3ix20uo30dFo+s7VA5VStPjud1iNIOMA1iDW+uLW0WjvTnA+PgE6jeJLEbtsmJMub 6wlQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:from:date:message-id:subject:to; bh=EkgARSrVPap8Mxqo/4wMI9hSHPZX4fGDhKJTWH4MiiA=; b=jtRrjRM2tuwsAZ6aVAZ58Y6jxRQwL6ceWZSJP0gQ0/fxnqJepay7YtCEKHQyww/mZ9 mIcWMwvTqshhSZgB5EIT2Zm8n2JseOkbnGojASaWPbo8hiLOTyAmOVfa4iCLydi2rdY1 CgRAqgCuXJ/LCnaqEieXHdcsTMeEwDMQroET9er/3BYCEIdqJSBE9IjdAiiziBe7Zu2a 1q/DzToeMGzYTDZjgcVZzQSO0BTXaZVXVwR1s0SppidzvQu2JxNysJ8BQ7rX/Fx0eHBZ 0nIrTVjwQ353gdH8HTbQZUIU9DILexK+/In3Eco87gAbe19KLS7LroRtXUpT3Fc5MLFf hMZA== X-Gm-Message-State: AIVw110R9Bo3psRsijR+YyrsYH8HcF2WLPum+84WVHixnvmPJbwGbVXo Q8UScBHPKqnXlSHsrp3oP7pjEjKHZrk+ X-Received: by 10.25.167.136 with SMTP id q130mr1556971lfe.162.1501160899493; Thu, 27 Jul 2017 06:08:19 -0700 (PDT) Original-Received: by 10.25.76.85 with HTTP; Thu, 27 Jul 2017 06:08:18 -0700 (PDT) X-detected-operating-system: by eggs.gnu.org: Genre and OS details not recognized. X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.6.x X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.2.x-3.x [generic] X-Received-From: 208.118.235.43 X-BeenThere: bug-gnu-emacs@gnu.org List-Id: "Bug reports for GNU Emacs, the Swiss army knife of text editors" List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Original-Sender: "bug-gnu-emacs" Xref: news.gmane.org gmane.emacs.bugs:135046 Archived-At: Severity: wishlist Hi, AFAIK, the percentage(s) shown in the modeline by the variable "mode-line-percent-position" are all character-based, i.e., the percentage(s) is (are) computed based on the number of _characters_ before a certain visible character (first visible, last visible, first in middle line, ...) I'd prefer this (those) percentage(s) to be based on the number of _lines_ instead, because that would give me the information I really want to see: the relative _vertical_ position of the window/viewport wrt the whole buffer (i.e., the kind of information that a graphical vertical scrollbar provides visually). So I'd like I could set some variable for switching to this way of computing the modeline percentage(s). I think that many users would like it. TIA. -- Dani Moncayo In GNU Emacs 26.0.50 (build 1, x86_64-unknown-cygwin) of 2017-07-24 built on ZVDES404 Repository revision: 6dc5d45c542a6f9cfbcf3e37d597c9e0efb3070d Windowing system distributor 'Microsoft Corp.', version 6.3.9600 Configured using: 'configure --with-mailutils --with-w32' Configured features: SOUND ACL GNUTLS ZLIB TOOLKIT_SCROLL_BARS Important settings: value of $LANG: C.ISO-8859-1 locale-coding-system: iso-latin-1-unix