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: Paul Pogonyshev <pogonyshev <at> gmail.com>
Subject: bug#54411: closed (Re: bug#54411: German 'ß' is
 treated as subword start (a capital letter?) in `subword-mode')
Date: Sat, 02 Apr 2022 02:44:02 +0000
[Message part 1 (text/plain, inline)]
Your bug report

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

which was filed against the emacs package, has been closed.

The explanation is attached below, along with your original report.
If you require more details, please reply to 54411 <at> debbugs.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: 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.

[Message part 3 (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 4 (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 5 (text/html, inline)]

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.