[Emacs-ada-mode] elscreen and speedbar
Alexy Khrabrov
deliverable at gmail.com
Sun Nov 18 10:15:52 PST 2007
On Nov 18, 2007, at 9:03 PM, Stephen Leake wrote:
> I use the Emacs Else package for templates:
>
> http://home.exetel.com.au/peterm/
>
> It's similar to the DEC LSE templates.
>
> For example, you type "if" in an Ada buffer, then C-e, and it expands
> to:
>
> if {condition} then
> {statement}...
> [elsif_part]...
> [else_part]
> end if;
>
> and leaves the cursor in {condition}. Then you type C-e again, and it
> says what {condition} might expand to. Etc, etc !
>
> My emacs customization distribution has fixes for the Ada templates
> provided by Else.
>
> It doesn't actually cover the whole language, but it is a good way for
> newbies to learn the syntax, and I find it useful for tedious things
> like 'loop', 'procedure', and file headers. Much better than the other
> Emacs template packages I've tried.
Awesome tip -- am gonna try it! Yet TextMate template and bundle
editor is also extremely powerful and the templates themselves are
very easy to write. There's a short book on TextMate from Pragmatic
Programmers, by JEG II, a well-known Ruby guy (and founder of http://
rubyquiz.com/) -- it's a joy to read for any editor user. I found
that I use Emacs i a new way after TextMate -- recreating the ease of
use I've discovered anew. The power of Emacs is that it's so
adaptable, you can emulate not just vi in it, but TextMate, too!
Cheers,
Alexy
More information about the Emacs-ada-mode
mailing list