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

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

Re: case-table functions clobbering extra slots


From: Kenichi Handa
Subject: Re: case-table functions clobbering extra slots
Date: Sat, 29 Jan 2005 09:53:10 +0900 (JST)
User-agent: SEMI/1.14.3 (Ushinoya) FLIM/1.14.2 (Yagi-Nishiguchi) APEL/10.2 Emacs/21.3.50 (sparc-sun-solaris2.6) MULE/5.0 (SAKAKI)

In article <address@hidden>, Richard Stallman <address@hidden> writes:

>     (let ((old (standard-case-table)))
>       (set-standard-case-table table)
>       (or (eq old table)
>         (set-standard-case-table old)))

> Yes, tho I'd use unwind-protect just in case of quits.

Ok.

>     I proposed "(two) new functions", for instance,
>     (set-upcase-syntax LC UC TABLE) and
>     (set-downcase-syntax UC LC TABLE).

>     But you said "A new function is cleaner".  So I thought you
>     were suggesting to have a single function, for instance,
>     (set-up-or-downcase-syntax UC LC TABLE UP-P).

> Of those two alternatives, the former is cleaner.  I am not sure
> we need set-downcase-syntax, though.  I think the only real
> cases are for set-upcase-syntax.

Downcase of dotted-I is dotted-i (`i'), but, in
lang. env. other than Turkish, upcase of dotted-i must be
dotless-I (`I').  So we need
  (set-downcase-syntax dotted-I dotted-i table)

> Of course, to really solve these problems, after the release, we need
> a more thorough change.  I think Greek uses two forms of lower-case
> sigma, one at the end of the word, one elsewhere.  To downcase
> correctly requires determining where the sigma is.  Then there's the
> problem of ß in German, which I believe should upcase to SS.  And SS
> in some (but not all?)  cases should downcase into ß in German.

> I think the mechanism of case tables is thus inadequate.  The question
> is whether to replace it or extend it.

> Do you have a complete list of problem cases for case conversion in
> Emacs?

No.

> Would you like to start designing a full solution?

I'd like to ask it to someone whose native lang. uses
case-sentive characters.  Or, at least, I need a help of an
expert on this matter.  As my knowledge about case-sentive
characters is only for English (only one-to-one, and no
diacriticals), I may overlook many cases to be considered
(e.g. I didn't know about the sigma case).

---
Ken'ichi HANDA
address@hidden




reply via email to

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