emacs-devel
[Top][All Lists]
Advanced

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

Re: Indentation of constants in LISP


From: Stefan Monnier
Subject: Re: Indentation of constants in LISP
Date: Mon, 05 Feb 2007 14:06:12 -0500
User-agent: Gnus/5.11 (Gnus v5.11) Emacs/22.0.92 (gnu/linux)

> I mean that ":" is part of a SYMBOL i.e. (string (char-syntax ?:))  is
> equal "_", and, in the same time, the characters SPACE TAB NEW-LINE  are
> NOT from this syntax class ("_").

OK, let me write this differently:

If (string (char-syntax ?:)) is equal to "_" then it is necessarily true
that (char-syntax ?:) is equal to ?\_.

Your test is comparable to checking if (list <foo>) is equal to '(2) rather
than checking if <foo> is equal to 2.


        Stefan




reply via email to

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