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

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

Re: Matching programming language identifiers, not "words"


From: Stefan Monnier
Subject: Re: Matching programming language identifiers, not "words"
Date: 26 Aug 2004 11:17:40 -0400
User-agent: Gnus/5.09 (Gnus v5.9.0) Emacs/21.3.50

> ! a word or symbol constituent character follows.

No, my point was that a "word constituent" is also a "symbol constituent",
because a "symbol constituent" has either word or symbol syntax.

This distinction between "symbol syntax" and "symbol constituent" as
currently used in the manual is good.  We just need to make it more clear by
explaining it.

My sample text was wrong in that instead of 

   A symbol-constituent character is a character whose syntax is either
   @vsamp{w} or @samp{_}.  @samp{\_<} matches at the beginning of ...

we should say something like:

   A symbol-constituent character is a character whose syntax is either
   word (@samp{w}) or symbol (@samp{_}).  @samp{\_<} matches at the
   beginning of ...

We can drop the (@samp{w}) and (@samp{_}) if they are too
elisp-oriented.


        Stefan




reply via email to

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