I mistyped some command sequence and ESC stopped working as a meta prefix in Aquamacs (it still functions as usual in the command-line emacs, including both Apple's system version and the command-line version that comes with Aquamacs). Afterwards, hitting ESC generates the <escape>
function key. Unfortunately, I didn't notice in time for view-lossage
to tell me what I did. I restarted Aquamacs in the hope of restoring functionality, but the issue persisted.
I've hunted around in the startup files I know of that have been modified recently (~/.emacs, ~/.emacs.d/{.emacs.desktop,SessionDesktop.el}, ~/Library/Preferences/Aquamacs Emacs/{.emacs.desktop,customizations.el}), but all of the relevant settings I can find seem to be correct. ESC
is still listed as a prefix command in the bindings for major mode; globally, its binding is listed as ESC-prefix
. meta-prefix-char
is listed as 27. When started without init files, ESC works as meta prefix.
key-translation-map doesn't appear to have an entry for ESC (I didn't see anything with emaps-describe-keymap, and (lookup-key key-translation-map [27])
returns nil
).
What else might I examine to determine which setting to change? Is there any other steps I should take to restore ESC as the meta prefix?
/Applications/Aquamacs.app/Contents/MacOS/Aquamacs -q
in the terminal to launch Aquamacs with no init files? I have had something like this happen on occasion with Aquamacs, although it has always been fine after a restart.(lookup-key key-translation-map [27])
.