[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: master 305dbc7 2/4: Move description of value to syntax-ppss functio
From: |
Noam Postavsky |
Subject: |
Re: master 305dbc7 2/4: Move description of value to syntax-ppss function. |
Date: |
Fri, 13 Dec 2019 07:34:36 -0500 |
On Wed, 30 Oct 2019 at 18:22, Lars Ingebrigtsen <address@hidden> wrote:
> Done (with Dmitry's suggestions). Everybody -- feel free to bikeshed
> (and change any of the accessor names) before we start using these.
Is it too late to bikeshed the names? ;)
I had earlier proposed some slightly shorter ones in
https://debbugs.gnu.org/32504#51, posting them here as a diff.
@@ -90,30 +90,30 @@ syntax-propertize-extend-region-functions
(:copier nil)
(:type list))
(depth nil :documentation "depth in parens")
- (innermost-start
+ (list-start
nil :documentation
"character address of start of innermost containing list; nil if none.")
- (last-complete-sexp-start
+ (last-sexp-start
nil :documentation
"character address of start of last complete sexp terminated.")
(string-terminator nil :documentation "\
non-nil if inside a string.
(it is the character that will terminate the string, or t if the
string should be terminated by a generic string delimiter.)")
- (comment-nesting nil :documentation "\
+ (comment nil :documentation "\
nil if outside a comment, t if inside a non-nestable comment,
else an integer (the current comment nesting).")
- (after-quote-p nil :documentation "t if following a quote character.")
- (minimum-paren-depth
+ (quoted-p nil :documentation "t if following a quote character.")
+ (min-depth
nil :documentation "the minimum paren-depth encountered during this scan.")
(comment-style nil :documentation "style of comment, if any.")
- (comment-or-string-start
+ (context-start
nil :documentation
"character address of start of comment or string; nil if not in one.")
- (open-paren-positions
+ (open-parens
nil :documentation
"List of positions of currently open parens, outermost first.")
- (two-character-syntax nil :documentation "\
+ (syntax-sequence nil :documentation "\
When the last position scanned holds the first character of a
(potential) two character construct, the syntax of that position,
otherwise nil. That construct can be a two character comment
- Re: master 305dbc7 2/4: Move description of value to syntax-ppss function.,
Noam Postavsky <=