unofficial mirror of bug-gnu-emacs@gnu.org 
 help / color / mirror / code / Atom feed
* Re: need to recognize non-ASCII identifiers
@ 2003-04-03  0:50 Luc Teirlinck
  2003-04-03 11:22 ` Martin Stjernholm
  0 siblings, 1 reply; 7+ messages in thread
From: Luc Teirlinck @ 2003-04-03  0:50 UTC (permalink / raw)
  Cc: bug-gnu-emacs

Martin Stjernholm wrote:

    You said it works in Emacs 21, but I haven't been able to find any
    doc
    on these new character classes in the manual for Emacs 21.2. Where
    can
    I read about it?

Start Emacs.  Do C- h i g (elisp)Char Classes

Is this the information you want?

(In my original message, I forgot to CC to bug-gnu-emacs@gnu.org.
I only resend so that you would not accidentally reply to my original
message, mistakenly believing that the reply would get posted.)

Sincerely,

Luc.

^ permalink raw reply	[flat|nested] 7+ messages in thread
* need to recognize non-ASCII identifiers
@ 2003-04-02 17:05 Dave Love
  2003-04-02 23:15 ` Martin Stjernholm
  0 siblings, 1 reply; 7+ messages in thread
From: Dave Love @ 2003-04-02 17:05 UTC (permalink / raw)
  Cc: bug-gnu-emacs

cc-mode needs to recognize non-ASCII identifiers.  I guess this should
be done for all languages, since Java is defined to use Unicode and
you can use non-ASCII charsets in C.

This will only work cleanly in Emacs 21, which should use replacements
in regexp char classes like `[:alnum:]' instead of `a-zA-Z0-9' and
similar in the relevant places.  (It should be safe to make the
replacement generally.)  To make it work also with XEmacs, you can
test for the relevant features with something like

`(string-match "[[:alpha:]]" "x")'

and conditionalize on the result at compile time.

I tried to make suitable changes but then failed to build the result
properly because of the way it's compiled, which I don't understand;
I've commented on that before...  I guess it's easy to start from
scratch on the replacements.


-------------------------------------------------------
This SF.net email is sponsored by: ValueWeb: 
Dedicated Hosting for just $79/mo with 500 GB of bandwidth! 
No other company gives more support or power for your dedicated server
http://click.atdmt.com/AFF/go/sdnxxaff00300020aff/direct/01/


^ permalink raw reply	[flat|nested] 7+ messages in thread

end of thread, other threads:[~2003-04-08 22:38 UTC | newest]

Thread overview: 7+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2003-04-03  0:50 need to recognize non-ASCII identifiers Luc Teirlinck
2003-04-03 11:22 ` Martin Stjernholm
2003-04-04  6:58   ` Richard Stallman
2003-04-08 22:38     ` Martin Stjernholm
  -- strict thread matches above, loose matches on Subject: below --
2003-04-02 17:05 Dave Love
2003-04-02 23:15 ` Martin Stjernholm
2003-04-03 16:31   ` Dave Love

Code repositories for project(s) associated with this public inbox

	https://git.savannah.gnu.org/cgit/emacs.git

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).