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: Stefan Kangas
Subject: Re: Pushing the mark from a primitive like goto-char
Date: Mon, 28 Dec 2020 08:56:00 -0600

Philipp Stephani <p.stephani2@gmail.com> writes:

>> goto-char is an interactive function that has the potential to take you
>> long distances, so it might be a good idea, for user convenience, to
>> push the mark as a documented side effect (is it a good idea?).
>
> goto-char is a low-level primitive that's used pervasively in Emacs
> Lisp code. I think that pushing the mark would be a way too drastic
> change.

Agreed.

But would it perhaps make sense to push the mark only when it is called
interactively?  Or to replace `M-g c' with a new command that also
pushes mark?



reply via email to

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