GNU bug report logs - #54411
German 'ß' is treated as subword start (a capital letter?) in `subword-mode'

Previous Next

Package: emacs;

Reported by: Paul Pogonyshev <pogonyshev <at> gmail.com>

Date: Tue, 15 Mar 2022 23:30:02 UTC

Severity: normal

Tags: moreinfo

Done: Michael Heerdegen <michael_heerdegen <at> web.de>

Bug is archived. No further changes may be made.

Full log


View this message in rfc822 format

From: help-debbugs <at> gnu.org (GNU bug Tracking System)
To: Michael Heerdegen <michael_heerdegen <at> web.de>
Cc: tracker <at> debbugs.gnu.org
Subject: bug#54411: closed (German 'ß' is treated as
 subword start (a capital letter?) in `subword-mode')
Date: Sat, 02 Apr 2022 02:44:01 +0000
[Message part 1 (text/plain, inline)]
Your message dated Sat, 02 Apr 2022 04:43:03 +0200
with message-id <87y20odx3c.fsf <at> web.de>
and subject line Re: bug#54411: German 'ß' is treated as subword start (a capital letter?) in `subword-mode'
has caused the debbugs.gnu.org bug report #54411,
regarding German 'ß' is treated as subword start (a capital letter?) in `subword-mode'
to be marked as done.

(If you believe you have received this mail in error, please contact
help-debbugs <at> gnu.org.)


-- 
54411: http://debbugs.gnu.org/cgi/bugreport.cgi?bug=54411
GNU Bug Tracking System
Contact help-debbugs <at> gnu.org with problems
[Message part 2 (message/rfc822, inline)]
From: Paul Pogonyshev <pogonyshev <at> gmail.com>
To: bug-gnu-emacs <at> gnu.org
Subject: German 'ß' is treated as subword start (a capital letter?) in `subword-mode'
Date: Wed, 16 Mar 2022 00:29:11 +0100
[Message part 3 (text/plain, inline)]
To reproduce:

$ emacs --batch --eval "(progn (subword-mode 1) (insert \"fließen\")
(goto-char 1) (forward-word) (print (point)))"

Output:
5

Expected:
8

$ emacs --version
GNU Emacs 27.2.50
[Message part 4 (text/html, inline)]
[Message part 5 (message/rfc822, inline)]
From: Michael Heerdegen <michael_heerdegen <at> web.de>
To: Paul Pogonyshev <pogonyshev <at> gmail.com>
Cc: 54411-close <at> debbugs.gnu.org
Subject: Re: bug#54411: German 'ß' is treated as subword
 start (a capital letter?) in `subword-mode'
Date: Sat, 02 Apr 2022 04:43:03 +0200
Paul Pogonyshev <pogonyshev <at> gmail.com> writes:

> Just try the command I provided. If it gives the expected result with
> new Emacs, then the bug is fixed.

Yes, it is.  Now

 (string-match "[[:lower:]]" "ß")
    ==> 0

this returned nil in older Emacs versions.  "ß" had been treated as
subword start before that commit beebd2a85e but isn't any more.

So everything seems to work fine now, and I'm thus closing this report.

Thanks,

Michael.


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

Previous Next


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