From: LanX <lanx.perl@googlemail.com>
To: Lennart Borgman <lennart.borgman@gmail.com>
Cc: help-gnu-emacs@gnu.org
Subject: Re: managing my keybindings
Date: Sat, 8 May 2010 14:22:14 +0200 [thread overview]
Message-ID: <AANLkTimb5tCPMNfuaq3grqJeGvVDzLBPCW3Ujg9JQ-0O@mail.gmail.com> (raw)
In-Reply-To: <x2ye01d8a51005071909i84baca91w3a0aa91ad9c7ee1e@mail.gmail.com>
[-- Attachment #1: Type: text/plain, Size: 588 bytes --]
Hi Lennart
>
> Use define-minor-mode and make a global minor mode. Define your key
> bindings there.
>
>
Thanks define-minor-mode is an idea ... but IMHO wouldn't help when
extending major-mode keybindings ...
>
> > c) attach documentation to them
>
> Documentation are bound to functions, not key bindings. (You can add
> comments where you bind the keys, of course.)
>
>
actually according to `define-key' documentation the DEF part in a keymap
can hold much more than just a command, such that it should be possible to
associate meta informations to a key binding.
Cheers
Rolf
[-- Attachment #2: Type: text/html, Size: 1081 bytes --]
next prev parent reply other threads:[~2010-05-08 12:22 UTC|newest]
Thread overview: 9+ messages / expand[flat|nested] mbox.gz Atom feed top
2010-05-08 0:38 managing my keybindings LanX
2010-05-08 2:09 ` Lennart Borgman
2010-05-08 12:22 ` LanX [this message]
[not found] ` <mailman.0.1273284589.603.help-gnu-emacs@gnu.org>
2010-05-09 11:29 ` Andreas Politz
2010-05-09 11:55 ` Lennart Borgman
2010-05-09 18:21 ` LanX
2010-05-09 19:12 ` LanX
2010-05-10 14:10 ` Stefan Monnier
2010-05-10 14:25 ` LanX
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
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=AANLkTimb5tCPMNfuaq3grqJeGvVDzLBPCW3Ujg9JQ-0O@mail.gmail.com \
--to=lanx.perl@googlemail.com \
--cc=help-gnu-emacs@gnu.org \
--cc=lennart.borgman@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 external index
https://git.savannah.gnu.org/cgit/emacs.git
https://git.savannah.gnu.org/cgit/emacs/org-mode.git
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.