Open seudut opened 8 years ago
looks like a issue of semantic-mode. when I disable semantic mode, this issue is gone.
I check the mode difference, before and after lispy-goto-local
command is evaluated. the only difference is that after lispy-goto-local
is called, Semantic-Idle-Scheduler
is enabled.
so, I disable semantic-mode
, this issue cannot be reproduced any more
Reopen it for more investigation.
I am not very sure if lispy works fine or not here, but in other mode such as c or python, semantic-mode
works well.
so just disable semantic-mode
may not prove lispy has no problem here.
You can also try to narrow down the culprit by pressing C-M-i
after SPC
, with company-mode
disabled.
I had a try. It's same error.
I disabled company-mode
on my test.el
buffer, and after typed (defun
, no completion windows pop up, then I press SPC
, then C-M-i
, which is bound to (completion-at-point)
. the backtrace is:
Debugger entered--Lisp error: (error "Nothing to complete")
signal(error ("Nothing to complete"))
error("Nothing to complete")
semantic-analyze-possible-completions-default([eieio-class-tag--semantic-analyze-context-functionarg nil nil (variable) nil [eieio-class-tag--semantic-scope-cache [eieio-class-tag--semanticdb-table [eieio-class-tag--semanticdb-project-database-file "/Users/peli3/temp/" semanticdb-table nil ([eieio-class-tag--semanticdb-table #3 c-mode (("stdio.h" include ... nil [1 18]) ("math.h" include ... nil [19 36]) ("stdlib.h" include ... nil [37 56]) ("HAHA" variable ... nil [66 70]) ("main" function ... nil [80 196])) nil unbound nil "aa.c" nil nil 199 198 (22577 29859 0 0) nil (("HAHA"))] [eieio-class-tag--semanticdb-table #3 c-mode (("stdio.h" include ... nil [17 35]) ("tt.h" include nil nil [36 51]) ("main" function ... nil [93 152])) nil unbound nil "tt.c" nil nil 154 153 (22437 27442 0 0) ((symbol 89 . 91) (semantic-list 67 . 88) (STRUCT 61 . 67) (TYPEDEF 53 . 60) (symbol 89 . 91) (semantic-list 67 . 88) (STRUCT 61 . 67) (TYPEDEF 53 . 60)) nil] [eieio-class-tag--semanticdb-table #3 c++-mode (("iostream" include ... nil [20 39]) ("t22.hpp" include nil nil [40 58]) ("std" using ... nil [60 80]) ("Test" type ... nil [82 150]) ("TestChile" type ... nil [153 220]) ("main" function ... nil [222 319])) nil unbound nil "t22.cpp" nil nil 320 319 (22465 24908 0 0) nil nil] [eieio-class-tag--semanticdb-table #3 c-mode (("stdio.h" include ... nil [17 35]) ("main" function ... nil [55 100])) nil unbound nil "ab.c" nil nil 101 88 (22465 23119 0 0) nil nil] [eieio-class-tag--semanticdb-table #3 c-mode (("stdio.h" include ... nil [17 35]) ("main" function ... nil [56 147])) nil unbound nil "bb.c" nil nil 149 230 (22469 53156 0 0) nil nil] [eieio-class-tag--semanticdb-table #3 c++-mode (("iostream" include ... nil [19 38]) ("std" using ... nil [72 92]) ("main" function ... nil [157 214])) nil unbound nil "mm.cpp" nil nil 215 214 (22465 39868 0 0) nil nil] [eieio-class-tag--semanticdb-table #3 c++-mode (("iostream" include ... nil [1 20]) ("header" include ... nil [21 38]) ("AA" type ... nil [40 76]) ("main" function ... nil [78 103])) nil unbound nil "test.cc" nil nil 104 103 (22465 44358 0 0) nil nil] [eieio-class-tag--semanticdb-table #3 c++-mode (("iostream" include ... nil [19 38]) ("iostream" include ... nil [60 79]) ("std" using ... nil [81 101]) ("main" function ... nil [103 150])) nil unbound nil "bba.cc" nil nil 151 146 (22465 41801 0 0) nil nil] [eieio-class-tag--semanticdb-table #3 c++-mode (("iostream" include ... nil [19 38]) ("std" using ... nil [67 87]) ("main" function ... nil [89 124])) nil unbound nil "tt2.cc" nil nil 125 119 (22465 42422 0 0) nil nil] [eieio-class-tag--semanticdb-table #3 c-mode (("stdio.h" include ... nil [18 36]) ("string.h" include ... nil [56 75]) ("main" function ... nil [77 141])) nil unbound nil "bbb.c" nil nil 142 141 (22465 42905 0 0) nil nil] [eieio-class-tag--semanticdb-table #3 c++-mode (("iostream" include ... nil [19 38]) ("header" include ... nil [60 77]) ("std" using ... nil [79 99]) ("main" function ... nil [101 131])) nil unbound nil "abc.cc" nil nil 132 131 (22465 42980 0 0) nil nil] [eieio-class-tag--semanticdb-table #3 c++-mode (("iostream" include ... nil [20 39]) ("strhash.h" include ... nil [62 82]) ("std" using ... nil [84 104]) ("main" function ... nil [106 142])) nil unbound nil "bbbb.cc" nil nil 143 142 (22465 44339 0 0) nil nil] [eieio-class-tag--semanticdb-table #3 c-mode (("stdio.h" include ... nil [18 36]) ("stdlib.h" include ... nil [56 75]) ("main" function ... nil [77 105])) nil unbound nil "ttt.c" nil nil 106 105 (22465 49113 0 0) nil nil] [eieio-class-tag--semanticdb-table #3 c-mode (("stdio.h" include ... nil [18 36]) ("main" function ... nil [57 141])) nil unbound nil "mmm.c" nil nil 142 141 (22465 58185 0 0) nil nil] [eieio-class-tag--semanticdb-table #3 scheme-mode nil nil unbound nil "aa.rkt" nil nil 63 555 (22485 24169 0 0) nil nil] [eieio-class-tag--semanticdb-table #3 c++-mode (("iostream" include ... nil [18 37]) ("std" using ... nil [59 79]) ("main" function ... nil [81 147])) nil unbound nil "aa.cc" nil nil 148 147 (22487 59974 0 0) nil nil] [eieio-class-tag--semanticdb-table #3 c-mode (("stdio.h" include ... nil [17 35]) ("main" function ... nil [56 146])) nil unbound nil "xx.c" nil nil 147 146 (22487 59972 0 0) nil nil] [eieio-class-tag--semanticdb-table #3 emacs-lisp-mode (("chinese-chess" package nil nil [1773 1797]) ("cl" include nil nil [1819 1832]) ("cus-edit" include nil nil [1858 1877]) ("chinese-chess-red-face" variable ... nil [1879 1931]) ("chinese-chess-black-face" variable ... nil [1932 1974]) ("chinese-chess-selected-face" variable ... nil [1975 2033]) ("chinese-chess-last-move-face" variable ... nil [2034 2094]) ("chinese-chess-width" variable ... nil [2096 2128]) ("chinese-chess-height" variable ... nil [2129 2163]) ("chinese-chess-col-offset" variable ... nil [2164 2201]) ("chinese-chess-row-offset" variable ... nil [2202 2323]) ("chinese-chess-display-coords" variable ... nil [2325 2364]) ("chinese-chess-board" variable nil nil [2365 2397]) ("chinese-chess-display" variable ... nil [2399 3242]) ("chinese-chess-type-name" variable ... nil [3244 3313]) ("chinese-chess-next-type" variable ... nil [3315 3352]) ("chinese-chess-selected-man" variable nil nil [3353 3392]) ("chinese-chess-history" variable nil nil [3393 3427]) ("chinese-chess-init-round" variable nil nil [3428 3465]) ("chinese-chess-message-updated" variable nil nil [3467 3509]) ("chinese-chess-message-interval" variable ... nil [3510 3551]) ("chinese-chess-change-turn-hook" variable nil nil [3553 3596]) ("chinese-chess-begin-hook" variable nil nil [3597 3634]) ("chinese-chess-mode-map" variable nil nil [3636 3671]) ("chinese-chess-mode-menu" variable nil nil [3672 3708]) ("unless" code nil nil [3709 5491]) ("chinese-chess-button-map" variable ... nil [5493 5790]) ("chinese-chess-buffer" variable ... nil [5792 5853]) ("chinese-chess-other-type" function ... nil [5855 5939]) ("chinese-chess-add-history" function ... nil [5941 6043]) ("chinese-chess-round" function nil nil [6045 6148]) ("chinese-chess-buffer" function nil nil [6150 6274]) ("chinese-chess-row" function ... nil [6382 6517]) ("chinese-chess-line2row" function ... nil [6519 6607]) ("chinese-chess-column2col" function ... nil [6609 6705]) ("chinese-chess-goto" function ... nil [6707 6893]) ("chinese-chess-draw-board" function nil nil [6895 8251]) ("chinese-chess-toggle-coords" function ... nil [8253 9316]) ("chinese-chess-remove-man-at" function ... nil [9318 9553]) ("chinese-chess-put-man" function ... nil [9555 10195]) ("chinese-chess-valid-row" function ... nil [10204 10292]) ("chinese-chess-valid-col" function ... nil [10293 10380]) ("chinese-chess-board-get" function ... nil [10382 10480]) ("chinese-chess-board-set" function ... nil [10481 10587]) ("chinese-chess-coords-at" function ... nil [10589 10897]) ("chinese-chess-man-at" function ... nil [10899 10995]) ("chinese-chess-remove-man" function ... nil [10997 11167]) ("chinese-chess-reset-board" function nil nil [11169 11656]) ("chinese-chess-read-fen" function ... nil [11658 12354]) ("chinese-chess-set-board" function ... nil [12356 12771]) ...) nil unbound nil "chinese-chess.el" nil nil 34874 35153 (22487 65307 0 0) ((close-paren 1832 . 1833) (symbol 1799 . 1816) (open-paren 1798 . 1799)) nil] [eieio-class-tag--semanticdb-table #3 emacs-lisp-mode nil nil unbound nil "zenburn-theme.el" nil nil 75811 75810 (22392 31765 0 0) nil nil] [eieio-class-tag--semanticdb-table #3 emacs-lisp-mode (("dired" include nil nil [1368 1384]) ("declare-function" code nil nil [1386 1436]) ("elscreen-version" variable ... nil [1438 1478]) ("elscreen" customgroup ... nil [1480 1584]) ("elscreen-prefix-key" variable ... nil [1586 1897]) ("elscreen-default-buffer-name" variable ... nil [1899 2066]) ("elscreen-default-buffer-initial-major-mode" variable ... nil [2068 2279]) ("elscreen-default-buffer-initial-message" variable ... nil [2281 2602]) ("elscreen-mode-to-nickname-alist" variable ... nil [2604 3470]) ("elscreen-buffer-to-nickname-alist" variable ... nil [3472 4111]) ("elscreen-display-screen-number" variable ... nil [4113 4314]) ("elscreen-display-tab" variable ... nil [4316 5136]) ("make-obsolete-variable" code nil nil [5138 5265]) ("elscreen-tab-display-control" variable ... nil [5266 5594]) ("elscreen-tab-display-kill-screen" variable ... nil [5596 6121]) ("elscreen-tab-background-face" variable ... nil [6123 6339]) ("elscreen-tab-control-face" variable ... nil [6341 6633]) ("elscreen-tab-current-screen-face" variable ... nil [6635 6822]) ("elscreen-tab-other-screen-face" variable ... nil [6824 7100]) ("elscreen-map" variable ... nil [7129 7196]) ("define-key" code nil nil [7197 7246]) ("define-key" code nil nil [7247 7296]) ("define-key" code nil nil [7297 7345]) ("define-key" code nil nil [7346 7393]) ("define-key" code nil nil [7394 7441]) ("define-key" code nil nil [7442 7508]) ("define-key" code nil nil [7509 7563]) ("define-key" code nil nil [7564 7615]) ("define-key" code nil nil [7616 7667]) ("define-key" code nil nil [7668 7715]) ("define-key" code nil nil [7716 7763]) ("define-key" code nil nil [7764 7813]) ("define-key" code nil nil [7814 7863]) ("define-key" code nil nil [7864 7911]) ("define-key" code nil nil [7912 7970]) ("define-key" code nil nil [7971 8020]) ("define-key" code nil nil [8021 8068]) ("define-key" code nil nil [8069 8116]) ("define-key" code nil nil [8117 8164]) ("define-key" code nil nil [8165 8212]) ("define-key" code nil nil [8213 8260]) ("define-key" code nil nil [8261 8308]) ("define-key" code nil nil [8309 8356]) ("define-key" code nil nil [8357 8404]) ("define-key" code nil nil [8405 8454]) ("define-key" code nil nil [8455 8502]) ("define-key" code nil nil [8503 8570]) ("define-key" code nil nil [8571 8638]) ("define-key" code nil nil [8639 8702]) ("define-key" code nil nil [8703 8766]) ...) nil unbound nil "aa.el" nil nil 63661 63660 (22575 47947 0 0) nil nil] [eieio-class-tag--semanticdb-table #3 emacs-lisp-mode (("info" include nil nil [33705 33720]) ("cl" include nil nil [33740 33753]) ("thingatpt" include nil nil [33810 33836]) ("(and (require 'thingatpt+ nil t) ;; (no error if not found): symbol-nearest-point (fboundp 'tap-put-thing-at-point-props))" when nil nil [33882 34104]) ("strings" include nil nil [34106 34130]) ("fit-frame" include nil nil [34174 34200]) ("browse-url-new-window-flag" variable nil nil [34434 34469]) ("desktop-save-buffer" variable nil nil [34495 34523]) ("header-line-format" variable nil nil [34524 34551]) ("Info-breadcrumbs-depth" variable nil nil [34552 34583]) ("Info-breadcrumbs-depth-internal" variable nil nil [34584 34624]) ("Info-breadcrumbs-in-header-flag" variable nil nil [34625 34665]) ("Info-breadcrumbs-in-mode-line-mode" variable nil nil [34666 34709]) ("Info-current-node-virtual" variable nil nil [34710 34744]) ("isearch-filter-predicate" variable nil nil [34745 34778]) ("Info-fontify-visited-nodes" variable nil nil [34779 34814]) ("Info-hide-note-references" variable nil nil [34815 34849]) ("Info-history-list" variable nil nil [34850 34876]) ("Info-isearch-initial-node" variable nil nil [34877 34911]) ("Info-isearch-search" variable nil nil [34912 34940]) ("Info-last-search" variable nil nil [34941 34966]) ("Info-link-keymap" variable nil nil [34967 34992]) ("Info-menu-entry-name-re" variable nil nil [34993 35025]) ("Info-next-link-keymap" variable nil nil [35026 35056]) ("Info-mode-line-node-keymap" variable nil nil [35057 35092]) ("Info-node-spec-re" variable nil nil [35093 35119]) ("Info-point-loc" variable nil nil [35120 35143]) ("Info-prev-link-keymap" variable nil nil [35144 35174]) ("Info-read-node-completion-table" variable nil nil [35175 35215]) ("Info-refill-paragraphs" variable nil nil [35216 35247]) ("Info-saved-nodes" variable nil nil [35248 35273]) ("Info-search-case-fold" variable nil nil [35274 35304]) ("Info-search-history" variable nil nil [35305 35333]) ("Info-search-whitespace-regexp" variable nil nil [35334 35372]) ("info-tool-bar-map" variable nil nil [35373 35399]) ("Info-up-link-keymap" variable nil nil [35400 35428]) ("Info-use-header-line" variable nil nil [35429 35458]) ("isearch-lax-whitespace" variable nil nil [35459 35490]) ("isearch-regexp-lax-whitespace" variable nil nil [35518 35556]) ("infop-node-name" variable nil nil [35577 35601]) ("widen-automatically" variable nil nil [35651 35679]) ("info+" package nil nil [35703 35719]) ("info+" include nil nil [35720 35736]) ("info-user-error" function ... nil [35885 36037]) ("font-lock-add-keywords" code nil nil [36039 36140]) ("Info-mode-map \"?\" 'describe-mode" define-key nil nil [36185 36244]) ("Info-mode-map \"+\" 'Info-merge-subnodes" define-key nil nil [36273 36338]) ("Info-mode-map \".\" 'Info-save-current-node" define-key nil nil [36339 36407]) ("Info-mode-map \"a\" 'info-apropos" define-key nil nil [36408 36466]) ("Info-mode-map \"G\" 'Info-goto-node-web" define-key nil nil [36467 36531]) ...) nil unbound nil "info+.el" nil nil 214074 214323 (22392 32167 0 0) nil nil] [eieio-class-tag--semanticdb-table #3 emacs-lisp-mode (("cl-lib" include nil nil [1108 1125]) ("cl" include nil nil [1426 1439]) ("ido-temp-list" variable nil nil [1441 1463]) ("perspective-mode" customgroup ... nil [1476 1564]) ("persp-initial-frame-name" variable ... nil [1566 1722]) ("persp-show-modestring" variable ... nil [1724 2061]) ("persp-modestring-dividers" variable ... nil [2063 2449]) ("persp-mode-prefix-key" variable ... nil [2451 2779]) ("persp-switch-wrap" variable ... nil [2781 2911]) ("unless" code nil nil [2998 3729]) ("persp-frame-local-let" function ... nil [3731 5238]) ("cl-defstruct" code nil nil [5240 5518]) ("defalias" code nil nil [5520 5617]) ("persp-interactive-completion-function" variable ... nil [5619 5804]) ("persp-before-switch-hook" variable nil nil [5806 5939]) ("persp-switch-hook" variable nil nil [5941 6071]) ("persp-mode-hook" variable nil nil [6073 6162]) ("persp-created-hook" variable nil nil [6164 6311]) ("persp-killed-hook" variable nil nil [6313 6463]) ("persp-activated-hook" variable nil nil [6465 6603]) ("persp-mode-map" variable ... nil [6605 6682]) ("define-prefix-command" code nil nil [6684 6724]) ("define-key" code nil nil [6725 6791]) ("define-key" code nil nil [6793 6845]) ("define-key" code nil nil [6846 6905]) ("define-key" code nil nil [6906 6956]) ("define-key" code nil nil [6957 7009]) ("define-key" code nil nil [7010 7066]) ("define-key" code nil nil [7067 7123]) ("define-key" code nil nil [7124 7186]) ("define-key" code nil nil [7187 7239]) ("define-key" code nil nil [7240 7290]) ("define-key" code nil nil [7291 7347]) ("define-key" code nil nil [7348 7398]) ("define-key" code nil nil [7399 7454]) ("define-key" code nil nil [7455 7524]) ("make-variable-frame-local" code nil nil [7915 8896]) ("make-variable-frame-local" code nil nil [8898 8980]) ("make-variable-frame-local" code nil nil [8982 9103]) ("make-variable-frame-local" code nil nil [9105 9224]) ("make-variable-frame-local" code nil nil [9226 9357]) ("put" code nil nil [9358 9405]) ("persp-protected" variable nil nil [9407 9545]) ("persp-selected-face" variable ... nil [9547 9691]) ("persp-protect" function ... nil [9693 10046]) ("persp-error" function ... nil [10048 10325]) ("check-persp" function ... nil [10327 10572]) ("persp-save" function nil nil [11463 12067]) ("persp-names" function nil nil [12069 12275]) ("persp-all-names" function ... nil [12277 12621]) ...) nil unbound nil "pp.el" nil nil 35742 35741 (22576 40193 0 0) nil nil] #2) "/Users/peli3/.emacs.d/semanticdb/!Users!peli3!temp!semantic.cache" "2.0" "2.2"] emacs-lisp-mode (("sd-test-mode-map" variable (:default-value (make-sparse-keymap)) nil #<overlay from 845 to 920 in test.el>) ("make-variable-frame-local" code nil nil #<overlay from 922 to 1051 in test.el>) ("put" code nil nil #<overlay from 1053 to 1102 in test.el>) ("make-variable-frame-local" code nil nil #<overlay from 1104 to 1175 in test.el>) ("cl-defstruct" code nil nil #<overlay from 1183 to 1484 in test.el>) ("sd-create-persp" function (:user-visible-flag t) nil #<overlay from 1648 to 1809 in test.el>) ("maphash" code nil nil #<overlay from 1811 to 1928 in test.el>) ("sd-persp-update-modestring" function nil nil #<overlay from 1930 to 2066 in test.el>) ("nil" function nil nil #<overlay from 2069 to 2077 in test.el>) ("define-minor-mode" code nil nil #<overlay from 2094 to 2747 in test.el>) ("test" package nil nil #<overlay from 2752 to 2767 in test.el>)) nil [eieio-class-tag--semanticdb-find-search-index #2 (#2 [eieio-class-tag--semanticdb-table-emacs-lisp [eieio-class-tag--semanticdb-project-database-emacs-lisp unbound semanticdb-table-emacs-lisp nil (#5)] emacs-lisp-mode nil nil unbound nil]) [eieio-class-tag--semanticdb-typecache nil nil nil ([eieio-class-tag--semantic-scope-cache #2 ("nil" function nil nil #<overlay from 2069 to 2077 in test.el>) nil nil nil nil nil nil nil nil])]] ([eieio-class-tag--semantic-scope-cache #2 ("nil" function nil nil #<overlay from 2069 to 2077 in test.el>) nil nil nil nil nil nil nil nil]) "test.el" #<buffer test.el> t 2790 2794 (22581 50267 0 0) nil nil] ("nil" function nil nil #<overlay from 2069 to 2077 in test.el>) nil nil nil nil nil nil nil nil] #<buffer test.el> nil (("defun" function (:arguments ("name" "arglist" "docstring" "body")) (:filename "/usr/local/Cellar/emacs/25.0.95/share/emacs/25.0.95/lisp/emacs-lisp/byte-run.el.gz") [9540 11919])) 0 ("name")] nil)
semantic-analyze-possible-completions([eieio-class-tag--semantic-analyze-context-functionarg nil nil (variable) nil [eieio-class-tag--semantic-scope-cache [eieio-class-tag--semanticdb-table [eieio-class-tag--semanticdb-project-database-file "/Users/peli3/temp/" semanticdb-table nil ([eieio-class-tag--semanticdb-table #3 c-mode (("stdio.h" include ... nil [1 18]) ("math.h" include ... nil [19 36]) ("stdlib.h" include ... nil [37 56]) ("HAHA" variable ... nil [66 70]) ("main" function ... nil [80 196])) nil unbound nil "aa.c" nil nil 199 198 (22577 29859 0 0) nil (("HAHA"))] [eieio-class-tag--semanticdb-table #3 c-mode (("stdio.h" include ... nil [17 35]) ("tt.h" include nil nil [36 51]) ("main" function ... nil [93 152])) nil unbound nil "tt.c" nil nil 154 153 (22437 27442 0 0) ((symbol 89 . 91) (semantic-list 67 . 88) (STRUCT 61 . 67) (TYPEDEF 53 . 60) (symbol 89 . 91) (semantic-list 67 . 88) (STRUCT 61 . 67) (TYPEDEF 53 . 60)) nil] [eieio-class-tag--semanticdb-table #3 c++-mode (("iostream" include ... nil [20 39]) ("t22.hpp" include nil nil [40 58]) ("std" using ... nil [60 80]) ("Test" type ... nil [82 150]) ("TestChile" type ... nil [153 220]) ("main" function ... nil [222 319])) nil unbound nil "t22.cpp" nil nil 320 319 (22465 24908 0 0) nil nil] [eieio-class-tag--semanticdb-table #3 c-mode (("stdio.h" include ... nil [17 35]) ("main" function ... nil [55 100])) nil unbound nil "ab.c" nil nil 101 88 (22465 23119 0 0) nil nil] [eieio-class-tag--semanticdb-table #3 c-mode (("stdio.h" include ... nil [17 35]) ("main" function ... nil [56 147])) nil unbound nil "bb.c" nil nil 149 230 (22469 53156 0 0) nil nil] [eieio-class-tag--semanticdb-table #3 c++-mode (("iostream" include ... nil [19 38]) ("std" using ... nil [72 92]) ("main" function ... nil [157 214])) nil unbound nil "mm.cpp" nil nil 215 214 (22465 39868 0 0) nil nil] [eieio-class-tag--semanticdb-table #3 c++-mode (("iostream" include ... nil [1 20]) ("header" include ... nil [21 38]) ("AA" type ... nil [40 76]) ("main" function ... nil [78 103])) nil unbound nil "test.cc" nil nil 104 103 (22465 44358 0 0) nil nil] [eieio-class-tag--semanticdb-table #3 c++-mode (("iostream" include ... nil [19 38]) ("iostream" include ... nil [60 79]) ("std" using ... nil [81 101]) ("main" function ... nil [103 150])) nil unbound nil "bba.cc" nil nil 151 146 (22465 41801 0 0) nil nil] [eieio-class-tag--semanticdb-table #3 c++-mode (("iostream" include ... nil [19 38]) ("std" using ... nil [67 87]) ("main" function ... nil [89 124])) nil unbound nil "tt2.cc" nil nil 125 119 (22465 42422 0 0) nil nil] [eieio-class-tag--semanticdb-table #3 c-mode (("stdio.h" include ... nil [18 36]) ("string.h" include ... nil [56 75]) ("main" function ... nil [77 141])) nil unbound nil "bbb.c" nil nil 142 141 (22465 42905 0 0) nil nil] [eieio-class-tag--semanticdb-table #3 c++-mode (("iostream" include ... nil [19 38]) ("header" include ... nil [60 77]) ("std" using ... nil [79 99]) ("main" function ... nil [101 131])) nil unbound nil "abc.cc" nil nil 132 131 (22465 42980 0 0) nil nil] [eieio-class-tag--semanticdb-table #3 c++-mode (("iostream" include ... nil [20 39]) ("strhash.h" include ... nil [62 82]) ("std" using ... nil [84 104]) ("main" function ... nil [106 142])) nil unbound nil "bbbb.cc" nil nil 143 142 (22465 44339 0 0) nil nil] [eieio-class-tag--semanticdb-table #3 c-mode (("stdio.h" include ... nil [18 36]) ("stdlib.h" include ... nil [56 75]) ("main" function ... nil [77 105])) nil unbound nil "ttt.c" nil nil 106 105 (22465 49113 0 0) nil nil] [eieio-class-tag--semanticdb-table #3 c-mode (("stdio.h" include ... nil [18 36]) ("main" function ... nil [57 141])) nil unbound nil "mmm.c" nil nil 142 141 (22465 58185 0 0) nil nil] [eieio-class-tag--semanticdb-table #3 scheme-mode nil nil unbound nil "aa.rkt" nil nil 63 555 (22485 24169 0 0) nil nil] [eieio-class-tag--semanticdb-table #3 c++-mode (("iostream" include ... nil [18 37]) ("std" using ... nil [59 79]) ("main" function ... nil [81 147])) nil unbound nil "aa.cc" nil nil 148 147 (22487 59974 0 0) nil nil] [eieio-class-tag--semanticdb-table #3 c-mode (("stdio.h" include ... nil [17 35]) ("main" function ... nil [56 146])) nil unbound nil "xx.c" nil nil 147 146 (22487 59972 0 0) nil nil] [eieio-class-tag--semanticdb-table #3 emacs-lisp-mode (("chinese-chess" package nil nil [1773 1797]) ("cl" include nil nil [1819 1832]) ("cus-edit" include nil nil [1858 1877]) ("chinese-chess-red-face" variable ... nil [1879 1931]) ("chinese-chess-black-face" variable ... nil [1932 1974]) ("chinese-chess-selected-face" variable ... nil [1975 2033]) ("chinese-chess-last-move-face" variable ... nil [2034 2094]) ("chinese-chess-width" variable ... nil [2096 2128]) ("chinese-chess-height" variable ... nil [2129 2163]) ("chinese-chess-col-offset" variable ... nil [2164 2201]) ("chinese-chess-row-offset" variable ... nil [2202 2323]) ("chinese-chess-display-coords" variable ... nil [2325 2364]) ("chinese-chess-board" variable nil nil [2365 2397]) ("chinese-chess-display" variable ... nil [2399 3242]) ("chinese-chess-type-name" variable ... nil [3244 3313]) ("chinese-chess-next-type" variable ... nil [3315 3352]) ("chinese-chess-selected-man" variable nil nil [3353 3392]) ("chinese-chess-history" variable nil nil [3393 3427]) ("chinese-chess-init-round" variable nil nil [3428 3465]) ("chinese-chess-message-updated" variable nil nil [3467 3509]) ("chinese-chess-message-interval" variable ... nil [3510 3551]) ("chinese-chess-change-turn-hook" variable nil nil [3553 3596]) ("chinese-chess-begin-hook" variable nil nil [3597 3634]) ("chinese-chess-mode-map" variable nil nil [3636 3671]) ("chinese-chess-mode-menu" variable nil nil [3672 3708]) ("unless" code nil nil [3709 5491]) ("chinese-chess-button-map" variable ... nil [5493 5790]) ("chinese-chess-buffer" variable ... nil [5792 5853]) ("chinese-chess-other-type" function ... nil [5855 5939]) ("chinese-chess-add-history" function ... nil [5941 6043]) ("chinese-chess-round" function nil nil [6045 6148]) ("chinese-chess-buffer" function nil nil [6150 6274]) ("chinese-chess-row" function ... nil [6382 6517]) ("chinese-chess-line2row" function ... nil [6519 6607]) ("chinese-chess-column2col" function ... nil [6609 6705]) ("chinese-chess-goto" function ... nil [6707 6893]) ("chinese-chess-draw-board" function nil nil [6895 8251]) ("chinese-chess-toggle-coords" function ... nil [8253 9316]) ("chinese-chess-remove-man-at" function ... nil [9318 9553]) ("chinese-chess-put-man" function ... nil [9555 10195]) ("chinese-chess-valid-row" function ... nil [10204 10292]) ("chinese-chess-valid-col" function ... nil [10293 10380]) ("chinese-chess-board-get" function ... nil [10382 10480]) ("chinese-chess-board-set" function ... nil [10481 10587]) ("chinese-chess-coords-at" function ... nil [10589 10897]) ("chinese-chess-man-at" function ... nil [10899 10995]) ("chinese-chess-remove-man" function ... nil [10997 11167]) ("chinese-chess-reset-board" function nil nil [11169 11656]) ("chinese-chess-read-fen" function ... nil [11658 12354]) ("chinese-chess-set-board" function ... nil [12356 12771]) ...) nil unbound nil "chinese-chess.el" nil nil 34874 35153 (22487 65307 0 0) ((close-paren 1832 . 1833) (symbol 1799 . 1816) (open-paren 1798 . 1799)) nil] [eieio-class-tag--semanticdb-table #3 emacs-lisp-mode nil nil unbound nil "zenburn-theme.el" nil nil 75811 75810 (22392 31765 0 0) nil nil] [eieio-class-tag--semanticdb-table #3 emacs-lisp-mode (("dired" include nil nil [1368 1384]) ("declare-function" code nil nil [1386 1436]) ("elscreen-version" variable ... nil [1438 1478]) ("elscreen" customgroup ... nil [1480 1584]) ("elscreen-prefix-key" variable ... nil [1586 1897]) ("elscreen-default-buffer-name" variable ... nil [1899 2066]) ("elscreen-default-buffer-initial-major-mode" variable ... nil [2068 2279]) ("elscreen-default-buffer-initial-message" variable ... nil [2281 2602]) ("elscreen-mode-to-nickname-alist" variable ... nil [2604 3470]) ("elscreen-buffer-to-nickname-alist" variable ... nil [3472 4111]) ("elscreen-display-screen-number" variable ... nil [4113 4314]) ("elscreen-display-tab" variable ... nil [4316 5136]) ("make-obsolete-variable" code nil nil [5138 5265]) ("elscreen-tab-display-control" variable ... nil [5266 5594]) ("elscreen-tab-display-kill-screen" variable ... nil [5596 6121]) ("elscreen-tab-background-face" variable ... nil [6123 6339]) ("elscreen-tab-control-face" variable ... nil [6341 6633]) ("elscreen-tab-current-screen-face" variable ... nil [6635 6822]) ("elscreen-tab-other-screen-face" variable ... nil [6824 7100]) ("elscreen-map" variable ... nil [7129 7196]) ("define-key" code nil nil [7197 7246]) ("define-key" code nil nil [7247 7296]) ("define-key" code nil nil [7297 7345]) ("define-key" code nil nil [7346 7393]) ("define-key" code nil nil [7394 7441]) ("define-key" code nil nil [7442 7508]) ("define-key" code nil nil [7509 7563]) ("define-key" code nil nil [7564 7615]) ("define-key" code nil nil [7616 7667]) ("define-key" code nil nil [7668 7715]) ("define-key" code nil nil [7716 7763]) ("define-key" code nil nil [7764 7813]) ("define-key" code nil nil [7814 7863]) ("define-key" code nil nil [7864 7911]) ("define-key" code nil nil [7912 7970]) ("define-key" code nil nil [7971 8020]) ("define-key" code nil nil [8021 8068]) ("define-key" code nil nil [8069 8116]) ("define-key" code nil nil [8117 8164]) ("define-key" code nil nil [8165 8212]) ("define-key" code nil nil [8213 8260]) ("define-key" code nil nil [8261 8308]) ("define-key" code nil nil [8309 8356]) ("define-key" code nil nil [8357 8404]) ("define-key" code nil nil [8405 8454]) ("define-key" code nil nil [8455 8502]) ("define-key" code nil nil [8503 8570]) ("define-key" code nil nil [8571 8638]) ("define-key" code nil nil [8639 8702]) ("define-key" code nil nil [8703 8766]) ...) nil unbound nil "aa.el" nil nil 63661 63660 (22575 47947 0 0) nil nil] [eieio-class-tag--semanticdb-table #3 emacs-lisp-mode (("info" include nil nil [33705 33720]) ("cl" include nil nil [33740 33753]) ("thingatpt" include nil nil [33810 33836]) ("(and (require 'thingatpt+ nil t) ;; (no error if not found): symbol-nearest-point (fboundp 'tap-put-thing-at-point-props))" when nil nil [33882 34104]) ("strings" include nil nil [34106 34130]) ("fit-frame" include nil nil [34174 34200]) ("browse-url-new-window-flag" variable nil nil [34434 34469]) ("desktop-save-buffer" variable nil nil [34495 34523]) ("header-line-format" variable nil nil [34524 34551]) ("Info-breadcrumbs-depth" variable nil nil [34552 34583]) ("Info-breadcrumbs-depth-internal" variable nil nil [34584 34624]) ("Info-breadcrumbs-in-header-flag" variable nil nil [34625 34665]) ("Info-breadcrumbs-in-mode-line-mode" variable nil nil [34666 34709]) ("Info-current-node-virtual" variable nil nil [34710 34744]) ("isearch-filter-predicate" variable nil nil [34745 34778]) ("Info-fontify-visited-nodes" variable nil nil [34779 34814]) ("Info-hide-note-references" variable nil nil [34815 34849]) ("Info-history-list" variable nil nil [34850 34876]) ("Info-isearch-initial-node" variable nil nil [34877 34911]) ("Info-isearch-search" variable nil nil [34912 34940]) ("Info-last-search" variable nil nil [34941 34966]) ("Info-link-keymap" variable nil nil [34967 34992]) ("Info-menu-entry-name-re" variable nil nil [34993 35025]) ("Info-next-link-keymap" variable nil nil [35026 35056]) ("Info-mode-line-node-keymap" variable nil nil [35057 35092]) ("Info-node-spec-re" variable nil nil [35093 35119]) ("Info-point-loc" variable nil nil [35120 35143]) ("Info-prev-link-keymap" variable nil nil [35144 35174]) ("Info-read-node-completion-table" variable nil nil [35175 35215]) ("Info-refill-paragraphs" variable nil nil [35216 35247]) ("Info-saved-nodes" variable nil nil [35248 35273]) ("Info-search-case-fold" variable nil nil [35274 35304]) ("Info-search-history" variable nil nil [35305 35333]) ("Info-search-whitespace-regexp" variable nil nil [35334 35372]) ("info-tool-bar-map" variable nil nil [35373 35399]) ("Info-up-link-keymap" variable nil nil [35400 35428]) ("Info-use-header-line" variable nil nil [35429 35458]) ("isearch-lax-whitespace" variable nil nil [35459 35490]) ("isearch-regexp-lax-whitespace" variable nil nil [35518 35556]) ("infop-node-name" variable nil nil [35577 35601]) ("widen-automatically" variable nil nil [35651 35679]) ("info+" package nil nil [35703 35719]) ("info+" include nil nil [35720 35736]) ("info-user-error" function ... nil [35885 36037]) ("font-lock-add-keywords" code nil nil [36039 36140]) ("Info-mode-map \"?\" 'describe-mode" define-key nil nil [36185 36244]) ("Info-mode-map \"+\" 'Info-merge-subnodes" define-key nil nil [36273 36338]) ("Info-mode-map \".\" 'Info-save-current-node" define-key nil nil [36339 36407]) ("Info-mode-map \"a\" 'info-apropos" define-key nil nil [36408 36466]) ("Info-mode-map \"G\" 'Info-goto-node-web" define-key nil nil [36467 36531]) ...) nil unbound nil "info+.el" nil nil 214074 214323 (22392 32167 0 0) nil nil] [eieio-class-tag--semanticdb-table #3 emacs-lisp-mode (("cl-lib" include nil nil [1108 1125]) ("cl" include nil nil [1426 1439]) ("ido-temp-list" variable nil nil [1441 1463]) ("perspective-mode" customgroup ... nil [1476 1564]) ("persp-initial-frame-name" variable ... nil [1566 1722]) ("persp-show-modestring" variable ... nil [1724 2061]) ("persp-modestring-dividers" variable ... nil [2063 2449]) ("persp-mode-prefix-key" variable ... nil [2451 2779]) ("persp-switch-wrap" variable ... nil [2781 2911]) ("unless" code nil nil [2998 3729]) ("persp-frame-local-let" function ... nil [3731 5238]) ("cl-defstruct" code nil nil [5240 5518]) ("defalias" code nil nil [5520 5617]) ("persp-interactive-completion-function" variable ... nil [5619 5804]) ("persp-before-switch-hook" variable nil nil [5806 5939]) ("persp-switch-hook" variable nil nil [5941 6071]) ("persp-mode-hook" variable nil nil [6073 6162]) ("persp-created-hook" variable nil nil [6164 6311]) ("persp-killed-hook" variable nil nil [6313 6463]) ("persp-activated-hook" variable nil nil [6465 6603]) ("persp-mode-map" variable ... nil [6605 6682]) ("define-prefix-command" code nil nil [6684 6724]) ("define-key" code nil nil [6725 6791]) ("define-key" code nil nil [6793 6845]) ("define-key" code nil nil [6846 6905]) ("define-key" code nil nil [6906 6956]) ("define-key" code nil nil [6957 7009]) ("define-key" code nil nil [7010 7066]) ("define-key" code nil nil [7067 7123]) ("define-key" code nil nil [7124 7186]) ("define-key" code nil nil [7187 7239]) ("define-key" code nil nil [7240 7290]) ("define-key" code nil nil [7291 7347]) ("define-key" code nil nil [7348 7398]) ("define-key" code nil nil [7399 7454]) ("define-key" code nil nil [7455 7524]) ("make-variable-frame-local" code nil nil [7915 8896]) ("make-variable-frame-local" code nil nil [8898 8980]) ("make-variable-frame-local" code nil nil [8982 9103]) ("make-variable-frame-local" code nil nil [9105 9224]) ("make-variable-frame-local" code nil nil [9226 9357]) ("put" code nil nil [9358 9405]) ("persp-protected" variable nil nil [9407 9545]) ("persp-selected-face" variable ... nil [9547 9691]) ("persp-protect" function ... nil [9693 10046]) ("persp-error" function ... nil [10048 10325]) ("check-persp" function ... nil [10327 10572]) ("persp-save" function nil nil [11463 12067]) ("persp-names" function nil nil [12069 12275]) ("persp-all-names" function ... nil [12277 12621]) ...) nil unbound nil "pp.el" nil nil 35742 35741 (22576 40193 0 0) nil nil] #2) "/Users/peli3/.emacs.d/semanticdb/!Users!peli3!temp!semantic.cache" "2.0" "2.2"] emacs-lisp-mode (("sd-test-mode-map" variable (:default-value (make-sparse-keymap)) nil #<overlay from 845 to 920 in test.el>) ("make-variable-frame-local" code nil nil #<overlay from 922 to 1051 in test.el>) ("put" code nil nil #<overlay from 1053 to 1102 in test.el>) ("make-variable-frame-local" code nil nil #<overlay from 1104 to 1175 in test.el>) ("cl-defstruct" code nil nil #<overlay from 1183 to 1484 in test.el>) ("sd-create-persp" function (:user-visible-flag t) nil #<overlay from 1648 to 1809 in test.el>) ("maphash" code nil nil #<overlay from 1811 to 1928 in test.el>) ("sd-persp-update-modestring" function nil nil #<overlay from 1930 to 2066 in test.el>) ("nil" function nil nil #<overlay from 2069 to 2077 in test.el>) ("define-minor-mode" code nil nil #<overlay from 2094 to 2747 in test.el>) ("test" package nil nil #<overlay from 2752 to 2767 in test.el>)) nil [eieio-class-tag--semanticdb-find-search-index #2 (#2 [eieio-class-tag--semanticdb-table-emacs-lisp [eieio-class-tag--semanticdb-project-database-emacs-lisp unbound semanticdb-table-emacs-lisp nil (#5)] emacs-lisp-mode nil nil unbound nil]) [eieio-class-tag--semanticdb-typecache nil nil nil ([eieio-class-tag--semantic-scope-cache #2 ("nil" function nil nil #<overlay from 2069 to 2077 in test.el>) nil nil nil nil nil nil nil nil])]] ([eieio-class-tag--semantic-scope-cache #2 ("nil" function nil nil #<overlay from 2069 to 2077 in test.el>) nil nil nil nil nil nil nil nil]) "test.el" #<buffer test.el> t 2790 2794 (22581 50267 0 0) nil nil] ("nil" function nil nil #<overlay from 2069 to 2077 in test.el>) nil nil nil nil nil nil nil nil] #<buffer test.el> nil (("defun" function (:arguments ("name" "arglist" "docstring" "body")) (:filename "/usr/local/Cellar/emacs/25.0.95/share/emacs/25.0.95/lisp/emacs-lisp/byte-run.el.gz") [9540 11919])) 0 ("name")])
semantic-analyze-completion-at-point-function()
completion--capf-wrapper(semantic-analyze-completion-at-point-function all)
run-hook-wrapped(completion--capf-wrapper semantic-analyze-completion-at-point-function all)
completion-at-point()
funcall-interactively(completion-at-point)
#<subr call-interactively>(completion-at-point nil nil)
ad-Advice-call-interactively(#<subr call-interactively> completion-at-point nil nil)
apply(ad-Advice-call-interactively #<subr call-interactively> (completion-at-point nil nil))
call-interactively(completion-at-point nil nil)
command-execute(completion-at-point)
OK, so this might be considered a bug in Semantic, but we can't fix that easily (or for all Emacs versions out there).
If Lispy is what makes it trigger, that's where the first fix should be.
@dgutov I remember encountering this a few months ago and trying to fix Semantic. It was too hard to figure out, the quick solution was to remove ~/.emacs.d/semanticdb
.
It's hard to fix this thing from lispy also, since disabling semantic-mode
is not enough, some timers need to be killed as well. I'll try to investigate more when I get some time.
Today after updated the lispy package, I meet a issue when press with company active , the issue only happens if
special-lispy-goto-local
is executued before.the issue happens in
emacs-lisp-mode
, in which I enable bothlispy
andcompany
mode.when I input
(defun
, the company is active, then input<SPACE>
, I get this errorThis issue only happens if
special-lispy-goto-local
, commandG
is called before.It's strange, looks like after call
special-lispy-goto-local
, there are some environment changed, which cause this error triggered when I press<SPACE>
in company active.