Warning: file_get_contents(/data/phpspider/zhask/data//catemap/4/macos/9.json): failed to open stream: No such file or directory in /data/phpspider/zhask/libs/function.php on line 167

Warning: Invalid argument supplied for foreach() in /data/phpspider/zhask/libs/tag.function.php on line 1116

Notice: Undefined index: in /data/phpspider/zhask/libs/function.php on line 180

Warning: array_chunk() expects parameter 1 to be array, null given in /data/phpspider/zhask/libs/function.php on line 181
Macos 正在修复mac的emacs上的shift键_Macos_Emacs_Emacs24 - Fatal编程技术网

Macos 正在修复mac的emacs上的shift键

Macos 正在修复mac的emacs上的shift键,macos,emacs,emacs24,Macos,Emacs,Emacs24,我现在正在从我的mac电脑下载到一个CentOS机箱,在那里我运行emacs。无论出于何种原因,shift键在发出键盘序列时似乎不起作用。我怀疑发送了错误的钥匙代码 例如,我已将“帮助”命令重新映射到以下命令: (global-set-key (kbd "C-?") 'help-command) 在typescript文件中执行此键盘序列表明它正在调用delete backward char命令,该命令是simple.el中编译的Lisp函数。(为了检查键盘序列执行的是什么命令,我不得不临时将

我现在正在从我的mac电脑下载到一个CentOS机箱,在那里我运行emacs。无论出于何种原因,
shift
键在发出键盘序列时似乎不起作用。我怀疑发送了错误的钥匙代码

例如,我已将“帮助”命令重新映射到以下命令:

(global-set-key (kbd "C-?") 'help-command)
在typescript文件中执行此键盘序列表明它正在调用
delete backward char
命令,该命令是simple.el中编译的Lisp函数。(为了检查键盘序列执行的是什么命令,我不得不临时将help重新映射到
C-o

类似地,我为typescript模式设置了以下键绑定

(setq tss-popup-help-key "C-:")
类似地,它看起来像是
SHIFT
键没有注册,因为我在反向查找序列时在帮助手册中得到了以下定义:

; runs the command typescript-insert-and-indent, which is an
interactive compiled Lisp function in `typescript.el'.

It is bound to ,, ;, ), (, }, {.

(typescript-insert-and-indent KEY)
换句话说,emacs将冒号注册为分号

这是一个反复出现的键盘序列问题,需要我使用
SHIFT
键。通过mac在emacs上工作时,如何使SHIFT键正常工作


作为记录,当我使用shift键时,效果非常好。

这主要是终端模拟的一个限制(不是emacs、osx或javascript(?)。Ctrl+Shift组合通常不由终端处理