emacs-orgmode@gnu.org archives
 help / color / mirror / code / Atom feed
From: onguarde - <onguarde@gmail.com>
To: emacs-orgmode@gnu.org
Subject: Unsetting "C-j" Keybinding Bound to org-return-indent
Date: Thu, 16 Jul 2009 12:08:15 +0800	[thread overview]
Message-ID: <fb6e5c300907152108g7315debeg5147baca9b0f4f59@mail.gmail.com> (raw)


[-- Attachment #1.1: Type: text/plain, Size: 543 bytes --]

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!

[-- Attachment #1.2: Type: text/html, Size: 642 bytes --]

[-- Attachment #2: Type: text/plain, Size: 204 bytes --]

_______________________________________________
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

             reply	other threads:[~2009-07-16  4:08 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2009-07-16  4:08 onguarde - [this message]
2009-07-16 21:29 ` Unsetting "C-j" Keybinding Bound to org-return-indent Bastien
     [not found]   ` <fb6e5c300907170107l57a2eba6vefa1c0ca0addfe91@mail.gmail.com>
2009-07-17  8:43     ` Bastien

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

  List information: https://www.orgmode.org/

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=fb6e5c300907152108g7315debeg5147baca9b0f4f59@mail.gmail.com \
    --to=onguarde@gmail.com \
    --cc=emacs-orgmode@gnu.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
Code repositories for project(s) associated with this public inbox

	https://git.savannah.gnu.org/cgit/emacs/org-mode.git

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).