From mboxrd@z Thu Jan 1 00:00:00 1970 Path: main.gmane.org!not-for-mail From: Richard Stallman Newsgroups: gmane.emacs.devel Subject: Re: New space char syntax Date: Mon, 17 Feb 2003 15:37:52 -0500 Sender: emacs-devel-bounces+emacs-devel=quimby.gnus.org@gnu.org Message-ID: References: <20030215005635.C288.LEKTU@terra.es> <5xk7g15vym.fsf@kfs2.cua.dk> <20030215214049.4BB3.LEKTU@terra.es> <5xn0kv895d.fsf@kfs2.cua.dk> Reply-To: rms@gnu.org NNTP-Posting-Host: main.gmane.org X-Trace: main.gmane.org 1045514376 1632 80.91.224.249 (17 Feb 2003 20:39:36 GMT) X-Complaints-To: usenet@main.gmane.org NNTP-Posting-Date: Mon, 17 Feb 2003 20:39:36 +0000 (UTC) Cc: emacs-devel@gnu.org Return-path: Original-Received: from quimby.gnus.org ([80.91.224.244]) by main.gmane.org with esmtp (Exim 3.35 #1 (Debian)) id 18ks34-0000Q9-00 for ; Mon, 17 Feb 2003 21:39:34 +0100 Original-Received: from monty-python.gnu.org ([199.232.76.173]) by quimby.gnus.org with esmtp (Exim 3.12 #1 (Debian)) id 18ksHc-0005OT-00 for ; Mon, 17 Feb 2003 21:54:36 +0100 Original-Received: from localhost ([127.0.0.1] helo=monty-python.gnu.org) by monty-python.gnu.org with esmtp (Exim 4.10.13) id 18ks2I-00041h-05 for emacs-devel@quimby.gnus.org; Mon, 17 Feb 2003 15:38:46 -0500 Original-Received: from list by monty-python.gnu.org with tmda-scanned (Exim 4.10.13) id 18ks1l-0003nw-00 for emacs-devel@gnu.org; Mon, 17 Feb 2003 15:38:13 -0500 Original-Received: from mail by monty-python.gnu.org with spam-scanned (Exim 4.10.13) id 18ks1j-0003nQ-00 for emacs-devel@gnu.org; Mon, 17 Feb 2003 15:38:12 -0500 Original-Received: from fencepost.gnu.org ([199.232.76.164]) by monty-python.gnu.org with esmtp (Exim 4.10.13) id 18ks1Q-0003cN-00 for emacs-devel@gnu.org; Mon, 17 Feb 2003 15:37:52 -0500 Original-Received: from rms by fencepost.gnu.org with local (Exim 4.10) id 18ks1Q-0004fS-00; Mon, 17 Feb 2003 15:37:52 -0500 Original-To: storm@cua.dk (Kim F. Storm) In-reply-to: <5xn0kv895d.fsf@kfs2.cua.dk> (storm@cua.dk) Original-cc: lektu@terra.es Original-cc: kai.grossjohann@uni-duisburg.de X-BeenThere: emacs-devel@gnu.org X-Mailman-Version: 2.1b5 Precedence: list List-Id: Emacs development discussions. List-Help: List-Post: List-Subscribe: , List-Archive: List-Unsubscribe: , Errors-To: emacs-devel-bounces+emacs-devel=quimby.gnus.org@gnu.org Xref: main.gmane.org gmane.emacs.devel:11715 X-Report-Spam: http://spam.gmane.org/gmane.emacs.devel:11715 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. The parsing of the `.' token and lisp symbols is pretty obscure. Consider these examples: Yike, this is horrible. 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. 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.