help-gnu-emacs
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Automatically raising the Speedbar frame


From: Raffael Herzog
Subject: Automatically raising the Speedbar frame
Date: Thu, 03 Jul 2003 13:16:24 +0200
User-agent: Pan/0.13.0 (The whole remains beautiful (Debian GNU/Linux))

Hi,

I really like Speedbar very much, but it has one major
disadvantage: Whenever I switched to a different
application, Speedbar stays in the background, when I
switch back to Emacs (it isn't really useful in the
background... :)

Is there a way to automatically raise the speedbar frame
whenever I activate an Emacs frame?

I already tried:

(defadvice handle-switch-frame (after raise-speedbar)
  (if speedbar-frame
      (raise-frame speedbar-frame)))
(ad-activate 'handle-switch-frame)

but this didn't help much because handle-switch-frame
doesn't get called when I re-activate the same frame that
had the focus before, which is normally the case.

Maybe I just missed the right hook?


TIA,
   Raffi

-- 
=> Neu im Usenet? Fragen?    http://www.use-net.ch/usenet_intro_de.html <=
  The difference between theory and practice is that in theory, there is
                 no difference, but in practice, there is.
Raffael Herzog - herzog@raffael.ch - http://www.raffael.ch - ICQ #67961355



reply via email to

[Prev in Thread] Current Thread [Next in Thread]