[Emacs-ada-mode] elscreen and speedbar

Stephen Leake stephen_leake at stephe-leake.org
Sun Nov 18 10:03:20 PST 2007


Alexy Khrabrov <deliverable at gmail.com> writes:

> Exactly what I'm after with Emacs -- tabbed editing with filenames on  
> the tab tips.  

I guess "tab tips" are what I described in my other post; widgets at
the top of the main window.

> there's a TAB-driven template completion which is awesome. 

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.

-- 
-- Stephe



More information about the Emacs-ada-mode mailing list