From mboxrd@z Thu Jan 1 00:00:00 1970 From: Christopher Allan Webber Subject: Re: How to set C-o back to open-line? Date: Fri, 17 May 2013 17:05:25 -0500 Message-ID: <8738tltg7u.fsf@earlgrey.lan> References: <87k3mysg8c.fsf@earlgrey.lan>, Mime-Version: 1.0 Content-Type: text/plain Return-path: Received: from eggs.gnu.org ([208.118.235.92]:35405) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1UdSmM-0003FM-6R for Emacs-orgmode@gnu.org; Fri, 17 May 2013 18:05:38 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1UdSmH-0006f0-J2 for Emacs-orgmode@gnu.org; Fri, 17 May 2013 18:05:34 -0400 Received: from li424-160.members.linode.com ([50.116.34.160]:46774 helo=dustycloud.org) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1UdSmH-0006ev-Ff for Emacs-orgmode@gnu.org; Fri, 17 May 2013 18:05:29 -0400 In-reply-to: List-Id: "General discussions about Org-mode." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: emacs-orgmode-bounces+geo-emacs-orgmode=m.gmane.org@gnu.org Sender: emacs-orgmode-bounces+geo-emacs-orgmode=m.gmane.org@gnu.org To: Carsten Dominik Cc: Emacs-orgmode Carsten Dominik writes: > On 17.5.2013, at 00:38, Christopher Allan Webber wrote: > >> 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) > > This one will work if you do it in org-mode-hook. Ahah... okay, great, thanks :) > We could also introduce a variable to turn off the special behavior, > just like we do for C-a, C-e, and C-k. This seems to me a better > option than to introduce additional context dependencies or use > prefix arguments to influence the behavior. > > - Carsten I think that would be nice. We have options for everything else, why not this? ;) Thanks for the help, all!