From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!.POSTED!not-for-mail From: Stefan Monnier Newsgroups: gmane.emacs.devel Subject: `interactive-form` symbol property (was: [Emacs-diffs] emacs-26 9a53b6d: Say how to override a primitive interactive spec) Date: Sun, 24 Jun 2018 09:54:14 -0400 Message-ID: References: <20180624121111.28772.8847@vcs0.savannah.gnu.org> <20180624121113.215CF206CC@vcs0.savannah.gnu.org> NNTP-Posting-Host: blaine.gmane.org Mime-Version: 1.0 Content-Type: text/plain X-Trace: blaine.gmane.org 1529848346 19556 195.159.176.226 (24 Jun 2018 13:52:26 GMT) X-Complaints-To: usenet@blaine.gmane.org NNTP-Posting-Date: Sun, 24 Jun 2018 13:52:26 +0000 (UTC) User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/27.0.50 (gnu/linux) Cc: Karl Fogel To: emacs-devel@gnu.org Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Sun Jun 24 15:52:22 2018 Return-path: Envelope-to: ged-emacs-devel@m.gmane.org Original-Received: from lists.gnu.org ([208.118.235.17]) by blaine.gmane.org with esmtp (Exim 4.84_2) (envelope-from ) id 1fX5RG-0004wq-6u for ged-emacs-devel@m.gmane.org; Sun, 24 Jun 2018 15:52:22 +0200 Original-Received: from localhost ([::1]:42024 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1fX5TL-0005yU-Oh for ged-emacs-devel@m.gmane.org; Sun, 24 Jun 2018 09:54:31 -0400 Original-Received: from eggs.gnu.org ([2001:4830:134:3::10]:42728) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1fX5TC-0005yP-17 for emacs-devel@gnu.org; Sun, 24 Jun 2018 09:54:22 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1fX5T7-0000Ch-5Z for emacs-devel@gnu.org; Sun, 24 Jun 2018 09:54:22 -0400 Original-Received: from pruche.dit.umontreal.ca ([132.204.246.22]:44836) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1fX5T7-00009q-0i for emacs-devel@gnu.org; Sun, 24 Jun 2018 09:54:17 -0400 Original-Received: from ceviche.home (lechon.iro.umontreal.ca [132.204.27.242]) by pruche.dit.umontreal.ca (8.14.7/8.14.1) with ESMTP id w5ODsEPl011591; Sun, 24 Jun 2018 09:54:15 -0400 Original-Received: by ceviche.home (Postfix, from userid 20848) id 89CE9660EB; Sun, 24 Jun 2018 09:54:14 -0400 (EDT) In-Reply-To: (Stefan Monnier's message of "Sun, 24 Jun 2018 09:42:39 -0400") X-NAI-Spam-Flag: NO X-NAI-Spam-Threshold: 5 X-NAI-Spam-Score: 0 X-NAI-Spam-Rules: 2 Rules triggered EDT_SA_DN_PASS=0, RV6314=0 X-NAI-Spam-Version: 2.3.0.9418 : core <6314> : inlines <6714> : streams <1790617> : uri <2663348> X-detected-operating-system: by eggs.gnu.org: Genre and OS details not recognized. X-Received-From: 132.204.246.22 X-BeenThere: emacs-devel@gnu.org X-Mailman-Version: 2.1.21 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.org@gnu.org Original-Sender: "Emacs-devel" Xref: news.gmane.org gmane.emacs.devel:226642 Archived-At: >> +If you wish to override a primitive interactive specification, just >> +set the @code{interactive-form} property of the primitive function's >> +symbol (@pxref{Using Interactive}). There is no need to edit C code >> +and recompile Emacs. > You can also use advice-add for the same purpose (it's more > complicated, but it's arguably better behaved). And a quick search seems to indicate that this `interactive-form` property is not used anywhere (not within Emacs, not within GNU ELPA, and not within the few other Elisp packages I had lying around for a quick search). Maybe, rather than document it, we should obsolete it? Stefan