[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
bug#51089: 28.0.60; Using read-symbol-shorthands (("-" . "foo-")) should
From: |
Eli Zaretskii |
Subject: |
bug#51089: 28.0.60; Using read-symbol-shorthands (("-" . "foo-")) shouldn't shadow the '-' symbol |
Date: |
Fri, 08 Oct 2021 22:07:22 +0300 |
> Date: Fri, 08 Oct 2021 19:01:40 +0300
> From: Eli Zaretskii <eliz@gnu.org>
> Cc: 51089@debbugs.gnu.org, rms@gnu.org
>
> > From: João Távora <joaotavora@gmail.com>
> > Date: Fri, 8 Oct 2021 15:02:32 +0100
> > Cc: 51089@debbugs.gnu.org, Richard Stallman <rms@gnu.org>
> >
> > what is
> > the easiest C-way of checking if every character is a multibyte string is
> > punctuation? Call into Elisp?
>
> No need to call into Lisp. See alphanumericp and friends in
> character.c for how to do it. We need a new function like those. I
> will post the general categories of punctuation characters in a while.
Actually, do we care about non-ASCII characters in this context?
Because if we only care about ASCII punctuation, it would be easier to
provide an explicit string made of such characters and see if the
character to test is in the string. WDYT?
- bug#51089: 28.0.60; Using read-symbol-shorthands (("-" . "foo-")) shouldn't shadow the '-' symbol, João Távora, 2021/10/07
- bug#51089: 28.0.60; Using read-symbol-shorthands (("-" . "foo-")) shouldn't shadow the '-' symbol, Eli Zaretskii, 2021/10/08
- bug#51089: 28.0.60; Using read-symbol-shorthands (("-" . "foo-")) shouldn't shadow the '-' symbol, João Távora, 2021/10/08
- bug#51089: 28.0.60; Using read-symbol-shorthands (("-" . "foo-")) shouldn't shadow the '-' symbol, Eli Zaretskii, 2021/10/08
- bug#51089: 28.0.60; Using read-symbol-shorthands (("-" . "foo-")) shouldn't shadow the '-' symbol, João Távora, 2021/10/08
- bug#51089: 28.0.60; Using read-symbol-shorthands (("-" . "foo-")) shouldn't shadow the '-' symbol, Eli Zaretskii, 2021/10/08
- bug#51089: 28.0.60; Using read-symbol-shorthands (("-" . "foo-")) shouldn't shadow the '-' symbol,
Eli Zaretskii <=
- bug#51089: 28.0.60; Using read-symbol-shorthands (("-" . "foo-")) shouldn't shadow the '-' symbol, João Távora, 2021/10/09
- bug#51089: 28.0.60; Using read-symbol-shorthands (("-" . "foo-")) shouldn't shadow the '-' symbol, Eli Zaretskii, 2021/10/09
- bug#51089: 28.0.60; Using read-symbol-shorthands (("-" . "foo-")) shouldn't shadow the '-' symbol, João Távora, 2021/10/10
- bug#51089: 28.0.60; Using read-symbol-shorthands (("-" . "foo-")) shouldn't shadow the '-' symbol, João Távora, 2021/10/10
- bug#51089: 28.0.60; Using read-symbol-shorthands (("-" . "foo-")) shouldn't shadow the '-' symbol, João Távora, 2021/10/10
- bug#51089: 28.0.60; Using read-symbol-shorthands (("-" . "foo-")) shouldn't shadow the '-' symbol, João Távora, 2021/10/11
- bug#51089: 28.0.60; Using read-symbol-shorthands (("-" . "foo-")) shouldn't shadow the '-' symbol, Eli Zaretskii, 2021/10/12