[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
bug#5042: bug#9917: bug#5042: bug#9917: 24.0.90; Make `goto-line' consis
From: |
Juri Linkov |
Subject: |
bug#5042: bug#9917: bug#5042: bug#9917: 24.0.90; Make `goto-line' consistent with the line number from the minibuffer |
Date: |
Sat, 31 Oct 2020 21:28:41 +0200 |
User-agent: |
Gnus/5.13 (Gnus v5.13) Emacs/28.0.50 (x86_64-pc-linux-gnu) |
>> 1. Bind 'M-g v' to goto-line-relative, while leaving 'M-g g'
>> bound to goto-line that currently uses absolute line numbers
>> (btw, this fact should be mentioned in its docstring);
>
> This makes most sense to me -- sometimes you want to go relative (when
> you're working on stuff wrt. the buffer) and sometimes you want to go
> absolute (when you're looking at external data, like error reports and
> the like).
>
> So two commands (and keystrokes), and document the difference properly.
What do you think about binding upper-case 'M-G G' to goto-line,
where the big G has mnemonics of more global absolute line numbers,
and binding lower-case 'M-g g' to goto-line-relative where
the little g means more local relative addressing.