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

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

bug#16731: 24.3.50; Latin small letter sharp s is not considered lower-c


From: Andreas Röhler
Subject: bug#16731: 24.3.50; Latin small letter sharp s is not considered lower-case
Date: Thu, 13 Feb 2014 09:27:43 +0100
User-agent: Mozilla/5.0 (X11; Linux i686; rv:24.0) Gecko/20100101 Thunderbird/24.2.0

Am 13.02.2014 04:46, schrieb Eli Zaretskii:
Date: Wed, 12 Feb 2014 21:33:31 +0100
From: Andreas Röhler <andreas.roehler@easy-emacs.de>
CC: 16731@debbugs.gnu.org

Am 12.02.2014 21:16, schrieb Eli Zaretskii:
Date: Wed, 12 Feb 2014 21:10:57 +0100
From: Andreas Röhler <andreas.roehler@easy-emacs.de>
CC: 16731@debbugs.gnu.org

While upcase1 can't succeed, downcase should - if "ß" is a member of 
downcase_table.

But which character do you want to downcase in this case?

This whole logic works only for _pairs_ of characters (and the
char-table used here is populated by calls to set-case-syntax-pair).

So populate it differently, resp. allow empty slots.

How will we then be able to distinguish between lower-case characters
that have no upcase variant and characters that are not lower-case
characters at all?

You can do (downcase "d") for example, which results in "d".

Instead of

upcase1 (c) != c

what about

downcase (c) == c

?

The same is true for any non-letter, like punctuation.



Okay, right.

So it seems upcase_table is populated wrongly with "ß"?






reply via email to

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