GNU bug report logs - #10576
Subject: 23.4; char class [:lower:] misses latin small letter sharp s

Previous Next

Package: emacs;

Reported by: Andreas Röhler <andreas.roehler <at> easy-emacs.de>

Date: Sun, 22 Jan 2012 13:26:02 UTC

Severity: normal

Merged with 16731

Found in version 24.3.50

Fixed in version 28.1

Done: Lars Ingebrigtsen <larsi <at> gnus.org>

Bug is archived. No further changes may be made.

Full log


Message #8 received at 10576 <at> debbugs.gnu.org (full text, mbox):

From: Andreas Schwab <schwab <at> linux-m68k.org>
To: Andreas Röhler <andreas.roehler <at> easy-emacs.de>
Cc: 10576 <at> debbugs.gnu.org
Subject: Re: bug#10576: Subject: 23.4;
	char class [:lower:] misses latin small letter sharp s
Date: Sun, 22 Jan 2012 15:04:38 +0100
Andreas Röhler <andreas.roehler <at> easy-emacs.de> writes:

> evaluating the form below results in "0", i.e. no move
>
> (skip-chars-forward "[:lower:]")ß
>
> AFAIU [:lower:] doesn't recognise that char

That's because ?ß has no upper case, so lowercasep in src/buffer.h
return 0.

(Actually in Unicode, ?ß does have a capital variant, ?ẞ, but while
lowercasing ?ẞ maps to ?ß, uppercasing ?ß actually maps to "SS".)

Andreas.

-- 
Andreas Schwab, schwab <at> linux-m68k.org
GPG Key fingerprint = 58CA 54C7 6D53 942B 1756  01D3 44D5 214B 8276 4ED5
"And now for something completely different."




This bug report was last modified 3 years and 310 days ago.

Previous Next


GNU bug tracking system
Copyright (C) 1999 Darren O. Benham, 1997,2003 nCipher Corporation Ltd, 1994-97 Ian Jackson.