控制台/终端中的Emacs组态模式下,M-RET和M-UP / DOWN不起作用 [英] M-RET and M-UP/DOWN not working in Emacs org-mode in console/terminal

查看:191
本文介绍了控制台/终端中的Emacs组态模式下,M-RET和M-UP / DOWN不起作用的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我在Ubuntu 32位10.04 / 10.10与GNOME和Compiz之间使用 emacs23



在Emacs(GUI)中的组织模式列表中按 M-RET )插入一个新项目。按 M-Up 将项目向上移动到列表中。



这些密钥在终止者和 gnome的 emacs -nw 中无法正常工作末端 M-Up 键不起作用,而 M-RET 键只需将光标向下移动一行并缩进位置。密钥也不会在 xterm 中工作,而是插入 \215 。按 ESC-RET ESC-Up 则会产生预期的功能。如果我在终止者下的 ssh 访问的无头服务器上运行 emacs -nw ,则存在相同的问题, gnome-terminal xterm



组织模式 Gmane列表中给出答案,但尚未找到任何内容。这是与 org-mode 有关的问题,还是与终端模拟器和/或Window Manager有关?

解决方案

除了我的问题中的关键字,S-TAB,S-Left,S-Right,S-Up和S-Down还没有在ssh和PuTTY上工作。使用TTY连接上的某些键(ssh,screen,PuTTY)是一个已知的问题。 here 中的其他密钥包含在组织模式中。


I'm using emacs23 on Ubuntu 32-bit 10.04/10.10 with GNOME and Compiz.

Pressing M-RET in an org-mode plain list in Emacs (GUI) inserts a new item. Pressing M-Up moves the item up in the list.

These keys don't work as expected in emacs -nw under Terminator and gnome-terminal. The M-Up key does nothing, whereas the M-RET key simply moves the cursor down one line and indents the position. The keys also don't "work" in xterm, which inserts \215 instead. Pressing ESC-RET or ESC-Up instead produces the expected functionality. The same problems exist if I run emacs -nw on a headless server accessed via ssh under Terminator, gnome-terminal and xterm.

I've searched both generally and on the org-mode Gmane list for an answer to this, but have not found anything. Is this a known issue with org-mode or is it related to the terminal emulator and/or the Window Manager?

解决方案

In addition to the keys in my question, S-TAB, S-Left, S-Right, S-Up and S-Down were not working over ssh and PuTTY. Using certain keys on a TTY connection (ssh, screen, PuTTY) is a known issue. Alternative keys are included in org-mode as detailed here.

这篇关于控制台/终端中的Emacs组态模式下,M-RET和M-UP / DOWN不起作用的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