[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?
- Pushing the mark from a primitive like goto-char, Daniel Martín, 2020/12/28
- Re: Pushing the mark from a primitive like goto-char, Philipp Stephani, 2020/12/28
- Re: Pushing the mark from a primitive like goto-char, Daniel Martín, 2020/12/28
- Re: Pushing the mark from a primitive like goto-char, Eli Zaretskii, 2020/12/28
- Re: Pushing the mark from a primitive like goto-char,
Stefan Kangas <=
- Re: Pushing the mark from a primitive like goto-char, Philipp Stephani, 2020/12/28
- Re: Pushing the mark from a primitive like goto-char, martin rudalics, 2020/12/28
- Re: Pushing the mark from a primitive like goto-char, Juri Linkov, 2020/12/28
- Re: Pushing the mark from a primitive like goto-char, martin rudalics, 2020/12/29
- Re: Pushing the mark from a primitive like goto-char, Stefan Kangas, 2020/12/29
- Re: Pushing the mark from a primitive like goto-char, martin rudalics, 2020/12/29
- RE: Pushing the mark from a primitive like goto-char, Drew Adams, 2020/12/29
- Re: Pushing the mark from a primitive like goto-char, Juri Linkov, 2020/12/29
- Re: Pushing the mark from a primitive like goto-char, Eli Zaretskii, 2020/12/29
- Re: Pushing the mark from a primitive like goto-char, Juri Linkov, 2020/12/30