<div dir="ltr"><div>Sandy,</div><div>Good find! The mysterious thing is that the Aquamacs menu in the menubar shows Cmd-Opt-H as the shortcut for Hide Others, but the application doesn't respect that designation!</div><div><br></div><div>You can add the following to your Preferences.el (or .emacs or whatever) file to get what you're after:</div><div style="margin-left:40px">(define-key osx-key-mode-map [(\A \M h)] 'ns-do-hide-others)</div><div style="margin-left:40px"><br></div><div>... but really we should fix Aquamacs to handle Cmd-Opt-h in a way mirroring how Cmd-h is already handled, with this keymapping defined in osxkeys.el within Aquamacs.</div><div><br></div><div>Nathaniel<br></div><div><br></div><div><br></div></div><br><div class="gmail_quote"><div dir="ltr" class="gmail_attr">On Thu, Oct 15, 2020 at 2:27 AM Sandy C <<a href="mailto:windoverwater@gmail.com">windoverwater@gmail.com</a>> wrote:<br></div><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex">Hi,<br>
<br>
When in aquamacs (when aquamacs as focus), pressing CMD-H will successfully hide aquamacs.  CMD-H is the default MacOS keyboard shortcut to hide the current application.  However, pressing CMD-ALT-H results in a "CMD-ALT-H is undefined" in the emacs message window.  CMD-ALT-H is the default MacOS keyboard shortcut to hide all other applications.<br>
<br>
Turning off option as meta and repeating results in a "CMD-'" is undefined (though the actual character printed may not be a "'").<br>
<br>
How does one tell aquamacs to successfully pass a "CMD-ALT-H" to the OS?  And by extension, how to pass other specific MacOS keyboard shortcuts to the OS?<br>
<br>
Thanks much!  Tried googling but not much luck.<br>
<br>
-sandy<br>
<br>
<br>
_____________________________________________________________<br>
MacOSX-Emacs mailing list<br>
<a href="mailto:MacOSX-Emacs@email.esm.psu.edu" target="_blank">MacOSX-Emacs@email.esm.psu.edu</a><br>
<a href="https://email.esm.psu.edu/mailman/listinfo/macosx-emacs" rel="noreferrer" target="_blank">https://email.esm.psu.edu/mailman/listinfo/macosx-emacs</a><br>
List Archives: <a href="http://dir.gmane.org/gmane.emacs.macintosh.osx" rel="noreferrer" target="_blank">http://dir.gmane.org/gmane.emacs.macintosh.osx</a><br>
</blockquote></div>