From mboxrd@z Thu Jan 1 00:00:00 1970 From: onguarde - Subject: Unsetting "C-j" Keybinding Bound to org-return-indent Date: Thu, 16 Jul 2009 12:08:15 +0800 Message-ID: Mime-Version: 1.0 Content-Type: multipart/mixed; boundary="===============1164449848==" Return-path: Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1MRIGb-0005AQ-6G for emacs-orgmode@gnu.org; Thu, 16 Jul 2009 00:08:21 -0400 Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1MRIGW-00058b-Nk for emacs-orgmode@gnu.org; Thu, 16 Jul 2009 00:08:20 -0400 Received: from [199.232.76.173] (port=50071 helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1MRIGW-00058Y-L1 for emacs-orgmode@gnu.org; Thu, 16 Jul 2009 00:08:16 -0400 Received: from mail-px0-f193.google.com ([209.85.216.193]:61760) by monty-python.gnu.org with esmtp (Exim 4.60) (envelope-from ) id 1MRIGW-0003qB-9K for emacs-orgmode@gnu.org; Thu, 16 Jul 2009 00:08:16 -0400 Received: by pxi31 with SMTP id 31so3142906pxi.14 for ; Wed, 15 Jul 2009 21:08:15 -0700 (PDT) List-Id: "General discussions about Org-mode." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: emacs-orgmode-bounces+geo-emacs-orgmode=m.gmane.org@gnu.org Errors-To: emacs-orgmode-bounces+geo-emacs-orgmode=m.gmane.org@gnu.org To: emacs-orgmode@gnu.org --===============1164449848== Content-Type: multipart/alternative; boundary=000e0cd2bfc626944e046ecad21b --000e0cd2bfc626944e046ecad21b Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit Peace all! I have this in my .emacs to rebind keys. (global-unset-key "\C-j") ; newline-and-indent/org-return-indent (global-set-key (kbd "C-j") 'move-beginning-of-line) ;(global-unset-key (kbd "C-l")) ; recenter (global-set-key (kbd "C-l") 'move-end-of-line) The 2nd set works with or without the global-unset-key line but the first set simply refuses to work. M-x describe-key shows that C-j is bound to org-return-indent. I thought this might be the problem. Is there any way to unset this and rebind it globally? Thanks in advance! --000e0cd2bfc626944e046ecad21b Content-Type: text/html; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable Peace all!

I have this in my .emacs to rebind keys.

(global-u= nset-key "\C-j") ; newline-and-indent/org-return-indent
(globa= l-set-key (kbd "C-j") 'move-beginning-of-line)

;(globa= l-unset-key (kbd "C-l")) ; recenter
(global-set-key (kbd "C-l") 'move-end-of-line)

The 2nd= set works with or without the global-unset-key line but the first set simp= ly refuses to work. M-x describe-key shows that C-j is bound to org-return-= indent.=A0 I thought this might be the problem.

Is there any way to unset this and rebind it globally?

Thanks in= advance!
--000e0cd2bfc626944e046ecad21b-- --===============1164449848== Content-Type: text/plain; charset="us-ascii" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit Content-Disposition: inline _______________________________________________ Emacs-orgmode mailing list Remember: use `Reply All' to send replies to the list. Emacs-orgmode@gnu.org http://lists.gnu.org/mailman/listinfo/emacs-orgmode --===============1164449848==--