From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!.POSTED!not-for-mail From: Robert Weiner Newsgroups: gmane.emacs.devel Subject: Re: Make mode-line number display consistent when both line and col numbers are shown. Date: Fri, 29 Sep 2017 09:26:49 -0400 Message-ID: References: <87fub6ugw4.fsf@yandex.com> <878tgxvoyz.fsf@yandex.com> Reply-To: rswgnu@gmail.com NNTP-Posting-Host: blaine.gmane.org Mime-Version: 1.0 Content-Type: multipart/alternative; boundary="001a1137b0540300dc055a53fc45" X-Trace: blaine.gmane.org 1506691660 4680 195.159.176.226 (29 Sep 2017 13:27:40 GMT) X-Complaints-To: usenet@blaine.gmane.org NNTP-Posting-Date: Fri, 29 Sep 2017 13:27:40 +0000 (UTC) Cc: Jose Arroyo , emacs-devel To: Colin Baxter Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Fri Sep 29 15:27:32 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 1dxvKC-0000Ro-Vj for ged-emacs-devel@m.gmane.org; Fri, 29 Sep 2017 15:27:29 +0200 Original-Received: from localhost ([::1]:35427 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1dxvKK-0005m6-Fa for ged-emacs-devel@m.gmane.org; Fri, 29 Sep 2017 09:27:36 -0400 Original-Received: from eggs.gnu.org ([2001:4830:134:3::10]:55299) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1dxvKA-0005m1-Ap for emacs-devel@gnu.org; Fri, 29 Sep 2017 09:27:30 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1dxvK5-0007RP-Cf for emacs-devel@gnu.org; Fri, 29 Sep 2017 09:27:26 -0400 Original-Received: from fencepost.gnu.org ([2001:4830:134:3::e]:44657) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1dxvK5-0007RJ-92 for emacs-devel@gnu.org; Fri, 29 Sep 2017 09:27:21 -0400 Original-Received: from mail-qt0-f172.google.com ([209.85.216.172]:54178) by fencepost.gnu.org with esmtpsa (TLS1.2:RSA_AES_128_CBC_SHA1:128) (Exim 4.82) (envelope-from ) id 1dxvK4-0003b1-T9 for emacs-devel@gnu.org; Fri, 29 Sep 2017 09:27:21 -0400 Original-Received: by mail-qt0-f172.google.com with SMTP id 47so1548471qts.10 for ; Fri, 29 Sep 2017 06:27:20 -0700 (PDT) X-Gm-Message-State: AMCzsaWF/zNW0idUyXDC7xvjghEWDixKO9VggCMM7+BGiAtPHLeKtnmr ZwWr2q0Q92bxkPUnpye4vcsMjrj19bTZvz2Q3eI= X-Google-Smtp-Source: AOwi7QBjhetl7L6ZL1LFoFYQ+E6hJExETM4+IxyB9sykRn8+3a5DPsOSLHu5UVQ6iNgRi2hc10DDl3la7qpkTOCT74M= X-Received: by 10.200.54.3 with SMTP id m3mr6374637qtb.197.1506691640384; Fri, 29 Sep 2017 06:27:20 -0700 (PDT) Original-Received: by 10.237.34.225 with HTTP; Fri, 29 Sep 2017 06:26:49 -0700 (PDT) In-Reply-To: <878tgxvoyz.fsf@yandex.com> X-Gmail-Original-Message-ID: X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.2.x-3.x [generic] X-Received-From: 2001:4830:134:3::e 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:218900 Archived-At: --001a1137b0540300dc055a53fc45 Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable On Fri, Sep 29, 2017 at 5:22 AM, Colin Baxter wrote: > >>>>> Jose Arroyo writes: > > > If it is a matter of opinion, I wanted to take the time to show my > > support for this patch. At the very least I'd like to be able to > > toggle it. > > Obviously I cannot object if the feature can be turned off and is not the > default. =E2=80=8BI think you have that backwards. This should be the new default s= o that it benefits the many users to whom it will immediately make sense. Then for others who prefer the non-uniform prior style there could be a menu option. I think an even better solution would be to simply make add a format variable that would specify how these appear as this would be straightforward to implement. Presently, it is too difficult to change this value in an init file because the format is embedded in a deep structure and the format string is mixed in with the propertization of the string. Separate out this format string into its own variable, line-column-number-format, and things would be much simpler. Everyone could set it as they like, though I would still advocate for a consistent default for the L,C display. Bob --001a1137b0540300dc055a53fc45 Content-Type: text/html; charset="UTF-8" Content-Transfer-Encoding: quoted-printable
On Fri, Sep 29, 2= 017 at 5:22 AM, Colin Baxter <m43cap@yandex.com> wrote:
>>>>>= Jose Arroyo <jose.m.arroy= o.se@gmail.com> writes:

=C2=A0 =C2=A0 > If it is a matter of opinion, I wanted to take the time = to show my
=C2=A0 =C2=A0 > support for this patch. At the very least I'd like t= o be able to
=C2=A0 =C2=A0 > toggle it.

Obviously I cannot object if the feature can be turned off and is no= t the
default.

=E2=80=8BI think you have that backwards.= =C2=A0 This should be the new default so that it benefits the many users to= whom it will immediately make sense.=C2=A0 Then for others who prefer the = non-uniform prior style there could be a menu option.

I think an eve= n better solution would be to simply make add a format variable that would = specify how these appear as this would be straightforward to implement.=C2= =A0 Presently, it is too difficult to change this value in an init file bec= ause the format is embedded in a deep structure and the format string is mi= xed in with the propertization of the string.=C2=A0 Separate out this forma= t string into its own variable, line-column-number-format, and things would= be much simpler.=C2=A0 Everyone could set it as they like, though I would = still advocate for a consistent default for the L,C display.

Bob
--001a1137b0540300dc055a53fc45--