From: storm@cua.dk (Kim F. Storm)
Cc: Kenichi Handa <handa@m17n.org>
Subject: Re: ?\_ patch
Date: 07 Feb 2003 15:52:02 +0100 [thread overview]
Message-ID: <5xfzr0i1nx.fsf@kfs2.cua.dk> (raw)
In-Reply-To: <20030207132847.GA5105@gnu.org>
Miles Bader <miles@gnu.org> writes:
> On Fri, Feb 07, 2003 at 03:17:33PM +0100, Kim F. Storm wrote:
> > > > I really don't like the wierd double identity of ?\s, but I'm not sure
> > > > what alternative there is... Perhaps kim's idea (?\SPC), but with a less
> > > > ambiguous syntax, e.g., #\SPC or something.
> > >
> > > Ah! I completely forgot about `#' syntax. I think it's a
> > > good idea.
> >
> > I don't object to it, but I think it is unnecessary.
> >
> > Why add a whole new syntax just because we need ?\s which can be added
> > with no hazzle at all?
>
> Because #\SPC is actually pretty self-explanatory whereas ?\s isn't.
IMO, \s is just as self-explanatory as \t, \n, and \r.
>
> > If everyone else agrees this is a good idea, I'd suggest
> > using #?SPC, #?TAB, etc.
>
> I thought about that too, but I think #\SPC is better, because the `\' leaves
> a bit of whitespace between itself and the following character so the `SPC'
> stands out quite distinctly. `?' on the other isn't visually distinct, so
> #?SPC looks like a bit of a muddle.
>
Then what about simply using ?SPC, ?TAB, etc.
Today, if I eval (using C-j) the following in *scratch*, I get:
?S => 83
?SPC => 83
'(?SPC) => (83 PC)
but if I do
M-: ? S P C RET
I get
list: Trailing garbage following expression
so the current character syntax really is pretty obscure.
This could easily be changed to:
?S => 83
?SPC => 32
'(?SPC) => (32)
Can anyone think of existing code which will be broken by that
approach?
--
Kim F. Storm <storm@cua.dk> http://www.cua.dk
next prev parent reply other threads:[~2003-02-07 14:52 UTC|newest]
Thread overview: 43+ messages / expand[flat|nested] mbox.gz Atom feed top
2003-02-05 20:10 ?\_ patch Edward O'Connor
2003-02-05 23:31 ` Kenichi Handa
2003-02-06 0:44 ` Luc Teirlinck
2003-02-06 1:06 ` Luc Teirlinck
2003-02-06 1:20 ` Luc Teirlinck
2003-02-06 10:04 ` Kim F. Storm
2003-02-06 9:17 ` Miles Bader
2003-02-06 11:48 ` Kim F. Storm
2003-02-06 11:37 ` Juanma Barranquero
2003-02-06 17:33 ` Luc Teirlinck
2003-02-07 2:07 ` Miles Bader
2003-02-07 2:53 ` Luc Teirlinck
2003-02-07 8:34 ` Miles Bader
2003-02-07 8:56 ` Kenichi Handa
2003-02-07 14:17 ` Kim F. Storm
2003-02-07 13:28 ` Miles Bader
2003-02-07 14:52 ` Kim F. Storm [this message]
2003-02-07 14:02 ` Miles Bader
2003-02-07 14:30 ` Dmitry Paduchikh
2003-02-07 16:07 ` Kim F. Storm
2003-02-07 15:53 ` John Paul Wallington
2003-02-07 16:50 ` Kim F. Storm
2003-02-07 16:23 ` John Paul Wallington
2003-02-08 1:44 ` Miles Bader
2003-02-09 2:07 ` Kim F. Storm
2003-02-10 1:48 ` Miles Bader
2003-02-07 16:09 ` Dmitry Paduchikh
2003-02-07 15:51 ` Kim F. Storm
2003-02-07 15:13 ` Damien Elmes
2003-02-07 20:20 ` Luc Teirlinck
2003-02-09 12:39 ` Richard Stallman
2003-02-10 10:47 ` Andreas Schwab
2003-02-07 9:18 ` Richard Stallman
2003-02-07 10:42 ` Kim F. Storm
2003-02-07 11:05 ` Andreas Schwab
2003-02-10 10:35 ` Richard Stallman
2003-02-10 12:51 ` Kim F. Storm
2003-02-11 22:25 ` Richard Stallman
2003-02-12 13:00 ` Kim F. Storm
2003-02-13 10:08 ` Richard Stallman
2003-02-13 14:19 ` Kim F. Storm
2003-02-06 1:31 ` Kenichi Handa
2003-02-06 10:40 ` Andreas Schwab
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=5xfzr0i1nx.fsf@kfs2.cua.dk \
--to=storm@cua.dk \
--cc=handa@m17n.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.