help-gnu-emacs
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

ELisp: special read syntax for regular expressions?


From: Ilya Zakharevich
Subject: ELisp: special read syntax for regular expressions?
Date: Sat, 5 Apr 2008 11:17:10 +0000 (UTC)
User-agent: trn [how to get a version via %-escapes???] with a custom header

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


reply via email to

[Prev in Thread] Current Thread [Next in Thread]