From mboxrd@z Thu Jan 1 00:00:00 1970 From: Bastien Subject: Re: rebind TAB in a minor mode; why does org-cycle workd differently wnhen called iwth M-x?: [WAS:customize behaviour of org-cycle?] Date: Mon, 17 Mar 2014 01:34:26 +0100 Message-ID: <878us9u0h9.fsf@bzg.ath.cx> References: Mime-Version: 1.0 Content-Type: text/plain Return-path: Received: from eggs.gnu.org ([2001:4830:134:3::10]:35080) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1WPLVj-0003Lp-S4 for emacs-orgmode@gnu.org; Sun, 16 Mar 2014 20:34:41 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1WPLVd-0004LM-TK for emacs-orgmode@gnu.org; Sun, 16 Mar 2014 20:34:35 -0400 Received: from rs249.mailgun.us ([209.61.151.249]:59147) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1WPLVd-0004LA-OD for emacs-orgmode@gnu.org; Sun, 16 Mar 2014 20:34:29 -0400 In-Reply-To: (Matt Price's message of "Sun, 16 Mar 2014 15:28:28 -0400") 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: Matt Price Cc: Org Mode Matt Price writes: > I would like my new org-cycle-mod to use the exact same > keybindings as the original org-cycle does. what is the best way to > achieve this? Thank you for your help! I think `remap' can help here -- see the section "Remapping Commands" in the Emacs Lisp manual. HTH, -- Bastien