From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Stefan Monnier Newsgroups: gmane.emacs.bugs Subject: bug#6747: Documentation: `syntax-ppss-toplevel-pos' xref typo `partial-parse-sexp' <- `parse-partial-sexp' Date: Sun, 01 Aug 2010 02:28:23 +0200 Message-ID: References: NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Trace: dough.gmane.org 1280623096 24288 80.91.229.12 (1 Aug 2010 00:38:16 GMT) X-Complaints-To: usenet@dough.gmane.org NNTP-Posting-Date: Sun, 1 Aug 2010 00:38:16 +0000 (UTC) To: MON KEY Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Sun Aug 01 02:38:12 2010 Return-path: Envelope-to: geb-bug-gnu-emacs@m.gmane.org Original-Received: from lists.gnu.org ([199.232.76.165]) by lo.gmane.org with esmtp (Exim 4.69) (envelope-from ) id 1OfMZ2-0001Kf-VJ for geb-bug-gnu-emacs@m.gmane.org; Sun, 01 Aug 2010 02:38:05 +0200 Original-Received: from localhost ([127.0.0.1]:58568 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1OfMZ2-0001IP-CA for geb-bug-gnu-emacs@m.gmane.org; Sat, 31 Jul 2010 20:38:04 -0400 Original-Received: from [140.186.70.92] (port=59932 helo=eggs.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1OfMYv-0001H6-Ns for bug-gnu-emacs@gnu.org; Sat, 31 Jul 2010 20:37:58 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.69) (envelope-from ) id 1OfMYu-0005wl-GL for bug-gnu-emacs@gnu.org; Sat, 31 Jul 2010 20:37:57 -0400 Original-Received: from debbugs.gnu.org ([140.186.70.43]:50871) by eggs.gnu.org with esmtp (Exim 4.69) (envelope-from ) id 1OfMYu-0005wh-DN for bug-gnu-emacs@gnu.org; Sat, 31 Jul 2010 20:37:56 -0400 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.69) (envelope-from ) id 1OfMRI-0004wz-3d for bug-gnu-emacs@gnu.org; Sat, 31 Jul 2010 20:30:04 -0400 Resent-From: Stefan Monnier Original-Sender: debbugs-submit-bounces@debbugs.gnu.org Resent-To: bug-gnu-emacs@gnu.org Resent-Date: Sun, 01 Aug 2010 00:30:03 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: cc-closed 6747 X-GNU-PR-Package: emacs X-GNU-PR-Keywords: Mail-Followup-To: 6747@debbugs.gnu.org, monnier@iro.umontreal.ca Original-Received: via spool by 6747-done@debbugs.gnu.org id=D6747.128062259419003 (code D ref 6747); Sun, 01 Aug 2010 00:30:03 +0000 Original-Received: (at 6747-done) by debbugs.gnu.org; 1 Aug 2010 00:29:54 +0000 Original-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 Original-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 Original-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 Original-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" Original-Received: by ceviche.home (Postfix, from userid 20848) id 458BD66140; Sun, 1 Aug 2010 02:28:23 +0200 (CEST) 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) 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 Resent-Date: Sat, 31 Jul 2010 20:30:04 -0400 X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.6 (newer, 3) 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: , Original-Sender: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Errors-To: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Xref: news.gmane.org gmane.emacs.bugs:39099 Archived-At: >>>>> "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