GNU bug report logs - #28648
Make mode-line number display consistent when both line and col numbers are shown.

Previous Next

Package: emacs;

Reported by: rswgnu <at> gmail.com

Date: Fri, 29 Sep 2017 16:01:02 UTC

Severity: wishlist

Tags: fixed

Fixed in version 28.1

Done: Lars Ingebrigtsen <larsi <at> gnus.org>

Bug is archived. No further changes may be made.

Full log


Message #32 received at 28648 <at> debbugs.gnu.org (full text, mbox):

From: Robert Weiner <rsw <at> gnu.org>
To: Eli Zaretskii <eliz <at> gnu.org>
Cc: 28648 <at> debbugs.gnu.org
Subject: Re: Make mode-line number display consistent when both line and col
 numbers are shown.
Date: Fri, 29 Sep 2017 16:15:43 -0400
[Message part 1 (text/plain, inline)]
On Fri, Sep 29, 2017 at 4:08 PM, Eli Zaretskii <eliz <at> gnu.org> wrote:

> > From: Robert Weiner <rsw <at> gnu.org>
> > Date: Fri, 29 Sep 2017 15:23:30 -0400
> > Cc: 28648 <at> debbugs.gnu.org
> >
> >  If you are asking for an optional feature that would display these
> >  indicators as we did 15 years ago, I'm okay with adding it. (We
> >  already have quite a few optional variations on similar themes, but
> >  one more cannot do too much harm, I guess.)
> >
> > ​Can you explain how that would work? How would you modify the line and
> col display format?
>
> By providing a defcustom which will arrange for mode-line-format to
> have the right stuff, I suppose.
>

​Just change the patch to use a defcustom instead of the defvar for the
line and col format strings.
​

>
> > ​We have two separate issues here:
> >
> > 1. The default line and col display format: I was suggesting the change
> for consistency sake.​ If it could be
> > made an easy-to-trigger option on the popup menu that controls this
> display, I could support that.
> >
> > 2. The ability to easily change the line and col display format strings:
> My patch solves that issue.
>
> Your patch makes the change unconditional for everyone.  I don't think
> we should do that, especially since we once went in the opposite
> direction.
>

​Ok, then just modify the one line-and-col string to be as it presently is
in Emacs (that's the only one that was modified) and users will not see a
change unless they customize the format strings.

Bob
​
[Message part 2 (text/html, inline)]

This bug report was last modified 4 years and 333 days ago.

Previous Next


GNU bug tracking system
Copyright (C) 1999 Darren O. Benham, 1997,2003 nCipher Corporation Ltd, 1994-97 Ian Jackson.