unofficial mirror of help-gnu-emacs@gnu.org
 help / color / mirror / Atom feed
* ELisp: special read syntax for regular expressions?
@ 2008-04-05 11:17 Ilya Zakharevich
  2008-04-05 20:48 ` David Hansen
                   ` (5 more replies)
  0 siblings, 6 replies; 14+ messages in thread
From: Ilya Zakharevich @ 2008-04-05 11:17 UTC (permalink / raw)
  To: help-gnu-emacs

A few of years ago RMS asked me what one could do to make ELisp regular
expressions more handable.

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).

What do you think?

Yours,
Ilya

P.S.  I put example of how my (Perl) test "code" is highlighted to

	ilyaz.org/software/tmp/CPerl-REx-highlight.png


^ permalink raw reply	[flat|nested] 14+ messages in thread

end of thread, other threads:[~2008-05-04  1:38 UTC | newest]

Thread overview: 14+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2008-04-05 11:17 ELisp: special read syntax for regular expressions? Ilya Zakharevich
2008-04-05 20:48 ` David Hansen
2008-04-06  3:18 ` Tim X
2008-05-04  1:38   ` David Combs
2008-04-06  9:35 ` Peter Dyballa
     [not found] ` <mailman.10068.1207474538.18990.help-gnu-emacs@gnu.org>
2008-04-06 21:38   ` Ilya Zakharevich
2008-04-12 23:12     ` Peter Dyballa
     [not found]     ` <mailman.10316.1208041979.18990.help-gnu-emacs@gnu.org>
2008-04-12 23:34       ` Ilya Zakharevich
2008-04-12 23:36         ` Ilya Zakharevich
2008-04-09 22:43 ` Mike Mattie
     [not found] ` <mailman.10052.1207428807.18990.help-gnu-emacs@gnu.org>
2008-04-14 23:27   ` Ilya Zakharevich
2008-04-14 23:41     ` Joost Diepenmaat
2008-04-15  1:51       ` Ilya Zakharevich
2008-04-15  4:24     ` David Hansen

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).