From mboxrd@z Thu Jan 1 00:00:00 1970 From: Suvayu Ali Subject: Re: org-meta-return Date: Wed, 20 Feb 2013 23:33:09 +0100 Message-ID: <20130220223309.GA26889@kuru.dyndns-at-home.com> References: <20130220194012.GC9556@kuru.dyndns-at-home.com> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Return-path: Received: from eggs.gnu.org ([208.118.235.92]:34378) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1U8IE2-0006jX-7j for emacs-orgmode@gnu.org; Wed, 20 Feb 2013 17:33:23 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1U8IE0-0003jd-6J for emacs-orgmode@gnu.org; Wed, 20 Feb 2013 17:33:17 -0500 Received: from mail-wg0-f48.google.com ([74.125.82.48]:38850) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1U8IDz-0003ic-Qz for emacs-orgmode@gnu.org; Wed, 20 Feb 2013 17:33:16 -0500 Received: by mail-wg0-f48.google.com with SMTP id 16so6722846wgi.15 for ; Wed, 20 Feb 2013 14:33:13 -0800 (PST) Content-Disposition: inline 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: Org Mode On Wed, Feb 20, 2013 at 04:17:48PM -0500, 42 147 wrote: > > I notice that C-M-RET is undefined. If anyone wants to add the > functionality as described in my original post, and bind it to that key > chord, I would be grateful; in the meantime, I'll create a macro / > interactive defun to do the same. Jon's suggestion is pretty good, but you can also do (org-defkey org-mode-map (kbd "C-M-RET") 'my-interactive-defun) where my-interactive-defun does what you want. -- Suvayu Open source is the future. It sets us free.