From: Stefan Monnier <monnier@iro.umontreal.ca>
Subject: Re: Binding Keymap prefix to Major Mode
Date: Sat, 02 Apr 2005 15:13:07 -0500 [thread overview]
Message-ID: <87br8x547i.fsf-monnier+gnu.emacs.help@gnu.org> (raw)
In-Reply-To: 114ro1mfgnlds46@news.supernews.com
> (defvar rebol-keymap (make-sparse-keymap) "Rebol mode keymap")
> (defcustom rebol-keymap-prefix [(control ?')]
> "*Keymap prefix string for rebol-keymap"
> :type 'string
> :group 'rebol)
> (local-set-key rebol-keymap-prefix rebol-keymap)
> (define-key rebol-keymap "b" 'previous-rebol-definition)
Seeing the code above, I *strongly* suggest you google for "sample-mode.el"
and try to start from that instead.
Stefan
next prev parent reply other threads:[~2005-04-02 20:13 UTC|newest]
Thread overview: 7+ messages / expand[flat|nested] mbox.gz Atom feed top
2005-04-01 23:59 Binding Keymap prefix to Major Mode Tim Johnson
2005-04-02 2:26 ` rgb
2005-04-02 3:08 ` Tim Johnson
2005-04-02 20:13 ` Stefan Monnier [this message]
2005-04-02 21:57 ` Tim Johnson
2005-04-02 22:30 ` Daniel Wright
[not found] ` <mailman.79.1112481245.30898.help-gnu-emacs@gnu.org>
2005-04-02 22:58 ` Tim Johnson
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=87br8x547i.fsf-monnier+gnu.emacs.help@gnu.org \
--to=monnier@iro.umontreal.ca \
/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).