From unknown Mon Jun 23 23:51:17 2025 X-Loop: owner@emacsbugs.donarmstrong.com Subject: bug#3932: 23.0.96; doc for `ad-*-arg*' does not mention zero-indexing Reply-To: "Drew Adams" , 3932@debbugs.gnu.org Resent-From: "Drew Adams" Resent-To: bug-submit-list@lists.donarmstrong.com Resent-CC: Emacs Bugs Resent-Date: Sun, 26 Jul 2009 18:20:04 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-Emacs-PR-Message: report 3932 X-Emacs-PR-Package: emacs X-Emacs-PR-Keywords: Received: via spool by submit@emacsbugs.donarmstrong.com id=B.124863217221660 (code B ref -1); Sun, 26 Jul 2009 18:20:04 +0000 Received: (at submit) by emacsbugs.donarmstrong.com; 26 Jul 2009 18:16:12 +0000 X-Spam-Checker-Version: SpamAssassin 3.2.5-bugs.debian.org_2005_01_02 (2008-06-10) on rzlab.ucr.edu X-Spam-Level: X-Spam-Bayes: score:0.5 Bayes not run. spammytokens:Tokens not available. hammytokens:Tokens not available. X-Spam-Status: No, score=-2.7 required=4.0 tests=AWL,FOURLA autolearn=no version=3.2.5-bugs.debian.org_2005_01_02 Received: from fencepost.gnu.org (fencepost.gnu.org [140.186.70.10]) by rzlab.ucr.edu (8.14.3/8.14.3/Debian-5) with ESMTP id n6QIG8mZ021655 for ; Sun, 26 Jul 2009 11:16:09 -0700 Received: from mx10.gnu.org ([199.232.76.166]:54053) by fencepost.gnu.org with esmtp (Exim 4.67) (envelope-from ) id 1MV8GV-00088h-AG for emacs-pretest-bug@gnu.org; Sun, 26 Jul 2009 14:16:07 -0400 Received: from Debian-exim by monty-python.gnu.org with spam-scanned (Exim 4.60) (envelope-from ) id 1MV8GT-0002T4-SJ for emacs-pretest-bug@gnu.org; Sun, 26 Jul 2009 14:16:07 -0400 Received: from rcsinet12.oracle.com ([148.87.113.124]:23465 helo=rgminet12.oracle.com) by monty-python.gnu.org with esmtps (TLS-1.0:DHE_RSA_AES_256_CBC_SHA1:32) (Exim 4.60) (envelope-from ) id 1MV8GT-0002Su-GJ for emacs-pretest-bug@gnu.org; Sun, 26 Jul 2009 14:16:05 -0400 Received: from acsinet15.oracle.com (acsinet15.oracle.com [141.146.126.227]) by rgminet12.oracle.com (Switch-3.3.1/Switch-3.3.1) with ESMTP id n6QIFaFY026301 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=OK) for ; Sun, 26 Jul 2009 18:15:37 GMT Received: from abhmt007.oracle.com (abhmt007.oracle.com [141.146.116.16]) by acsinet15.oracle.com (Switch-3.3.1/Switch-3.3.1) with ESMTP id n6QIGBvN027675 for ; Sun, 26 Jul 2009 18:16:11 GMT Received: from dradamslap1 (/141.144.232.119) by default (Oracle Beehive Gateway v4.0) with ESMTP ; Sun, 26 Jul 2009 11:16:00 -0700 From: "Drew Adams" To: Date: Sun, 26 Jul 2009 11:16:09 -0700 Message-ID: <5B54602E9BD2465B8182A10BCCDC2355@us.oracle.com> MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit X-Mailer: Microsoft Office Outlook 11 X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2900.5579 Thread-Index: AcoOHSZtJqn2ogFoSOKaBwmgm97tEg== X-Source-IP: abhmt007.oracle.com [141.146.116.16] X-Auth-Type: Internal IP X-CT-RefId: str=0001.0A090207.4A6C9D60.0134:SCFSTAT5015188,ss=1,fgs=0 X-detected-operating-system: by monty-python.gnu.org: GNU/Linux 2.6 (newer, 1) Both the Elisp manual doc (node Argument Access in Advice) and the doc strings of the functions that get and set args fail to mention that POSITION starts at zero for the first arg. The example in the manual indicates this, but the zero-indexing should also be called out explicitly. In GNU Emacs 23.0.96.1 (i386-mingw-nt5.1.2600) of 2009-07-09 on SOFT-MJASON Windowing system distributor `Microsoft Corp.', version 5.1.2600 configured using `configure --with-gcc (3.4)' From unknown Mon Jun 23 23:51:17 2025 MIME-Version: 1.0 X-Mailer: MIME-tools 5.427 (Entity 5.427) X-Loop: owner@emacsbugs.donarmstrong.com From: help-debbugs@gnu.org (Emacs bug Tracking System) To: "Drew Adams" Subject: bug#3932 closed by Chong Yidong (Re: 23.0.96; doc for `ad-*-arg*' does not mention zero-indexing) Message-ID: References: <87zl8qae9j.fsf@cyd.mit.edu> <5B54602E9BD2465B8182A10BCCDC2355@us.oracle.com> X-Emacs-PR-Message: they-closed 3932 X-Emacs-PR-Package: emacs Reply-To: 3932@debbugs.gnu.org Date: Sat, 19 Sep 2009 20:15:05 +0000 Content-Type: multipart/mixed; boundary="----------=_1253391305-4170-1" This is a multi-part message in MIME format... ------------=_1253391305-4170-1 Content-Disposition: inline Content-Transfer-Encoding: quoted-printable Content-Type: text/plain; charset="utf-8" This is an automatic notification regarding your bug report which was filed against the emacs package: #3932: 23.0.96; doc for `ad-*-arg*' does not mention zero-indexing It has been closed by Chong Yidong . Their explanation is attached below along with your original report. If this explanation is unsatisfactory and you have not received a better one in a separate message then please contact Chong Yidong by replying to this email. --=20 3932: http://debbugs.gnu.org/cgi/bugreport.cgi?bug=3D3932 Emacs Bug Tracking System Contact help-debbugs@gnu.org with problems ------------=_1253391305-4170-1 Content-Type: message/rfc822 Content-Disposition: inline Content-Transfer-Encoding: 7bit Received: (at 3932-done) by emacsbugs.donarmstrong.com; 19 Sep 2009 20:07:09 +0000 X-Spam-Checker-Version: SpamAssassin 3.2.5-bugs.debian.org_2005_01_02 (2008-06-10) on rzlab.ucr.edu X-Spam-Level: X-Spam-Bayes: score:0.5 Bayes not run. spammytokens:Tokens not available. hammytokens:Tokens not available. X-Spam-Status: No, score=-1.6 required=4.0 tests=AWL autolearn=ham version=3.2.5-bugs.debian.org_2005_01_02 Received: from cyd.mit.edu (CYD.MIT.EDU [18.115.2.24]) by rzlab.ucr.edu (8.14.3/8.14.3/Debian-5) with ESMTP id n8JK78iI002813 for <3932-done@emacsbugs.donarmstrong.com>; Sat, 19 Sep 2009 13:07:09 -0700 Received: by cyd.mit.edu (Postfix, from userid 1000) id A861A57E21C; Sat, 19 Sep 2009 16:08:40 -0400 (EDT) From: Chong Yidong To: "Drew Adams" Cc: 3932-done@debbugs.gnu.org Subject: Re: 23.0.96; doc for `ad-*-arg*' does not mention zero-indexing Date: Sat, 19 Sep 2009 16:08:40 -0400 Message-ID: <87zl8qae9j.fsf@cyd.mit.edu> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii > Both the Elisp manual doc (node Argument Access in Advice) and the doc > strings of the functions that get and set args fail to mention that > POSITION starts at zero for the first arg. The example in the manual > indicates this, but the zero-indexing should also be called out > explicitly. Fixed, thanks. ------------=_1253391305-4170-1 Content-Type: message/rfc822 Content-Disposition: inline Content-Transfer-Encoding: 7bit Received: (at submit) by emacsbugs.donarmstrong.com; 26 Jul 2009 18:16:12 +0000 X-Spam-Checker-Version: SpamAssassin 3.2.5-bugs.debian.org_2005_01_02 (2008-06-10) on rzlab.ucr.edu X-Spam-Level: X-Spam-Bayes: score:0.5 Bayes not run. spammytokens:Tokens not available. hammytokens:Tokens not available. X-Spam-Status: No, score=-2.7 required=4.0 tests=AWL,FOURLA autolearn=no version=3.2.5-bugs.debian.org_2005_01_02 Received: from fencepost.gnu.org (fencepost.gnu.org [140.186.70.10]) by rzlab.ucr.edu (8.14.3/8.14.3/Debian-5) with ESMTP id n6QIG8mZ021655 for ; Sun, 26 Jul 2009 11:16:09 -0700 Received: from mx10.gnu.org ([199.232.76.166]:54053) by fencepost.gnu.org with esmtp (Exim 4.67) (envelope-from ) id 1MV8GV-00088h-AG for emacs-pretest-bug@gnu.org; Sun, 26 Jul 2009 14:16:07 -0400 Received: from Debian-exim by monty-python.gnu.org with spam-scanned (Exim 4.60) (envelope-from ) id 1MV8GT-0002T4-SJ for emacs-pretest-bug@gnu.org; Sun, 26 Jul 2009 14:16:07 -0400 Received: from rcsinet12.oracle.com ([148.87.113.124]:23465 helo=rgminet12.oracle.com) by monty-python.gnu.org with esmtps (TLS-1.0:DHE_RSA_AES_256_CBC_SHA1:32) (Exim 4.60) (envelope-from ) id 1MV8GT-0002Su-GJ for emacs-pretest-bug@gnu.org; Sun, 26 Jul 2009 14:16:05 -0400 Received: from acsinet15.oracle.com (acsinet15.oracle.com [141.146.126.227]) by rgminet12.oracle.com (Switch-3.3.1/Switch-3.3.1) with ESMTP id n6QIFaFY026301 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=OK) for ; Sun, 26 Jul 2009 18:15:37 GMT Received: from abhmt007.oracle.com (abhmt007.oracle.com [141.146.116.16]) by acsinet15.oracle.com (Switch-3.3.1/Switch-3.3.1) with ESMTP id n6QIGBvN027675 for ; Sun, 26 Jul 2009 18:16:11 GMT Received: from dradamslap1 (/141.144.232.119) by default (Oracle Beehive Gateway v4.0) with ESMTP ; Sun, 26 Jul 2009 11:16:00 -0700 From: "Drew Adams" To: Subject: 23.0.96; doc for `ad-*-arg*' does not mention zero-indexing Date: Sun, 26 Jul 2009 11:16:09 -0700 Message-ID: <5B54602E9BD2465B8182A10BCCDC2355@us.oracle.com> MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit X-Mailer: Microsoft Office Outlook 11 X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2900.5579 Thread-Index: AcoOHSZtJqn2ogFoSOKaBwmgm97tEg== X-Source-IP: abhmt007.oracle.com [141.146.116.16] X-Auth-Type: Internal IP X-CT-RefId: str=0001.0A090207.4A6C9D60.0134:SCFSTAT5015188,ss=1,fgs=0 X-detected-operating-system: by monty-python.gnu.org: GNU/Linux 2.6 (newer, 1) Both the Elisp manual doc (node Argument Access in Advice) and the doc strings of the functions that get and set args fail to mention that POSITION starts at zero for the first arg. The example in the manual indicates this, but the zero-indexing should also be called out explicitly. In GNU Emacs 23.0.96.1 (i386-mingw-nt5.1.2600) of 2009-07-09 on SOFT-MJASON Windowing system distributor `Microsoft Corp.', version 5.1.2600 configured using `configure --with-gcc (3.4)' ------------=_1253391305-4170-1--