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

Stephen Leake stephen_leake at stephe-leake.org
Sun Nov 18 09:54:43 PST 2007


Alexy Khrabrov <deliverable at gmail.com> writes:

> On Nov 18, 2007, at 3:17 PM, Stephen Leake wrote:
>> Alexy Khrabrov <deliverable at gmail.com> writes:
>>
>>> Is there a way to use the speedbar with Ada Mode?
>>
>> Well, yes; just do M-x speedbar.
>>
>> I gather you want it to do something else?
>
> [... 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.

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

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) ))

>> That seems to be a window configuration manager. What would be
>> specific/customized for Ada mode?
>
> 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 :(.

-- 
-- Stephe



More information about the Emacs-ada-mode mailing list