From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.io!.POSTED.blaine.gmane.org!not-for-mail From: Michael Heerdegen Newsgroups: gmane.emacs.bugs Subject: bug#42590: 27.0.91; Advice error for interactive commands Date: Wed, 29 Jul 2020 19:41:35 +0200 Message-ID: <87wo2mfcc0.fsf@web.de> References: Mime-Version: 1.0 Content-Type: text/plain Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214"; logging-data="20072"; mail-complaints-to="usenet@ciao.gmane.io" User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/28.0.50 (gnu/linux) Cc: 42590@debbugs.gnu.org To: Yuan Fu Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane-mx.org@gnu.org Wed Jul 29 19:42:36 2020 Return-path: Envelope-to: geb-bug-gnu-emacs@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 1k0q67-00056x-NW for geb-bug-gnu-emacs@m.gmane-mx.org; Wed, 29 Jul 2020 19:42:35 +0200 Original-Received: from localhost ([::1]:56310 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1k0q66-0007me-Dm for geb-bug-gnu-emacs@m.gmane-mx.org; Wed, 29 Jul 2020 13:42:34 -0400 Original-Received: from eggs.gnu.org ([2001:470:142:3::10]:52958) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1k0q5a-0007mU-Aa for bug-gnu-emacs@gnu.org; Wed, 29 Jul 2020 13:42:02 -0400 Original-Received: from debbugs.gnu.org ([209.51.188.43]:50337) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1k0q5a-0006lC-0t for bug-gnu-emacs@gnu.org; Wed, 29 Jul 2020 13:42:02 -0400 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1k0q5Z-0002tb-VD for bug-gnu-emacs@gnu.org; Wed, 29 Jul 2020 13:42:01 -0400 X-Loop: help-debbugs@gnu.org Resent-From: Michael Heerdegen Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Wed, 29 Jul 2020 17:42:01 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 42590 X-GNU-PR-Package: emacs Original-Received: via spool by 42590-submit@debbugs.gnu.org id=B42590.159604450811110 (code B ref 42590); Wed, 29 Jul 2020 17:42:01 +0000 Original-Received: (at 42590) by debbugs.gnu.org; 29 Jul 2020 17:41:48 +0000 Original-Received: from localhost ([127.0.0.1]:33650 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1k0q5L-0002t8-Mw for submit@debbugs.gnu.org; Wed, 29 Jul 2020 13:41:47 -0400 Original-Received: from mout.web.de ([212.227.15.3]:43911) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1k0q5H-0002ss-RO for 42590@debbugs.gnu.org; Wed, 29 Jul 2020 13:41:46 -0400 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=web.de; s=dbaedf251592; t=1596044497; bh=9q9nsMrQRSHa28dhMInvqv85gP3+IDHeieuec3fd8vo=; h=X-UI-Sender-Class:From:To:Cc:Subject:References:Date:In-Reply-To; b=OxK1mJtbbKO2jpqcHgvGFuGgJ2hTjN5+TQZoAu8KPWibVGDaniAYvgdCpa7AsFixS 6h3n8mR9rcd36vLET++4aYZjpp1R/EdnzPTqFQj4gofPt5Ud1t6MQ0t7p5zww4uVjX ZR1BAKfxpoQpYXIAOgXVFbZSIka1m/9yDvyaOE10= X-UI-Sender-Class: c548c8c5-30a9-4db5-a2e7-cb6cb037b8f9 Original-Received: from drachen.dragon ([92.76.215.78]) by smtp.web.de (mrweb005 [213.165.67.108]) with ESMTPSA (Nemesis) id 1MsaWF-1ku3Kt3HZb-00u18y; Wed, 29 Jul 2020 19:41:36 +0200 In-Reply-To: (Yuan Fu's message of "Tue, 28 Jul 2020 21:58:25 -0400") X-Provags-ID: V03:K1:tRwfU9xdaZjBNN9nD7ugrV+ZREenW/aTIaxhJdTr6EtkBfvXx4m p/MiacjdeQC5GeQv+1Lcedl0Fim4rK5FP+n4AkNfL53KkVqS8r9DiAJBSmKZhFaGXsIhwd8 C42icVjRtHdUjq3kJAsMBgADE+4STuXTDQDR815c19Zt8ECjZsK3vy0ibEYfkyJg4pqNwVY gXCQLTVm5DdxG1ammA6+w== X-UI-Out-Filterresults: notjunk:1;V03:K0:pQYRDSr30Ps=:jET9xijkiD8pBrsPUbXopG BElRY7c9u1QaOSUUCPAVrOF3T3alealuiaab/cnnHXVkSf79Y0aIP5lsKAE/aLUnwBrtKFTvy EnCWGbSlq6ThGCvXj65LmfDwDVWF/gxVwyVlvLd2KmVywqywP+EZCTyTyHNYvrULuye24EJDo 7GuCZe01NVuc/8K5TomxgM4AC4ZVNxHzgjLv9+kZKkB6GMFg3/JTxNsM6hKRhft5+oAWE5JnX NIp3o5qXtcAD+dNWzplJ2s7KBfVBSF3A9mxqO7ueh0ZZKMEHNzqD+t59tAT3Y8aevXfHEcRTz fPeeblwuQA/ez6GKSyb5ggzBDj8f6Uwjnq0eP95yGfoPkVntZW7HUR0sOr8oR7L438qYyUfr5 S+DqLhf1ZEIRdLc7tZO6zAG76ZhQRHPFlzzgJad6LIPCPLJKknE6LOjpOVzedeyGzISpmnPft Ckx1ETMPCKEVRz4pkO/F+Hv7VT9ifD1cU70NcpN2VhHlEK6UsF67OmsZMBdla7Igz9ylt+Hv3 as7F+w+ffuUGciUwgzFAluehqV5nt5Qn68G5KmMgLWswq7S2hBrtUPVuAbQO4SyM4g8duDDt5 04OXOmzu5mmi3j8ExorC4AbNRR/z0UolfYh/mwGFPa/YLfmMl+CXM+1iIxgNamWe4QRmvECSI Iyru80Ru4XP/QfsrzadJgKHNHPPZYS+/7mh21bVum02iohidMCWICswwYv4SaryASUtHhGWtR vNwK7yKVoqx2kyAoLXo/s87HzlnGLE3fHNhE1bgpgeorVOMZ19VzWn1Lr15Diiq7JiTp+IbN X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list X-BeenThere: bug-gnu-emacs@gnu.org List-Id: "Bug reports for GNU Emacs, the Swiss army knife of text editors" List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane-mx.org@gnu.org Original-Sender: "bug-gnu-emacs" Xref: news.gmane.io gmane.emacs.bugs:183670 Archived-At: Yuan Fu writes: > To reproduce the issue, evaluate > > (advice-add 'backward-delete-char-untabify :after 'ignore) > > and hit backspace (which should call backward-delete-char-untabify), and > an error occurs: apply: Wrong number of arguments: (1 . 2), 0 Had to think about it. But it's expected I think: `ignore' is interactive, and as documented, its interactive spec overwrites the interactive spec of the original function. And it doesn't fit. So everything behaves as documented, it's your specified after advice that causes the problem. Right? Michael.