[Emacs-ada-mode] Emacs Speedbar and Ada Mode

Alexy Khrabrov deliverable at gmail.com
Sun Nov 18 10:10:21 PST 2007


On Nov 18, 2007, at 8:54 PM, Stephen Leake wrote:

> Alexy Khrabrov <deliverable at gmail.com> writes:
>
>> [... tabbed browsing ...]
>
> I don't know what that means; can you elaborate?
>
> Hmm. I suppose it could mean:
>
>     A "tab" widget for each buffer, displayed at the top of the Emacs
>     window. Clicking on the tab makes that buffer visible.
>
> That's like some other GUI IDEs.

Exactly.  Mac's most widespread scripting language IDEs, TextMate and  
Komodo, look like it.  Eclispe also looks like it, and along Komodo  
it's also available on Windows and Linux.  I think this is the way to  
have access to a dozen or so files at a glance most widespread nowadays.

> I usually have _far_ too many buffers open for that to be useful.

You can have many frames to tabbed.  Refactoring your development so  
that there's only 5+-2 files to look at at once can help sanity,  
too.  :)

> I prefer `iswitchb-buffer', which is standard in Emacs. It shows the
> list of the current buffers in the minibuffer, then lets you do
> pattern completion on them. Makes it _very_ easy to navigate to the
> buffer you are looking for. I have customized it slightly:
>
> (defun sal-iswitchb-buffer ()
>   "Switch to another buffer. Prefix arg means other window."
>   (interactive)
>   (if current-prefix-arg
>       (iswitchb-buffer-other-window)
>     (iswitchb-buffer) ))

Interesting, thanks!

>> Indeed this is language-agnostic, but so darn useful, Im now dancing
>> with joy after Naoto has iterated with me testing and released
>> elscreen-speedbar today.  It allows one to edit a whole Ada project
>> with tabs/screens from a single speedbar in the same frame!
>
> I'm glad you like it, but I still don't know what it is :(.

Hopefully it's more clear now -- just install elscreen-speedbar, do M- 
x speedbar, load a file from an Ada project directory, then click on  
files in speedbar and see them open new screen/tabs, named on top of  
the frame!

Cheers,
Alexy



More information about the Emacs-ada-mode mailing list