From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Tim Johnson Newsgroups: gmane.emacs.help Subject: Re: Find bindings for all modes Date: Wed, 29 Oct 2014 10:19:05 -0800 Organization: AkWebsoft Message-ID: <20141029181905.GG7374@mail.akwebsoft.com> References: <87a94fince.fsf@robertthorpeconsulting.com> NNTP-Posting-Host: plane.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Trace: ger.gmane.org 1414606780 22951 80.91.229.3 (29 Oct 2014 18:19:40 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Wed, 29 Oct 2014 18:19:40 +0000 (UTC) To: Help-gnu-emacs@gnu.org Original-X-From: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Wed Oct 29 19:19:35 2014 Return-path: Envelope-to: geh-help-gnu-emacs@m.gmane.org Original-Received: from lists.gnu.org ([208.118.235.17]) by plane.gmane.org with esmtp (Exim 4.69) (envelope-from ) id 1XjXqE-0008Fv-M4 for geh-help-gnu-emacs@m.gmane.org; Wed, 29 Oct 2014 19:19:30 +0100 Original-Received: from localhost ([::1]:48294 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1XjXqE-0002yo-8j for geh-help-gnu-emacs@m.gmane.org; Wed, 29 Oct 2014 14:19:30 -0400 Original-Received: from eggs.gnu.org ([2001:4830:134:3::10]:53822) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1XjXpz-0002yY-5S for Help-gnu-emacs@gnu.org; Wed, 29 Oct 2014 14:19:20 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1XjXpv-00077t-1B for Help-gnu-emacs@gnu.org; Wed, 29 Oct 2014 14:19:15 -0400 Original-Received: from 191-232-4-64.mtaonline.net ([64.4.232.191]:55869 helo=tj49.com) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1XjXpu-00076z-Op for Help-gnu-emacs@gnu.org; Wed, 29 Oct 2014 14:19:10 -0400 Original-Received: by tj49.com (Postfix, from userid 501) id 35B8E51C31ED; Wed, 29 Oct 2014 10:19:05 -0800 (AKDT) Mail-Followup-To: Help-gnu-emacs@gnu.org Content-Disposition: inline In-Reply-To: <87a94fince.fsf@robertthorpeconsulting.com> User-Agent: Mutt/1.4.2.3i X-detected-operating-system: by eggs.gnu.org: Mac OS X 10.x X-Received-From: 64.4.232.191 X-BeenThere: help-gnu-emacs@gnu.org X-Mailman-Version: 2.1.14 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-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Xref: news.gmane.org gmane.emacs.help:100652 Archived-At: * Robert Thorpe [141029 07:11]: > John Mastro writes: > > > Tim Johnson wrote: > >> I'd like to use C-j as a prefix key. > >> Note: I have limited mobility in my hands and always have the > >> control key to the left of my "A" key. > > > > I wanted to do something similar in order to have a general-purpose > > prefix key on the right hand side of the keyboard. (I strongly prefer to > > use opposite hands for the modifier(s) and they keys themselves. So > > `C-c` or `C-x r` are fine, but I'm not a big fan of e.g. `C-x o`. > > I'm not sure I understand John Mastro & Tim Johnson are trying to > achieve here. However, there are a few keys that are much less trouble > to use: Robert, I'll note several things first. 1)I am new to terminal mode (need it for ssh connections to my main machine from netbooks) 2)I have a limited knowledge of emacs. 3)I do not work in a team environment 4)I have limited movement in my hands and painful arthritis in my thumbs, thus I seek quick sequences and short reaches. Functionally, my hands are semi-crippled. 5)I use a happy hacker keyboard on my mac, where the control key is in the same place as the caps lock on convention keyboards and I set up all my other computers with caps lock and control swapped. > * C-' C-# C-. C-, C-; C-=. > Undefined by default. These are not available in console mode in my OS and configuration in terminal mode. I used to use C-; as a prefix in gui mode and loved it! > * C--, C-1, C-2,..., M--, M-1, M-2, .... > These are duplicates. If you like you can use one set of them and > redefine the other. Notice that C-4 & M-4 are almost useless since > in most circumstances they do the same thing as C-u. C-digit sequences are not available in my configuration on this OS and terminal mode. > * M-o. Yeah, I could use C-[ o > This isn't very useful unless you use enriched-mode. > > * M-s. Yeah, I could use C-[ s > The existing M-s prefix key doesn't have very much in it. Eventually the > Emacs maintainers will put more in no-doubt, but until then you can put > a few things in it. > * C-c X. > This is left as the default user-defined prefix key. I'm glad you brought that up. From https://www.gnu.org/software/emacs/manual/html_node/elisp/Key-Binding-Conventions.html I didn't know that C-c x was available in that fashion. Thanks, a do you have URLs or Help for further docs on this? > Some of these don't work in terminals, I don't know which ones because I > don't use terminals. See above ... I will (tentatively) be using C-j, C-l, C-o, C-s, C-t, C-u and C-] as prefix keys for keymaps. The original bindings (I hope) have been resolved. I realize that this is highly unorthodox but see note 4) and note 3) ... Because I'm using keymaps and prefix keys - alterations should be easy. Along with C-c x, I note the C-x j and C-x C-j are undefined in my setup. But, again, see note 4) ... If my hands were in the same shape as the rest of me, it would be a whole different story. Thanks for the tip on C-c x. cheers -- Tim tim at tee jay forty nine dot com or akwebsoft dot com http://www.akwebsoft.com, http://www.tj49.com