在终端中如何发送S-RET到Emacs? [英] How does one send S-RET to Emacs in a terminal?

查看:154
本文介绍了在终端中如何发送S-RET到Emacs?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

org-mode 中,按 MS-RET (meta-shift-return)将创建一个新的 TODO 在新的一行。此密钥序列通过我的终端向emacs发送 M-RET 。我已经用 C c ESC-S-RET 检查过,它返回 M-RET未定义在迷你-buffer。

In org-mode, pressing M-S-RET (meta-shift-return) will create a new TODO on a new line. This key sequence sends M-RET to emacs through my terminal. I've checked this with C-h c ESC-S-RET, which returns M-RET is undefined in the mini-buffer.

我正在使用Snow Leopard与Emacs 23.2.1在Terminal.app中运行。终端键盘首选项中没有选择定义 RET 序列。

I'm using Snow Leopard with Emacs 23.2.1 running in Terminal.app. There is no option to define a RET sequence in the terminal keyboard preferences.

任何想法导致丢失的 SHIFT ?解决方法?

Any idea what's causing the missing SHIFT? Workarounds?

推荐答案

您可以让Emacs假装得到 S-RET Cx @ S RET (注意大写 S )。

You can get Emacs to pretend that it got S-RET with C-x @ S RET (note uppercase S).

这也适用于添加控件,元,alt,超或超修饰符;键入 C-x @ C-h 作为绑定列表。 Emacs手册中的修改器键部分提及这也是。

This also works for adding control, meta, alt, hyper or super modifiers; type C-x @ C-h for the list of bindings. The Modifier Keys section in the Emacs manual mentions this as well.

这篇关于在终端中如何发送S-RET到Emacs?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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