emacs-devel
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

RE: [External] : Bookmark+ key sequence error


From: Drew Adams
Subject: RE: [External] : Bookmark+ key sequence error
Date: Mon, 21 Oct 2024 20:53:11 +0000

> >> > (error "Key sequence r K starts with non-prefix key r")
> >>
> 
> Drew (and others): after extension init file troubleshooting, I
> determined that I can prevent or allow the error by removing or adding
> this line in my init.el:
> 
> (keymap-global-set "C-x r" 'org-roam-node-find)
> 
> Is it obvious I am doing something wrong in how I am using keymap-
> global-set, or have I unearthed some kind of Emacs bug?
> 
> Again, the line in bookmark+-key.el, which throws the error, is:
> 
> (define-key ctl-x-map "rK" 'bmkp-set-desktop-bookmark)        ; `C-x r
> K' (also `C-x x K', `C-x x c K')

Thanks for tracking down the cause.

If you bind `C-x r' to a command then it's no
longer available as a prefix key.  Hence the
error in trying to use that key in the key
binding that raises the error.

The same key sequence, in this case `C-x r',
can't serve both to invoke a command and to
initiate a longer key sequence (as a prefix
key).



reply via email to

[Prev in Thread] Current Thread [Next in Thread]