From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!.POSTED!not-for-mail From: Jose Arroyo 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 10:25:08 +0200 Message-ID: References: <87fub6ugw4.fsf@yandex.com> NNTP-Posting-Host: blaine.gmane.org Mime-Version: 1.0 Content-Type: multipart/alternative; boundary="f403045d8e92510b93055a4fc351" X-Trace: blaine.gmane.org 1506673528 5398 195.159.176.226 (29 Sep 2017 08:25:28 GMT) X-Complaints-To: usenet@blaine.gmane.org NNTP-Posting-Date: Fri, 29 Sep 2017 08:25:28 +0000 (UTC) Cc: rswgnu@gmail.com, Robert Weiner , emacs-devel To: Colin Baxter Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Fri Sep 29 10:25:21 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 1dxqbm-0000fm-G3 for ged-emacs-devel@m.gmane.org; Fri, 29 Sep 2017 10:25:18 +0200 Original-Received: from localhost ([::1]:34135 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1dxqbt-0004j7-Ru for ged-emacs-devel@m.gmane.org; Fri, 29 Sep 2017 04:25:25 -0400 Original-Received: from eggs.gnu.org ([2001:4830:134:3::10]:44287) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1dxqbh-0004ir-69 for emacs-devel@gnu.org; Fri, 29 Sep 2017 04:25:14 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1dxqbf-0006wY-SP for emacs-devel@gnu.org; Fri, 29 Sep 2017 04:25:13 -0400 Original-Received: from mail-it0-x232.google.com ([2607:f8b0:4001:c0b::232]:54030) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1dxqbf-0006vf-Hx; Fri, 29 Sep 2017 04:25:11 -0400 Original-Received: by mail-it0-x232.google.com with SMTP id 85so1251317ith.2; Fri, 29 Sep 2017 01:25:10 -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 :cc; bh=tzE6ieAVeW+WiEMAP49eQbVz4f/EN7AUFrR0v4Ka9xA=; b=ftQkJJwYlybI7/EfOaYnR3+OCVj20uv0FF3iypYkuNGnyqOt7fvmkCNBcYXg70a2e6 6fYx+au+ZpUgnxAn5Sz60NPZuwz+mvP8dD1zKUhw97jj0zAYB6w1tZMMD5C7Vmwy+1JS R1MICAlms4Jby/dkoOncHPtZMhnsRYn3Jqfvj9gNgB85KFHkTdYYGERIKTSBP0i7ZHB4 hU3jsCNIk02/l0cbMxy6jtQ0dtPq0zPXcJ4XmTH1KLuDJIHlH3phHH4lZTy05nbjkrp8 +Bfi+HHwe9amVvVVXUVhd4S7/ntpgvrU2a8W7JGIDoxS/+pCh0Egb+WUov7VWWV/zeT+ phlA== 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:cc; bh=tzE6ieAVeW+WiEMAP49eQbVz4f/EN7AUFrR0v4Ka9xA=; b=k7Cd+N1v9924arYBHSuQQiprY3+nFmn3nK++a3B2DHY/Dsm1QfN9t8CZymPVZfua6O PeT5zeBRk3oC16zN1Pp7200wIEa+VDKd4nsOl41K+09s0ByjlmTRxtMlrP0UwyU719GF K1vZEXBD9aDCEl5DA7cnBpeuINR3UDbJTkret2Z0AcStBRveaC0V67jS2YnYKccGXH09 DdspdKi5sstco5lKHyOjM9vuI/UimKKxD5TvSvgIf2JsKwLFqngQOVU9fPgQxmlH6u1J nxMO5Z2/egPFYR6l13IdQXWohhJCB8fRg0p1PV+Ox5Qn42yjEylLyosayLM2ccCuVfE8 nPUQ== X-Gm-Message-State: AHPjjUiZmGoigpyOClfxI40cl2qZKGmNHnlDfyKKxak7EvhMgeEb6F09 oiiQA1qt88AGz/ePQifQx+B3g/ycN7pYFt9yHjY= X-Google-Smtp-Source: AOwi7QDwP1c+0BZzMpqvcNKeW/UspCz/QQks3vheU5IiH1KuVAcwn+3kD69fX+TMwqAAZ6kcEK9nR9iOGhPpONqUjbM= X-Received: by 10.36.181.22 with SMTP id v22mr5685766ite.139.1506673509336; Fri, 29 Sep 2017 01:25:09 -0700 (PDT) Original-Received: by 10.107.129.170 with HTTP; Fri, 29 Sep 2017 01:25:08 -0700 (PDT) Original-Received: by 10.107.129.170 with HTTP; Fri, 29 Sep 2017 01:25:08 -0700 (PDT) In-Reply-To: <87fub6ugw4.fsf@yandex.com> X-detected-operating-system: by eggs.gnu.org: Genre and OS details not recognized. X-Received-From: 2607:f8b0:4001:c0b::232 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:218880 Archived-At: --f403045d8e92510b93055a4fc351 Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable As an Emacs user that constantly forgets which is which, I love this proposal. On 29 Sep 2017 9:03 am, "Colin Baxter" wrote: I do not like this proposal. >>>>> Robert Weiner writes: > When mode-line line numbers are on by themselves, L > appears. When mode-line column numbers are on by themselves, > C appears. When both are on, (,) > appears. > The latter is inconsistent and always forces the user to remember > which is the line and which is the column number. There are many things about emacs to remember. Surely, a single depression of an arrow key is sufficient to remind the forgetful. I disagree, that is a weak argument. This is a situation where we can make it so that reading both line and column number takes zero cognitive effort and zero key presses. The solution is simple and self evident. There is no cost for this change. Just be consistent with how these numbers are displayed by themselves. > simple, simply remove the parentheses which are no longer needed > and add the prefix character to each number for: > L,C. This makes the display perfectly > consistent, easier to read and does not take up any more character > space. With respect, that is a matter of opinion. I find the parenthesis useful delimiters on the mode-line. Besides, they are present for features other than line-column numbers. 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. Thanks for the proposal, Jos=C3=A9 M --f403045d8e92510b93055a4fc351 Content-Type: text/html; charset="UTF-8" Content-Transfer-Encoding: quoted-printable
As an Emacs user that constantly forgets which is wh= ich, I love this proposal.

On 29 Sep 2017 9:03 am, "Colin Baxter" <m43cap@yandex.com> wrote:
I do not like this proposal.
>>>>> Robert Weiner <rsw@gnu.org> writes:

=C2=A0 =C2=A0 > When mode-line line numbers are on by themselves, L<l= ine-num>
=C2=A0 =C2=A0 > appears.=C2=A0 When mode-line column numbers are on by t= hemselves,
=C2=A0 =C2=A0 > C<col-num> appears.=C2=A0 When both are on, (<l= ine-num>,<col-num>)
=C2=A0 =C2=A0 > appears.

=C2=A0 =C2=A0 > The latter is inconsistent and always forces the user to= remember
=C2=A0 =C2=A0 > which is the line and which is the column number.

There are many things about emacs to remember. Surely, a single
depression of an arrow key is sufficient to remind the forgetful.

I disagree, that is a weak argument. Thi= s is a situation where we can make it so that reading both line and column = number takes zero cognitive effort and zero key presses.
The solution is simple and self evident. There is no cost for this cha= nge. Just be consistent with how these numbers are displayed by themselves.=

=C2=A0 =C2=A0 > simple, simply remove the parentheses which are no longe= r needed
=C2=A0 =C2=A0 > and add the prefix character to each number for:
=C2=A0 =C2=A0 > L<line-num>,C<col-num>. This makes the displ= ay perfectly
=C2=A0 =C2=A0 > consistent, easier to read and does not take up any more= character
=C2=A0 =C2=A0 > space.

With respect, that is a matter of opinion. I find the parenthesis use= ful
delimiters on the mode-line. Besides, they are present for features
other than line-column numbers.


If it is a matter of opinion, I wanted to take the time to show m= y support for this patch. At the very least I'd like to be able to togg= le it.

Thanks for the pr= oposal,

Jos=C3=A9 M
--f403045d8e92510b93055a4fc351--