From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: "Alex Wei" Newsgroups: gmane.emacs.help Subject: Re: How to rebind keys "C-j" to join-line Date: Tue, 7 Aug 2007 10:15:13 +0800 Message-ID: <943225B40FA347D1ACA8829829A9010A@array8f42e753d> References: <1EA8C5CAFEE34474B0BC8809A468377F@array8f42e753d><87r6mkngx6.fsf@debby.local.net> NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 Content-Type: multipart/mixed; boundary="===============1516458021==" X-Trace: sea.gmane.org 1186452971 13762 80.91.229.12 (7 Aug 2007 02:16:11 GMT) X-Complaints-To: usenet@sea.gmane.org NNTP-Posting-Date: Tue, 7 Aug 2007 02:16:11 +0000 (UTC) Cc: help-gnu-emacs@gnu.org To: "Nikolaj Schumacher" Original-X-From: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Tue Aug 07 04:16:07 2007 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.50) id 1IIEc7-000853-I2 for geh-help-gnu-emacs@m.gmane.org; Tue, 07 Aug 2007 04:16:07 +0200 Original-Received: from localhost ([127.0.0.1] helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1IIEc0-0007gP-Sw for geh-help-gnu-emacs@m.gmane.org; Mon, 06 Aug 2007 22:15:56 -0400 Original-Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1IIEbn-0007gC-BA for help-gnu-emacs@gnu.org; Mon, 06 Aug 2007 22:15:43 -0400 Original-Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1IIEbl-0007fK-8J for help-gnu-emacs@gnu.org; Mon, 06 Aug 2007 22:15:42 -0400 Original-Received: from [199.232.76.173] (helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1IIEbl-0007f7-2q for help-gnu-emacs@gnu.org; Mon, 06 Aug 2007 22:15:41 -0400 Original-Received: from w98.arrayinc.com ([207.190.196.98] helo=barracuda.arrayinc.com) by monty-python.gnu.org with esmtps (TLS-1.0:DHE_RSA_AES_256_CBC_SHA1:32) (Exim 4.60) (envelope-from ) id 1IIEbi-0006tz-I9 for help-gnu-emacs@gnu.org; Mon, 06 Aug 2007 22:15:39 -0400 X-ASG-Debug-ID: 1186452904-613d000e0000-2yy5ZX X-Barracuda-URL: http://172.22.0.241:8000/cgi-bin/mark.cgi X-Barracuda-Connect: unknown[59.37.5.20] X-Barracuda-Start-Time: 1186452904 Original-Received: from array8f42e753d (unknown [59.37.5.20]) by barracuda.arrayinc.com (Spam Firewall) with ESMTP id 9BDF33681C; Mon, 6 Aug 2007 22:15:11 -0400 (EDT) X-ASG-Orig-Subj: Re: How to rebind keys "C-j" to join-line X-Priority: 3 X-MSMail-Priority: Normal Importance: Normal X-Mailer: Microsoft Windows Live Mail 12.0.1184 X-MimeOLE: Produced By Microsoft MimeOLE V12.0.1184 X-Barracuda-Virus-Scanned: by Barracuda Spam Firewall at arrayinc.com X-Detected-Kernel: Linux 2.4-2.6 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:46363 Archived-At: This is a multi-part message in MIME format. --===============1516458021== Content-Type: multipart/alternative; boundary="----=_NextPart_000_000F_01C7D8DB.D7ED9EA0" This is a multi-part message in MIME format. ------=_NextPart_000_000F_01C7D8DB.D7ED9EA0 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: quoted-printable Hi=20 Thanks for your reply, I don't have .emacs.elc in my home direcory, I am = using the emacs-22.1. There's only one .emacs there, not sure why I can't rebind the C-j key = to join-line. Alex Wei Aug. 7, 2007 ----- Original Message -----=20 From: Nikolaj Schumacher=20 To: Alex Wei=20 Cc: help-gnu-emacs@gnu.org=20 Sent: Monday, August 06, 2007 10:37 PM Subject: Re: How to rebind keys "C-j" to join-line "Alex Wei" wrote: > After opening the Emacs, I type (local-set-key (kbd "C-j") = 'join-line) > and then Cx Ce, It works!! But it dosen't work at .emacs, Does adding anything else work? Maybe you have an old .emacs.elc in the directory that gets loaded = first? regards, Nikolaj Schumacher ------=_NextPart_000_000F_01C7D8DB.D7ED9EA0 Content-Type: text/html; charset="iso-8859-1" Content-Transfer-Encoding: quoted-printable
Hi
 
Thanks for your reply, I don't have .emacs.elc in my home direcory, = I am=20 using the emacs-22.1.
There's only one .emacs there, not sure why I can't rebind the C-j = key to=20 join-line.
 
Alex Wei
Aug. 7, 2007
----- Original Message -----
From:=20 Nikolaj=20 Schumacher
Cc: help-gnu-emacs@gnu.org =
Sent: Monday, August 06, 2007 = 10:37=20 PM
Subject: Re: How to rebind keys = "C-j" to=20 join-line

"Alex Wei" <swei@arrayinc.com> = wrote:

>=20 After opening the Emacs, I type (local-set-key (kbd "C-j") = 'join-line)
>=20 and then Cx Ce, It works!!  But it dosen't work at = .emacs,

Does=20 adding anything else work?
Maybe you have an old .emacs.elc in the=20 directory that gets loaded first?



regards,
Nikolaj=20 Schumacher ------=_NextPart_000_000F_01C7D8DB.D7ED9EA0-- --===============1516458021== Content-Type: text/plain; charset="us-ascii" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit Content-Disposition: inline _______________________________________________ help-gnu-emacs mailing list help-gnu-emacs@gnu.org http://lists.gnu.org/mailman/listinfo/help-gnu-emacs --===============1516458021==--