* help tracking down bad setting?
@ 2014-09-18 19:46 Matt Price
2014-09-18 20:18 ` Thorsten Jolitz
` (2 more replies)
0 siblings, 3 replies; 5+ messages in thread
From: Matt Price @ 2014-09-18 19:46 UTC (permalink / raw)
To: Org Mode
Hi everyone,
When I load org-mode I get the following error:
local-set-key: Key sequence C-c SPC C-r starts with non-prefix key C-c SPC
I am pretty sure I set something to this value somewhere at some time,
but I have no idea what, where, or when. I have grepped through
.emacs
.emacs.d/*
for local-set-key, "C-c SPC C-r" and "SPC" and I haven't found anything.
org still seems to run, but some process is interrupted, I think ,as
any function which calls (org-mode) will not run any code after that
call.
What do you think -- where should I look, and what should I search for?
Thanks a lot,
Matt
^ permalink raw reply [flat|nested] 5+ messages in thread
* Re: help tracking down bad setting?
2014-09-18 19:46 help tracking down bad setting? Matt Price
@ 2014-09-18 20:18 ` Thorsten Jolitz
2014-09-18 20:19 ` Matt Price
2014-09-18 20:28 ` Matt Price
2 siblings, 0 replies; 5+ messages in thread
From: Thorsten Jolitz @ 2014-09-18 20:18 UTC (permalink / raw)
To: emacs-orgmode
Matt Price <moptop99@gmail.com> writes:
Hi,
> local-set-key: Key sequence C-c SPC C-r starts with non-prefix key C-c SPC
maybe the actual definition is not written SPC but SPACE, <space> or
something similar ..., even a literal space is possible AFAIK.
--
cheers,
Thorsten
^ permalink raw reply [flat|nested] 5+ messages in thread
* Re: help tracking down bad setting?
2014-09-18 19:46 help tracking down bad setting? Matt Price
2014-09-18 20:18 ` Thorsten Jolitz
@ 2014-09-18 20:19 ` Matt Price
2014-09-18 20:47 ` Thorsten Jolitz
2014-09-18 20:28 ` Matt Price
2 siblings, 1 reply; 5+ messages in thread
From: Matt Price @ 2014-09-18 20:19 UTC (permalink / raw)
To: Org Mode
On Thu, Sep 18, 2014 at 3:46 PM, Matt Price <moptop99@gmail.com> wrote:
> Hi everyone,
>
> When I load org-mode I get the following error:
>
> local-set-key: Key sequence C-c SPC C-r starts with non-prefix key C-c SPC
>
> I am pretty sure I set something to this value somewhere at some time,
> but I have no idea what, where, or when. I have grepped through
>
> .emacs
> .emacs.d/*
>
> for local-set-key, "C-c SPC C-r" and "SPC" and I haven't found anything.
>
OK, I found it here:
(local-set-key "\C-c \C-r" 'org-decrypt-entry)
Removing the space between \C-c and \C-r worked. I guess I really
don't understand the syntax for setting keybindings in emacs -- every
time I do it it's trial and error!
Matt
^ permalink raw reply [flat|nested] 5+ messages in thread
* Re: help tracking down bad setting?
2014-09-18 20:19 ` Matt Price
@ 2014-09-18 20:47 ` Thorsten Jolitz
0 siblings, 0 replies; 5+ messages in thread
From: Thorsten Jolitz @ 2014-09-18 20:47 UTC (permalink / raw)
To: emacs-orgmode
Matt Price <moptop99@gmail.com> writes:
> Removing the space between \C-c and \C-r worked. I guess I really
> don't understand the syntax for setting keybindings in emacs -- every
> time I do it it's trial and error!
I think using (kbd ...) is the recommended way nowadays:
,----[ C-h f kbd RET ]
| kbd is a compiled Lisp function in `subr.el'.
|
| (kbd KEYS)
|
| Convert KEYS to the internal Emacs key representation.
| KEYS should be a string constant in the format used for
| saving keyboard macros (see `edmacro-mode').
`----
--
cheers,
Thorsten
^ permalink raw reply [flat|nested] 5+ messages in thread
* Re: help tracking down bad setting?
2014-09-18 19:46 help tracking down bad setting? Matt Price
2014-09-18 20:18 ` Thorsten Jolitz
2014-09-18 20:19 ` Matt Price
@ 2014-09-18 20:28 ` Matt Price
2 siblings, 0 replies; 5+ messages in thread
From: Matt Price @ 2014-09-18 20:28 UTC (permalink / raw)
To: Org Mode
[-- Attachment #1: Type: text/plain, Size: 101 bytes --]
I meant to add: found the culprit by checking the value of org-mode-hook.
And also, thanks Thorsten!
[-- Attachment #2: Type: text/html, Size: 121 bytes --]
^ permalink raw reply [flat|nested] 5+ messages in thread
end of thread, other threads:[~2014-09-18 20:47 UTC | newest]
Thread overview: 5+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2014-09-18 19:46 help tracking down bad setting? Matt Price
2014-09-18 20:18 ` Thorsten Jolitz
2014-09-18 20:19 ` Matt Price
2014-09-18 20:47 ` Thorsten Jolitz
2014-09-18 20:28 ` Matt Price
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.