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

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

Re: character syntax fixes needed


From: Kenichi Handa
Subject: Re: character syntax fixes needed
Date: Wed, 6 Apr 2005 10:18:47 +0900 (JST)
User-agent: SEMI/1.14.3 (Ushinoya) FLIM/1.14.2 (Yagi-Nishiguchi) APEL/10.2 Emacs/22.0.50 (sparc-sun-solaris2.6) MULE/5.0 (SAKAKI)

In article <address@hidden>, Dave Love <address@hidden> writes:

> Unicode says how guillemets are used as a matter of fact, which you
> can verify.  It's manifestly wrong for single ones to have word syntax
> and double ones to have paren syntax and I wish I'd just changed it
> when I had the chance.

Unicode doesn't say which syntax a character should have in
Emacs.  Even if we give guillemets "generic string
delimiter" syntax, it doesn't mean emacs thinks it's not a
punctuation character.  What emacs thinks is just that its
SYNTAX is not "punctuation character", which doesn't
conflict wiht Unicode's definition about a character.

BTW, we shouldn't guess how characters are used from their
name.  Unicode's character names are just names.  "General
Category" of Unicode Character Database gives official
categorization, and it gives "Pi" to `«' and "Pf" to `»'.

  Ps    Punctuation, Open
  Pe    Punctuation, Close
  Pi    Punctuation, Initial quote (may behave like Ps or Pe depending on usage)
  Pf    Punctuation, Final quote (may behave like Ps or Pe depending on usage)

So, it seems that even Unicode thinks that they are supposed
to be used as a pair in some sense.

---
Ken'ichi HANDA
address@hidden



reply via email to

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