From mboxrd@z Thu Jan 1 00:00:00 1970 From: Emanuel Berg Subject: Re: keybindings again... Date: Fri, 30 Jun 2017 23:55:09 +0200 Message-ID: <86bmp56szm.fsf@zoho.com> References: <3BA1EFA7-056C-4DD6-8D53-85088F901263@gmail.com> Mime-Version: 1.0 Content-Type: text/plain Return-path: 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 Cc: emacs-orgmode@gnu.org List-Id: emacs-orgmode.gnu.org Jean-Christophe Helary wrote: > Do you mean that Shift is not recognized as > a modified key by the terminal ? Of course it is... M-S-RET can be done with the old workaround. Full tutorial here [1]. But in essence, in /etc/console-setup/remap.inc put # make M-S-RET work alt shift keycode 28 = U+1000 Then invoke this function: # first do 'sudo chmod +s /bin/loadkeys' lkeys () { loadkeys -q -c -s /etc/console-setup/remap.inc } Then in an Emacs init file: ;; M-S-RET (define-key input-decode-map [?\u1000] [M-S-RET-a]) (global-set-key [M-S-RET-a] (lambda () (interactive) (message "M-S-RET"))) (You can't call it [M-S-RET] because then Emacs tells you it doesn't work :)) > It would be nice if the org manual mentioned > that too, and give alternative keybindings > for use in the terminal because that's > extremely confusing. People typically don't use the terminal. Only the bravest do it. So it is not an area where people put their educational brains to work. Actually it is the opposite. When they propose making the ttys better they put the suggestions down because they don't want people to use it. It should only be there as a safe bet when everything else fail. But to the brave it doesn't matter because you can put tmux on top of it (or screen, no personal experience with that tho), problem solved. But there are use cases even for people who aren't that brave as to use it every day, for example when they ssh to some remote machine to do edits there... -- underground experts united http://user.it.uu.se/~embe8573