emacs-orgmode@gnu.org archives
 help / color / mirror / code / Atom feed
From: Nick Dokos <ndokos@gmail.com>
To: emacs-orgmode@gnu.org
Subject: Re: How to set C-o back to open-line?
Date: Thu, 16 May 2013 19:04:38 -0400	[thread overview]
Message-ID: <87r4h6msqh.fsf@pierrot.dokosmarshall.org> (raw)
In-Reply-To: 87k3mysg8c.fsf@earlgrey.lan

Christopher Allan Webber <cwebber@dustycloud.org> writes:

> I really hate org-open-line... I can see why people might want it, but
> it's messed up my workflow.  I'd like to set C-o back.
>
> However, I have no idea what org-defkey is doing, but I expected this to
> work:
>
>   (define-key org-mode-map (kbd "C-o") 'open-line)
>
> it isn't working!
>
> How to get the standard-ol-open-line behavior back?
>
>

Try

      (define-key org-mode-map [remap open-line] nil)

You may have to do it in a hook.

See

      (info "(elisp) Remapping commands")

for details.
-- 
Nick

  reply	other threads:[~2013-05-16 23:04 UTC|newest]

Thread overview: 14+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2013-05-16 22:38 How to set C-o back to open-line? Christopher Allan Webber
2013-05-16 23:04 ` Nick Dokos [this message]
2013-05-16 23:10 ` Suvayu Ali
2013-05-17  2:28   ` Christopher Allan Webber
2013-05-17  5:53     ` Andreas Röhler
2013-05-17  8:58       ` Nicolas Richard
2013-05-17 12:26       ` Christopher Allan Webber
2013-05-17 12:37         ` Nicolas Richard
2013-05-17 22:02           ` Christopher Allan Webber
2013-05-17 17:10     ` Suvayu Ali
2013-05-17 13:12 ` Carsten Dominik
2013-05-17 22:05   ` Christopher Allan Webber
2013-09-13 19:14     ` Carsten Dominik
2013-08-31  6:12 ` Carsten Dominik

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=87r4h6msqh.fsf@pierrot.dokosmarshall.org \
    --to=ndokos@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).