From: Nicolas Richard <theonewiththeevillook@yahoo.fr>
To: Thorsten Jolitz <tjolitz@gmail.com>
Cc: help-gnu-emacs@gnu.org
Subject: Re: Error "Key sequence starts with non-prefix key"
Date: Wed, 04 Jun 2014 14:13:09 +0200 [thread overview]
Message-ID: <877g4whnze.fsf@geodiff-mac3.ulb.ac.be> (raw)
In-Reply-To: <87lhtcc2ng.fsf@gmail.com> (Thorsten Jolitz's message of "Wed, 04 Jun 2014 13:52:51 +0200")
Thorsten Jolitz <tjolitz@gmail.com> writes:
> (let ((map (lookup-key outline-minor-mode-map outline-minor-mode-prefix)))
> (define-key map "\C-a" 'show-all)
> (define-key map "\C-\M-l" 'outshine-insert-all-links)
> (define-key map (kbd "C-v C-a") 'outshine-babel-sha1-hash) [...]
> I get an error because of the last line (no matter if I use the `kdb'
> macro or just write "\C-v\C-a"):
It means C-v is already defined. Just undefine it before you try to make
it into a prefix:
(define-key map (kbd "C-v") nil)
--
Nico.
next prev parent reply other threads:[~2014-06-04 12:13 UTC|newest]
Thread overview: 7+ messages / expand[flat|nested] mbox.gz Atom feed top
2014-06-04 11:52 Error "Key sequence starts with non-prefix key" Thorsten Jolitz
2014-06-04 12:13 ` Nicolas Richard [this message]
2014-06-04 12:38 ` Thorsten Jolitz
[not found] ` <mailman.2894.1401885569.1147.help-gnu-emacs@gnu.org>
2014-06-06 8:29 ` Hans BKK
2014-06-06 8:38 ` Nicolas Richard
[not found] ` <mailman.3112.1402043848.1147.help-gnu-emacs@gnu.org>
2014-06-06 8:47 ` Hans BKK
2014-06-06 9:12 ` Nicolas Richard
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=877g4whnze.fsf@geodiff-mac3.ulb.ac.be \
--to=theonewiththeevillook@yahoo.fr \
--cc=help-gnu-emacs@gnu.org \
--cc=tjolitz@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.