From unknown Wed Jun 18 23:16:48 2025 Content-Disposition: inline Content-Transfer-Encoding: quoted-printable MIME-Version: 1.0 X-Mailer: MIME-tools 5.509 (Entity 5.509) Content-Type: text/plain; charset=utf-8 From: bug#15429 <15429@debbugs.gnu.org> To: bug#15429 <15429@debbugs.gnu.org> Subject: Status: 23.4; doc string of `syntax-ppss' Reply-To: bug#15429 <15429@debbugs.gnu.org> Date: Thu, 19 Jun 2025 06:16:48 +0000 retitle 15429 23.4; doc string of `syntax-ppss' reassign 15429 emacs submitter 15429 Drew Adams severity 15429 minor thanks From debbugs-submit-bounces@debbugs.gnu.org Fri Sep 20 17:02:50 2013 Received: (at submit) by debbugs.gnu.org; 20 Sep 2013 21:02:51 +0000 Received: from localhost ([127.0.0.1]:51939 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.80) (envelope-from ) id 1VN7qk-0000Uo-Aj for submit@debbugs.gnu.org; Fri, 20 Sep 2013 17:02:50 -0400 Received: from eggs.gnu.org ([208.118.235.92]:43290) by debbugs.gnu.org with esmtp (Exim 4.80) (envelope-from ) id 1VN7qi-0000Ub-3K for submit@debbugs.gnu.org; Fri, 20 Sep 2013 17:02:48 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1VN7qS-0004Fs-Ov for submit@debbugs.gnu.org; Fri, 20 Sep 2013 17:02:42 -0400 X-Spam-Checker-Version: SpamAssassin 3.3.2 (2011-06-06) on eggs.gnu.org X-Spam-Level: X-Spam-Status: No, score=0.8 required=5.0 tests=BAYES_50 autolearn=disabled version=3.3.2 Received: from lists.gnu.org ([2001:4830:134:3::11]:39808) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1VN7qS-0004Fo-Ls for submit@debbugs.gnu.org; Fri, 20 Sep 2013 17:02:32 -0400 Received: from eggs.gnu.org ([2001:4830:134:3::10]:44978) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1VN7qK-0007wa-2l for bug-gnu-emacs@gnu.org; Fri, 20 Sep 2013 17:02:32 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1VN7qB-0004DX-HJ for bug-gnu-emacs@gnu.org; Fri, 20 Sep 2013 17:02:24 -0400 Received: from userp1040.oracle.com ([156.151.31.81]:31966) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1VN7qB-0004CT-AA for bug-gnu-emacs@gnu.org; Fri, 20 Sep 2013 17:02:15 -0400 Received: from ucsinet21.oracle.com (ucsinet21.oracle.com [156.151.31.93]) by userp1040.oracle.com (Sentrion-MTA-4.3.1/Sentrion-MTA-4.3.1) with ESMTP id r8KL2D1A029334 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=OK) for ; Fri, 20 Sep 2013 21:02:14 GMT Received: from userz7022.oracle.com (userz7022.oracle.com [156.151.31.86]) by ucsinet21.oracle.com (8.14.4+Sun/8.14.4) with ESMTP id r8KL2Ctp015774 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=NO) for ; Fri, 20 Sep 2013 21:02:13 GMT Received: from abhmt120.oracle.com (abhmt120.oracle.com [141.146.116.72]) by userz7022.oracle.com (8.14.4+Sun/8.14.4) with ESMTP id r8KL2CHv020759 for ; Fri, 20 Sep 2013 21:02:12 GMT MIME-Version: 1.0 Message-ID: Date: Fri, 20 Sep 2013 14:02:11 -0700 (PDT) From: Drew Adams To: bug-gnu-emacs@gnu.org Subject: 23.4; doc string of `syntax-ppss' X-Priority: 3 X-Mailer: Oracle Beehive Extensions for Outlook 2.0.1.8 (707110) [OL 12.0.6680.5000 (x86)] Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: quoted-printable X-Source-IP: ucsinet21.oracle.com [156.151.31.93] X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.4.x-2.6.x [generic] 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-Debbugs-Envelope-To: submit X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.15 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -4.0 (----) "... except that the 2nd and 6th values of the returned state cannot be relied upon." Be clearer. Say exactly which values you mean - describe them. This is all the more important because the doc for `parse-partial-sexp' lists the values of the return state starting with 0, not 1. So what is the "second" value of the return state? Is it the second item in the returned list, or is it value "2" according to the `parse-partial-sexp' doc? It turns out, according to (elisp) `Position Parse', that it is the latter. This is really sloppy. Even the manual's description should avoid use of "2nd value" and "6th value", even if it does provide the real info in parens. In English (and math), the second value of a list is the second value. It is not (nth 2...) - that's the third value. In GNU Emacs 23.4.1 (i386-mingw-nt6.1.7601) of 2012-02-04 on MARVIN Windowing system distributor `Microsoft Corp.', version 6.1.7601 Configured using: `configure --with-gcc (4.4) --cflags -ID:/devel/emacs/libs/libXpm-3.5.8/include -ID:/devel/emacs/libs/libXpm-3.5.8/src -ID:/devel/emacs/libs/libpng-dev_1.4.3-1/include -ID:/devel/emacs/libs/zlib-dev_1.2.5-2/include -ID:/devel/emacs/libs/giflib-4.1.4-1/include -ID:/devel/emacs/libs/jpeg-6b-4/include -ID:/devel/emacs/libs/tiff-3.8.2-1/include' From debbugs-submit-bounces@debbugs.gnu.org Fri Feb 07 23:21:58 2014 Received: (at 15429) by debbugs.gnu.org; 8 Feb 2014 04:21:59 +0000 Received: from localhost ([127.0.0.1]:55918 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.80) (envelope-from ) id 1WBzQU-0003tr-Bj for submit@debbugs.gnu.org; Fri, 07 Feb 2014 23:21:58 -0500 Received: from hermes.netfonds.no ([80.91.224.195]:54222) by debbugs.gnu.org with esmtp (Exim 4.80) (envelope-from ) id 1WBzQS-0003tf-IZ for 15429@debbugs.gnu.org; Fri, 07 Feb 2014 23:21:57 -0500 Received: from [204.14.154.233] (helo=building.gnus.org) by hermes.netfonds.no with esmtpsa (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.72) (envelope-from ) id 1WBzQE-0004tZ-5E; Sat, 08 Feb 2014 05:21:42 +0100 From: Lars Ingebrigtsen To: Drew Adams Subject: Re: bug#15429: 23.4; doc string of `syntax-ppss' References: Date: Fri, 07 Feb 2014 20:20:33 -0800 In-Reply-To: (Drew Adams's message of "Fri, 20 Sep 2013 14:02:11 -0700 (PDT)") Message-ID: <87siru5j72.fsf@building.gnus.org> User-Agent: Gnus/5.13001 (Ma Gnus v0.10) Emacs/24.3.50 (gnu/linux) MIME-Version: 1.0 Content-Type: text/plain X-MailScanner-ID: 1WBzQE-0004tZ-5E X-Netfonds-MailScanner: Found to be clean X-Netfonds-MailScanner-From: larsi@gnus.org MailScanner-NULL-Check: 1392438102.95894@YQVeXOT6FquWPYX9f+xhFA X-Spam-Status: No X-Spam-Score: 0.0 (/) X-Debbugs-Envelope-To: 15429 Cc: 15429@debbugs.gnu.org X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.15 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: 0.0 (/) Drew Adams writes: > "... except that the 2nd and 6th values of the returned state cannot be > relied upon." > > Be clearer. Say exactly which values you mean - describe them. > > This is all the more important because the doc for `parse-partial-sexp' > lists the values of the return state starting with 0, not 1. So what is > the "second" value of the return state? The doc (now) says: The returned value is the same as that of `parse-partial-sexp' run from `point-min' to POS except that values at positions 2 and 6 in the returned list (counting from 0) cannot be relied upon. So I think that's OK now. -- (domestic pets only, the antidote for overdose, milk.) bloggy blog http://lars.ingebrigtsen.no/ From debbugs-submit-bounces@debbugs.gnu.org Fri Feb 07 23:22:09 2014 Received: (at control) by debbugs.gnu.org; 8 Feb 2014 04:22:09 +0000 Received: from localhost ([127.0.0.1]:55922 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.80) (envelope-from ) id 1WBzQe-0003ud-U2 for submit@debbugs.gnu.org; Fri, 07 Feb 2014 23:22:09 -0500 Received: from hermes.netfonds.no ([80.91.224.195]:54228) by debbugs.gnu.org with esmtp (Exim 4.80) (envelope-from ) id 1WBzQc-0003uV-Q5 for control@debbugs.gnu.org; Fri, 07 Feb 2014 23:22:07 -0500 Received: from [204.14.154.233] (helo=building.gnus.org) by hermes.netfonds.no with esmtpsa (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.72) (envelope-from ) id 1WBzQP-0004tk-6Q for control@debbugs.gnu.org; Sat, 08 Feb 2014 05:21:53 +0100 Date: Fri, 07 Feb 2014 20:20:45 -0800 Message-Id: <87r47e5j6q.fsf@building.gnus.org> To: control@debbugs.gnu.org From: Lars Ingebrigtsen Subject: control message for bug #15429 X-MailScanner-ID: 1WBzQP-0004tk-6Q X-Netfonds-MailScanner: Found to be clean X-Netfonds-MailScanner-From: larsi@gnus.org MailScanner-NULL-Check: 1392438113.82138@iD0/JDhZl31TW2hzlQuhjA X-Spam-Status: No X-Spam-Score: 0.0 (/) X-Debbugs-Envelope-To: control X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.15 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: 0.0 (/) close 15429 From unknown Wed Jun 18 23:16:48 2025 Received: (at fakecontrol) by fakecontrolmessage; To: internal_control@debbugs.gnu.org From: Debbugs Internal Request Subject: Internal Control Message-Id: bug archived. Date: Sat, 08 Mar 2014 12:24:04 +0000 User-Agent: Fakemail v42.6.9 # This is a fake control message. # # The action: # bug archived. thanks # This fakemail brought to you by your local debbugs # administrator