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: swapping C-x and C-j reliably for ergonomic reasons Date: Sat, 19 Feb 2011 01:57:45 +0800 Message-ID: NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 Content-Type: multipart/alternative; boundary=90e6ba6e8f5051831c049c9240ed X-Trace: dough.gmane.org 1298051895 22053 80.91.229.12 (18 Feb 2011 17:58:15 GMT) X-Complaints-To: usenet@dough.gmane.org NNTP-Posting-Date: Fri, 18 Feb 2011 17:58:15 +0000 (UTC) To: GNU Emacs List Original-X-From: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Fri Feb 18 18:58:11 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 1PqUap-0000hf-78 for geh-help-gnu-emacs@m.gmane.org; Fri, 18 Feb 2011 18:58:11 +0100 Original-Received: from localhost ([127.0.0.1]:59869 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1PqUan-0000Kf-It for geh-help-gnu-emacs@m.gmane.org; Fri, 18 Feb 2011 12:58:09 -0500 Original-Received: from [140.186.70.92] (port=46715 helo=eggs.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1PqUaS-0000KU-3N for help-gnu-emacs@gnu.org; Fri, 18 Feb 2011 12:57:48 -0500 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1PqUaR-00051C-FK for help-gnu-emacs@gnu.org; Fri, 18 Feb 2011 12:57:48 -0500 Original-Received: from mail-iw0-f169.google.com ([209.85.214.169]:56974) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1PqUaR-00050M-C3 for help-gnu-emacs@gnu.org; Fri, 18 Feb 2011 12:57:47 -0500 Original-Received: by iwl42 with SMTP id 42so585178iwl.0 for ; Fri, 18 Feb 2011 09:57:45 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:mime-version:date:message-id:subject:from:to :content-type; bh=wslF1UbTYwX1zHQtCviglDcHxgpgTJru8WAt+cJhLyU=; b=kon9Wt0/UoxxS3RYgXD6/aFVhIxAaOoQ3e6GESS261rf5qd1uxzkWk0knfeXtZbU/L LbUBlxPH1vO2e6sgjvbxKPPhgnYDAEm1Df2TgwMRfBbioPRt7R3uyDgvDDMFgfTtu/yj zN35LPVcY1AF7B+WxcHKbiBPa+WT93mPpm1d8= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=mime-version:date:message-id:subject:from:to:content-type; b=q4FJ9SV1Bz+qiRg3doDAY9FofAkQO3ltW+F7g7fC1E+eJSR8LnU3TZtT4rXDhEWo9a KMWuUR3G3G9r6JZVSzD6m6derUSHv3xUKxI//5MQBadgWogTeNkrnDDC2w6OVELxJFIu Iiudh81hQ/TdkgdYRZODJEUY3S+YO1gv0CYkw= Original-Received: by 10.42.175.72 with SMTP id az8mr1254672icb.47.1298051865084; Fri, 18 Feb 2011 09:57:45 -0800 (PST) Original-Received: by 10.42.220.2 with HTTP; Fri, 18 Feb 2011 09:57:45 -0800 (PST) X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.6 (newer, 2) X-Received-From: 209.85.214.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:79206 Archived-At: --90e6ba6e8f5051831c049c9240ed Content-Type: text/plain; charset=ISO-8859-1 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. 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, has anyone else noticed something similar? -- Le --90e6ba6e8f5051831c049c9240ed Content-Type: text/html; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable 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 ergono= mically. =A0It works most of the time, however, ocassionally when I press C= -j, `newline-and-indent' still runs. =A0I haven't put my finger on = the exact sequences of events that cause this.

My Emace environment is heavily customized, so any numb= er of things could be causing this. =A0It seems from the wiki and blogs tha= t this swap is quite common among power users, has anyone else noticed some= thing similar?

--
Le
--90e6ba6e8f5051831c049c9240ed--