From mboxrd@z Thu Jan 1 00:00:00 1970 Path: main.gmane.org!not-for-mail From: storm@cua.dk (Kim F. Storm) Newsgroups: gmane.emacs.devel Subject: Re: New space char syntax Date: 18 Feb 2003 00:48:03 +0100 Sender: emacs-devel-bounces+emacs-devel=quimby.gnus.org@gnu.org Message-ID: <5x3cmm79l8.fsf@kfs2.cua.dk> References: <20030215005635.C288.LEKTU@terra.es> <5xk7g15vym.fsf@kfs2.cua.dk> <20030215214049.4BB3.LEKTU@terra.es> <5xn0kv895d.fsf@kfs2.cua.dk> NNTP-Posting-Host: main.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Trace: main.gmane.org 1045522074 3495 80.91.224.249 (17 Feb 2003 22:47:54 GMT) X-Complaints-To: usenet@main.gmane.org NNTP-Posting-Date: Mon, 17 Feb 2003 22:47:54 +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 18ku3D-0000u4-00 for ; Mon, 17 Feb 2003 23:47:51 +0100 Original-Received: from monty-python.gnu.org ([199.232.76.173]) by quimby.gnus.org with esmtp (Exim 3.12 #1 (Debian)) id 18kuHp-0006bY-00 for ; Tue, 18 Feb 2003 00:02:57 +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 18ku4r-00082x-0A for emacs-devel@quimby.gnus.org; Mon, 17 Feb 2003 17:49:33 -0500 Original-Received: from list by monty-python.gnu.org with tmda-scanned (Exim 4.10.13) id 18ku4O-0007ml-00 for emacs-devel@gnu.org; Mon, 17 Feb 2003 17:49:04 -0500 Original-Received: from mail by monty-python.gnu.org with spam-scanned (Exim 4.10.13) id 18ku4K-0007aK-00 for emacs-devel@gnu.org; Mon, 17 Feb 2003 17:49:02 -0500 Original-Received: from mail.filanet.dk ([195.215.206.179]) by monty-python.gnu.org with esmtp (Exim 4.10.13) id 18ku4J-0007Ul-00; Mon, 17 Feb 2003 17:48:59 -0500 Original-Received: from kfs2.cua.dk.cua.dk (unknown [10.1.82.3]) by mail.filanet.dk (Postfix) with SMTP id 45E037C018; Mon, 17 Feb 2003 23:48:57 +0100 (CET) Original-To: rms@gnu.org In-Reply-To: Original-Lines: 60 User-Agent: Gnus/5.09 (Gnus v5.9.0) Emacs/21.3.50 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:11725 X-Report-Spam: http://spam.gmane.org/gmane.emacs.devel:11725 Richard Stallman 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. Fixed. 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 so. > > 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. Fixed. 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. Done. > > 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. Done. -- Kim F. Storm http://www.cua.dk