[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
RE: Pushing the mark from a primitive like goto-char
From: |
Drew Adams |
Subject: |
RE: Pushing the mark from a primitive like goto-char |
Date: |
Tue, 5 Jan 2021 12:29:41 -0800 (PST) |
> The interactive specification should only
> gather input, but not perform state changes.
Why? In what contexts? Or are you proposing
this as a blanket rule?
The interactive spec is just code evaluated when
the function is invoked interactively, and which
can (but need not) return values to be used as
args for the function. Nothing more.
The interactive spec can do anything you
need/want it to do. Likewise, the function's
non-interactive code (aka body).
This is Lisp. Code can change state. It's up
to the author - you get the behavior you code.
- Re: Pushing the mark from a primitive like goto-char, Daniel Martín, 2021/01/05
- Re: Pushing the mark from a primitive like goto-char, Stefan Monnier, 2021/01/05
- Re: Pushing the mark from a primitive like goto-char, Stefan Monnier, 2021/01/05
- Re: Pushing the mark from a primitive like goto-char, Eli Zaretskii, 2021/01/05
- Re: Pushing the mark from a primitive like goto-char, Philipp Stephani, 2021/01/05
- Re: Pushing the mark from a primitive like goto-char, Gabriel do Nascimento Ribeiro, 2021/01/06