From mboxrd@z Thu Jan 1 00:00:00 1970 From: Michael Ax Subject: Re: keybindings again... Date: Fri, 30 Jun 2017 11:56:02 +0200 Message-ID: References: <3BA1EFA7-056C-4DD6-8D53-85088F901263@gmail.com> <87d19moxim.fsf@nicolasgoaziou.fr> <368D074E-703B-4BAE-B216-1CE756607137@gmail.com> <874luxq4dk.fsf@nicolasgoaziou.fr> <041DD055-236B-41DB-9054-D1CFC3D5831C@gmail.com> Mime-Version: 1.0 Content-Type: multipart/alternative; boundary="------------552829733815ADFAB1C91AE8" Return-path: Received: from eggs.gnu.org ([2001:4830:134:3::10]:50927) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1dQsf2-0004uk-Ac for emacs-orgmode@gnu.org; Fri, 30 Jun 2017 05:56:25 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1dQsex-0004kH-Eb for emacs-orgmode@gnu.org; Fri, 30 Jun 2017 05:56:24 -0400 Received: from mail-wm0-x233.google.com ([2a00:1450:400c:c09::233]:38178) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1dQsex-0004ia-7E for emacs-orgmode@gnu.org; Fri, 30 Jun 2017 05:56:19 -0400 Received: by mail-wm0-x233.google.com with SMTP id b184so40363862wme.1 for ; Fri, 30 Jun 2017 02:56:17 -0700 (PDT) In-Reply-To: <041DD055-236B-41DB-9054-D1CFC3D5831C@gmail.com> List-Id: "General discussions about Org-mode." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: emacs-orgmode-bounces+geo-emacs-orgmode=m.gmane.org@gnu.org Sender: "Emacs-orgmode" To: Jean-Christophe Helary , Org-mode This is a multi-part message in MIME format. --------------552829733815ADFAB1C91AE8 Content-Type: text/plain; charset=windows-1252; format=flowed Content-Transfer-Encoding: 7bit Also $ xmodmap .. if you should see an empty row in the output, and a whole bunch of things clustered on the last line, then .. write an ~/.Xmodmap to free up caps-lock and to have it act as the Hyper_L key. two more lines move that modifier into the free row and you get an easy to hit on activation via $ xmodmap ~/.Xmodmap With a US keyboard you might need to create that file, otherwise just add: clear Lock keycode 66 = Hyper_L remove mod4 = Hyper_L add mod3 = Hyper_L I never worked out how to do this in the terminal as emacs is unusable in the terminal on my debians (since i can remember; i use zile there instead). one could maybe make Hyper work outside X via /etc/console-setup/ [remap.inc] p.s. C-x h is your friend. you can not bind H-S-n, but you can bind H-N (for example) $ xev also shows the limits of what you can and can't bind. iac, Caps-lock Enter is refreshingly easy to hit. hope this helps! Sure! Improvements to documentation are always welcome. > Ok, I'll put that on my todo list now that I have solved that shortcut issue... :) > > Jean-Christophe --------------552829733815ADFAB1C91AE8 Content-Type: text/html; charset=windows-1252 Content-Transfer-Encoding: 8bit

Also $ xmodmap  .. if you should see an empty row in the output,
and a whole bunch of things clustered on the last line, then ..

write an ~/.Xmodmap to free up caps-lock and to have it act as the Hyper_L key.
two more lines move that modifier into the free row and you get an easy to hit
<H-return> on activation via $ xmodmap ~/.Xmodmap

With a US keyboard you might need to create that file, otherwise just add:

clear Lock
keycode 66 = Hyper_L
remove mod4 = Hyper_L
add mod3 = Hyper_L

I never worked out how to do this in the terminal as emacs is unusable in the
terminal on my debians (since i can remember; i use zile there instead).  one
could maybe make Hyper work outside X via /etc/console-setup/ [remap.inc]

p.s. C-x h  is your friend. you can not bind H-S-n, but you can bind H-N (for example)
$ xev  also shows the limits of what you can and can't bind.

iac, Caps-lock Enter is refreshingly easy to hit.   hope this helps!

Sure! Improvements to documentation are always welcome.
Ok, I'll put that on my todo list now that I have solved that shortcut issue... :)

Jean-Christophe 

--------------552829733815ADFAB1C91AE8--