From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.io!.POSTED.blaine.gmane.org!not-for-mail From: Yuan Fu Newsgroups: gmane.emacs.bugs Subject: bug#42590: 27.0.91; Advice error for interactive commands Date: Tue, 28 Jul 2020 21:58:25 -0400 Message-ID: Mime-Version: 1.0 (Mac OS X Mail 13.4 \(3608.80.23.2.2\)) Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: quoted-printable Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214"; logging-data="23817"; mail-complaints-to="usenet@ciao.gmane.io" To: 42590@debbugs.gnu.org Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane-mx.org@gnu.org Wed Jul 29 03:59:13 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 1k0bNA-00066I-C7 for geb-bug-gnu-emacs@m.gmane-mx.org; Wed, 29 Jul 2020 03:59:12 +0200 Original-Received: from localhost ([::1]:34182 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1k0bN9-0001FI-E0 for geb-bug-gnu-emacs@m.gmane-mx.org; Tue, 28 Jul 2020 21:59:11 -0400 Original-Received: from eggs.gnu.org ([2001:470:142:3::10]:57416) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1k0bN1-0001FB-SQ for bug-gnu-emacs@gnu.org; Tue, 28 Jul 2020 21:59:03 -0400 Original-Received: from debbugs.gnu.org ([209.51.188.43]:47993) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1k0bN0-0002IB-3i for bug-gnu-emacs@gnu.org; Tue, 28 Jul 2020 21:59:03 -0400 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1k0bN0-000265-1r for bug-gnu-emacs@gnu.org; Tue, 28 Jul 2020 21:59:02 -0400 X-Loop: help-debbugs@gnu.org Resent-From: Yuan Fu Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Wed, 29 Jul 2020 01:59:01 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: report 42590 X-GNU-PR-Package: emacs X-Debbugs-Original-To: Bug Report Emacs Original-Received: via spool by submit@debbugs.gnu.org id=B.15959879138024 (code B ref -1); Wed, 29 Jul 2020 01:59:01 +0000 Original-Received: (at submit) by debbugs.gnu.org; 29 Jul 2020 01:58:33 +0000 Original-Received: from localhost ([127.0.0.1]:59539 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1k0bMX-00025M-8J for submit@debbugs.gnu.org; Tue, 28 Jul 2020 21:58:33 -0400 Original-Received: from lists.gnu.org ([209.51.188.17]:36644) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1k0bMV-00025C-B0 for submit@debbugs.gnu.org; Tue, 28 Jul 2020 21:58:32 -0400 Original-Received: from eggs.gnu.org ([2001:470:142:3::10]:57258) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1k0bMV-0001DA-1Y for bug-gnu-emacs@gnu.org; Tue, 28 Jul 2020 21:58:31 -0400 Original-Received: from mail-qv1-xf2f.google.com ([2607:f8b0:4864:20::f2f]:38947) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1k0bMT-0002EI-3F for bug-gnu-emacs@gnu.org; Tue, 28 Jul 2020 21:58:30 -0400 Original-Received: by mail-qv1-xf2f.google.com with SMTP id o2so10128223qvk.6 for ; Tue, 28 Jul 2020 18:58:28 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=from:content-transfer-encoding:mime-version:subject:message-id:date :to; bh=NA5g6hRCjRV3AV4DZy85Y3QczosSl+yy9aK4U67PJ7w=; b=Lzo9j5EihGxohlISEZxSxC5qoNhUt2/wozycRTVVOti5UeCYbArF85dNMOeHMUwq8S S5Dx1zgENDNsy8b1ae7hmI0qopySpMyrKLR5nRR8/ZMqgUBCzcLciRTcvxpjY1atnCKR WnisC4+s+jmKaV0TXRIf7Z3M2kmPEmPlER7ReL1UV6yFSaV4rApIMbfgbtJK7tN2KRBl KPsZRmWy/BR1iL4bsOoQa95R6TNO5G24vtJR/U0ZDo+CBfXffh0yMLBzFn3ix+e3BfvK 3V8lURPv6yvulqgeey81PW1vHTjpaGE4LS9+D+8nzkKmy7m7MwA1OwOpY1E1L/heJ4KE Q9Mg== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:from:content-transfer-encoding:mime-version :subject:message-id:date:to; bh=NA5g6hRCjRV3AV4DZy85Y3QczosSl+yy9aK4U67PJ7w=; b=ofch6/pBSpzgw9BSkl/sZVicoFETOZM01wTYpWzLfR1NFlfjmKDan/ZtwKS4+kCPIo LBmNR8KeUDVyJMhHBrEvrbPs6q67q7jv3GWGC4OetelOmYDr7aL4z9dNTxKD5JV82mzF o5tJdGnH+2Ur0vmdwG3TIQwVlcAFEuh48K/917MyKr7xmeYknLItgW68jX5ZgVbHz3z9 3wrDflLtdxfvoztTlT9clcRrcHluFBFN6aHwFia9F/UcLki+RnbINyuJYHaCmU/PsqvB s+R7kjPIHuZi0cZjDtw811X83Ml3nRPDQIeGzkWx4iVgEFBokkmHD3qU18neL3Up8pfK 42IQ== X-Gm-Message-State: AOAM530SRWo4UrcvSnRyfbtAl26D5lLwWMaouKMhC+yJL/CMs87jINhf tukMKxDxe7sJFOx1YXZk2xdY3MnhdY1dgw== X-Google-Smtp-Source: ABdhPJzj9qGHFSpRWrX5gWYlVsIJPNpbGHgthtjmry7HnZUp8esoU1ANgKmrIY7ihQ5aQKasS4j5wQ== X-Received: by 2002:a0c:800e:: with SMTP id 14mr30391060qva.92.1595987907242; Tue, 28 Jul 2020 18:58:27 -0700 (PDT) Original-Received: from ?IPv6:2601:98a:4200:9210:fd2f:3b64:2ca9:39da? ([2601:98a:4200:9210:fd2f:3b64:2ca9:39da]) by smtp.gmail.com with ESMTPSA id r188sm420642qkd.70.2020.07.28.18.58.26 for (version=TLS1_2 cipher=ECDHE-ECDSA-AES128-GCM-SHA256 bits=128/128); Tue, 28 Jul 2020 18:58:26 -0700 (PDT) X-Mailer: Apple Mail (2.3608.80.23.2.2) Received-SPF: pass client-ip=2607:f8b0:4864:20::f2f; envelope-from=casouri@gmail.com; helo=mail-qv1-xf2f.google.com X-detected-operating-system: by eggs.gnu.org: No matching host in p0f cache. That's all we know. X-Spam_score_int: -20 X-Spam_score: -2.1 X-Spam_bar: -- X-Spam_report: (-2.1 / 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, FREEMAIL_FROM=0.001, RCVD_IN_DNSWL_NONE=-0.0001, SPF_HELO_NONE=0.001, SPF_PASS=-0.001, URIBL_BLOCKED=0.001 autolearn=ham autolearn_force=no X-Spam_action: no action 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:183639 Archived-At: 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 Backtrace: Debugger entered--Lisp error: (wrong-number-of-arguments (1 . 2) 0) #f(compiled-function (arg &optional killp) "Delete characters = backward, changing tabs into spaces.\nThe exact behavior depends on = `backward-delete-char-untabify-method'.\nDelete ARG chars, and kill = (save in kill ring) if KILLP is non-nil.\nInteractively, ARG is the = prefix arg (default 1)\nand KILLP is t if a prefix arg was specified." = (interactive "*p\nP") #)() apply(#f(compiled-function (arg &optional killp) "Delete characters = backward, changing tabs into spaces.\nThe exact behavior depends on = `backward-delete-char-untabify-method'.\nDelete ARG chars, and kill = (save in kill ring) if KILLP is non-nil.\nInteractively, ARG is the = prefix arg (default 1)\nand KILLP is t if a prefix arg was specified." = (interactive "*p\nP") #) nil) backward-delete-char-untabify() funcall-interactively(backward-delete-char-untabify) call-interactively(backward-delete-char-untabify nil nil) command-execute(backward-delete-char-untabify) In GNU Emacs 27.0.91 (build 1, x86_64-apple-darwin19.5.0, NS = appkit-1894.50 Version 10.15.5 (Build 19F101)) of 2020-07-28 built on Brown Windowing system distributor 'Apple', version 10.3.1894 System Description: Mac OS X 10.15.5 Recent messages: Loading uniquify...done Loading electric...done Loading emacs-lisp/eldoc...done Loading cus-start...done Loading tooltip...done Loading = /Applications/Emacs.app/Contents/Resources/lisp/leim/leim-list.el = (source)...done Finding pointers to doc strings...done For information about GNU Emacs and the GNU system, type C-h C-a. Loading loadup.el (source)...done Mark set [2 times] apply: Wrong number of arguments: (1 . 2), 0 Configured using: 'configure --with-modules --with-pdumper=3Dyes = --oldincludedir=3D/Applications/Xcode.app/Contents/Developer/Platforms/Mac= OSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/libxml2/ --with-ns = PKG_CONFIG_PATH=3D/usr/local/Cellar/zlib/1.2.8/lib/pkgconfig:/usr/local/li= b/pkgconfig:/opt/X11/lib/pkgconfig' Configured features: RSVG DBUS GLIB NOTIFY KQUEUE ACL GNUTLS LIBXML2 ZLIB TOOLKIT_SCROLL_BARS XIM NS MODULES THREADS JSON PDUMPER LCMS2 Important settings: value of $LC_CTYPE: UTF-8 value of $LANG: en_CN.UTF-8 locale-coding-system: utf-8-unix Major mode: Lisp Interaction Minor modes in effect: tooltip-mode: t global-eldoc-mode: t eldoc-mode: t electric-indent-mode: t mouse-wheel-mode: t tool-bar-mode: t menu-bar-mode: t file-name-shadow-mode: t global-font-lock-mode: t font-lock-mode: t blink-cursor-mode: t auto-composition-mode: t auto-encryption-mode: t auto-compression-mode: t line-number-mode: t transient-mark-mode: t Load-path shadows: /Applications/Emacs.app/Contents/Resources/lisp/mail/metamail hides = /Applications/Emacs.app/Contents/Resources/lisp/obsolete/metamail /Applications/Emacs.app/Contents/Resources/lisp/sb-image hides = /Applications/Emacs.app/Contents/Resources/lisp/obsolete/sb-image Features: (shadow sort mail-extr emacsbug message rmc puny dired dired-loaddefs format-spec rfc822 mml easymenu mml-sec password-cache epa derived epg epg-config gnus-util rmail rmail-loaddefs text-property-search time-date subr-x seq byte-opt gv bytecomp byte-compile cconv mm-decode mm-bodies mm-encode mail-parse rfc2231 mailabbrev gmm-utils mailheader cl-loaddefs cl-lib sendmail rfc2047 rfc2045 ietf-drums mm-util mail-prsvr mail-utils tooltip cus-start eldoc electric uniquify ediff-hook vc-hooks lisp-float-type mwheel term/ns-win ns-win ucs-normalize mule-util term/common-win tool-bar dnd fontset image regexp-opt fringe tabulated-list replace newcomment text-mode elisp-mode lisp-mode prog-mode register page tab-bar menu-bar rfn-eshadow isearch timer select scroll-bar mouse jit-lock font-lock syntax facemenu font-core term/tty-colors frame minibuffer cl-generic cham georgian utf-8-lang misc-lang vietnamese tibetan thai tai-viet lao korean japanese eucjp-ms cp51932 hebrew greek romanian slovak czech european ethiopic indian cyrillic chinese composite charscript charprop case-table epa-hook jka-cmpr-hook help simple abbrev obarray cl-preloaded nadvice loaddefs button faces cus-face macroexp files text-properties overlay sha1 md5 base64 format env code-pages mule custom widget hashtable-print-readable backquote threads dbusbind kqueue cocoa ns lcms2 multi-tty make-network-process emacs) Memory information: ((conses 16 269358 17394) (symbols 48 20582 1) (strings 32 55830 2233) (string-bytes 1 2366984) (vectors 16 51368) (vector-slots 8 1408784 68426) (floats 8 184 73) (intervals 56 234 0) (buffers 1000 11))