Greg Klanderman writes:
>>>>> On January 3, 2011 Stephen J Turnbull
<stephen(a)xemacs.org> wrote:
> I think we can get most of the mileage from a straightforward string-
> oriented translator.
But wasn't Jamie most interested in having the simpler perl/python
like syntax for interactive commands? A simple translator may not
work so well for incremental regex searching.
I don't see why not. Remember, there is no such thing as an
incremental regex compiler in Emacs. In fact, we recompile the whole
regexp every time the user adds or deletes a character. So you'd just
need to wrap the call to get input in the translator. If the
translator errors, that's the same as if the regex compiler errors:
you have to try shorter and shorter prefixes until both the translator
and the compiler succeed.
No?
_______________________________________________
XEmacs-Beta mailing list
XEmacs-Beta(a)xemacs.org
http://lists.xemacs.org/mailman/listinfo/xemacs-beta