M-RET and M-UP/DOWN not working in Emacs org-mode in console/terminal

后端 未结 3 1365
轮回少年
轮回少年 2021-02-07 15:17

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) ins

相关标签:
3条回答
  • 2021-02-07 15:46

    Alternative key combinations exist

    for equivalent to M-RET M C-m "<return>" is the Return ↩ key while emacs runs in a graphical user interface.

    "RET" is the Return ↩ key while emacs runs in a terminal.

    "RET" is also equivalent to "C-m" (【Ctrl+m】). (http://ergoemacs.org/emacs/emacs_key_notation_return_vs_RET.html)

    as equivalents for M-<up/down> you can use

    ESC-<up>
    ESC-<down>
    
    0 讨论(0)
  • 2021-02-07 15:51

    The menubar of terminal emulator is not letting the M key that is meant for Emacs be passed down to Emacs. For Emacs to receive the M key as it is supposed to, you could either use the Esc or disable the menubar and use M key in Emacs as usual.

    ADDED:

    For the xterm, if you do CTRL+Mouse Button 1, you will see "Meta sends Escape". You need to make sure that option is checked/enabled to make M work as it should in Emacs.

    0 讨论(0)
  • 2021-02-07 15:55

    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.

    0 讨论(0)
提交回复
热议问题