GNU logs - #19066, boring messages


Message sent to monnier@HIDDEN, bug-gnu-emacs@HIDDEN:


X-Loop: help-debbugs@HIDDEN
Subject: bug#19066: 25.0.50; nadvice and interactive-form
Resent-From: Leo Liu <sdl.web@HIDDEN>
Original-Sender: "Debbugs-submit" <debbugs-submit-bounces <at> debbugs.gnu.org>
Resent-CC: monnier@HIDDEN, bug-gnu-emacs@HIDDEN
Resent-Date: Sun, 16 Nov 2014 10:02:01 +0000
Resent-Message-ID: <handler.19066.B.14161320656315 <at> debbugs.gnu.org>
Resent-Sender: help-debbugs@HIDDEN
X-GNU-PR-Message: report 19066
X-GNU-PR-Package: emacs
X-GNU-PR-Keywords: 
To: 19066 <at> debbugs.gnu.org
Cc: Stefan Monnier <monnier@HIDDEN>
X-Debbugs-Original-To: bug-gnu-emacs@HIDDEN
X-Debbugs-Original-Xcc: Stefan Monnier <monnier@HIDDEN>
Received: via spool by submit <at> debbugs.gnu.org id=B.14161320656315
          (code B ref -1); Sun, 16 Nov 2014 10:02:01 +0000
Received: (at submit) by debbugs.gnu.org; 16 Nov 2014 10:01:05 +0000
Received: from localhost ([127.0.0.1]:34314 helo=debbugs.gnu.org)
	by debbugs.gnu.org with esmtp (Exim 4.80)
	(envelope-from <debbugs-submit-bounces <at> debbugs.gnu.org>)
	id 1Xpwdk-0001dk-Cs
	for submit <at> debbugs.gnu.org; Sun, 16 Nov 2014 05:01:04 -0500
Received: from eggs.gnu.org ([208.118.235.92]:56922)
 by debbugs.gnu.org with esmtp (Exim 4.80)
 (envelope-from <sdl.web@HIDDEN>) id 1Xpwdh-0001cz-Gl
 for submit <at> debbugs.gnu.org; Sun, 16 Nov 2014 05:01:02 -0500
Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71)
 (envelope-from <sdl.web@HIDDEN>) id 1XpwdT-00010r-68
 for submit <at> debbugs.gnu.org; Sun, 16 Nov 2014 05:00:56 -0500
X-Spam-Checker-Version: SpamAssassin 3.3.2 (2011-06-06) on eggs.gnu.org
X-Spam-Level: 
X-Spam-Status: No, score=0.0 required=5.0 tests=BAYES_20,FREEMAIL_FROM,
 T_DKIM_INVALID autolearn=disabled version=3.3.2
Received: from lists.gnu.org ([2001:4830:134:3::11]:32927)
 by eggs.gnu.org with esmtp (Exim 4.71)
 (envelope-from <sdl.web@HIDDEN>) id 1XpwdT-00010m-3q
 for submit <at> debbugs.gnu.org; Sun, 16 Nov 2014 05:00:47 -0500
Received: from eggs.gnu.org ([2001:4830:134:3::10]:58626)
 by lists.gnu.org with esmtp (Exim 4.71)
 (envelope-from <sdl.web@HIDDEN>) id 1XpwdK-00048e-0d
 for bug-gnu-emacs@HIDDEN; Sun, 16 Nov 2014 05:00:46 -0500
Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71)
 (envelope-from <sdl.web@HIDDEN>) id 1XpwdA-000102-Vk
 for bug-gnu-emacs@HIDDEN; Sun, 16 Nov 2014 05:00:37 -0500
Received: from mail-pd0-x231.google.com ([2607:f8b0:400e:c02::231]:46677)
 by eggs.gnu.org with esmtp (Exim 4.71)
 (envelope-from <sdl.web@HIDDEN>) id 1XpwdA-0000zt-Nm
 for bug-gnu-emacs@HIDDEN; Sun, 16 Nov 2014 05:00:28 -0500
