all messages for Emacs-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
* bug#54411: German 'ß' is treated as subword start (a capital letter?) in `subword-mode'
@ 2022-03-15 23:29 Paul Pogonyshev
  2022-03-16  4:07 ` Michael Heerdegen
  0 siblings, 1 reply; 5+ messages in thread
From: Paul Pogonyshev @ 2022-03-15 23:29 UTC (permalink / raw)
  To: 54411

[-- Attachment #1: Type: text/plain, Size: 206 bytes --]

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

[-- Attachment #2: Type: text/html, Size: 527 bytes --]

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

* bug#54411: German 'ß' is treated as subword start (a capital letter?) in `subword-mode'
  2022-03-15 23:29 bug#54411: German 'ß' is treated as subword start (a capital letter?) in `subword-mode' Paul Pogonyshev
@ 2022-03-16  4:07 ` Michael Heerdegen
  2022-04-01  0:38   ` Michael Heerdegen
  0 siblings, 1 reply; 5+ messages in thread
From: Michael Heerdegen @ 2022-03-16  4:07 UTC (permalink / raw)
  To: Paul Pogonyshev; +Cc: 54411

Paul Pogonyshev <pogonyshev@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@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.





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

* bug#54411: German 'ß' is treated as subword start (a capital letter?) in `subword-mode'
  2022-03-16  4:07 ` Michael Heerdegen
@ 2022-04-01  0:38   ` Michael Heerdegen
  2022-04-01 10:38     ` Paul Pogonyshev
  0 siblings, 1 reply; 5+ messages in thread
From: Michael Heerdegen @ 2022-04-01  0:38 UTC (permalink / raw)
  To: Paul Pogonyshev; +Cc: 54411

Michael Heerdegen <michael_heerdegen@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@acm.org> Wed Dec 9 13:27:16 2020 +0100

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

TIA,

Michael.





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

* bug#54411: German 'ß' is treated as subword start (a capital letter?) in `subword-mode'
  2022-04-01  0:38   ` Michael Heerdegen
@ 2022-04-01 10:38     ` Paul Pogonyshev
  2022-04-02  2:43       ` Michael Heerdegen
  0 siblings, 1 reply; 5+ messages in thread
From: Paul Pogonyshev @ 2022-04-01 10:38 UTC (permalink / raw)
  To: Michael Heerdegen; +Cc: 54411

[-- Attachment #1: Type: text/plain, Size: 579 bytes --]

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@web.de>
wrote:

> Michael Heerdegen <michael_heerdegen@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@acm.org> Wed Dec 9 13:27:16 2020 +0100
>
> Paul, any chance you can try again with a newer Emacs?
>
> TIA,
>
> Michael.
>

[-- Attachment #2: Type: text/html, Size: 1044 bytes --]

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

* bug#54411: German 'ß' is treated as subword start (a capital letter?) in `subword-mode'
  2022-04-01 10:38     ` Paul Pogonyshev
@ 2022-04-02  2:43       ` Michael Heerdegen
  0 siblings, 0 replies; 5+ messages in thread
From: Michael Heerdegen @ 2022-04-02  2:43 UTC (permalink / raw)
  To: Paul Pogonyshev; +Cc: 54411-close

Paul Pogonyshev <pogonyshev@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.





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

end of thread, other threads:[~2022-04-02  2:43 UTC | newest]

Thread overview: 5+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2022-03-15 23:29 bug#54411: German 'ß' is treated as subword start (a capital letter?) in `subword-mode' Paul Pogonyshev
2022-03-16  4:07 ` Michael Heerdegen
2022-04-01  0:38   ` Michael Heerdegen
2022-04-01 10:38     ` Paul Pogonyshev
2022-04-02  2:43       ` Michael Heerdegen

Code repositories for project(s) associated with this external index

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

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.