m0smith / malabar-mode

EMCS JVM Integration for Java and other JVM based languages
GNU General Public License v2.0
330 stars 52 forks source link

Malabar-mode fails to load due to keybinding #182

Closed dakrone closed 9 years ago

dakrone commented 9 years ago

Whenever I try to load malabar mode, I get the following error:

global-set-key: Key sequence C-x C-a C-l starts with non-prefix key C-x C-a

With this stacktrace:

Debugger entered--Lisp error: (error "Key sequence C-x C-a C-l starts with non-prefix key C-x C-a")
  define-key((keymap #^[nil nil keymap 
#^^[3 0 set-mark-command move-beginning-of-line backward-char mode-specific-command-prefix delete-char move-end-of-line forward-char keyboard-quit help-command indent-for-tab-command electric-newline-and-maybe-indent kill-and-join-forward recenter-top-bottom newline next-line open-line previous-line quoted-insert isearch-backward-regexp isearch-forward-regexp transpose-chars universal-argument scroll-up-command kill-region Control-X-prefix yank t ESC-prefix hs-toggle-hiding abort-recursive-edit nil undo self-insert-command self-insert-command self-insert-command self-insert-command self-insert-command self-insert-command self-insert-command self-insert-command self-insert-command self-insert-command self-insert-command self-insert-command self-insert-command self-insert-command self-insert-command self-insert-command ...] #^^[1 0 #^^[2 0 
#^^[3 0 set-mark-command move-beginning-of-line backward-char mode-specific-command-prefix delete-char move-end-of-line forward-char keyboard-quit help-command indent-for-tab-command electric-newline-and-maybe-indent kill-and-join-forward recenter-top-bottom newline next-line open-line previous-line quoted-insert isearch-backward-regexp isearch-forward-regexp transpose-chars universal-argument scroll-up-command kill-region Control-X-prefix yank t ESC-prefix hs-toggle-hiding abort-recursive-edit nil undo self-insert-command self-insert-command self-insert-command self-insert-command self-insert-command self-insert-command self-insert-command self-insert-command self-insert-command self-insert-command self-insert-command self-insert-command self-insert-command self-insert-command self-insert-command self-insert-command ...] self-insert-command self-insert-command self-insert-command self-insert-command self-insert-command self-insert-command self-insert-command self-insert-command self-insert-command self-insert-command self-insert-command self-insert-command self-insert-command self-insert-command self-insert-command self-insert-command self-insert-command self-insert-command self-insert-command self-insert-command self-insert-command self-insert-command self-insert-command self-insert-command self-insert-command self-insert-command self-insert-command self-insert-command self-insert-command self-insert-command self-insert-command] self-insert-command self-insert-command self-insert-command self-insert-command self-insert-command self-insert-command self-insert-command self-insert-command self-insert-command self-insert-command self-insert-command self-insert-command self-insert-command self-insert-command self-insert-command] self-insert-command self-insert-command self-insert-command self-insert-command self-insert-command self-insert-command self-insert-command self-insert-command self-insert-command self-insert-command self-insert-command self-insert-command self-insert-command self-insert-command self-insert-command self-insert-command self-insert-command self-insert-command self-insert-command self-insert-command self-insert-command self-insert-command self-insert-command self-insert-command self-insert-command self-insert-command self-insert-command self-insert-command self-insert-command self-insert-command self-insert-command self-insert-command self-insert-command self-insert-command self-insert-command self-insert-command self-insert-command self-insert-command self-insert-command self-insert-command self-insert-command self-insert-command self-insert-command self-insert-command self-insert-command ...] (company-dummy-event . company-ignore) (C-S-tab . my/other-window-backwards) (C-tab . other-window) (16777255 . other-window) (67108907 . text-scale-increase) (67108903 . eyebrowse-next-window-config) (67108923 . iedit-mode) (67108924 . mc/mark-previous-like-this) (67108926 . mc/mark-next-like-this) (33554435 keymap (33554435 . mc/edit-lines)) (67108910 . company-complete) (f12 . org-clock-out) (remap keymap (kill-ring-save . easy-kill) (find-file-other-window) (find-file)) (8388660 . my/create-or-switch-to-eshell-4) (8388659 . my/create-or-switch-to-eshell-3) (8388658 . my/create-or-switch-to-eshell-2) (8388657 . my/create-or-switch-to-eshell-1) (16777268 . my/create-or-switch-to-eshell-4) (16777267 . my/create-or-switch-to-eshell-3) (16777266 . my/create-or-switch-to-eshell-2) (16777265 . my/create-or-switch-to-ebshell-1) (S-mouse-3 . kmacro-end-call-mouse) (C-mouse-5) (S-mouse-5) (mouse-5) (C-mouse-4) (S-mouse-4) (mouse-4) (paste . clipboard-yank) (copy . clipboard-kill-ring-save) (cut . clipboard-kill-region) (f18 . clipboard-yank) (f16 . clipboard-kill-ring-save) (f20 . clipboard-kill-region) (XF86WakeUp . ignore) (tool-bar menu-item "tool bar" ignore :filter tool-bar-make-keymap) (f10 . menu-bar-open) (bottom-divider keymap (down-mouse-1 . mouse-drag-mode-line)) (right-divider keymap (down-mouse-1 . mouse-drag-vertical-line)) (vertical-line keymap (mouse-1 . mouse-select-window) (down-mouse-1 . mouse-drag-vertical-line) (C-mouse-2 . mouse-split-window-vertically)) (vertical-scroll-bar keymap (mouse-1 . scroll-bar-toolkit-scroll) (C-mouse-2 . mouse-split-window-vertically)) (header-line keymap (mouse-1 . mouse-select-window) (down-mouse-1 . mouse-drag-header-line)) (mode-line keymap (C-mouse-2 . mouse-split-window-horizontally) (mouse-3 . mouse-delete-window) (mouse-2 . mouse-delete-other-windows) (down-mouse-1 . mouse-drag-mode-line) (drag-mouse-1 . mouse-select-window) (mouse-1 . mouse-select-window)) (C-down-mouse-3 menu-item "Menu Bar" ignore :filter (lambda (_) (if (zerop (or (frame-parameter nil (quote menu-bar-lines)) 0)) (mouse-menu-bar-map) (mouse-menu-major-mode-map)))) (S-down-mouse-1 . mouse-appearance-menu) (C-down-mouse-1 . mouse-buffer-menu) (mouse-3 . mouse-save-then-kill) (mouse-2 . mouse-yank-primary) ...) [24 1 12] gud-refresh)
  global-set-key([24 1 12] gud-refresh)
  byte-code("\301\302!\210\303\304\305\306\307\310\307\311&\210\312\300\313\314\315\316\307\304&\210\317\320\321\"\322\"\207" [gud-key-prefix require comint custom-declare-group gud nil "The \"Grand Unified Debugger\" interface.\nSupported debuggers include gdb, sdb, dbx, xdb, perldb,\npdb (Python), and jdb." :group processes tools custom-declare-variable "" "Prefix of all GUD commands valid in C buffers." :type key-sequence global-set-key vconcat "\f" gud-refresh] 8)
  require(gud)
  eval-buffer(#<buffer  *load*> nil "/home/hinmanm/.emacs.d/elpa/malabar-mode-20150720.1055/malabar-mode.el" nil t)  ; Reading at buffer position 1313
  load-with-code-conversion("/home/hinmanm/.emacs.d/elpa/malabar-mode-20150720.1055/malabar-mode.el" "/home/hinmanm/.emacs.d/elpa/malabar-mode-20150720.1055/malabar-mode.el" nil t)
  (activate-malabar-mode)
  eval((activate-malabar-mode) nil)
  pp-eval-expression((activate-malabar-mode))
  #<subr call-interactively>(pp-eval-expression nil nil)
  ad-Advice-call-interactively(#<subr call-interactively> pp-eval-expression nil nil)
  apply(ad-Advice-call-interactively #<subr call-interactively> (pp-eval-expression nil nil))
  call-interactively(pp-eval-expression nil nil)
  command-execute(pp-eval-expression)
dakrone commented 9 years ago

Figured this out, I had a previously occurring C-x C-a binding and removing this fixed it.