On Tue, Oct 9, 2012 at 7:50 PM, F.S. <[email protected]> wrote: > I also recently learned about the Emacs Occur mode.
Thanks for mentioning this. > It is probably not too hard to create an Emacs mode for Leo? With Leo's core > outlining and Python scripting capability integrated with Emacs power in > basic editing and countless modes. Are you familiar with the "Leo and Emacs" chapter? http://webpages.charter.net/edreamleo/emacs.html This makes Leo outlines accessible from emacs. Furthermore, much of Leo could be considered an emacs mode: I (or others) have moved ideas from Emacs to Leo. Dynamic abbreviations are only the latest in a long line of improvements inspired by emacs. But you might have been asking whether it would be possible to do a "Leo" mode in elisp within emacs itself. That would be a *big* project. The major tasks: - Rewrite all the code in leoNodes.py. To simulate Leo's DOM. - Provide wrappers for the many frequently-used methods in leoCommands.py and leoGlobals.py. For compatibility with existing scripts. - Rewrite all the code in leoAtFile.py and leoShadow.py. To simulate Leo's @file capabilities. - Provide some way to support plugins written in *Python*. etc. I'm not going to do this. Not because it's technically infeasible, and not because it's a bad idea, but because I wouldn't use the result. I love Leo, and have no real desire to use emacs. If this project ever happens it will happen because the lead developer (not me) will: a) actually write and thoroughly test the elisp code and b) actually support the code. Imo, the only way to support a significant code base is to care enough about it to use it every day. **Important**: I would be happy if some power emacs and Leo user actually did all this. It would ensure that Leo would achieve some kind of immortality :-) But I am not the one to do this. I can't bear to look at elisp code, much less write and debug it. Edward -- You received this message because you are subscribed to the Google Groups "leo-editor" group. To post to this group, send email to [email protected]. To unsubscribe from this group, send email to [email protected]. For more options, visit this group at http://groups.google.com/group/leo-editor?hl=en.
