Find centralized, trusted content and collaborate around the technologies you use most.
Teams
Q&A for work
Connect and share knowledge within a single location that is structured and easy to search.
在 Emacs 中,如何使用键盘模拟鼠标按键等操作?例如,使用 CEDET 的 Semantic(包含在 GNU Emacs 23.2.1 中),可以右键单击包含以提供菜单;如何使用键盘使该菜单和其他菜单显示为工具提示或在迷你缓冲区中显示为允许访问菜单栏的 M-`?
您可以使用 (describe-key) 找出鼠标单击正在运行的命令C-h k,然后在适当的位置单击鼠标。然后,您可以将其绑定到键盘上的某个东西。
C-h k
这并不完全是您所要求的,但您应该能够使用它为您关心的所有点击完成相同的事情。