Received: by mail-pd0-f177.google.com with SMTP id v10so19089502pde.8
 for <bug-gnu-emacs@HIDDEN>; Sun, 16 Nov 2014 02:00:27 -0800 (PST)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113;
 h=from:to:subject:date:message-id:mime-version:content-type;
 bh=M8ZKZzUEUHVLU2XzXglKY85WOMI5ugeCboFE3KdLscg=;
 b=rfLZ3pdfiiYMMl+usdFw8ESn3sbFSU4gPHfvM4SsdB+wTk1DXcOp6rty9fscDBbe0a
 AviNx/HmAUOzg2vq8wcJCvQNvXGbDLYUU6lip054ts7fxVT7NpxsOSQAd83Rk+VLJ/VY
 rQuEefEPePYnJkviVHULi8pWgLz6DDIOJXsA5kOZIlBnh6rQ9tbIK9TTkXlL0zf5inT4
 LsQuRbRZqfdlTqJ4+5lHO131yaYXTnL7IcrJQ24/ncTXEFhid3h7OMRWTR8ipK+T9i+3
 UH7SH31iab6hRicstOvcidVPuzMZCHxsphpMTD8dG/N2CGlBx6ngXbdiLQ/misNtCRR/
 2wcA==
X-Received: by 10.66.244.105 with SMTP id xf9mr9287396pac.20.1416132027268;
 Sun, 16 Nov 2014 02:00:27 -0800 (PST)
Received: from fortuna ([221.222.150.252])
 by mx.google.com with ESMTPSA id w5sm32187056pds.25.2014.11.16.02.00.25
 for <bug-gnu-emacs@HIDDEN>
 (version=TLSv1.2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128);
 Sun, 16 Nov 2014 02:00:26 -0800 (PST)
From: Leo Liu <sdl.web@HIDDEN>
Date: Sun, 16 Nov 2014 18:00:21 +0800
Message-ID: <87y4rbtqh6.fsf@HIDDEN>
MIME-Version: 1.0
Content-Type: text/plain
X-detected-operating-system: by eggs.gnu.org: Error: Malformed IPv6 address
 (bad octet value).
X-detected-operating-system: by eggs.gnu.org: Error: Malformed IPv6 address
 (bad octet value).
X-Received-From: 2001:4830:134:3::11
X-Spam-Score: -4.0 (----)
X-BeenThere: debbugs-submit <at> debbugs.gnu.org
X-Mailman-Version: 2.1.15
Precedence: list
List-Id: <debbugs-submit.debbugs.gnu.org>
List-Unsubscribe: <http://debbugs.gnu.org/cgi-bin/mailman/options/debbugs-submit>, 
 <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=unsubscribe>
List-Archive: <http://debbugs.gnu.org/cgi-bin/mailman/private/debbugs-submit/>
List-Post: <mailto:debbugs-submit <at> debbugs.gnu.org>
List-Help: <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=help>
List-Subscribe: <http://debbugs.gnu.org/cgi-bin/mailman/listinfo/debbugs-submit>, 
 <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=subscribe>
Errors-To: debbugs-submit-bounces <at> debbugs.gnu.org
Sender: "Debbugs-submit" <debbugs-submit-bounces <at> debbugs.gnu.org>
X-Spam-Score: -4.0 (----)


1. Start emacs and load a file with these lines:

--8<---------------cut here---------------start------------->8---
   (advice-add 'just-one-space :before #'change-interactive-form)
   (defun change-interactive-form (&optional x y)
     (interactive (list 1 1))
     (princ (list x y)))
--8<---------------cut here---------------end--------------->8---

M-x just-one-space prints (1 nil)

2. Start emacs and load a file with these lines:

--8<---------------cut here---------------start------------->8---
   (defun change-interactive-form (&optional x y)
     (interactive (list 1 1))
     (princ (list x y)))
   (advice-add 'just-one-space :before #'change-interactive-form)
--8<---------------cut here---------------end--------------->8---

M-x just-one-space errs: apply: Wrong number of arguments: (0 . 1), 2

