From: Richard Stallman <rms@gnu.org>
Cc: emacs-devel@gnu.org
Subject: Re: New space char syntax
Date: Mon, 17 Feb 2003 15:37:52 -0500 [thread overview]
Message-ID: <E18ks1Q-0004fS-00@fencepost.gnu.org> (raw)
In-Reply-To: <5xn0kv895d.fsf@kfs2.cua.dk> (storm@cua.dk)
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.
next prev parent reply other threads:[~2003-02-17 20:37 UTC|newest]
Thread overview: 14+ messages / expand[flat|nested] mbox.gz Atom feed top
2003-02-14 16:47 New space char syntax Kai Großjohann
2003-02-14 17:35 ` Juanma Barranquero
2003-02-14 20:36 ` Kai Großjohann
2003-02-14 23:59 ` Juanma Barranquero
2003-02-15 16:50 ` Kim F. Storm
2003-02-15 17:51 ` Kai Großjohann
2003-02-15 20:44 ` Juanma Barranquero
2003-02-17 7:19 ` Richard Stallman
2003-02-17 7:49 ` Juanma Barranquero
2003-02-17 20:37 ` Richard Stallman
2003-02-17 10:59 ` Kim F. Storm
2003-02-17 20:37 ` Richard Stallman [this message]
2003-02-17 23:48 ` Kim F. Storm
2003-02-15 19:10 ` Richard Stallman
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=E18ks1Q-0004fS-00@fencepost.gnu.org \
--to=rms@gnu.org \
--cc=emacs-devel@gnu.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
Code repositories for project(s) associated with this external index
https://git.savannah.gnu.org/cgit/emacs.git
https://git.savannah.gnu.org/cgit/emacs/org-mode.git
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.