GNU bug report logs - #46167
28.0.50; [Feature Request] Handle goto-map digit as goto-line

Previous Next

Package: emacs;

Reported by: Michael Welsh Duggan <mwd <at> md5i.com>

Date: Fri, 29 Jan 2021 03:17:01 UTC

Severity: wishlist

Tags: wontfix

Found in version 28.0.50

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

Bug is archived. No further changes may be made.

Full log


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

From: Juri Linkov <juri <at> linkov.net>
To: Michael Welsh Duggan <mwd <at> md5i.com>
Cc: 46167 <at> debbugs.gnu.org
Subject: Re: bug#46167: 28.0.50; [Feature Request] Handle goto-map digit as
 goto-line
Date: Fri, 29 Jan 2021 10:47:10 +0200
> I recommend that the ten decimal digits be bound in `goto-map' to a
> function that calls `goto-line', bringing up a prompt with the given
> digit as the default value.  For example:
>
> `M-g 4' should result in the following prompt:
>
>   Goto line: 4!
>
> where ! represents the location of the point.  I've implemented this in
> my init file, but as I have had difficulty getting a legal disclaimer
> from my employer in the past (they want to have every single change go
> to the lawyers separately), I'm holding back on sending any
> implementation.

Fortunately, it's already easy to go to e.g. line 42 by typing just

  42gg

while holding the Meta key, i.e. M-4 M-2 M-g M-g.




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

Previous Next


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