Leo




Message sent:


Content-Disposition: inline
Content-Transfer-Encoding: quoted-printable
MIME-Version: 1.0
X-Mailer: MIME-tools 5.503 (Entity 5.503)
Content-Type: text/plain; charset=utf-8
X-Loop: help-debbugs@HIDDEN
From: help-debbugs@HIDDEN (GNU bug Tracking System)
To: Leo Liu <sdl.web@HIDDEN>
Subject: bug#19066: Acknowledgement (25.0.50; nadvice and interactive-form)
Message-ID: <handler.19066.B.14161320656315.ack <at> debbugs.gnu.org>
References: <87y4rbtqh6.fsf@HIDDEN>
X-Gnu-PR-Message: ack 19066
X-Gnu-PR-Package: emacs
Reply-To: 19066 <at> debbugs.gnu.org
Date: Sun, 16 Nov 2014 10:02:02 +0000

Thank you for filing a new bug report with debbugs.gnu.org.

This is an automatically generated reply to let you know your message
has been received.

Your message is being forwarded to the package maintainers and other
interested parties for their attention; they will reply in due course.

As you requested using X-Debbugs-CC, your message was also forwarded to
  Stefan Monnier <monnier@HIDDEN>
(after having been given a bug report number, if it did not have one).

Your message has been sent to the package maintainer(s):
 bug-gnu-emacs@HIDDEN

If you wish to submit further information on this problem, please
send it to 19066 <at> debbugs.gnu.org.

Please do not send mail to help-debbugs@HIDDEN unless you wish
to report a problem with the Bug-tracking system.

--=20
19066: http://debbugs.gnu.org/cgi/bugreport.cgi?bug=3D19066
GNU Bug Tracking System
Contact help-debbugs@HIDDEN with problems


Message received at control <at> debbugs.gnu.org:


Received: (at control) by debbugs.gnu.org; 22 Feb 2017 05:09:13 +0000
From debbugs-submit-bounces <at> debbugs.gnu.org Wed Feb 22 00:09:13 2017
Received: from localhost ([127.0.0.1]:49552 helo=debbugs.gnu.org)
	by debbugs.gnu.org with esmtp (Exim 4.84_2)
	(envelope-from <debbugs-submit-bounces <at> debbugs.gnu.org>)
	id 1cgPAv-0007rX-KG
	for submit <at> debbugs.gnu.org; Wed, 22 Feb 2017 00:09:13 -0500
Received: from mail-io0-f174.google.com ([209.85.223.174]:34035)
 by debbugs.gnu.org with esmtp (Exim 4.84_2)
 (envelope-from <npostavs@HIDDEN>) id 1cgPAt-0007rL-SL
 for control <at> debbugs.gnu.org; Wed, 22 Feb 2017 00:09:12 -0500
Received: by mail-io0-f174.google.com with SMTP id l66so1868761ioi.1
 for <control <at> debbugs.gnu.org>; Tue, 21 Feb 2017 21:09:11 -0800 (PST)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025;
 h=sender:from:to:subject:date:message-id:mime-version;
 bh=Bp6qvmvb8/9GEhbHrrk4ajEMQccA/Af2OoGLnU0/Uzo=;
 b=GA7HtbwAggNM4X8jMj5SJjREAn3aGau2Jt6lA+M7KmE8bw4lAJ37qWCo3JccGPI2zm
 Ad00mLgIaJIu0O82ymza+dAnTv8F7rMGZhSlqEvs1dST8j3s+amwWi2+hpcXEwdFJC3C
 yB32aVtpoGJWycFfhB+ZkYdPqYEcJJDkHvrDZ7vqpFbFS1bKOCVxpvfU5Wa4X6lK1CdF
 P2lqgxu9jragZyOXQ14IFcHKxKJNADGKjH8KYOfcBdvqdJN3s6YTO1t1Tz0+wfDCQMqB
 bXmr/N4OeI80w6cAF6oA72GkmWiU1iD5G6VuZnapkeiwc6qVEXJ5KuMm45alxwLV14vO
 UO/g==
