GNU bug report logs - #42839
[PATCH] Support displaying line numbers in goto-line

Previous Next

Package: emacs;

Reported by: Stefan Kangas <stefan <at> marxist.se>

Date: Thu, 13 Aug 2020 06:31:01 UTC

Severity: normal

Tags: patch

Done: Stefan Kangas <stefan <at> marxist.se>

Bug is archived. No further changes may be made.

Full log


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

From: Stefan Kangas <stefan <at> marxist.se>
To: Eli Zaretskii <eliz <at> gnu.org>
Cc: 42839 <at> debbugs.gnu.org
Subject: Re: bug#42839: [PATCH] Support displaying line numbers in goto-line
Date: Thu, 13 Aug 2020 07:30:40 -0700
Eli Zaretskii <eliz <at> gnu.org> writes:

> The variable display-line-numbers is not a simple boolean, it can have
> several values.  I think you intended to show absolute line numbers in
> this case, so just testing whether display-line-numbers is non-nil is
> not enough.  Similarly, restoring the original setting needs more than
> just a call to display-line-numbers-mode.

Right, you are completely correct of course.  I suppose we would also
have to consider that the user might have nlinum, linum, and possibly
other conflicting modes activated.

I should have been more clear that this was more a proof of concept to
see if the idea would fly.

> And this needs a NEWS entry.

Yup.

> Other than that, if someone wants this optional feature, why not?

Thanks.

Best regards,
Stefan Kangas




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

Previous Next


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