From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Nikolaj Schumacher Newsgroups: gmane.emacs.help Subject: Re: How to rebind keys "C-j" to join-line Date: Mon, 06 Aug 2007 16:37:52 +0200 Message-ID: References: <1EA8C5CAFEE34474B0BC8809A468377F@array8f42e753d> <87r6mkngx6.fsf@debby.local.net> NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Trace: sea.gmane.org 1186411150 13465 80.91.229.12 (6 Aug 2007 14:39:10 GMT) X-Complaints-To: usenet@sea.gmane.org NNTP-Posting-Date: Mon, 6 Aug 2007 14:39:10 +0000 (UTC) Cc: help-gnu-emacs@gnu.org To: "Alex Wei" Original-X-From: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Mon Aug 06 16:39:08 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 1II3jf-0000uM-BE for geh-help-gnu-emacs@m.gmane.org; Mon, 06 Aug 2007 16:39:08 +0200 Original-Received: from localhost ([127.0.0.1] helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1II3jd-0007WC-Vf for geh-help-gnu-emacs@m.gmane.org; Mon, 06 Aug 2007 10:39:06 -0400 Original-Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1II3jK-0007Vt-9p for help-gnu-emacs@gnu.org; Mon, 06 Aug 2007 10:38:46 -0400 Original-Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1II3jG-0007UE-PR for help-gnu-emacs@gnu.org; Mon, 06 Aug 2007 10:38:45 -0400 Original-Received: from [199.232.76.173] (helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1II3jG-0007U5-GO for help-gnu-emacs@gnu.org; Mon, 06 Aug 2007 10:38:42 -0400 Original-Received: from fmmailgate02.web.de ([217.72.192.227]) by monty-python.gnu.org with esmtp (Exim 4.60) (envelope-from ) id 1II3j9-0000Xt-Th for help-gnu-emacs@gnu.org; Mon, 06 Aug 2007 10:38:36 -0400 Original-Received: from smtp05.web.de (fmsmtp05.dlan.cinetic.de [172.20.4.166]) by fmmailgate02.web.de (Postfix) with ESMTP id 4C6D7920E09B; Mon, 6 Aug 2007 16:37:53 +0200 (CEST) Original-Received: from [89.59.173.167] (helo=wednesday) by smtp05.web.de with asmtp (TLSv1:AES256-SHA:256) (WEB.DE 4.108 #197) id 1II3iT-000325-00; Mon, 06 Aug 2007 16:37:53 +0200 In-Reply-To: (Alex Wei's message of "Mon\, 6 Aug 2007 10\:17\:04 +0800") User-Agent: Gnus/5.11 (Gnus v5.11) Emacs/22.1 (darwin) X-Sender: n_schumacher@web.de X-Provags-ID: V01U2FsdGVkX18QxsfHOQKv5nfFAn69Gik9uyDNHb5S7Te9Vxp9 AfZ9t1ouTvnvDwyLukpEv5cVJPNj1/yyLrCdZJYiXwFlURsREi 9ubS0cUDe5b4O7o+W7Jw== 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:46356 Archived-At: "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