Hi Christian, Thanks for the review, and apologies for the earlier patch with ambiguity. I was thinking about this a bit and I have two ideas. The first would be to specify "uppercase ASCII alphabetic character", since ASCII does not support anything with accents. The other would be to use a precise definition based on elisp of "characters whose literal form (e.g. A?, B?, etc) evaluates to an integer between 65 and 90". I agree that maybe we should provide one definition in the syntax file and refer to it.
Cheers, Derek On Fri, Dec 5, 2025 at 10:24 AM Christian Moe <[email protected]> wrote: > Derek Chen-Becker <[email protected]> writes: > > > Thanks, fixed! > > > > On Fri, Dec 5, 2025 at 6:05 AM Rudolf Adamkovič <[email protected]> > wrote: > > > > Derek Chen-Becker <[email protected]> writes: > > > > > + between A and Z or an integer number between 0 and 64, preceded by > > ^^^^^^^^^^^^^^ > > just "integer" > > (nobody says "integer number") > > Sorry for applying the earlier patch without reviewing it carefully > enough. I'd like to go ahead again and apply this patch as soon as > possible to fix the "integral". > > But are there further refinements, while we're at it? Is "A single > uppercase alphabetic character between A and Z" clear and correct enough > now? > > In English it's fairly conventional to use "alphabetic character" means > a letter of the /English/ alphabet. But as Ihor pointed out, there are > different alphabets, so it's ambiguous at the least, and on the syntax > page we should be careful. > > However, the worg/org-syntax.org page also refers to "alphabetic > characters" under blocks (switches), entities (can be followed by a > non-alphabetic character), LaTeX fragments, and macros. I think most or > all of these mean [a-zA-Z]. Should we fix these as well? > > Is "between A and Z" unambiguous? Can we assume everyone understands that > we're > talking about charsets with an ASCII block? In my local alphabet, > "between A and Z" includes Č, Ć, and Š, but there is no charset with > this order. And do we all understand that "between...and" includes the > endpoints, or should we say "from A to Z"? :-) > > Regards, > Christian > > > > > -- +---------------------------------------------------------------+ | Derek Chen-Becker | | GPG Key available at https://keybase.io/dchenbecker and | | https://pgp.mit.edu/pks/lookup?search=derek%40chen-becker.org | | Fngrprnt: EB8A 6480 F0A3 C8EB C1E7 7F42 AFC5 AFEE 96E4 6ACC | +---------------------------------------------------------------+
