From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.io!.POSTED.blaine.gmane.org!not-for-mail From: Sean Whitton Newsgroups: gmane.emacs.devel Subject: Adding eval-command-interactive-spec Date: Tue, 3 Jan 2023 05:41:22 +0000 Message-ID: Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214"; logging-data="12900"; mail-complaints-to="usenet@ciao.gmane.io" To: emacs-devel@gnu.org Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane-mx.org@gnu.org Tue Jan 03 06:42:30 2023 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 1pCa4C-000386-AC for ged-emacs-devel@m.gmane-mx.org; Tue, 03 Jan 2023 06:42:30 +0100 Original-Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1pCa3M-0006w9-HE; Tue, 03 Jan 2023 00:41:36 -0500 Original-Received: from eggs.gnu.org ([2001:470:142:3::10]) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1pCa3I-0006vt-Pk for emacs-devel@gnu.org; Tue, 03 Jan 2023 00:41:33 -0500 Original-Received: from wout5-smtp.messagingengine.com ([64.147.123.21]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1pCa3G-0003VT-Jk for emacs-devel@gnu.org; Tue, 03 Jan 2023 00:41:32 -0500 Original-Received: from compute2.internal (compute2.nyi.internal [10.202.2.46]) by mailout.west.internal (Postfix) with ESMTP id 3E97932004ED for ; Tue, 3 Jan 2023 00:41:25 -0500 (EST) Original-Received: from mailfrontend2 ([10.202.2.163]) by compute2.internal (MEProxy); Tue, 03 Jan 2023 00:41:25 -0500 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=spwhitton.name; h=cc:content-type:date:date:from:from:in-reply-to:message-id :mime-version:reply-to:sender:subject:subject:to:to; s=fm1; t= 1672724484; x=1672810884; bh=6GlwgFm5ytKktIR0ZiPNnnOv/X6Y87SXuJw CFcv55A8=; b=EubvtQ+/QvJfKXnAW1b0F3TwhG28XTi5laeAileWGPTWrkfckz4 R2HwAG3LBDpHy2TaScDNy8pDrpcvQ/ELE91PfCInmw+L9uelC+n/mI4j15dL5jDn 3jSzh5FLPtWFZgiNmgVxatBu+yigLhPGhAelMkf6aW0J+CUnHMpLxzgWqP0SGPod 6D/5tT8nMmbJN1IwWdPNLphbGJbmX/dgzUx8H1kzmo9xL2G7dwTF6V8zL6oUTJLa cUv7pKIXUHWcj/d07vCLRNgUNnlxwhnfubNZqq+8/12QmsgmiOarY1z0Bhk4larN AE5Ov92eaCykeGBEPRULpVx1j9pxAv+te6g== DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d= messagingengine.com; h=cc:content-type:date:date:feedback-id :feedback-id:from:from:in-reply-to:message-id:mime-version :reply-to:sender:subject:subject:to:to:x-me-proxy:x-me-proxy :x-me-sender:x-me-sender:x-sasl-enc; s=fm2; t=1672724484; x= 1672810884; bh=6GlwgFm5ytKktIR0ZiPNnnOv/X6Y87SXuJwCFcv55A8=; b=J hmqKkyidctdZkUz/CshARPrCNo/W2PfoXk3DiXFUUpDp+vch5LEZ62SG5g5sL9QA QmUiKSd35cKPT76kysAjxEw2soPgBHDTSIcyQoDxpMI/ie+XwsMabbxhN25FE2nN MTDeObmTPJdGxUY56LVtnvqikQiU778vT12vlRmOwPOMpOJ4WtTmVTU9Gw07gPWP zN0DC38eBDzEceFh0tim/bR99gq6jPKpcQ5oPQyeFGFJWa+Y+mPtj/MI5Q3SnxnQ g7nJ8eYjaipmN6Xm1csLnrh3nN6teraXEnAAKBw5xzLc3B0hlecQSCt18BWyXrw4 E2anlNrThu/hHIRMnTsRg== X-ME-Sender: X-ME-Received: X-ME-Proxy-Cause: gggruggvucftvghtrhhoucdtuddrgedvhedrjeefgdeklecutefuodetggdotefrodftvf curfhrohhfihhlvgemucfhrghsthforghilhdpqfgfvfdpuffrtefokffrpgfnqfghnecu uegrihhlohhuthemuceftddtnecunecujfgurhepfffhvffukfggtggusehttddttddttd dvnecuhfhrohhmpefuvggrnhcuhghhihhtthhonhcuoehsphifhhhithhtohhnsehsphif hhhithhtohhnrdhnrghmvgeqnecuggftrfgrthhtvghrnhepheeukeeivddvieduieeule egleeuvdelvdeuiefgteeujeetleeujeejiefhtdelnecuvehluhhsthgvrhfuihiivgep tdenucfrrghrrghmpehmrghilhhfrhhomhepshhpfihhihhtthhonhesshhpfihhihhtth honhdrnhgrmhgv X-ME-Proxy: Feedback-ID: i23c04076:Fastmail Original-Received: by mail.messagingengine.com (Postfix) with ESMTPA for ; Tue, 3 Jan 2023 00:41:24 -0500 (EST) Original-Received: by athena.silentflame.com (Postfix, from userid 1000) id 7E42C1B61FB; Tue, 3 Jan 2023 05:41:22 +0000 (UTC) Content-Disposition: inline Received-SPF: pass client-ip=64.147.123.21; envelope-from=spwhitton@spwhitton.name; helo=wout5-smtp.messagingengine.com X-Spam_score_int: -27 X-Spam_score: -2.8 X-Spam_bar: -- X-Spam_report: (-2.8 / 5.0 requ) BAYES_00=-1.9, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, DKIM_VALID_EF=-0.1, RCVD_IN_DNSWL_LOW=-0.7, SPF_HELO_PASS=-0.001, SPF_PASS=-0.001 autolearn=ham autolearn_force=no X-Spam_action: no action X-BeenThere: emacs-devel@gnu.org X-Mailman-Version: 2.1.29 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-bounces+ged-emacs-devel=m.gmane-mx.org@gnu.org Xref: news.gmane.io gmane.emacs.devel:302207 Archived-At: I think that it would be useful to have this: (defun eval-command-interactive-spec (command) (advice-eval-interactive-spec (cadr (or (and (symbolp command) (get command 'interactive-form)) (interactive-form command))))) but I'm not sure where it should go -- nadvice.el? subr.el? subr-x.el? -- Sean Whitton