[Top][All Lists]

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

Re: New space char syntax

From: Kim F. Storm
Subject: Re: New space char syntax
Date: 18 Feb 2003 00:48:03 +0100
User-agent: Gnus/5.09 (Gnus v5.9.0) Emacs/21.3.50

Richard Stallman <address@hidden> writes:

>     Actually it isn't; I deliberately excluded `.' from the list of legal
>     symbols which may immediately follow a character constant, since it
>     is a legal symbol character, e.g:
> This complication makes the question tricky; neither alternative
> is entirely right.
>     I can change it so that '(?a. ?b) is allowed,
>     but then shouldn't '(?a.?b) be legal too?
> I don't think so.  I think . should be allowed after the character
> constant if it is a dotted-pair dot, but not if it starts a symbol.


I changed the syntax to allow a character constant after a dotted-pair
dot, so actually '(?a.?b) does work.  I don't see why it shouldn't be

>     I suggest to handle `;', `#', `[', and `?' as special
>     characters when following a `.' just like `whitespace',
>     `quote', `(' and `"' are today.
> Those cases are simply bugs.  Thanks for identifying them.


Actually, I found that "," was always recognized after a dotted-pair dot,
even when not inside a backquote; I fixed that too.

>     Finally, in a symbol, "`" and "," are not recognized as special 
>     either, e.g.
>           '(a`b,c) => (a\`b\,c)
>           '(a`(b,c)) => (a\` (b\,c))
>     I think the last example shows that they should be recognized.
> It seems logical to handle them like singlequote.


>     Also, if we fix that for symbols, the "`" and "," should be allowed
>     after a character constant too, e.g.
>           `(?a,xx)
>           '(?a`(b,c))
> I agree.


Kim F. Storm <address@hidden> http://www.cua.dk

reply via email to

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