X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed;
 d=1e100.net; s=20161025;
 h=x-gm-message-state:sender:from:to:subject:date:message-id
 :mime-version;
 bh=Bp6qvmvb8/9GEhbHrrk4ajEMQccA/Af2OoGLnU0/Uzo=;
 b=AuejhTsF5PFxG8jcKhO3TKykwXlI1sPyzrF9VLAb/rmFsudyqcRz/yV5lPIb4EMmJZ
 7Wl8ucR+gF6wwv0bj0MLgl0M6nBwHy0ofbhj01CROaUEdrsfbi7Q7n2VcTzm9Ib5GheN
 izwvgpJrYfhVXqeMoCjXUzV7JPP+vjk5q21Z2vH5njLyFPJsGbhgFIO2aiLShzVZwFID
 YiAfsigZXH7vh8brxDG2zHsyn/KzTHLBuzpejBxjmulbrxnsQkG/oqt/1sFhIebBqG3+
 1JVKpko7nfnvglQKn7SwL+yV3vbAx8nZuXVdgPgOvbusBbn2myrdv+00npDhlT4PQQ/B
 tq0w==
X-Gm-Message-State: AMke39l73ad+wai4h4wn8ejj+7ARhprGhgWkUKd6XvHqcuwwIOSp4PdJobE4yisna2AUJA==
X-Received: by 10.107.129.9 with SMTP id c9mr26290170iod.23.1487740146237;
 Tue, 21 Feb 2017 21:09:06 -0800 (PST)
Received: from zony ([45.2.7.65])
 by smtp.googlemail.com with ESMTPSA id j14sm477743itd.0.2017.02.21.21.09.05
 for <control <at> debbugs.gnu.org>
 (version=TLS1_2 cipher=ECDHE-RSA-CHACHA20-POLY1305 bits=256/256);
 Tue, 21 Feb 2017 21:09:05 -0800 (PST)
From: npostavs@HIDDEN
To: control <at> debbugs.gnu.org
Subject: control message for bug #19066
Date: Wed, 22 Feb 2017 00:10:18 -0500
Message-ID: <8760k2hkud.fsf@HIDDEN>
MIME-Version: 1.0
Content-Type: text/plain
X-Spam-Score: -0.6 (/)
X-Debbugs-Envelope-To: control
X-BeenThere: debbugs-submit <at> debbugs.gnu.org
X-Mailman-Version: 2.1.18
Precedence: list
List-Id: <debbugs-submit.debbugs.gnu.org>
List-Unsubscribe: <https://debbugs.gnu.org/cgi-bin/mailman/options/debbugs-submit>, 
 <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=unsubscribe>
List-Archive: <https://debbugs.gnu.org/cgi-bin/mailman/private/debbugs-submit/>
List-Post: <mailto:debbugs-submit <at> debbugs.gnu.org>
List-Help: <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=help>
List-Subscribe: <https://debbugs.gnu.org/cgi-bin/mailman/listinfo/debbugs-submit>, 
 <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=subscribe>
Errors-To: debbugs-submit-bounces <at> debbugs.gnu.org
Sender: "Debbugs-submit" <debbugs-submit-bounces <at> debbugs.gnu.org>
X-Spam-Score: -0.6 (/)

found 19066 25.2
tags 19066 confirmed
quit





Message received at control <at> debbugs.gnu.org:


Received: (at control) by debbugs.gnu.org; 22 Feb 2017 05:09:13 +0000
From debbugs-submit-bounces <at> debbugs.gnu.org Wed Feb 22 00:09:13 2017
Received: from localhost ([127.0.0.1]:49552 helo=debbugs.gnu.org)
	by debbugs.gnu.org with esmtp (Exim 4.84_2)
	(envelope-from <debbugs-submit-bounces <at> debbugs.gnu.org>)
	id 1cgPAv-0007rX-KG
	for submit <at> debbugs.gnu.org; Wed, 22 Feb 2017 00:09:13 -0500
