From unknown Sun Jun 15 08:38:53 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#6747 <6747@debbugs.gnu.org> To: bug#6747 <6747@debbugs.gnu.org> Subject: Status: Documentation: `syntax-ppss-toplevel-pos' xref typo `partial-parse-sexp' <- `parse-partial-sexp' Reply-To: bug#6747 <6747@debbugs.gnu.org> Date: Sun, 15 Jun 2025 15:38:53 +0000 retitle 6747 Documentation: `syntax-ppss-toplevel-pos' xref typo `partial-= parse-sexp' <- `parse-partial-sexp' reassign 6747 emacs submitter 6747 MON KEY severity 6747 normal thanks From debbugs-submit-bounces@debbugs.gnu.org Wed Jul 28 11:16:11 2010 Received: (at submit) by debbugs.gnu.org; 28 Jul 2010 15:16:11 +0000 Received: from localhost ([127.0.0.1] helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.69) (envelope-from ) id 1Oe8Mc-0000ca-4B for submit@debbugs.gnu.org; Wed, 28 Jul 2010 11:16:10 -0400 Received: from mail.gnu.org ([199.232.76.166] helo=mx10.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.69) (envelope-from ) id 1Oe8Ma-0000cV-De for submit@debbugs.gnu.org; Wed, 28 Jul 2010 11:16:08 -0400 Received: from lists.gnu.org ([199.232.76.165]:47398) by monty-python.gnu.org with esmtps (TLS-1.0:DHE_RSA_AES_256_CBC_SHA1:32) (Exim 4.60) (envelope-from ) id 1Oe8Mk-0006Vd-UM for submit@debbugs.gnu.org; Wed, 28 Jul 2010 11:16:19 -0400 Received: from [140.186.70.92] (port=41848 helo=eggs.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1Oe8Mj-0005pL-Jy for bug-gnu-emacs@gnu.org; Wed, 28 Jul 2010 11:16:18 -0400 X-Spam-Checker-Version: SpamAssassin 3.3.1 (2010-03-16) on eggs.gnu.org X-Spam-Level: X-Spam-Status: No, score=-1.9 required=5.0 tests=BAYES_00 autolearn=unavailable version=3.3.1 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.69) (envelope-from ) id 1Oe8Mh-00069i-I8 for bug-gnu-emacs@gnu.org; Wed, 28 Jul 2010 11:16:17 -0400 Received: from mail-ey0-f169.google.com ([209.85.215.169]:45581) by eggs.gnu.org with esmtp (Exim 4.69) (envelope-from ) id 1Oe8Mh-00069I-E0 for bug-gnu-emacs@gnu.org; Wed, 28 Jul 2010 11:16:15 -0400 Received: by eydd26 with SMTP id d26so1153980eyd.0 for ; Wed, 28 Jul 2010 08:16:13 -0700 (PDT) MIME-Version: 1.0 Received: by 10.216.177.140 with SMTP id d12mr10868101wem.37.1280330173513; Wed, 28 Jul 2010 08:16:13 -0700 (PDT) Received: by 10.216.137.67 with HTTP; Wed, 28 Jul 2010 08:16:13 -0700 (PDT) Date: Wed, 28 Jul 2010 11:16:13 -0400 X-Google-Sender-Auth: 674bxDKIaP5dHVlt_c9LyIXsNbE Message-ID: Subject: Documentation: `syntax-ppss-toplevel-pos' xref typo `partial-parse-sexp' <- `parse-partial-sexp' From: MON KEY To: bug-gnu-emacs@gnu.org Content-Type: text/plain; charset=UTF-8 X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.6 (newer, 2) X-detected-operating-system: by monty-python.gnu.org: GNU/Linux 2.6, seldom 2.4 (older, 4) X-Spam-Score: -5.0 (-----) X-Debbugs-Envelope-To: submit X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.11 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: debbugs-submit-bounces@debbugs.gnu.org Errors-To: debbugs-submit-bounces@debbugs.gnu.org X-Spam-Score: -5.0 (-----) The function `syntax-ppss-toplevel-pos' in emacs-lisp/syntax.el appears to have a type: ,---- (documentation 'syntax-ppss-toplevel-pos) | | Get the latest syntactically outermost position found in a syntactic scan. | PPSS is a scan state, as returned by `partial-parse-sexp' or `syntax-ppss'. | An "outermost position" means one that it is outside of any syntactic entity: | outside of any parentheses, comments, or strings encountered in the scan. | If no such position is recorded in PPSS (because the end of the scan was | itself at the outermost level), return nil. | `---- Is the second line in error? e.g. "PPSS is a scan state, as returned by `partial-parse-sexp' or `syntax-ppss'." ^^^^^^^^^^^^^^^^^^ Shouldn't that be `parse-partial-sexp'? Appears with docstring current through bzr-100920 -- /s_P\ From debbugs-submit-bounces@debbugs.gnu.org Sat Jul 31 20:29:53 2010 Received: (at 6747-done) by debbugs.gnu.org; 1 Aug 2010 00:29:54 +0000 Received: from localhost ([127.0.0.1] helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.69) (envelope-from ) id 1OfMR6-0004wS-Qg for submit@debbugs.gnu.org; Sat, 31 Jul 2010 20:29:52 -0400 Received: from impaqm1.telefonica.net ([213.4.138.1]) by debbugs.gnu.org with esmtp (Exim 4.69) (envelope-from ) id 1OfMPO-0004vO-2q for 6747-done@debbugs.gnu.org; Sat, 31 Jul 2010 20:28:06 -0400 Received: from IMPmailhost4.adm.correo ([10.20.102.125]) by IMPaqm1.telefonica.net with bizsmtp id ooSJ1e00w2iL0W201oUQzJ; Sun, 01 Aug 2010 02:28:24 +0200 Received: from ceviche.home ([88.12.128.66]) by IMPmailhost4.adm.correo with BIZ IMP id ooUP1e00Q1S5DLQ1koUPX5; Sun, 01 Aug 2010 02:28:24 +0200 X-Brightmail-Tracker: AAAAAA== X-TE-authinfo: authemail="monnier$movistar.es" |auth_email="monnier@movistar.es" X-TE-AcuTerraCos: auth_cuTerraCos="cosuitnetc01" Received: by ceviche.home (Postfix, from userid 20848) id 458BD66140; Sun, 1 Aug 2010 02:28:23 +0200 (CEST) From: Stefan Monnier To: MON KEY Subject: Re: bug#6747: Documentation: `syntax-ppss-toplevel-pos' xref typo `partial-parse-sexp' <- `parse-partial-sexp' Message-ID: References: Date: Sun, 01 Aug 2010 02:28:23 +0200 In-Reply-To: (MON KEY's message of "Wed, 28 Jul 2010 11:16:13 -0400") User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/24.0.50 (gnu/linux) MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Spam-Score: -1.3 (-) X-Debbugs-Envelope-To: 6747-done X-Mailman-Approved-At: Sat, 31 Jul 2010 20:29:51 -0400 X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.11 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: debbugs-submit-bounces@debbugs.gnu.org Errors-To: debbugs-submit-bounces@debbugs.gnu.org X-Spam-Score: -1.8 (-) >>>>> "MON" == MON KEY writes: > The function `syntax-ppss-toplevel-pos' in emacs-lisp/syntax.el appears to > have a type: > ,---- (documentation 'syntax-ppss-toplevel-pos) > | > | Get the latest syntactically outermost position found in a syntactic scan. > | PPSS is a scan state, as returned by `partial-parse-sexp' or `syntax-ppss'. > | An "outermost position" means one that it is outside of any syntactic entity: > | outside of any parentheses, comments, or strings encountered in the scan. > | If no such position is recorded in PPSS (because the end of the scan was > | itself at the outermost level), return nil. > | > `---- > Is the second line in error? e.g. > "PPSS is a scan state, as returned by `partial-parse-sexp' or `syntax-ppss'." > ^^^^^^^^^^^^^^^^^^ > Shouldn't that be `parse-partial-sexp'? > Appears with docstring current through bzr-100920 Thanks, fixed in the emacs-23 branch, Stefan From unknown Sun Jun 15 08:38:53 2025 Received: (at fakecontrol) by fakecontrolmessage; To: internal_control@debbugs.gnu.org From: Debbugs Internal Request Subject: Internal Control Message-Id: bug archived. Date: Sun, 29 Aug 2010 11: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