linux - 在 emacs 中未检测到“Control+t”
问题描述
这篇文章是关于键盘组合键 'Control + t' (smallcase 't') 和 emacs。
这个问题是gui版本独有的,在使用终端时不会出现。
我正在使用Wayland
- Control+t :光标只是闪烁,没有任何反应。
- Ch k + Ct(Control+h 和 k 后跟 Control + t):没有显示。
- Ch k + CSt:有效。显示这个
'C-t (translated from C-S-t) runs the command transpose-chars (found in global-map), which is an interactive compiled Lisp function...'
注释从 CSt 翻译而来
这基本上意味着 Control-t 在过程中的某个地方被吃掉了。
更多信息和好奇的事情-
Control+t 和终端 -
- 适用于 Kitty 和白蚁 - 由 wev 检测;Emacs 模式中的 Ct 'tranpose-chars'(zsh 中的 bindkey -e)有效
- 在 konsole 中不起作用 - 由 wev 检测到;emacs 模式中的 Ct 'tranpose-chars'(zsh 中的 bindkey -e)不起作用。
wev 输出 -
[14: wl_keyboard] key: serial: 5101; time: 10021865; key: 66; state: 1 (pressed)
sym: Control_L (65507), utf8: ''
[14: wl_keyboard] modifiers: serial: 0; group: 0
depressed: 00000004: Control
latched: 00000000
locked: 00000000
[14: wl_keyboard] key: serial: 5103; time: 10022192; key: 28; state: 1 (pressed)
sym: t (116), utf8: ''
- Emacsclient -t(终端和 tty 上的 emacs 客户端)有效。
C-t runs the command transpose-chars (found in global-map), which is an interactive compiled Lisp function in `simple.el'.
- Firefox 和 Chrome 能够检测按键。在https://keyboardchecker.com/上测试
我需要什么?
- 我需要了解为什么会这样。
- 解决方法同上。
我需要你的帮助。
去做:
- 需要在X11中检查相同然后报告。
[更新] 同样的问题在 X11 中仍然存在。同样,Control+Shift+t 有效,但 Control+t 无效
解决方案
推荐阅读
- node.js - How do I use nested schemas in mongoose, using 'type', to create arrays?
- c# - .NET Core 控制台应用程序 Mediatr 命令处理程序不会被调用
- .net - CPU 被垃圾收集用尽
- java - Android - Why people refer to a static context inline repeatedly, instead of pass it in the Method() once?
- python - How do I create a Python loop that will end at a specific time?
- javascript - Mapbox - 将图像加载到某个像素大小而不是相关大小?
- psql - 162: ERROR: duplicate key value violates unique constraint "articles_pkey" when I try to run the command: psql newsdata.sql
- javascript - Javascript - 将变量传递给 MVC5 中的 TextboxFor
- php - Join One Column From other Table and Echo it
- python - S3 PutObject 静默失败?