From mboxrd@z Thu Jan 1 00:00:00 1970 From: Matt Price 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: Sun, 16 Mar 2014 22:17:18 -0400 Message-ID: References: <878us9u0h9.fsf@bzg.ath.cx> Mime-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1 Return-path: Received: from eggs.gnu.org ([2001:4830:134:3::10]:43875) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1WPN7B-0005jo-4s for emacs-orgmode@gnu.org; Sun, 16 Mar 2014 22:17:21 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1WPN7A-0007Ob-5j for emacs-orgmode@gnu.org; Sun, 16 Mar 2014 22:17:21 -0400 Received: from mail-qc0-x22b.google.com ([2607:f8b0:400d:c01::22b]:45556) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1WPN7A-0007OX-10 for emacs-orgmode@gnu.org; Sun, 16 Mar 2014 22:17:20 -0400 Received: by mail-qc0-f171.google.com with SMTP id x13so5280472qcv.16 for ; Sun, 16 Mar 2014 19:17:18 -0700 (PDT) In-Reply-To: <878us9u0h9.fsf@bzg.ath.cx> 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 Sun, Mar 16, 2014 at 8:34 PM, Bastien wrote: > 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 ah, that's it for sure, thank you.