* bug#5865: [Aquamacs-bugs] speedbar and minibuffer-auto-raise
@ 2005-06-12 10:33 David Reitter
0 siblings, 0 replies; only message in thread
From: David Reitter @ 2005-06-12 10:33 UTC (permalink / raw)
To: 5865; +Cc: aquamacs-bugs
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)
^ permalink raw reply [flat|nested] only message in thread
only message in thread, other threads:[~2005-06-12 10:33 UTC | newest]
Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2005-06-12 10:33 bug#5865: [Aquamacs-bugs] speedbar and minibuffer-auto-raise David Reitter
Code repositories for project(s) associated with this public inbox
https://git.savannah.gnu.org/cgit/emacs.git
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).