From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Aidan Kehoe Newsgroups: gmane.emacs.devel Subject: Re: [PATCH] Unicode Lisp reader escapes Date: Tue, 2 May 2006 22:25:41 +0200 Message-ID: <17495.49221.686950.640212@parhasard.net> References: <17491.34779.959316.484740@parhasard.net> <17495.932.70900.796282@parhasard.net> <17495.16060.386251.695636@parhasard.net> NNTP-Posting-Host: main.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable X-Trace: sea.gmane.org 1146601606 8729 80.91.229.2 (2 May 2006 20:26:46 GMT) X-Complaints-To: usenet@sea.gmane.org NNTP-Posting-Date: Tue, 2 May 2006 20:26:46 +0000 (UTC) Cc: emacs-devel@gnu.org Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Tue May 02 22:26:43 2006 Return-path: Envelope-to: ged-emacs-devel@m.gmane.org Original-Received: from lists.gnu.org ([199.232.76.165]) by ciao.gmane.org with esmtp (Exim 4.43) id 1Fb1SC-0007LA-I2 for ged-emacs-devel@m.gmane.org; Tue, 02 May 2006 22:26:40 +0200 Original-Received: from localhost ([127.0.0.1] helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1Fb1SC-0004VA-Bx for ged-emacs-devel@m.gmane.org; Tue, 02 May 2006 16:26:40 -0400 Original-Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1Fb1Ri-0003yR-U5 for emacs-devel@gnu.org; Tue, 02 May 2006 16:26:10 -0400 Original-Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1Fb1Rh-0003uw-5i for emacs-devel@gnu.org; Tue, 02 May 2006 16:26:10 -0400 Original-Received: from [199.232.76.173] (helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1Fb1Rh-0003uZ-1I for emacs-devel@gnu.org; Tue, 02 May 2006 16:26:09 -0400 Original-Received: from [66.111.49.30] (helo=icarus.asclepian.ie) by monty-python.gnu.org with esmtp (Exim 4.52) id 1Fb1RU-0003lA-Sa; Tue, 02 May 2006 16:25:57 -0400 Original-Received: by icarus.asclepian.ie (Postfix, from userid 1003) id C2D2A8008C; Tue, 2 May 2006 21:25:41 +0100 (IST) Original-To: Eli Zaretskii In-Reply-To: X-Mailer: VM 7.17 under 21.5 (beta25) "eggplant" (+CVS-20060325) XEmacs Lucid X-Echelon-distraction: JASSM TLAM RHL Europol 707 Flintlock X-BeenThere: emacs-devel@gnu.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: "Emacs development discussions." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Original-Sender: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Errors-To: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Xref: news.gmane.org gmane.emacs.devel:53813 Archived-At: Ar an dara l=C3=A1 de m=C3=AD Bealtaine, scr=C3=ADobh Eli Zaretskii:=20 > > > I don't know what you mean: the other objections were technical a= s > > > well. > >=20 > > I would rate questions of aesthetics ``ugliness'' and prose style as > > non-technical. I don't propose to impose that judgement on you, but = I do > > think it reasonable. >=20 > The discussion was about quite a few technical issues, only one of > which was aesthetics. I proposed a working patch, Richard Stallman suggested an alternative approach on the grounds that having both '\u' and '\U' was ugly. (He made that clear after asking what the reason for having both of them was.) He then commented that the functionality of the patch would be available in = GNU Emacs once the Unicode branch was merged, apparently ignoring what I had written on that in my first mail. Stefan Monnier commented that workarounds were available; that was more relevant comment than objection, IMO.=20 Jonathan Yavner then objected to Richard=E2=80=99s objection, on the basi= s that my already submitted patch followed a widely-implemented standard that Richard=E2=80=99s alternative didn=E2=80=99t. Miles Bader proposed an alternative to my patch, without objecting, to wh= ich I didn=E2=80=99t follow up, because I wanted to see how people would reac= t to Jonathan=E2=80=99s mentioning of the existing standardisation of the esca= pe. Oliver Scholz said that the syntax for \u and \x should be entirely in parallel =E2=80=9CI[h]NSHO.=E2=80=9D And that is what had been posted directly in relation to my patch (as opposed to in reaction to Richard=E2=80=99s proposed alterative) when you= said that the other objections were technical as well. It seems to me that the only objections there are Richard=E2=80=99s, on t= he grounds of ugliness, and Oliver=E2=80=99s, on the unexplained grounds of what I i= magine is his individual philosophy. I=E2=80=99d love to know what other objections= you saw before your posting; my email etiquette is far from perfect, and feedback= is always welcome. > > > ``Full of bugs''? > >=20 > > Indeed; each READCHAR can call arbitrary Lisp, so something like > >=20 > > case 'M': > > c =3D READCHAR; > > if (c !=3D '-') > > error ("Invalid escape character syntax"); > > c =3D READCHAR; > > if (c =3D=3D '\\') > > c =3D read_escape (readcharfun, 0, byterep); > > return c | meta_modifier; > >=20 > > has two clear bugs in eight lines.=20 >=20 > Yeah, right. If you want your suggestions and opinions to be > considered seriously, my advice is to drop the attitude. But I won't > impose that advice on you. I would refer you to Kenichi Handa=E2=80=99s reply to that mail (that is,= to 17495.932.70900.796282@parhasard.net ) for pointers on how to write what, IM, especially Humble this time, O, is a much more constructive answer. Best regards,=20 Aidan --=20 Aidan Kehoe, http://www.parhasard.net/