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


View this message in rfc822 format

From: help-debbugs <at> gnu.org (GNU bug Tracking System)
To: Stefan Kangas <stefan <at> marxist.se>
Cc: tracker <at> debbugs.gnu.org
Subject: bug#42839: closed ([PATCH] Support displaying line numbers in
 goto-line)
Date: Fri, 09 Oct 2020 21:23:01 +0000
[Message part 1 (text/plain, inline)]
Your message dated Fri, 9 Oct 2020 21:22:47 +0000
with message-id <CADwFkmk9xzLnu1-h0JgK2JZincwWrvV-igSxNa036-y01Ns1MQ <at> mail.gmail.com>
and subject line Re: bug#42839: [PATCH] Support displaying line numbers in goto-line
has caused the debbugs.gnu.org bug report #42839,
regarding [PATCH] Support displaying line numbers in goto-line
to be marked as done.

(If you believe you have received this mail in error, please contact
help-debbugs <at> gnu.org.)


-- 
42839: http://debbugs.gnu.org/cgi/bugreport.cgi?bug=42839
GNU Bug Tracking System
Contact help-debbugs <at> gnu.org with problems
[Message part 2 (message/rfc822, inline)]
From: Stefan Kangas <stefan <at> marxist.se>
To: bug-gnu-emacs <at> gnu.org
Subject: [PATCH] Support displaying line numbers in goto-line
Date: Wed, 12 Aug 2020 23:30:42 -0700
[Message part 3 (text/plain, inline)]
Here's an interesting idea I picked up from Reddit: make goto-line
enable display-line-numbers-mode temporarily when prompting.  Please see
the attached patch.

Comments or thoughts welcome, as always.

Best regards,
Stefan Kangas

PS. I added a new defcustom to enable this behaviour, by default set to
    nil.  But if it seems useful, it would be nifty if we could enable
    it by default.  (I have no idea if display-line-numbers-mode is
    stable enough in all scenarios, however.)
[0001-Support-displaying-line-numbers-in-goto-line.patch (text/x-diff, attachment)]
[Message part 5 (message/rfc822, inline)]
From: Stefan Kangas <stefan <at> marxist.se>
To: 42839-done <at> debbugs.gnu.org
Subject: Re: bug#42839: [PATCH] Support displaying line numbers in goto-line
Date: Fri, 9 Oct 2020 21:22:47 +0000
Stefan Kangas <stefan <at> marxist.se> writes:

> Here's an interesting idea I picked up from Reddit: make goto-line
> enable display-line-numbers-mode temporarily when prompting.  Please see
> the attached patch.
>
> Comments or thoughts welcome, as always.

There were no massive enthusiasm for this idea, and I sort of lost
interest.  It would need some more work, and there are obviously many
other areas where time could be usefully spent.  So I'm closing this bug
for now.

Thanks to Robert and Eli who contributed their thoughts.  Hopefully we
will be able to dig up this thread if we ever return to this idea in the
future.

PS. If anyone wants to pick up the ball, they should feel free to do so.


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.