From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!.POSTED!not-for-mail From: Kaushal Modi Newsgroups: gmane.emacs.devel Subject: Re: Proposal: new mode-line `%'-construct %o meaning "Degree of travel of window through buffer". Date: Mon, 22 May 2017 13:38:51 +0000 Message-ID: References: <20170515204416.GA7349@acm.fritz.box> <20170517211552.2a4dab7e@jabberwock.cb.piermont.com> <8360gy6b5y.fsf@gnu.org> <20170518120116.161c1098@jabberwock.cb.piermont.com> <83r2zm3zqz.fsf@gnu.org> <20170518124541.4cce1567@jabberwock.cb.piermont.com> <83pof63q9f.fsf@gnu.org> <20170518161304.456e6dce@jabberwock.cb.piermont.com> <83lgpt52uh.fsf@gnu.org> <20170518165124.7f19ef9b@jabberwock.cb.piermont.com> <83fug14bg0.fsf@gnu.org> <83bmqlo7ep.fsf@gnu.org> NNTP-Posting-Host: blaine.gmane.org Mime-Version: 1.0 Content-Type: multipart/mixed; boundary="f403045fb6d67d493405501cfe03" X-Trace: blaine.gmane.org 1495460533 6805 195.159.176.226 (22 May 2017 13:42:13 GMT) X-Complaints-To: usenet@blaine.gmane.org NNTP-Posting-Date: Mon, 22 May 2017 13:42:13 +0000 (UTC) Cc: acm@muc.de, emacs-devel@gnu.org To: Eli Zaretskii Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Mon May 22 15:42:08 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 1dCnb5-0001c9-MZ for ged-emacs-devel@m.gmane.org; Mon, 22 May 2017 15:42:07 +0200 Original-Received: from localhost ([::1]:43089 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1dCnbB-0006yh-24 for ged-emacs-devel@m.gmane.org; Mon, 22 May 2017 09:42:13 -0400 Original-Received: from eggs.gnu.org ([2001:4830:134:3::10]:55280) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1dCnYA-0004dd-Dv for emacs-devel@gnu.org; Mon, 22 May 2017 09:39:08 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1dCnY9-0007Po-LY for emacs-devel@gnu.org; Mon, 22 May 2017 09:39:06 -0400 Original-Received: from mail-lf0-x236.google.com ([2a00:1450:4010:c07::236]:33529) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1dCnY7-0007P8-Vp; Mon, 22 May 2017 09:39:04 -0400 Original-Received: by mail-lf0-x236.google.com with SMTP id m18so31363455lfj.0; Mon, 22 May 2017 06:39:03 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=mime-version:references:in-reply-to:from:date:message-id:subject:to :cc; bh=7nC8/nmT6nBCuy+mmO28fqRZd1CtIvcqmQadUYgiZQ0=; b=E9UWu7QIFAGbciBLeDbiztRwQWzhHcUIaZ8y5s0hhNhHvHArzgo2gFJHL72QCmxyTq g2qQMm6PVPoP1wYiijPpY/Xt85TE/dmKTc1Ln2CzA+p04T1TPR+TvL7w3FOL7vZn3QDV dbWhMv4e/R1QQfpW2jJ1mBglOxx7MxKMAyxr7RZxK1bRiTcLgt1RGddA4LVaZG2uMZTK SVzIBISW0GnZF6hNgIsg4KlOKWZc88q5YDChcCAts4aR73+S9UbsCMYOBncctdYiMT49 e3BOJu1+g4NMIJwCLDJIS2+fvbiXiuVEeQ+7baMklEkRUHrZMnOxQ0u5CnfW2/4x3W7v BH4A== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:references:in-reply-to:from:date :message-id:subject:to:cc; bh=7nC8/nmT6nBCuy+mmO28fqRZd1CtIvcqmQadUYgiZQ0=; b=V6QASueLsyGeCb/rogbAoMU0/i3i+df1vdqKjTf9hmEqJwWfCTH9LonSM6coLSn9tS Ic4ytmF6gq5dF9Jniu0Pssf231v3InUrInJkhnYqeUpbggZIWfe9pcgnY1PRM6r+2Jxp ZNhODJj2HN4l+ST2MFbhk62ioO2ZVW1Ra+1hJ+UxVbvlTdXkl4REW5DHFsZhDUbhUwz0 Jp8NP8wxhmqAbn0qTbBsunM+wmrtuNwFws6EvwJyjUN7lBrudsPVUr9VrUSuIDAlPPsK tXm2YTF1ISD0wNnw9WCOxNmmZlH0CghKDmlrYXVuVsVuPa4nkpGeyu2zMQPMa3mXOu1Q a70w== X-Gm-Message-State: AODbwcDMf3eoaYAfqRAFX/5hDeZ5mbl/TWLAJN5EmBtv+qXNyt3QNEwV P7Zbw00jHpFsW2clm0h8wT9AI0S9tQ== X-Received: by 10.46.84.21 with SMTP id i21mr5829669ljb.125.1495460342473; Mon, 22 May 2017 06:39:02 -0700 (PDT) In-Reply-To: <83bmqlo7ep.fsf@gnu.org> X-detected-operating-system: by eggs.gnu.org: Genre and OS details not recognized. X-Received-From: 2a00:1450:4010:c07::236 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:215087 Archived-At: --f403045fb6d67d493405501cfe03 Content-Type: multipart/alternative; boundary="f403045fb6d67d492f05501cfe01" --f403045fb6d67d492f05501cfe01 Content-Type: text/plain; charset="UTF-8" On Mon, May 22, 2017 at 12:14 AM Eli Zaretskii wrote: > Our style for documenting Lisp data structures is less abstract: > > This option's value is a list of the form (WIDTH TYPE), > where WIDTH specifies ... > Attached patch has docstring updates for both mode-line-percentage-position and mode-line-format. -- Kaushal Modi --f403045fb6d67d492f05501cfe01 Content-Type: text/html; charset="UTF-8" Content-Transfer-Encoding: quoted-printable
On Mon, May 22= , 2017 at 12:14 AM Eli Zaretskii <eliz@g= nu.org> wrote:
Our style for= documenting Lisp data structures is less abstract:

=C2=A0 This option's value is a list of the form (WIDTH TYPE),
=C2=A0 where WIDTH specifies ...

Attach= ed patch has docstring updates for both mode-line-percentage-position and m= ode-line-format.=C2=A0
--

Kaushal Modi

--f403045fb6d67d492f05501cfe01-- --f403045fb6d67d493405501cfe03 Content-Type: application/octet-stream; name="0001-Add-detail-to-mode-line-percentage-position-and-mode.patch" Content-Disposition: attachment; filename="0001-Add-detail-to-mode-line-percentage-position-and-mode.patch" Content-Transfer-Encoding: base64 Content-ID: <15c3060d7ac8ebc57e11> X-Attachment-Id: 15c3060d7ac8ebc57e11 RnJvbSAzYzVkZDc3YWQyYzU5YzY0ZTk2NDU2YzI2MjljNDQ2ZjNhOGM0MTA3IE1vbiBTZXAgMTcg MDA6MDA6MDAgMjAwMQpGcm9tOiBLYXVzaGFsIE1vZGkgPGthdXNoYWwubW9kaUBnbWFpbC5jb20+ CkRhdGU6IFN1biwgMjEgTWF5IDIwMTcgMjI6MTY6NTcgLTA0MDAKU3ViamVjdDogW1BBVENIXSBB ZGQgZGV0YWlsIHRvIG1vZGUtbGluZS1wZXJjZW50YWdlLXBvc2l0aW9uIGFuZAogbW9kZS1saW5l LWZvcm1hdCBkb2MKCiogbGlzcC9iaW5kaW5ncy5lbCAobW9kZS1saW5lLXBlcmNlbnQtcG9zaXRp b24pOiBNZW50aW9uIHRoYXQgdGhpcwogIHZhcmlhYmxlIHJlcXVpcmVzIGEgMi1lbGVtZW50IGxp c3QuICBBbHNvIGFkZCBkZXRhaWwgYWJvdXQgd2hhdAogIHRob3NlIGVsZW1lbnRzIHNob3VsZCBi ZS4KCiogc3JjL2J1ZmZlci5jIChzeW1zX29mX2J1ZmZlcik6IEFkZCBkZXNjcmlwdGlvbiBmb3Ig dGhlIG5ldyAlbyBhbmQgJXEKICBjb25zdHJ1Y3RzIGluIGBtb2RlLWxpbmUtZm9ybWF0Jy4KLS0t CiBsaXNwL2JpbmRpb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