emacs-devel
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Pushing the mark from a primitive like goto-char


From: Juri Linkov
Subject: Re: Pushing the mark from a primitive like goto-char
Date: Wed, 30 Dec 2020 11:41:45 +0200
User-agent: Gnus/5.13 (Gnus v5.13) Emacs/28.0.50 (x86_64-pc-linux-gnu)

>> Since there is a new unbound command 'goto-line-relative'
>> maybe then we could add it to 'goto-map' it as follows:
>> 
>>   M-g M-G         goto-line
>>   M-g M-g         goto-line-relative
>
> Isn't `M-g M-g' already bound to `goto-line'?
>
> Why would you move that command to `M-g M-G' and give
> its longstanding binding, `M-g M-g', to the new command?
>
> I'm sure there must be some logic behind your
> suggestion (you typically give reasons, thankfully),
> but it's not clear to me why we'd want to move
> `goto-line'.  (And I can't think about it, as I have
> no idea what `goto-line-relative' is/does.)

Because there is no difference between them when the buffer
is not narrowed, i.e. most users won't notice the difference.
Alternatively, 'M-g M-G' could be bound to goto-line-relative
(if it's still easy to type on tty).  The choice mostly depends on
what the users will mostly use: goto-line or goto-line-relative?



reply via email to

[Prev in Thread] Current Thread [Next in Thread]