bug-gnu-emacs
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

bug#12383: [Patch] Clarify the distinction between "syntax codes" and th


From: Chong Yidong
Subject: bug#12383: [Patch] Clarify the distinction between "syntax codes" and the cons cells that contain them
Date: Sat, 08 Sep 2012 22:25:15 +0800
User-agent: Gnus/5.13 (Gnus v5.13) Emacs/24.2.50 (gnu/linux)

Nathan Trapuzzano <nbtrap@nbtrap.com> writes:

> The lispref info node on "Syntax Table Internals" uses "syntax code"
> interchangeably to refer to both the car of syntax table elements and
> the elements (cons cells) themselves. This is confusing, for example,
> because the function "syntax-class" throws a wrong-type-argument error
> if its argument is the bare integer syntax code instead of a cons
> cell. I propose the following minor changes:

Thank you for the suggestion.  It is on the right track, but I think the
fix needs to go further.  We need a new terminology for the cons cells
stored in the syntax table.  I think a good name is "raw syntax
descriptors", and I've amended the manual and docstrings accordingly.






reply via email to

[Prev in Thread] Current Thread [Next in Thread]