[Top][All Lists]

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

bug#15429: 23.4; doc string of `syntax-ppss'

From: Drew Adams
Subject: bug#15429: 23.4; doc string of `syntax-ppss'
Date: Fri, 20 Sep 2013 14:02:11 -0700 (PDT)

"... 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

reply via email to

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