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: Daniel Martín
Subject: Re: Pushing the mark from a primitive like goto-char
Date: Mon, 28 Dec 2020 15:45:08 +0100
User-agent: Gnus/5.13 (Gnus v5.13) Emacs/27.1 (darwin)

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

> 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.

But, AFAIK, goto-char is a function that is used both interactively and
in ELisp programs.  I meant to suggest pushing the mark only when used
interactively.


reply via email to

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