From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Mike Mattie Newsgroups: gmane.emacs.help Subject: Re: ELisp: special read syntax for regular expressions? Date: Wed, 9 Apr 2008 15:43:35 -0700 Message-ID: <20080409154335.2fa0eb12@reforged> References: NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 Content-Type: multipart/signed; boundary="Sig_/S/d6if8=XqxzlzVHUDv771Q"; protocol="application/pgp-signature"; micalg=PGP-SHA1 X-Trace: ger.gmane.org 1207781249 32491 80.91.229.12 (9 Apr 2008 22:47:29 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Wed, 9 Apr 2008 22:47:29 +0000 (UTC) To: help-gnu-emacs@gnu.org Original-X-From: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Thu Apr 10 00:48:02 2008 Return-path: Envelope-to: geh-help-gnu-emacs@m.gmane.org Original-Received: from lists.gnu.org ([199.232.76.165]) by lo.gmane.org with esmtp (Exim 4.50) id 1Jjj5F-0007fY-Kt for geh-help-gnu-emacs@m.gmane.org; Thu, 10 Apr 2008 00:48:01 +0200 Original-Received: from localhost ([127.0.0.1] helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1Jjj4c-0004WV-4A for geh-help-gnu-emacs@m.gmane.org; Wed, 09 Apr 2008 18:47:22 -0400 Original-Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1Jjj31-0003nI-Rs for help-gnu-emacs@gnu.org; Wed, 09 Apr 2008 18:45:43 -0400 Original-Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1Jjj31-0003mv-5c for help-gnu-emacs@gnu.org; Wed, 09 Apr 2008 18:45:43 -0400 Original-Received: from [199.232.76.173] (helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1Jjj30-0003mp-W3 for help-gnu-emacs@gnu.org; Wed, 09 Apr 2008 18:45:43 -0400 Original-Received: from yw-out-1718.google.com ([74.125.46.152]) by monty-python.gnu.org with esmtp (Exim 4.60) (envelope-from ) id 1Jjj30-0002Dp-Ql for help-gnu-emacs@gnu.org; Wed, 09 Apr 2008 18:45:42 -0400 Original-Received: by yw-out-1718.google.com with SMTP id 9so630853ywk.66 for ; Wed, 09 Apr 2008 15:45:36 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:received:received:date:from:to:subject:message-id:in-reply-to:references:x-mailer:mime-version:content-type; bh=R8h1pa7alqWG47TR7xMU1sqGq5m1Rb0+KUfjUktGO6E=; b=UOC9MRPRlzpep/x4PwD2Z9peY77fU17xbFTdTNf+xy6RcQp982BUinesYtgTFOeyNa20vWrnYqhXSdAlDJU9NOY8XnS3waRNli0XtIG3MAebb93m721C97wuJsZt+9c44+LUs1NKJmVRpin+q2r8DoWqfeCC2CZRODqJb/s0H6g= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=date:from:to:subject:message-id:in-reply-to:references:x-mailer:mime-version:content-type; b=bNeuMaqlCwvlZCB4/XII79EIRH3quZt5uyV3wVVHpr3x+9C5HbYZtdXFZPTSy4hpSLCVGJ2GZYGxRscIx9V69InyEds0KGz5cjtxhzYDhqbVJFiQcMrkf3xYe1y/edvhZJja6MCpBANTGjGJggZGWKn1i9d2GZ/bs+xIRzg3PZ4= Original-Received: by 10.114.175.16 with SMTP id x16mr992976wae.12.1207781135009; Wed, 09 Apr 2008 15:45:35 -0700 (PDT) Original-Received: from reforged ( [71.217.206.83]) by mx.google.com with ESMTPS id q20sm1420112pog.0.2008.04.09.15.45.34 (version=SSLv3 cipher=OTHER); Wed, 09 Apr 2008 15:45:34 -0700 (PDT) In-Reply-To: X-Mailer: Claws Mail 3.0.2 (GTK+ 2.12.8; i686-pc-linux-gnu) X-detected-kernel: by monty-python.gnu.org: Linux 2.6 (newer, 2) X-BeenThere: help-gnu-emacs@gnu.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Users list for the GNU Emacs text editor List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Original-Sender: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Errors-To: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Xref: news.gmane.org gmane.emacs.help:53210 Archived-At: --Sig_/S/d6if8=XqxzlzVHUDv771Q Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: quoted-printable On Sat, 5 Apr 2008 11:17:10 +0000 (UTC) Ilya Zakharevich wrote: > A few of years ago RMS asked me what one could do to make ELisp > regular expressions more handable. >=20 > Now, when the support for Perl REx in CPerl mode is finally finished, > I think I know the answer: one needs to allow a special read syntax > for regular expressions (the result being an ordinary string). This > way one can avoid the acute backslashitis [by inverting \( and (, > etc], the regular expressions may be specially indented, and the > syntax highlighter would have a chance to remove most of the remaining > complexity by proper highlighting (similar to CPerl one). >=20 > What do you think? I would love it. Regex's don't need a slash tax to be cryptic. =20 > Yours, > Ilya >=20 > P.S. I put example of how my (Perl) test "code" is highlighted to >=20 > ilyaz.org/software/tmp/CPerl-REx-highlight.png --Sig_/S/d6if8=XqxzlzVHUDv771Q Content-Type: application/pgp-signature; name=signature.asc Content-Disposition: attachment; filename=signature.asc -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.7 (GNU/Linux) iD8DBQFH/UaXdfRchrkBInkRAkrBAJ9fFpuy+MHnpow6xSSYvKpW+SbPOQCg1TgX KcA2N17xvC9JmPPPkARE0oY= =MHHg -----END PGP SIGNATURE----- --Sig_/S/d6if8=XqxzlzVHUDv771Q--