简体   繁体   English

Aquamacs:为什么Mp突然开始输入pi?

[英]Aquamacs: why does M-p suddenly start entering pi?

Aquamacs 3.3 GNU Emacs 25.1.1 (x86_64-apple-darwin14.1.0, NS appkit-1344.72 Version 10.10.2 (Build 14C109)) of 2016-09-19 on 24a02dbf6b34ae061ef4df89f15bfbc5d3ed497e 2016年9月19日在24a02dbf6b34ae061ef4df89f15bfbc5d3ed497e上的Aquamacs 3.3 GNU Emacs 25.1.1(x86_64-apple-darwin14.1.0,NS appkit-1344.72版本10.10.2(内部版本14C109))

OSX 10.10.5 OSX 10.10.5

Typically, when I'm in an erlang shell I can use Mp to cycle through previous commands, but occasionally when I do that the pi symbol gets entered, and I can't get the emacs functionality back. 通常,当我在erlang shell中时,可以使用Mp循环浏览以前的命令,但是偶尔我输入pi符号却无法恢复emacs功能。 After that, Mp enters pi no matter what type of buffer I am in. I thought I had a fix: quit Aquamacs, but now that doesn't work anymore. 之后,无论我使用哪种类型的缓冲区, Mp将进入pi。我以为我已解决了问题:退出Aquamacs,但现在不起作用了。

And, why is there no autocompletion of function names in the erlang shell--like with an erlang shell running in a Terminal window? 而且,为什么在erlang shell中没有自动补全功能的功能-就像在Terminal窗口中运行的erlang shell一样?

emacs is soooo frustrating! emacs太令人沮丧了!

I found the answer at Oliver Müller's blog . 我在OliverMüller的博客中找到了答案。 Somehow, in the course of (mis)typing emacs key sequences, I ended up with this (see the Aquamacs menu bar) : 不知何故,在(错误)键入emacs密钥序列的过程中,我最终得到了这一结果(请参见Aquamacs菜单栏):

Options > 
     Option, Command, Meta keys >
          ✓Option for composed characters
           Option is Meta

Simply clicking Option is Meta returns Aquamacs to its default state, allowing me to use the Option key as the Meta key again for emacs key sequences. 只需单击“ Option is Meta将Aquamacs恢复为默认状态,这使我可以再次将Option键用作emacs键序列的Meta键。

Note: in short order some key sequence I typed changed the Option key back to Option for composed characters . 注意:在短时间内,我键入了一些键序列,将Option键改回了Option for composed characters

Edit: It looks like C-; 编辑:看起来像C-; might be the offending key sequence. 可能是令人讨厌的键序列。 In any case, C-; 无论如何, C-; can be used to toggle Option is Meta on and off. 可以用来切换Option is Meta on和off。

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM