all messages for Emacs-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
From: Robert Weiner <rsw@gnu.org>
To: Eli Zaretskii <eliz@gnu.org>
Cc: Richard Stallman <rms@gnu.org>, 28648@debbugs.gnu.org
Subject: bug#28648: Make mode-line number display consistent when both line and col numbers are shown.
Date: Fri, 29 Sep 2017 13:45:01 -0400	[thread overview]
Message-ID: <CA+OMD9gA8tvh9XeSevOt4-G9nKOYUe4LWMO6NAd5UMDdnRby8A@mail.gmail.com> (raw)
In-Reply-To: <83ing177uv.fsf@gnu.org>

[-- Attachment #1: Type: text/plain, Size: 2004 bytes --]

On Fri, Sep 29, 2017 at 1:06 PM, Eli Zaretskii <eliz@gnu.org> wrote:

> > From: Robert Weiner <rsw@gnu.org>
> > Date: Thu, 28 Sep 2017 17:56:50 -0400
> >
> > When mode-line line numbers are on by themselves, L<line-num> appears.
> > When mode-line column numbers are on by themselves, C<col-num> appears.
> > When both are on, (<line-num>,<col-num>) appears.
> >
> > The latter is inconsistent and always forces the user to remember which
> is the line and which is the column
> > number. Fixing this is simple, simply remove the parentheses which are
> no longer needed and add the prefix
> > character to each number for: L<line-num>,C<col-num>. This makes the
> display perfectly consistent, easier
> > to read and does not take up any more character space.
>
> We had "Ln Cn" kind of display in Emacs 21 and before, and we changed
> that to the current display in Emacs 22.1 (the change itself is from
> Aug 2002).


​Was there any particular rationale for this?

I offered my rationale for this change above; can't we debate the merits
rather than that we changed it long ago?

  Does it really make sense to go back after 15 years?
>
> If you personally dislike the default display, you can always
> customize mode-line-format in your sessions, can't you?
>

​As I noted, this is way too hard with the current code.  My patch makes
such personal changes easy, so in the worst case, you could apply it but
leave the display format strings the same.  I already have this installed
for my use.  The issue is making Emacs do something better and easier to
understand for a broad array of users.  Maybe you could just ask people to
chime in with which format they prefer: (<num>,<num>) or L<num>,C<num> or
even (L<num>,C<num>).


> > Eli, would you change this for Emacs 26? It would be nice to have the
> consistency.
>
> Well, we used to like the current "inconsistency" better.
>

​I assume that is in jest.  If not, please explain.

Bob
​

[-- Attachment #2: Type: text/html, Size: 3727 bytes --]

  reply	other threads:[~2017-09-29 17:45 UTC|newest]

Thread overview: 29+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2017-09-28 21:56 Make mode-line number display consistent when both line and col numbers are shown Robert Weiner
2017-09-29  7:02 ` Colin Baxter
2017-09-29  8:25   ` Jose Arroyo
2017-09-29  9:22     ` Colin Baxter
2017-09-29 13:26       ` Robert Weiner
2017-09-29 16:23         ` Robert Weiner
2017-09-29 17:35         ` John Wiegley
2017-09-29 18:16           ` Eli Zaretskii
2017-09-29 18:20             ` bug#28648: " Robert Weiner
2017-09-29 18:26             ` Richard Copley
2017-09-29 18:30               ` Kaushal Modi
2017-09-29 18:48                 ` Yuri Khan
2017-09-29 19:17                   ` Robert Weiner
2017-09-29 19:30                     ` Richard Copley
2017-09-29 19:31                   ` Stefan Monnier
2017-09-29 13:14     ` Robert Weiner
2017-09-29 17:06 ` Eli Zaretskii
2017-09-29 17:45   ` Robert Weiner [this message]
2017-09-29 18:20     ` bug#28648: " Eli Zaretskii
2017-09-29 18:48       ` Robert Weiner
2017-09-29 21:55         ` Richard Stallman
2017-09-29 17:49   ` John Wiegley
2017-09-29 18:17     ` bug#28648: " Robert Weiner
2017-09-29 19:15       ` Eli Zaretskii
2017-09-29 19:23         ` Robert Weiner
2017-09-29 20:08           ` Eli Zaretskii
2017-09-29 20:15             ` Robert Weiner
2017-09-30  3:03             ` Drew Adams
  -- strict thread matches above, loose matches on Subject: below --
2017-09-29 15:59 Robert Weiner

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=CA+OMD9gA8tvh9XeSevOt4-G9nKOYUe4LWMO6NAd5UMDdnRby8A@mail.gmail.com \
    --to=rsw@gnu.org \
    --cc=28648@debbugs.gnu.org \
    --cc=eliz@gnu.org \
    --cc=rms@gnu.org \
    --cc=rswgnu@gmail.com \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
Code repositories for project(s) associated with this external index

	https://git.savannah.gnu.org/cgit/emacs.git
	https://git.savannah.gnu.org/cgit/emacs/org-mode.git

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.