unofficial mirror of bug-gnu-emacs@gnu.org 
 help / color / mirror / code / Atom feed
* bug#10576: Subject: 23.4; char class [:lower:] misses latin small letter sharp s
@ 2012-01-22 13:24 Andreas Röhler
  2012-01-22 14:04 ` Andreas Schwab
  0 siblings, 1 reply; 3+ messages in thread
From: Andreas Röhler @ 2012-01-22 13:24 UTC (permalink / raw)
  To: 10576

Hi,

in scratch-buffer, emacs -Q,

cursor at end of line at LATIN SMALL LETTER SHARP S,

evaluating the form below results in "0", i.e. no move

(skip-chars-forward "[:lower:]")ß

AFAIU [:lower:] doesn't recognise that char

C-u C-x =
says:

         character: ß (223, #o337, #xdf)
preferred charset: iso-8859-1 (Latin-1 (ISO/IEC 8859-1))
        code point: 0xDF
            syntax: w 	which means: word
          category: .:Base, h:Korean, j:Japanese, l:Latin
       buffer code: #xC3 #x9F
         file code: #xC3 #x9F (encoded by coding system utf-8-unix)
           display: by this font (glyph code)
     xft:-unknown-DejaVu Sans 
Mono-normal-normal-normal-*-12-*-*-*-m-0-iso10646-1 (#xA1)

Character code properties: customize what to show
   name: LATIN SMALL LETTER SHARP S
   general-category: Ll (Letter, Lowercase)

There are text properties here:
   fontified            t

;;;;;;;;;;;

thanks all,

Andreas

In GNU Emacs 23.4.1 (i686-pc-linux-gnu, X toolkit, Xaw3d scroll bars)
  of 2012-01-20
Windowing system distributor `The X.Org Foundation', version 11.0.10903000
configured using `configure  'CFLAGS=-g -O''

Important settings:
   value of $LC_ALL: nil
   value of $LC_COLLATE: nil
   value of $LC_CTYPE: nil
   value of $LC_MESSAGES: nil
   value of $LC_MONETARY: nil
   value of $LC_NUMERIC: nil
   value of $LC_TIME: nil
   value of $LANG: de_DE.UTF-8
   value of $XMODIFIERS: @im=local
   locale-coding-system: utf-8-unix
   default enable-multibyte-characters: t

Major mode: Lisp Interaction

Minor modes in effect:
   tooltip-mode: t
   mouse-wheel-mode: t
   tool-bar-mode: t
   menu-bar-mode: t
   file-name-shadow-mode: t
   global-font-lock-mode: t
   font-lock-mode: t
   blink-cursor-mode: t
   auto-encryption-mode: t
   auto-compression-mode: t
   line-number-mode: t
   transient-mark-mode: t

Recent input:
( s k i p - c h a r s - f o r w a r d SPC " [ [ : l
o w e r : ] ] " ) a s d f <left> <left> <left> <left>
C-x C-e <left> <left> <left> <left> <left> <left> <left>
<left> <left> <left> <left> <left> <left> <left> <left>
<left> <left> C-d <right> <right> <right> <right> <right>
<right> <right> <right> <right> C-d <right> <right>
C-x C-e <left> <right> <backspace> <backspace> <backspace>
<backspace> ? <left> C-d ß <left> C-x C-e C-u C-c C-r
C-u C-x C-e <backspace> <right> <return> <return> <up>
<up> <up> <return> e v a l u a t i n g SPC t h e SPC
f o r m SPC b e l w o <backspace> <backspace> o w SPC
r e s u l t s SPC i n SPC " 0 " , SPC i . e . SPC <return>
<left> n o SPC m o v e <down> <down> <return> <return>
<up> <left> <left> C-x C-e M-x r e p o r t - e a c
<backspace> <backspace> m a c s - b u <tab> <retur
n>

Recent messages:
For information about GNU Emacs and the GNU system, type C-h C-a.
4 [2 times]
0
0

Load-path shadows:
None found.

Features:
(shadow sort mail-extr message sendmail regexp-opt ecomplete rfc822 mml
easymenu mml-sec password-cache mm-decode mm-bodies mm-encode mailcap
mail-parse rfc2231 rfc2047 rfc2045 qp ietf-drums mailabbrev nnheader
gnus-util netrc time-date mm-util mail-prsvr gmm-utils wid-edit
mailheader canlock sha1 hex-util hashcash mail-utils emacsbug tooltip
ediff-hook vc-hooks lisp-float-type mwheel x-win x-dnd font-setting
tool-bar dnd fontset image fringe lisp-mode register page menu-bar
rfn-eshadow timer select scroll-bar mldrag mouse jit-lock font-lock
syntax facemenu font-core frame cham georgian utf-8-lang misc-lang
vietnamese tibetan thai tai-viet lao korean japanese hebrew greek
romanian slovak czech european ethiopic indian cyrillic chinese
case-table epa-hook jka-cmpr-hook help simple abbrev loaddefs button
minibuffer faces cus-face files text-properties overlay md5 base64
format env code-pages mule custom widget hashtable-print-readable
backquote make-network-process dbusbind system-font-setting
font-render-setting x-toolkit x multi-tty emacs)





^ permalink raw reply	[flat|nested] 3+ messages in thread

* bug#10576: Subject: 23.4; char class [:lower:] misses latin small letter sharp s
  2012-01-22 13:24 bug#10576: Subject: 23.4; char class [:lower:] misses latin small letter sharp s Andreas Röhler
@ 2012-01-22 14:04 ` Andreas Schwab
  0 siblings, 0 replies; 3+ messages in thread
From: Andreas Schwab @ 2012-01-22 14:04 UTC (permalink / raw)
  To: Andreas Röhler; +Cc: 10576

Andreas Röhler <andreas.roehler@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@linux-m68k.org
GPG Key fingerprint = 58CA 54C7 6D53 942B 1756  01D3 44D5 214B 8276 4ED5
"And now for something completely different."





^ permalink raw reply	[flat|nested] 3+ messages in thread

* bug#10576: Subject: 23.4; char class [:lower:] misses latin small letter sharp s
  2014-02-12 17:29 bug#16731: 24.3.50; Latin small letter sharp s is not considered lower-case Jorgen Schaefer
@ 2021-07-16 12:32 ` Lars Ingebrigtsen
  0 siblings, 0 replies; 3+ messages in thread
From: Lars Ingebrigtsen @ 2021-07-16 12:32 UTC (permalink / raw)
  To: Jorgen Schaefer; +Cc: 10576, 16731

Jorgen Schaefer <forcer@forcix.cx> writes:

> The following seems like a bug:
>
> (string-match "[[:lower:]]" "ß") => nil

This has been fixed in Emacs 28.

-- 
(domestic pets only, the antidote for overdose, milk.)
   bloggy blog: http://lars.ingebrigtsen.no





^ permalink raw reply	[flat|nested] 3+ messages in thread

end of thread, other threads:[~2021-07-16 12:32 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2012-01-22 13:24 bug#10576: Subject: 23.4; char class [:lower:] misses latin small letter sharp s Andreas Röhler
2012-01-22 14:04 ` Andreas Schwab
  -- strict thread matches above, loose matches on Subject: below --
2014-02-12 17:29 bug#16731: 24.3.50; Latin small letter sharp s is not considered lower-case Jorgen Schaefer
2021-07-16 12:32 ` bug#10576: Subject: 23.4; char class [:lower:] misses latin small letter sharp s Lars Ingebrigtsen

Code repositories for project(s) associated with this public inbox

	https://git.savannah.gnu.org/cgit/emacs.git

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).