From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Bernardo Newsgroups: gmane.emacs.help Subject: Re: swapping C-x and C-j reliably for ergonomic reasons Date: Sun, 20 Feb 2011 21:44:48 +1100 Message-ID: <4D60F0A0.9000600@pobox.com> References: Reply-To: bernardo.bacic@pobox.com NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit X-Trace: dough.gmane.org 1298198968 29921 80.91.229.12 (20 Feb 2011 10:49:28 GMT) X-Complaints-To: usenet@dough.gmane.org NNTP-Posting-Date: Sun, 20 Feb 2011 10:49:28 +0000 (UTC) To: GNU Emacs List Original-X-From: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Sun Feb 20 11:49:24 2011 Return-path: Envelope-to: geh-help-gnu-emacs@m.gmane.org Original-Received: from lists.gnu.org ([199.232.76.165]) by lo.gmane.org with esmtp (Exim 4.69) (envelope-from ) id 1Pr6qx-0001Lp-6z for geh-help-gnu-emacs@m.gmane.org; Sun, 20 Feb 2011 11:49:23 +0100 Original-Received: from localhost ([127.0.0.1]:53993 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1Pr6p4-00084F-ML for geh-help-gnu-emacs@m.gmane.org; Sun, 20 Feb 2011 05:47:26 -0500 Original-Received: from [140.186.70.92] (port=43778 helo=eggs.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1Pr6oh-00083v-Al for help-gnu-emacs@gnu.org; Sun, 20 Feb 2011 05:47:04 -0500 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1Pr6oe-0001j4-Hf for help-gnu-emacs@gnu.org; Sun, 20 Feb 2011 05:47:01 -0500 Original-Received: from a-pb-sasl-sd.pobox.com ([64.74.157.62]:62265 helo=sasl.smtp.pobox.com) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Pr6oe-0001ir-F0 for help-gnu-emacs@gnu.org; Sun, 20 Feb 2011 05:47:00 -0500 Original-Received: from sasl.smtp.pobox.com (unknown [127.0.0.1]) by a-pb-sasl-sd.pobox.com (Postfix) with ESMTP id 1EAD027CA for ; Sun, 20 Feb 2011 05:48:08 -0500 (EST) DKIM-Signature: v=1; a=rsa-sha1; c=relaxed; d=pobox.com; h=message-id :date:from:reply-to:mime-version:to:subject:references :in-reply-to:content-type:content-transfer-encoding; s=sasl; bh= MssLm3oUU/LTjVY9q1wNkCUKffU=; b=am00JyNDw/YfPECKwr4AAriXOBZ+0wZT TRHMcioV+CQqNwhtfr5lwPneGC9V+4D0B4hasrbv/WFEhzLSZryq+7jxbdhWgBnx 6jmmvI+jLt4Qf0ANHgAjxNjxkgF8fki29WaZf5KX68w/t9IDkM82R5zgFScyqey/ MVrygEm47gI= DomainKey-Signature: a=rsa-sha1; c=nofws; d=pobox.com; h=message-id:date :from:reply-to:mime-version:to:subject:references:in-reply-to :content-type:content-transfer-encoding; q=dns; s=sasl; b=VVgCQU Y+johpHfRRcPsDFOsnRPmOLbxt/KyspTOr4Z3zRgJlfobskqwGanR0t9kD0PN80r J0OTfhNIXFbm3ExeGIxBpbmpF4Sk0fh361e+QKHpfgfL1S5jSgUPySskbmUrp0yn /GRkdkq9JcHO5wnMe9IvKPsvYty3SucyQ0cSI= Original-Received: from a-pb-sasl-sd.pobox.com (unknown [127.0.0.1]) by a-pb-sasl-sd.pobox.com (Postfix) with ESMTP id 1A5A727C9 for ; Sun, 20 Feb 2011 05:48:08 -0500 (EST) Original-Received: from localhost.localdomain (unknown [115.70.111.33]) (using TLSv1 with cipher DHE-RSA-AES256-SHA (256/256 bits)) (No client certificate requested) by a-pb-sasl-sd.pobox.com (Postfix) with ESMTPSA id 7CCF727C8 for ; Sun, 20 Feb 2011 05:48:07 -0500 (EST) User-Agent: Thunderbird 2.0.0.24 (X11/20100228) In-Reply-To: X-Pobox-Relay-ID: E73739B4-3CDE-11E0-849A-AF401E47CF6F-14340206!a-pb-sasl-sd.pobox.com X-detected-operating-system: by eggs.gnu.org: Solaris 10 (beta) X-Received-From: 64.74.157.62 X-BeenThere: help-gnu-emacs@gnu.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Users list for the GNU Emacs text editor List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Original-Sender: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Errors-To: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Xref: news.gmane.org gmane.emacs.help:79249 Archived-At: Le Wang said the following on 19/02/11 04:57: > Hi, > > I do this from my .emacs.el: > > (keyboard-translate ?\C-x ?\C-j) > (keyboard-translate ?\C-j ?\C-x) > > > This is part of my ongoing effort to use Emacs more ergonomically. It works > most of the time, however, ocassionally when I press C-j, > `newline-and-indent' still runs. I haven't put my finger on the exact > sequences of events that cause this. guess the "lossage" (C-h l) doesn't reveal much in such a case? > > My Emace environment is heavily customized, so any number of things could be > causing this. It seems from the wiki and blogs that this swap is quite > common among power users i don't use this kind of customisation, but recently when one of my ergonomic keyboards wore out i looked for a keyboard where (the right) CTRL key is easily reached while my right index finger rests on the J key; it turned out that small keyboards were much better in that sense; (i'm reasonably happy with "mobile keyboard 6000" but would encourage anyone taking this path to do their own testing)