I believe Aquamacs does not correctly support the Cocoa
accessibiltity event actions for closing a window.
I noticed this because I use a program called "Witch", a Preference
Pane which offers enhanced keyboard controls for switching between
applications and menus (http://www.petermaurer.de/nasi.php?
section=witch). This app uses the accessibility API to send apps
instructions to close individual windows. I have encoutered only two
apps don't respond to those commands correctly: Firefox and
Aquamacs.
This is a known issue in Firefox. It seems worth reporting it for
Aquamacs as well.
You can verify this behavior by using the Accessibility Inspector
tool to artificially generate an AXPress event on the close
button of
an Aquamacs window. Here's how.
1) Open two frames in Aquamacs
2) Open the Accessibility Inspector (/Developer/Applications/
Utilities/Accessibility Tools/Accessibility Inspector.app)
3) Place the mouse pointer over an Aquamacs window's close button
4) Type CMD-F7 to lock on that UIElement wih Accessibility Inspector
5) Hit the Perform button, which will generate an AXPress action on
the close button through the accessibility API
6) Notice that the Aquamacs window fails to close, which it
should do.
Since I don't know if the bug tracking machinery can take
attachments, I am hosting a screenshot which demonstrates the exact
behavior at the following address: http://www.alexisgallagher.com/
aquamacsshot.jpg
In GNU Emacs 22.0.50.1 (i386-apple-darwin8.6.1)
of 2006-06-27 on plume.sr.unh.edu - Aquamacs Distribution 0.9.9d
X server distributor `Apple Computers', version 10.4.7
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-8859-1
default-enable-multibyte-characters: t
Major mode: Text
Minor modes in effect:
iswitchb-mode: t
shell-dirtrack-mode: t
smart-frame-positioning-mode: t
aquamacs-styles-mode: t
recentf-mode: t
encoded-kbd-mode: t
osx-key-mode: t
mac-inline-input-method-mode: t
show-paren-mode: t
delete-selection-mode: t
pc-selection-mode: t
cua-mode: t
tooltip-mode: t
mouse-wheel-mode: t
menu-bar-mode: t
file-name-shadow-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
auto-compression-mode: t
column-number-mode: t
line-number-mode: t
transient-mark-mode: t
Recent input:
h t t p : / / w w w . g o o g l e . c o m C-a C-c m
b r o <backspace> o w s e SPC u r l <return> <return>
C-k <menu-bar> <help-menu> <report-emacs-bug>
Recent messages:
Loading cl-extra...done
Loading /Users/alexis/.xemacs/haskell/haskell-mode-2.1/haskell-site-
file.el (source)...done
Loading iswitchb...done
Loading /Users/alexis/.xemacs/init.el (source)...done
Loading /Users/alexis/Library/Preferences/Aquamacs Emacs/
customizations.el (source)...done
Loading /Users/alexis/Library/Preferences/Aquamacs Emacs/frame-
positions.el (source)...done
For an introduction to Aquamacs Emacs, type Apple-?. Copyright (C)
2006 Free
Software Foundation, Inc., & D. Reitter. No Warranty. You may
redistribute
Aquamacs under the GNU General Public License. Type C-h C-c to view.
Loading emacsbug...done
---