From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Le Wang Newsgroups: gmane.emacs.help Subject: Re: swapping C-x and C-j reliably for ergonomic reasons Date: Tue, 22 Feb 2011 23:49:53 +0800 Message-ID: References: <4d611405.0673e50a.0a3b.3a48SMTPIN_ADDED@mx.google.com> <878vxak70c.wl%aaron@danzig> NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 Content-Type: multipart/alternative; boundary=bcaec51a86606bbd2b049ce0eef1 X-Trace: dough.gmane.org 1298389835 1315 80.91.229.12 (22 Feb 2011 15:50:35 GMT) X-Complaints-To: usenet@dough.gmane.org NNTP-Posting-Date: Tue, 22 Feb 2011 15:50:35 +0000 (UTC) Cc: help-gnu-emacs@gnu.org To: Aaron Culich Original-X-From: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Tue Feb 22 16:50:30 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 1PruVQ-0007A0-0N for geh-help-gnu-emacs@m.gmane.org; Tue, 22 Feb 2011 16:50:28 +0100 Original-Received: from localhost ([127.0.0.1]:42190 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1PruVP-0005Yu-Ep for geh-help-gnu-emacs@m.gmane.org; Tue, 22 Feb 2011 10:50:27 -0500 Original-Received: from [140.186.70.92] (port=36762 helo=eggs.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1PruUt-0005WS-Mz for help-gnu-emacs@gnu.org; Tue, 22 Feb 2011 10:49:57 -0500 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1PruUs-0004MJ-E2 for help-gnu-emacs@gnu.org; Tue, 22 Feb 2011 10:49:55 -0500 Original-Received: from mail-gx0-f169.google.com ([209.85.161.169]:39532) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1PruUs-0004M3-Aw for help-gnu-emacs@gnu.org; Tue, 22 Feb 2011 10:49:54 -0500 Original-Received: by gxk2 with SMTP id 2so1331834gxk.0 for ; Tue, 22 Feb 2011 07:49:53 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:mime-version:in-reply-to:references:date :message-id:subject:from:to:cc:content-type; bh=UFuhsi8jO/KpEGFuW1r34zPTjA7h68+edX7s7r9vOK0=; b=hOCbMHwFCIzT80+aP2lPbB4yqL9rdpwqvTlQAEL3RAc1AhqgKoAvhkgVfmuGwTG7C6 a5KU2RCMFOcXX00eYiTOfGW/YJ5A2/azc3+9dgDdqvE9ibY0jgCZKm+HO2zXsA6VDSTK LsxU66ti+AQlwPxAtw2L4PjgIarWqEMJBq5Ho= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=mime-version:in-reply-to:references:date:message-id:subject:from:to :cc:content-type; b=RTpTXFh/6gVmr/zKlyILb2xMeKy3JP2PBn/3NWDTEemmpwUDpQ1YyJeh5YFWrhJjg8 7uMEao3WN+yUwZlZ/AvHD+M9kHQ/OF7XwHOu2NaecfC9bzON3Xg0adl9FLANh3bC0/5C SL0vsxtXU8cSjG9BTKpt276UjQ/HKyictEJZ8= Original-Received: by 10.43.70.195 with SMTP id yh3mr3007827icb.516.1298389793487; Tue, 22 Feb 2011 07:49:53 -0800 (PST) Original-Received: by 10.42.220.2 with HTTP; Tue, 22 Feb 2011 07:49:53 -0800 (PST) In-Reply-To: <878vxak70c.wl%aaron@danzig> X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.6 (newer, 2) X-Received-From: 209.85.161.169 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:79328 Archived-At: --bcaec51a86606bbd2b049ce0eef1 Content-Type: text/plain; charset=ISO-8859-1 On Mon, Feb 21, 2011 at 12:25 AM, Aaron Culich wrote: > > (keyboard-translate ?\C-x ?\C-j) > > (keyboard-translate ?\C-j ?\C-x) > > The keyboard-translate command doesn't do quite what you expect of it I'm not sure what you mean by this. It works like a champ most of the time. My issue is that C-j registers as the original binding occasionally. It gets fixed right away without me doing anything, i.e. C-j registers as C-j, then C-_C-j registers as C-x. -- Le --bcaec51a86606bbd2b049ce0eef1 Content-Type: text/html; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable
On Mon, Feb 21, 2011 at 12:25 AM, Aaron Culich <= span dir=3D"ltr"><aculich@gmail.com= > wrote:
> (keyboard-translate ?\C-x ?\C-j)
> (keyboard-translate ?\C-j ?\C-x)

The keyboard-translate command doesn't do quite what you expect o= f it

I'm not sure what you mean by this= . =A0It works like a champ most of the time. =A0My issue is that C-j regist= ers as the original binding occasionally. =A0It gets fixed right away witho= ut me doing anything, i.e. C-j registers as C-j, then C-_C-j registers as C= -x.

--
Le
--bcaec51a86606bbd2b049ce0eef1--