emacs-orgmode@gnu.org archives
 help / color / mirror / code / Atom feed
From: Bastien <bastienguerry@googlemail.com>
To: onguarde - <onguarde@gmail.com>
Cc: emacs-orgmode <emacs-orgmode@gnu.org>
Subject: Re: Unsetting "C-j" Keybinding Bound to org-return-indent
Date: Fri, 17 Jul 2009 10:43:07 +0200	[thread overview]
Message-ID: <87ab33lmxw.fsf@bzg.ath.cx> (raw)
In-Reply-To: <fb6e5c300907170107l57a2eba6vefa1c0ca0addfe91@mail.gmail.com> (onguarde@gmail.com's message of "Fri, 17 Jul 2009 16:07:27 +0800")

(CC'ing the list - please use plain text in emails as much as
possible! Thanks.)

onguarde - <onguarde@gmail.com> 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

      parent reply	other threads:[~2009-07-17  8:43 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2009-07-16  4:08 Unsetting "C-j" Keybinding Bound to org-return-indent onguarde -
2009-07-16 21:29 ` Bastien
     [not found]   ` <fb6e5c300907170107l57a2eba6vefa1c0ca0addfe91@mail.gmail.com>
2009-07-17  8:43     ` Bastien [this message]

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

  List information: https://www.orgmode.org/

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=87ab33lmxw.fsf@bzg.ath.cx \
    --to=bastienguerry@googlemail.com \
    --cc=emacs-orgmode@gnu.org \
    --cc=onguarde@gmail.com \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
Code repositories for project(s) associated with this public inbox

	https://git.savannah.gnu.org/cgit/emacs/org-mode.git

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).