[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: case-table functions clobbering extra slots
From: |
Richard Stallman |
Subject: |
Re: case-table functions clobbering extra slots |
Date: |
Fri, 28 Jan 2005 09:14:15 -0500 |
(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.
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.
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? Would you like to start designing a full solution?
- Re: case-table functions clobbering extra slots, (continued)
- Re: case-table functions clobbering extra slots, Dave Love, 2005/01/25
- Re: case-table functions clobbering extra slots, Kenichi Handa, 2005/01/26
- Re: case-table functions clobbering extra slots, Richard Stallman, 2005/01/26
- Re: case-table functions clobbering extra slots, Kenichi Handa, 2005/01/26
- Re: case-table functions clobbering extra slots, Richard Stallman, 2005/01/27
- Re: case-table functions clobbering extra slots, Kenichi Handa, 2005/01/27
- Re: case-table functions clobbering extra slots,
Richard Stallman <=
- Re: case-table functions clobbering extra slots, Simon Josefsson, 2005/01/28
- Re: case-table functions clobbering extra slots, Stefan Monnier, 2005/01/28
- Re: case-table functions clobbering extra slots, Eli Zaretskii, 2005/01/28
- Re: case-table functions clobbering extra slots, Simon Josefsson, 2005/01/28
- Re: case-table functions clobbering extra slots, Stefan Monnier, 2005/01/28
- Re: case-table functions clobbering extra slots, Simon Josefsson, 2005/01/28
- Re: case-table functions clobbering extra slots, Eli Zaretskii, 2005/01/28
- Re: case-table functions clobbering extra slots, Simon Josefsson, 2005/01/28
- Re: case-table functions clobbering extra slots, Eli Zaretskii, 2005/01/29
- Re: case-table functions clobbering extra slots, Dave Love, 2005/01/30