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.

To add a comment to this bug, you must first unarchive it, by sending
a message to control AT debbugs.gnu.org, with unarchive 54411 in the body.
You can then email your comments to 54411 AT debbugs.gnu.org in the normal way.

Toggle the display of automated, internal messages from the tracker.

View this report as an mbox folder, status mbox, maintainer mbox


Report forwarded to bug-gnu-emacs <at> gnu.org:
bug#54411; Package emacs. (Tue, 15 Mar 2022 23:30:02 GMT) Full text and rfc822 format available.

Acknowledgement sent to Paul Pogonyshev <pogonyshev <at> gmail.com>:
New bug report received and forwarded. Copy sent to bug-gnu-emacs <at> gnu.org. (Tue, 15 Mar 2022 23:30:02 GMT) Full text and rfc822 format available.

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

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 1 (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 2 (text/html, inline)]

Information forwarded to bug-gnu-emacs <at> gnu.org:
bug#54411; Package emacs. (Wed, 16 Mar 2022 04:09:01 GMT) Full text and rfc822 format available.

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

From: Michael Heerdegen <michael_heerdegen <at> web.de>
To: Paul Pogonyshev <pogonyshev <at> gmail.com>
Cc: 54411 <at> debbugs.gnu.org
Subject: Re: bug#54411: German 'ß' is treated as subword
 start (a capital letter?) in `subword-mode'
Date: Wed, 16 Mar 2022 05:07:59 +0100
Paul Pogonyshev <pogonyshev <at> gmail.com> writes:

> To reproduce:
>
> $ emacs --batch --eval "(progn (subword-mode 1) (insert \"fließen\") (goto-char 1)
> (forward-word) (print (point)))"
>
> Output:
> 5
>
> Expected:
> 8

I think this has been fixed - see Bug#11309, and especially this commit:

beebd2a85e Recognise ß properly as a lower-case letter (bug#11309)
Mattias Engdegård <mattiase <at> acm.org> Wed Dec 9 13:27:16 2020 +0100

I get the expected 8 here.  Can you maybe try with a more recent Emacs
version?

Michael.




Added tag(s) moreinfo. Request was from Lars Ingebrigtsen <larsi <at> gnus.org> to control <at> debbugs.gnu.org. (Thu, 17 Mar 2022 11:01:01 GMT) Full text and rfc822 format available.

Information forwarded to bug-gnu-emacs <at> gnu.org:
bug#54411; Package emacs. (Fri, 01 Apr 2022 00:39:02 GMT) Full text and rfc822 format available.

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

From: Michael Heerdegen <michael_heerdegen <at> web.de>
To: Paul Pogonyshev <pogonyshev <at> gmail.com>
Cc: 54411 <at> debbugs.gnu.org
Subject: Re: bug#54411: German 'ß' is treated as subword
 start (a capital letter?) in `subword-mode'
Date: Fri, 01 Apr 2022 02:38:38 +0200
Michael Heerdegen <michael_heerdegen <at> web.de> writes:

> I think this has been fixed - see Bug#11309, and especially this commit:
>
> beebd2a85e Recognise ß properly as a lower-case letter (bug#11309)
> Mattias Engdegård <mattiase <at> acm.org> Wed Dec 9 13:27:16 2020 +0100

Paul, any chance you can try again with a newer Emacs?

TIA,

Michael.




Information forwarded to bug-gnu-emacs <at> gnu.org:
bug#54411; Package emacs. (Fri, 01 Apr 2022 10:39:01 GMT) Full text and rfc822 format available.

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

From: Paul Pogonyshev <pogonyshev <at> gmail.com>
To: Michael Heerdegen <michael_heerdegen <at> web.de>
Cc: 54411 <at> debbugs.gnu.org
Subject: Re: bug#54411: German 'ß' is treated as subword start (a capital letter?) in `subword-mode'
Date: Fri, 1 Apr 2022 12:38:30 +0200
[Message part 1 (text/plain, inline)]
Just try the command I provided. If it gives the expected result with new
Emacs, then the bug is fixed.

Paul

On Fri, 1 Apr 2022 at 02:38, Michael Heerdegen <michael_heerdegen <at> web.de>
wrote:

> Michael Heerdegen <michael_heerdegen <at> web.de> writes:
>
> > I think this has been fixed - see Bug#11309, and especially this commit:
> >
> > beebd2a85e Recognise ß properly as a lower-case letter (bug#11309)
> > Mattias Engdegård <mattiase <at> acm.org> Wed Dec 9 13:27:16 2020 +0100
>
> Paul, any chance you can try again with a newer Emacs?
>
> TIA,
>
> Michael.
>
[Message part 2 (text/html, inline)]

Reply sent to Michael Heerdegen <michael_heerdegen <at> web.de>:
You have taken responsibility. (Sat, 02 Apr 2022 02:44:01 GMT) Full text and rfc822 format available.

Notification sent to Paul Pogonyshev <pogonyshev <at> gmail.com>:
bug acknowledged by developer. (Sat, 02 Apr 2022 02:44:02 GMT) Full text and rfc822 format available.

Message #21 received at 54411-close <at> debbugs.gnu.org (full text, mbox):

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.




bug archived. Request was from Debbugs Internal Request <help-debbugs <at> gnu.org> to internal_control <at> debbugs.gnu.org. (Sat, 30 Apr 2022 11:24:04 GMT) Full text and rfc822 format available.

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

Previous Next


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