GNU bug report logs -
#6747
Documentation: `syntax-ppss-toplevel-pos' xref typo `partial-parse-sexp' <- `parse-partial-sexp'
Previous Next
Reported by: MON KEY <monkey <at> sandpframing.com>
Date: Wed, 28 Jul 2010 15:17:02 UTC
Severity: normal
Done: Stefan Monnier <monnier <at> iro.umontreal.ca>
Bug is archived. No further changes may be made.
Full log
View this message in rfc822 format
[Message part 1 (text/plain, inline)]
Your bug report
#6747: Documentation: `syntax-ppss-toplevel-pos' xref typo `partial-parse-sexp' <- `parse-partial-sexp'
which was filed against the emacs package, has been closed.
The explanation is attached below, along with your original report.
If you require more details, please reply to 6747 <at> debbugs.gnu.org.
--
6747: http://debbugs.gnu.org/cgi/bugreport.cgi?bug=6747
GNU Bug Tracking System
Contact help-debbugs <at> gnu.org with problems
[Message part 2 (message/rfc822, inline)]
>>>>> "MON" == MON KEY <monkey <at> sandpframing.com> 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
[Message part 3 (message/rfc822, inline)]
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\
This bug report was last modified 14 years and 293 days ago.
Previous Next
GNU bug tracking system
Copyright (C) 1999 Darren O. Benham,
1997,2003 nCipher Corporation Ltd,
1994-97 Ian Jackson.