From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!.POSTED!not-for-mail From: Emanuel Berg Newsgroups: gmane.emacs.help,gmane.emacs.orgmode 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> NNTP-Posting-Host: blaine.gmane.org Mime-Version: 1.0 Content-Type: text/plain X-Trace: blaine.gmane.org 1498859767 1667 195.159.176.226 (30 Jun 2017 21:56:07 GMT) X-Complaints-To: usenet@blaine.gmane.org NNTP-Posting-Date: Fri, 30 Jun 2017 21:56:07 +0000 (UTC) User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/24.4 (gnu/linux) Cc: emacs-orgmode@gnu.org To: help-gnu-emacs@gnu.org Original-X-From: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Fri Jun 30 23:56:02 2017 Return-path: Envelope-to: geh-help-gnu-emacs@m.gmane.org Original-Received: from lists.gnu.org ([208.118.235.17]) by blaine.gmane.org with esmtp (Exim 4.84_2) (envelope-from ) id 1dR3tP-0008SC-EG for geh-help-gnu-emacs@m.gmane.org; Fri, 30 Jun 2017 23:55:59 +0200 Original-Received: from localhost ([::1]:46105 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1dR3tU-0002w7-Tc for geh-help-gnu-emacs@m.gmane.org; Fri, 30 Jun 2017 17:56:04 -0400 Original-Received: from eggs.gnu.org ([2001:4830:134:3::10]:60800) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1dR3t5-0002w2-PX for help-gnu-emacs@gnu.org; Fri, 30 Jun 2017 17:55:40 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1dR3t2-0001WT-Oh for help-gnu-emacs@gnu.org; Fri, 30 Jun 2017 17:55:39 -0400 Original-Received: from [195.159.176.226] (port=56426 helo=blaine.gmane.org) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1dR3t2-0001UW-Ht for help-gnu-emacs@gnu.org; Fri, 30 Jun 2017 17:55:36 -0400 Original-Received: from list by blaine.gmane.org with local (Exim 4.84_2) (envelope-from ) id 1dR3so-0006lN-N9 for help-gnu-emacs@gnu.org; Fri, 30 Jun 2017 23:55:22 +0200 X-Injected-Via-Gmane: http://gmane.org/ Mail-Followup-To: help-gnu-emacs@gnu.org Original-Followup-To: gmane.emacs.help Original-Lines: 62 Original-X-Complaints-To: usenet@blaine.gmane.org Mail-Copies-To: never Cancel-Lock: sha1:Oi9Le8JW6jK6aAzX+4ctDoDgVh0= X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.2.x-3.x [generic] [fuzzy] X-Received-From: 195.159.176.226 X-BeenThere: help-gnu-emacs@gnu.org X-Mailman-Version: 2.1.21 Precedence: list List-Id: Users list for the GNU Emacs text editor 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 Original-Sender: "help-gnu-emacs" Xref: news.gmane.org gmane.emacs.help:113624 gmane.emacs.orgmode:114419 Archived-At: 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