[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
bug#9917: bug#5042: bug#9917: 24.0.90; Make `goto-line' consistent with
From: |
Eli Zaretskii |
Subject: |
bug#9917: bug#5042: bug#9917: 24.0.90; Make `goto-line' consistent with the line number from the minibuffer |
Date: |
Fri, 30 Oct 2020 10:19:46 +0200 |
> From: Juri Linkov <juri@linkov.net>
> Cc: larsi@gnus.org, 5042@debbugs.gnu.org, 9917@debbugs.gnu.org,
> monnier@iro.umontreal.ca, dmoncayo@gmail.com
> Date: Fri, 30 Oct 2020 09:27:43 +0200
>
> >> 3. Leave the existing 'M-g g' bound to goto-line, but allow changing
> >> the numbering scheme using a prefix arg and a user option.
> >
> > I like this the best.
>
> If making the current goto-line 'M-g g' more DWIM is not easy to do,
> maybe really a user option could help with such choices:
>
> - always use absolute line numbers;
> - always use relative line numbers;
> - follow the value of display-line-numbers-widen;
> ...
That's also a possibility, but I think "M-1 M-g g" would still be
useful, even with these options, because sometimes the need in
narrow-relative line numbers is a one-time thing.