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: Eli Zaretskii
Subject: Re: Pushing the mark from a primitive like goto-char
Date: Mon, 28 Dec 2020 16:49:32 +0200

> From: Philipp Stephani <p.stephani2@gmail.com>
> Date: Mon, 28 Dec 2020 15:17:30 +0100
> Cc: Emacs developers <emacs-devel@gnu.org>
> 
> Am Mo., 28. Dez. 2020 um 13:15 Uhr schrieb Daniel Martín <mardani29@yahoo.es>:
> > 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.

I tend to agree.  I think this is the reason why goto-char was not
made to push the mark in the first place.



reply via email to

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