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 #8 received at 42839 <at> debbugs.gnu.org (full text, mbox):

From: Robert Pluim <rpluim <at> gmail.com>
To: Stefan Kangas <stefan <at> marxist.se>
Cc: 42839 <at> debbugs.gnu.org
Subject: Re: bug#42839: [PATCH] Support displaying line numbers in goto-line
Date: Thu, 13 Aug 2020 10:30:01 +0200
>>>>> On Wed, 12 Aug 2020 23:30:42 -0700, Stefan Kangas <stefan <at> marxist.se> said:

    Stefan> Here's an interesting idea I picked up from Reddit: make goto-line
    Stefan> enable display-line-numbers-mode temporarily when prompting.  Please see
    Stefan> the attached patch.

    Stefan> Comments or thoughts welcome, as always.

Hmm, if the line youʼre going to is visible, why would
you need goto-line to show line numbers? For that matter, why not just
move to the line using other motion commands?

And if itʼs not visible, what does showing line numbers for the lines
that are visible get you?

You'd have to add some interactive 'scroll window to show target line'
functionality, I think.

Robert




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

Previous Next


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