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: How to rebind keys "C-j" to join-line Date: Fri, 3 Aug 2007 13:18:40 +0800 Message-ID: <1EA8C5CAFEE34474B0BC8809A468377F@array8f42e753d> NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 Content-Type: multipart/mixed; boundary="===============1768382716==" X-Trace: sea.gmane.org 1186118361 21750 80.91.229.12 (3 Aug 2007 05:19:21 GMT) X-Complaints-To: usenet@sea.gmane.org NNTP-Posting-Date: Fri, 3 Aug 2007 05:19:21 +0000 (UTC) To: Original-X-From: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Fri Aug 03 07:19:19 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 1IGpZH-0001Ej-5w for geh-help-gnu-emacs@m.gmane.org; Fri, 03 Aug 2007 07:19:19 +0200 Original-Received: from localhost ([127.0.0.1] helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1IGpZG-0000O1-4j for geh-help-gnu-emacs@m.gmane.org; Fri, 03 Aug 2007 01:19:18 -0400 Original-Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1IGpYm-0000Lv-27 for help-gnu-emacs@gnu.org; Fri, 03 Aug 2007 01:18:48 -0400 Original-Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1IGpYk-0000LP-4J for help-gnu-emacs@gnu.org; Fri, 03 Aug 2007 01:18:47 -0400 Original-Received: from [199.232.76.173] (helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1IGpYj-0000LM-UQ for help-gnu-emacs@gnu.org; Fri, 03 Aug 2007 01:18:45 -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 1IGpYj-00037h-2c for help-gnu-emacs@gnu.org; Fri, 03 Aug 2007 01:18:45 -0400 X-ASG-Debug-ID: 1186118318-0693000a0000-2yy5ZX X-Barracuda-URL: http://172.22.0.241:8000/cgi-bin/mark.cgi X-Barracuda-Connect: unknown[63.139.213.249] X-Barracuda-Start-Time: 1186118318 Original-Received: from array8f42e753d (unknown [63.139.213.249]) by barracuda.arrayinc.com (Spam Firewall) with ESMTP id 629ED39F9 for ; Fri, 3 Aug 2007 01:18:40 -0400 (EDT) X-ASG-Orig-Subj: 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:46281 Archived-At: This is a multi-part message in MIME format. --===============1768382716== Content-Type: multipart/alternative; boundary="----=_NextPart_000_001F_01C7D5D0.CEFA6A20" This is a multi-part message in MIME format. ------=_NextPart_000_001F_01C7D5D0.CEFA6A20 Content-Type: text/plain; charset="gb2312" Content-Transfer-Encoding: quoted-printable Hi All 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 ? (global-set-key (kbd "C-j") 'join-line)=20 (local-set-key (kbd "C-j") 'join-line)=20 Thanks in advance for ur kind helps Sunding Wei ------=_NextPart_000_001F_01C7D5D0.CEFA6A20 Content-Type: text/html; charset="gb2312" Content-Transfer-Encoding: quoted-printable
Hi All
 
I add the following lines into my .emacs file, but it dosen't work, = How can=20 I rebind the key "C-j" to join-line ?
 
(global-set-key (kbd "C-j") 'join-line)
(local-set-key (kbd "C-j") 'join-line)
 
Thanks in advance for ur kind helps
 
 
Sunding Wei
 
 
 
 
------=_NextPart_000_001F_01C7D5D0.CEFA6A20-- --===============1768382716== 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 --===============1768382716==--