Thanks    H. Dieter Wilhelm
 
I don't need the original C-j keybinding, the "M-^" needs to press 3 keys at same time, so I want to rebind the C-j to join-line. I am just wondering how to rebind the key or how can I find the hook.
 
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,  can you help, I guess I need to find the last setup's hook.
 
Thanks
 
Alex Wei
 
----- Original Message -----
From: Dieter Wilhelm
To: Alex Wei
Cc: help-gnu-emacs@gnu.org
Sent: Saturday, August 04, 2007 10:59 AM
Subject: Re: How to rebind keys "C-j" to join-line

"Alex Wei" <swei@arrayinc.com> writes:

> I add the following lines into my .emacs file, but it dosen't work, How can I
> rebind the key "C-j" to join-line ?

May I ask why the standard key-binding of join-line (M-^) is not
sufficient for you?

--
    Best wishes

    H. Dieter Wilhelm
    Darmstadt, Germany