From mboxrd@z Thu Jan 1 00:00:00 1970 From: Eli Zaretskii Subject: Re: keybindings again... Date: Fri, 30 Jun 2017 09:17:05 +0300 Message-ID: <834luyq9su.fsf@gnu.org> References: <3BA1EFA7-056C-4DD6-8D53-85088F901263@gmail.com> Return-path: In-reply-to: <3BA1EFA7-056C-4DD6-8D53-85088F901263@gmail.com> (message from Jean-Christophe Helary on Fri, 30 Jun 2017 14:10:50 +0900) List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Sender: "help-gnu-emacs" To: help-gnu-emacs@gnu.org, emacs-orgmode@gnu.org List-Id: emacs-orgmode.gnu.org > From: Jean-Christophe Helary > Date: Fri, 30 Jun 2017 14:10:50 +0900 > > Do you mean that Shift is not recognized as a modified key by the terminal ? No, that's not it. The problem is that on a TTY, the way Emacs reads keyboard input returns only characters, it doesn't return function keys. So Shift-a returns 'A', because the keyboard driver generates an upper-case A when you type that. But there's no up-cased RET character, so you get just RET. Keys like F1 work on a TTY by emitting a sequence of characters, usually starting with ESC, and Emacs binds that sequence in special keymaps in a way that produces the symbol F1. But Shift-RET doesn't produce any such sequence, so there's nothing Emacs can do in that case.