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: Delete variables obsolete since Emacs 23 Date: Tue, 18 Aug 2020 00:06:32 -0400 Message-ID: References: <20200515175844.18941.61355@vcs0.savannah.gnu.org> <20200515175845.997EC20999@vcs0.savannah.gnu.org> <20083fc0-59ca-444b-b18d-69e2f79d8c57@default> <14113880-109b-4315-8970-1100b248bd30@default> <38b4c392-0a02-4505-87df-74d29e872ee7@default> 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="40344"; mail-complaints-to="usenet@ciao.gmane.io" Cc: emacs-devel@gnu.org, stefankangas@gmail.com, monnier@iro.umontreal.ca To: Drew Adams Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane-mx.org@gnu.org Tue Aug 18 06:07:12 2020 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 1k7su0-000AQj-4m for ged-emacs-devel@m.gmane-mx.org; Tue, 18 Aug 2020 06:07:12 +0200 Original-Received: from localhost ([::1]:43316 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1k7stz-0002e3-7F for ged-emacs-devel@m.gmane-mx.org; Tue, 18 Aug 2020 00:07:11 -0400 Original-Received: from eggs.gnu.org ([2001:470:142:3::10]:46732) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1k7stO-0001pp-ND for emacs-devel@gnu.org; Tue, 18 Aug 2020 00:06:34 -0400 Original-Received: from fencepost.gnu.org ([2001:470:142:3::e]:44447) by eggs.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1k7stO-0004bj-De; Tue, 18 Aug 2020 00:06:34 -0400 Original-Received: from rms by fencepost.gnu.org with local (Exim 4.82) (envelope-from ) id 1k7stM-0004Vr-GR; Tue, 18 Aug 2020 00:06:32 -0400 In-Reply-To: <38b4c392-0a02-4505-87df-74d29e872ee7@default> (message from Drew Adams on Mon, 17 Aug 2020 07:20:57 -0700 (PDT)) 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:253922 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. ]]] > > I think we are miscommunicating. You seem to be talking about > > called-interactively-p. I am talking about making your function take > > an optional argument. > What "your function" are you talking about? The function which calls `interactive-p'. It's in your code, right? So I refer to it as yours. You should change that function to have an additional optional argument and use `interactive' to silently supply a non-nil value for it when it gets called interactively. Then use that argument instead of calling `interactive-p'. -- 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)