From mboxrd@z Thu Jan 1 00:00:00 1970 From: Bastien Subject: Re: Unsetting "C-j" Keybinding Bound to org-return-indent Date: Fri, 17 Jul 2009 10:43:07 +0200 Message-ID: <87ab33lmxw.fsf@bzg.ath.cx> References: <8763dsmi4d.fsf@bzg.ath.cx> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Return-path: Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1MRj2J-0003Tq-8B for emacs-orgmode@gnu.org; Fri, 17 Jul 2009 04:43:23 -0400 Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1MRj2D-0003Qu-W7 for emacs-orgmode@gnu.org; Fri, 17 Jul 2009 04:43:22 -0400 Received: from [199.232.76.173] (port=52901 helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1MRj2D-0003Qn-Kh for emacs-orgmode@gnu.org; Fri, 17 Jul 2009 04:43:17 -0400 Received: from mail-px0-f193.google.com ([209.85.216.193]:61606) by monty-python.gnu.org with esmtp (Exim 4.60) (envelope-from ) id 1MRj2C-0003A1-PL for emacs-orgmode@gnu.org; Fri, 17 Jul 2009 04:43:17 -0400 Received: by pxi31 with SMTP id 31so462535pxi.14 for ; Fri, 17 Jul 2009 01:43:13 -0700 (PDT) In-Reply-To: (onguarde@gmail.com's message of "Fri, 17 Jul 2009 16:07:27 +0800") List-Id: "General discussions about Org-mode." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: emacs-orgmode-bounces+geo-emacs-orgmode=m.gmane.org@gnu.org Errors-To: emacs-orgmode-bounces+geo-emacs-orgmode=m.gmane.org@gnu.org To: onguarde - Cc: emacs-orgmode (CC'ing the list - please use plain text in emails as much as possible! Thanks.) onguarde - writes: > I assume docstring here means the describe function(C-h-f)? > > Note that if key has a local binding in the current buffer, > that local binding will continue to shadow any global binding > that you make with this function. > > Ah, finally figured out that I should instead be using the "local-set-key" > instead, or both. > > (local-set-key key command) > Give key a local binding as command. > The binding goes in the current buffer's local map, > which in most cases is shared with all other buffers in the same major mode. > > Regarding why, I find myself being so unsatisfied with the default bindings > that I just had to do something. Since I'm rather new myself, might as well > customise and get used to it now. It's getting pretty hard to standardise these > across applications though. That's why it's often better to stick to the default keybindings, at least for such important ones. "Standardization" is then taken care of by the developers, not by you. -- Bastien