unofficial mirror of help-gnu-emacs@gnu.org
 help / color / mirror / Atom feed
From: Oleksandr Gavenko <gavenkoa@gmail.com>
To: help-gnu-emacs@gnu.org
Subject: Re: Are there exist any registry for reserved key binding?
Date: Sat, 12 Nov 2011 14:00:26 +0200	[thread overview]
Message-ID: <8762ipv9d1.fsf@gmail.com> (raw)
In-Reply-To: B3517D07351643C0BE732C610B13CC36@us.oracle.com

On 2011-11-12, Drew Adams wrote:

>> When I make own mode I would like to select key bindings that does not
>> interference with most other packages/modes.
>> What are the best practice/recommendations to archive this goal?
>
> (elisp) `Key Binding Conventions'
>
Thanks for reference.

So any major/minor mode designer MUST follow this rules.

I look to 'jabber-keymap.el':

  (defvar jabber-global-keymap
    ...
    "Global Jabber keymap (usually under C-x C-j)")

  (define-key ctl-x-map "\C-j" jabber-global-keymap)

So this package define 'C-x C-j' globally. If another package use this key
binding user must resolve conflict manually?

Are there any guide to avoid conflicts?

My suggestion is to check most popular packages and make some thing different
key bindings. But globally maintained key binding registry make life much
easy...

-- 
Best regards!




  parent reply	other threads:[~2011-11-12 12:00 UTC|newest]

Thread overview: 5+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2011-11-11 23:33 Are there exist any registry for reserved key binding? Oleksandr Gavenko
2011-11-11 23:45 ` Drew Adams
2011-11-12  0:03   ` Drew Adams
2011-11-12 12:00   ` Oleksandr Gavenko [this message]
2011-11-12 14:51     ` Drew Adams

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.gnu.org/software/emacs/

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

  git send-email \
    --in-reply-to=8762ipv9d1.fsf@gmail.com \
    --to=gavenkoa@gmail.com \
    --cc=help-gnu-emacs@gnu.org \
    /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.
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).