Subject: Re: bug#73307: Fix ctype(3) usage

From: Stefan Monnier <[email-masked]>
Date: Wed, 18 Sep 2024 11:18:21 -0400

> You are testing characters for whitespace syntax, which is AFAIU
> subject to buffer-local syntax tables.  Thus, a strange enough setting
> of buffer syntax could make this code return unexpected results.
>
> Stefan, am I right?

Yup.

> Why can't we use something closer to the original code, which doesn't
> depend on buffer-local customizations?

We could use the global/default syntax table?
[ Or rely on some of the unicode tables?  ]

        Stefan