unofficial mirror of bug-gnu-emacs@gnu.org 
 help / color / mirror / code / Atom feed
From: Martin Stjernholm <mast@lysator.liu.se>
Cc: bug-gnu-emacs@gnu.org
Subject: Re: need to recognize non-ASCII identifiers
Date: Thu, 03 Apr 2003 01:15:09 +0200	[thread overview]
Message-ID: <5bznn8o5j6.fsf@lister.roxen.com> (raw)
In-Reply-To: <rzqy92sj0dh.fsf@albion.dl.ac.uk> (Dave Love's message of "02 Apr 2003 18:05:30 +0100")

Dave Love <d.love@dl.ac.uk> wrote:

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

Yes, furthermore it would hardly be a problem if CC Mode is more
lenient in this regard than the compiler.

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

Even in other versions there's the possibility to use \sw etc. The
problem has been that there's no character class that matches all
alphabetic characters but not the digits. However, you mentioned
[:alpha:] which would presumably do just that.

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?

  reply	other threads:[~2003-04-02 23:15 UTC|newest]

Thread overview: 7+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2003-04-02 17:05 need to recognize non-ASCII identifiers Dave Love
2003-04-02 23:15 ` Martin Stjernholm [this message]
2003-04-03 16:31   ` Dave Love
  -- strict thread matches above, loose matches on Subject: below --
2003-04-03  0:50 Luc Teirlinck
2003-04-03 11:22 ` Martin Stjernholm
2003-04-04  6:58   ` Richard Stallman
2003-04-08 22:38     ` Martin Stjernholm

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

  List information: https://www.gnu.org/software/emacs/

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=5bznn8o5j6.fsf@lister.roxen.com \
    --to=mast@lysator.liu.se \
    --cc=bug-cc-mode@gnu.org \
    --cc=bug-gnu-emacs@gnu.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
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).