emacs-bug-tracker
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Emacs-bug-tracker] bug#6747: closed (Documentation: `syntax-ppss-toplev


From: GNU bug Tracking System
Subject: [Emacs-bug-tracker] bug#6747: closed (Documentation: `syntax-ppss-toplevel-pos' xref typo `partial-parse-sexp' <- `parse-partial-sexp')
Date: Sun, 01 Aug 2010 00:30:04 +0000

Your message dated Sun, 01 Aug 2010 02:28:23 +0200
with message-id <address@hidden>
and subject line Re: bug#6747: Documentation: `syntax-ppss-toplevel-pos' xref 
typo `partial-parse-sexp' <- `parse-partial-sexp'
has caused the GNU bug report #6747,
regarding Documentation: `syntax-ppss-toplevel-pos' xref typo  
`partial-parse-sexp' <- `parse-partial-sexp'
to be marked as done.

(If you believe you have received this mail in error, please contact
address@hidden)


-- 
6747: http://debbugs.gnu.org/cgi/bugreport.cgi?bug=6747
GNU Bug Tracking System
Contact address@hidden with problems
--- Begin Message --- Subject: Documentation: `syntax-ppss-toplevel-pos' xref typo `partial-parse-sexp' <- `parse-partial-sexp' Date: Wed, 28 Jul 2010 11:16:13 -0400
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\



--- End Message ---
--- Begin Message --- Subject: Re: bug#6747: Documentation: `syntax-ppss-toplevel-pos' xref typo `partial-parse-sexp' <- `parse-partial-sexp' Date: Sun, 01 Aug 2010 02:28:23 +0200 User-agent: Gnus/5.13 (Gnus v5.13) Emacs/24.0.50 (gnu/linux)
>>>>> "MON" == MON KEY <address@hidden> 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


--- End Message ---

reply via email to

[Prev in Thread] Current Thread [Next in Thread]