Received: from mail-io0-f174.google.com ([209.85.223.174]:34035)
 by debbugs.gnu.org with esmtp (Exim 4.84_2)
 (envelope-from <npostavs@HIDDEN>) id 1cgPAt-0007rL-SL
 for control <at> debbugs.gnu.org; Wed, 22 Feb 2017 00:09:12 -0500
Received: by mail-io0-f174.google.com with SMTP id l66so1868761ioi.1
 for <control <at> debbugs.gnu.org>; Tue, 21 Feb 2017 21:09:11 -0800 (PST)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025;
 h=sender:from:to:subject:date:message-id:mime-version;
 bh=Bp6qvmvb8/9GEhbHrrk4ajEMQccA/Af2OoGLnU0/Uzo=;
 b=GA7HtbwAggNM4X8jMj5SJjREAn3aGau2Jt6lA+M7KmE8bw4lAJ37qWCo3JccGPI2zm
 Ad00mLgIaJIu0O82ymza+dAnTv8F7rMGZhSlqEvs1dST8j3s+amwWi2+hpcXEwdFJC3C
 yB32aVtpoGJWycFfhB+ZkYdPqYEcJJDkHvrDZ7vqpFbFS1bKOCVxpvfU5Wa4X6lK1CdF
 P2lqgxu9jragZyOXQ14IFcHKxKJNADGKjH8KYOfcBdvqdJN3s6YTO1t1Tz0+wfDCQMqB
 bXmr/N4OeI80w6cAF6oA72GkmWiU1iD5G6VuZnapkeiwc6qVEXJ5KuMm45alxwLV14vO
 UO/g==
X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed;
 d=1e100.net; s=20161025;
 h=x-gm-message-state:sender:from:to:subject:date:message-id
 :mime-version;
 bh=Bp6qvmvb8/9GEhbHrrk4ajEMQccA/Af2OoGLnU0/Uzo=;
 b=AuejhTsF5PFxG8jcKhO3TKykwXlI1sPyzrF9VLAb/rmFsudyqcRz/yV5lPIb4EMmJZ
 7Wl8ucR+gF6wwv0bj0MLgl0M6nBwHy0ofbhj01CROaUEdrsfbi7Q7n2VcTzm9Ib5GheN
 izwvgpJrYfhVXqeMoCjXUzV7JPP+vjk5q21Z2vH5njLyFPJsGbhgFIO2aiLShzVZwFID
 YiAfsigZXH7vh8brxDG2zHsyn/KzTHLBuzpejBxjmulbrxnsQkG/oqt/1sFhIebBqG3+
 1JVKpko7nfnvglQKn7SwL+yV3vbAx8nZuXVdgPgOvbusBbn2myrdv+00npDhlT4PQQ/B
 tq0w==
X-Gm-Message-State: AMke39l73ad+wai4h4wn8ejj+7ARhprGhgWkUKd6XvHqcuwwIOSp4PdJobE4yisna2AUJA==
X-Received: by 10.107.129.9 with SMTP id c9mr26290170iod.23.1487740146237;
 Tue, 21 Feb 2017 21:09:06 -0800 (PST)
Received: from zony ([45.2.7.65])
 by smtp.googlemail.com with ESMTPSA id j14sm477743itd.0.2017.02.21.21.09.05
 for <control <at> debbugs.gnu.org>
 (version=TLS1_2 cipher=ECDHE-RSA-CHACHA20-POLY1305 bits=256/256);
 Tue, 21 Feb 2017 21:09:05 -0800 (PST)
From: npostavs@HIDDEN
To: control <at> debbugs.gnu.org
Subject: control message for bug #19066
Date: Wed, 22 Feb 2017 00:10:18 -0500
Message-ID: <8760k2hkud.fsf@HIDDEN>
MIME-Version: 1.0
Content-Type: text/plain
X-Spam-Score: -0.6 (/)
X-Debbugs-Envelope-To: control
X-BeenThere: debbugs-submit <at> debbugs.gnu.org
X-Mailman-Version: 2.1.18
Precedence: list
List-Id: <debbugs-submit.debbugs.gnu.org>
List-Unsubscribe: <https://debbugs.gnu.org/cgi-bin/mailman/options/debbugs-submit>, 
 <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=unsubscribe>
