From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.io!.POSTED.blaine.gmane.org!not-for-mail From: Richard Stallman Newsgroups: gmane.emacs.devel Subject: Re: Pushing the mark from a primitive like goto-char Date: Wed, 06 Jan 2021 00:12:20 -0500 Message-ID: References: <9815d21d-b20e-c6d8-aae0-77aa65a4138a@gmx.at> <87sg7pq2bx.fsf@mail.linkov.net> Reply-To: rms@gnu.org Content-Type: text/plain; charset=Utf-8 Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214"; logging-data="27847"; mail-complaints-to="usenet@ciao.gmane.io" Cc: juri@linkov.net, emacs-devel@gnu.org, rudalics@gmx.at, p.stephani2@gmail.com, stefankangas@gmail.com, mardani29@yahoo.es, monnier@iro.umontreal.ca To: Drew Adams Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane-mx.org@gnu.org Wed Jan 06 06:13:23 2021 Return-path: Envelope-to: ged-emacs-devel@m.gmane-mx.org Original-Received: from lists.gnu.org ([209.51.188.17]) by ciao.gmane.io with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.92) (envelope-from ) id 1kx18N-00079B-Ev for ged-emacs-devel@m.gmane-mx.org; Wed, 06 Jan 2021 06:13:23 +0100 Original-Received: from localhost ([::1]:36922 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1kx18M-0003EW-Hx for ged-emacs-devel@m.gmane-mx.org; Wed, 06 Jan 2021 00:13:22 -0500 Original-Received: from eggs.gnu.org ([2001:470:142:3::10]:59884) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1kx17T-0002SO-1B for emacs-devel@gnu.org; Wed, 06 Jan 2021 00:12:27 -0500 Original-Received: from fencepost.gnu.org ([2001:470:142:3::e]:53065) by eggs.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1kx17P-0000vn-7P; Wed, 06 Jan 2021 00:12:25 -0500 Original-Received: from rms by fencepost.gnu.org with local (Exim 4.82) (envelope-from ) id 1kx17M-0005Gz-7h; Wed, 06 Jan 2021 00:12:20 -0500 In-Reply-To: (message from Drew Adams on Tue, 5 Jan 2021 12:29:41 -0800 (PST)) X-BeenThere: emacs-devel@gnu.org X-Mailman-Version: 2.1.23 Precedence: list List-Id: "Emacs development discussions." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: emacs-devel-bounces+ged-emacs-devel=m.gmane-mx.org@gnu.org Original-Sender: "Emacs-devel" Xref: news.gmane.io gmane.emacs.devel:262575 Archived-At: [[[ To any NSA and FBI agents reading my email: please consider ]]] [[[ whether defending the US Constitution against all enemies, ]]] [[[ foreign or domestic, requires you to follow Snowden's example. ]]] In general, the interactive spec should only read the arguments. The "real work" should be done in the function body once it gets the arguments. The reason for this is clean design, and to gives the right relationship between interactive calls and noninteractive. However, reading the arguments can legitimately have side effects, byproducts of reading the arguments -- for instance, changing the obarray if you need to intern something. -- Dr Richard Stallman Chief GNUisance of the GNU Project (https://gnu.org) Founder, Free Software Foundation (https://fsf.org) Internet Hall-of-Famer (https://internethalloffame.org)