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




reply via email to

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