List-Archive: <https://debbugs.gnu.org/cgi-bin/mailman/private/debbugs-submit/>
List-Post: <mailto:debbugs-submit <at> debbugs.gnu.org>
List-Help: <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=help>
List-Subscribe: <https://debbugs.gnu.org/cgi-bin/mailman/listinfo/debbugs-submit>, 
 <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=subscribe>
Errors-To: debbugs-submit-bounces <at> debbugs.gnu.org
Sender: "Debbugs-submit" <debbugs-submit-bounces <at> debbugs.gnu.org>
X-Spam-Score: -0.6 (/)

found 19066 25.2
tags 19066 confirmed
quit





Message sent to bug-gnu-emacs@HIDDEN:


X-Loop: help-debbugs@HIDDEN
Subject: bug#19066: 25.0.50; nadvice and interactive-form
Resent-From: Lars Ingebrigtsen <larsi@HIDDEN>
Original-Sender: "Debbugs-submit" <debbugs-submit-bounces <at> debbugs.gnu.org>
Resent-CC: bug-gnu-emacs@HIDDEN
Resent-Date: Fri, 28 May 2021 02:12:01 +0000
Resent-Message-ID: <handler.19066.B19066.162216788411793 <at> debbugs.gnu.org>
Resent-Sender: help-debbugs@HIDDEN
X-GNU-PR-Message: followup 19066
X-GNU-PR-Package: emacs
X-GNU-PR-Keywords: confirmed
To: Leo Liu <sdl.web@HIDDEN>
Cc: 19066 <at> debbugs.gnu.org, Stefan Monnier <monnier@HIDDEN>
Received: via spool by 19066-submit <at> debbugs.gnu.org id=B19066.162216788411793
          (code B ref 19066); Fri, 28 May 2021 02:12:01 +0000
Received: (at 19066) by debbugs.gnu.org; 28 May 2021 02:11:24 +0000
Received: from localhost ([127.0.0.1]:53322 helo=debbugs.gnu.org)
	by debbugs.gnu.org with esmtp (Exim 4.84_2)
	(envelope-from <debbugs-submit-bounces <at> debbugs.gnu.org>)
	id 1lmRy8-000349-Dz
	for submit <at> debbugs.gnu.org; Thu, 27 May 2021 22:11:24 -0400
Received: from quimby.gnus.org ([95.216.78.240]:49936)
 by debbugs.gnu.org with esmtp (Exim 4.84_2)
 (envelope-from <larsi@HIDDEN>) id 1lmRy7-00033w-1y
 for 19066 <at> debbugs.gnu.org; Thu, 27 May 2021 22:11:23 -0400
DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=gnus.org;
 s=20200322; h=Content-Type:MIME-Version:Message-ID:In-Reply-To:Date:
 References:Subject:Cc:To:From:Sender:Reply-To:Content-Transfer-Encoding:
 Content-ID:Content-Description:Resent-Date:Resent-From:Resent-Sender:
 Resent-To:Resent-Cc:Resent-Message-ID:List-Id:List-Help:List-Unsubscribe:
 List-Subscribe:List-Post:List-Owner:List-Archive;
 bh=bO6YBW2pAANmvIrYH1nOTNKixj/0WWkZtq+IdZfSmT0=; b=akp1rDF5bm1tw1hC/2eLmXcs20
 xpFJ2PKSpr69IyMihM0wcFgTUlX+aZaOpw8DJVwMvFLygB16k5lx6h9FBWBxlyrMjA+1m5+qbUCMk
 RBbErrEJcaSTtHr9gfOXIgUY+mhhkJMGtgSpLQ6Ie3X/OUs6P1qVFebekTmbn8HH+Pss=;
