emacs-pretest-bug
[Top][All Lists]
Advanced

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

speedbar and minibuffer-auto-raise


From: David Reitter
Subject: speedbar and minibuffer-auto-raise
Date: Sun, 12 Jun 2005 11:33:40 +0100

When minibuffer-auto-raise is t, the speedbar becomes pretty much unsuable. Because the speedbar frame doesn't have its own minibuffer window, another frame gets raised whenever you hover over something in the speedbar with the mouse.

I've tried doing what's shown below (setting a frame-local value for minibufffer-auto-raise), to no avail. Seems like this local value is being ignored.

I wonder why minibuffer-auto-raise has to apply to "some uses of the echo area" (as documented), and not just when there is a prompt in the minibuffer waiting for input. The latter might make more sense in terms of usability...

(Is there some hook I can use to raise the frame when there's a prompt? minibuffer-setup-hook didn't seem to do the job last time I've tried.)





(setq minibuffer-auto-raise t)

(defun autoraise-off-if-no-minibuffer (frame)
  (print (frame-parameter frame 'minibuffer))
  (and
   (not (memq (frame-parameter frame 'minibuffer)
          (list 'only t)
          )
    )
   (make-variable-frame-local 'minibuffer-auto-raise)
   (modify-frame-parameters frame '((minibuffer-auto-raise)))
   )
  )
(add-hook 'after-make-frame-functions 'autoraise-off-if-no-minibuffer)










In GNU Emacs 22.0.50.1 (powerpc-apple-darwin7.9.0)
 of 2005-06-04 on madonna - Aquamacs Distribution 0.9.2 beta-8
Distributor `Apple Computers' version (10 4 1) .
configured using `configure '--without-x' '--prefix=/usr/local''

Important settings:
  value of $LC_ALL: nil
  value of $LC_COLLATE: nil
  value of $LC_CTYPE: nil
  value of $LC_MESSAGES: nil
  value of $LC_MONETARY: nil
  value of $LC_NUMERIC: nil
  value of $LC_TIME: nil
  value of $LANG: nil
  locale-coding-system: iso-latin-1
  default-enable-multibyte-characters: t

Major mode: Text

Minor modes in effect:
  show-paren-mode: t
  delete-selection-mode: t
  pc-selection-mode: t
  cua-mode: t
  aquamacs-tool-bar-mode: t
  smart-frame-positioning-mode: t
  recentf-mode: t
  encoded-kbd-mode: t
  osx-key-mode: t
  tool-bar-mode: t
  mouse-wheel-mode: t
  tooltip-mode: t
  auto-compression-mode: t
  menu-bar-mode: t
  global-font-lock-mode: t
  font-lock-mode: t
  blink-cursor-mode: t
  unify-8859-on-encoding-mode: t
  utf-translate-cjk-mode: t
  column-number-mode: t
  line-number-mode: t
  transient-mark-mode: t
  next-error-follow-minor-mode:  Fol

Recent input:
p p ) <down> <down> <down> <down> C-x C-e <switch-frame> <mouse- movement> <switch-frame> <switch-frame> <mouse-movement> <switch- frame> <switch-frame> <mouse-movement> <switch-frame> <switch-frame> <down-mouse-1> <mouse-1> <menu-bar> <options> <showhide> <showhide- speedbar> <switch-frame> <switch-frame> <switch-frame> <down-mouse-1> <mouse-1> SPC ( p r i n t SPC f r a m e ) H-s <down-mouse-1> <mouse-1> <down-mouse-1> <mouse-1> <down-mouse-1> <mouse-1> C-x C-e <switch-frame> <switch-frame> <mouse-movement> <switch-frame> <switch- frame> <mouse-movement> <switch-frame> <down-mouse-1> <mouse-1> <switch-frame> <down-mouse-1> <mouse-1> <down-mouse-1> <mouse- movement> <mouse-movement> <drag-mouse-1> SPC <down-mouse-1> <mouse- movement> <mouse-movement> <drag-mouse-1> <down-mouse-1> <mouse-1> <H- backspace> <down-mouse-1> <mouse-movement> <mouse-movement> <drag- mouse-1> <down-mouse-1> <mouse-movement> <mouse-movement> <drag- mouse-1> <down-mouse-1> <mouse-movement> <mouse-1> <double-down- mouse-1> <mouse-movement> <mouse-movement> <double-drag-mouse-1> H-c H-s H-s <switch-frame> <help-echo> <menu-bar> <help-menu> <report- emacs-bug>

Recent messages:
autoraise-off-if-no-minibuffer

nil

yupp

Wrote /Users/dr/Projects/Aquamacs/aquamacs/src/site-lisp/macosx/ osx_defaults.el
t
Wrote /Users/dr/Projects/Aquamacs/aquamacs/src/site-lisp/macosx/ osx_defaults.el
(No changes need to be saved)





reply via email to

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