Hi 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 ----- From: Nikolaj Schumacher To: Alex Wei Cc: help-gnu-emacs@gnu.org 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