Received: from cm-84.212.220.105.getinternet.no ([84.212.220.105] helo=xo)
 by quimby.gnus.org with esmtpsa (TLS1.3:ECDHE_RSA_AES_256_GCM_SHA384:256)
 (Exim 4.92) (envelope-from <larsi@HIDDEN>)
 id 1lmRxx-0003XC-RX; Fri, 28 May 2021 04:11:16 +0200
From: Lars Ingebrigtsen <larsi@HIDDEN>
References: <87y4rbtqh6.fsf@HIDDEN>
X-Now-Playing: The Residents's _The King & Eye: RMX_: "A Fool such as I"
Date: Fri, 28 May 2021 04:11:13 +0200
In-Reply-To: <87y4rbtqh6.fsf@HIDDEN> (Leo Liu's message of "Sun, 16 Nov
 2014 18:00:21 +0800")
Message-ID: <87r1hry5dq.fsf@HIDDEN>
User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/28.0.50 (gnu/linux)
MIME-Version: 1.0
Content-Type: text/plain
X-Spam-Report: Spam detection software, running on the system "quimby.gnus.org",
 has NOT identified this incoming email as spam.  The original
 message has been attached to this so you can view it or label
 similar future email.  If you have any questions, see
 @@CONTACT_ADDRESS@@ for details.
 Content preview: Leo Liu <sdl.web@HIDDEN> writes: > 1. Start emacs and load
 a file with these lines: > > (advice-add 'just-one-space :before
 #'change-interactive-form)
 > (defun change-interactive-form (&optional x y) > (interactive (list 1 1))
 > (pri [...] 
 Content analysis details:   (-2.9 points, 5.0 required)
 pts rule name              description
 ---- ---------------------- --------------------------------------------------
 -1.0 ALL_TRUSTED            Passed through trusted hosts only via SMTP
 -1.9 BAYES_00               BODY: Bayes spam probability is 0 to 1%
 [score: 0.0000]
X-Spam-Score: 0.0 (/)
X-BeenThere: debbugs-submit <at> debbugs.gnu.org
X-Mailman-Version: 2.1.18
Precedence: list
List-Id: <debbugs-submit.debbugs.gnu.org>
List-Unsubscribe: <https://debbugs.gnu.org/cgi-bin/mailman/options/debbugs-submit>, 
 <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=unsubscribe>
List-Archive: <https://debbugs.gnu.org/cgi-bin/mailman/private/debbugs-submit/>
List-Post: <mailto:debbugs-submit <at> debbugs.gnu.org>
List-Help: <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=help>
List-Subscribe: <https://debbugs.gnu.org/cgi-bin/mailman/listinfo/debbugs-submit>, 
 <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=subscribe>
Errors-To: debbugs-submit-bounces <at> debbugs.gnu.org
Sender: "Debbugs-submit" <debbugs-submit-bounces <at> debbugs.gnu.org>
X-Spam-Score: -1.0 (-)

Leo Liu <sdl.web@HIDDEN> writes:

> 1. Start emacs and load a file with these lines:
>
>    (advice-add 'just-one-space :before #'change-interactive-form)
>    (defun change-interactive-form (&optional x y)
>      (interactive (list 1 1))
>      (princ (list x y)))
>
> M-x just-one-space prints (1 nil)
>
> 2. Start emacs and load a file with these lines:
>
>    (defun change-interactive-form (&optional x y)
>      (interactive (list 1 1))
>      (princ (list x y)))
>    (advice-add 'just-one-space :before #'change-interactive-form)
>
> M-x just-one-space errs: apply: Wrong number of arguments: (0 . 1), 2

So whether this works depends on whether `change-interactive-form' is
defined or not when `advice-add' is run?  (The only difference here is
the order.)

Perhaps Stefan has some insights here; added to the CCs.

-- 
(domestic pets only, the antidote for overdose, milk.)
   bloggy blog: http://lars.ingebrigtsen.no





Last modified: Fri, 28 May 2021 02:15:02 UTC

GNU bug tracking system
Copyright (C) 1999 Darren O. Benham, 1997 nCipher Corporation Ltd, 1994-97 Ian Jackson.