emacs-lsp / lsp-mode

Emacs client/library for the Language Server Protocol
https://emacs-lsp.github.io/lsp-mode
GNU General Public License v3.0
4.78k stars 884 forks source link

Org mode source block error ("lsp is not a valid syntax checker") #2594

Closed FredrikMeyer closed 3 years ago

FredrikMeyer commented 3 years ago

Before logging the bug, please make sure that:

Describe the bug

I try to activate lsp-org inside a Python source block in org mode.

To Reproduce Make a Python source block:

#+begin_src python :tangle "test.py"

x = 2

#+end_src

Activate lsp-org. Get error message.

Expected behavior

lsp-org should start

Which Language Server did you use

None, lsp didnt start

OS OSX

Error callstack

Debugger entered--Lisp error: (error "lsp is not a valid syntax checker")
  signal(error ("lsp is not a valid syntax checker"))
  error("%s is not a valid syntax checker" lsp)
  flycheck-add-mode(lsp org-mode)
  lsp-flycheck-add-mode(org-mode)
  lsp-org()
  funcall-interactively(lsp-org)
  call-interactively(lsp-org record nil)
  command-execute(lsp-org record)
  counsel-M-x-action("lsp-org")
  ivy-call()
  #f(compiled-function (arg1 arg2 &rest rest) "Read a string in the minibuffer, with completion.\n\nPROMPT is a string, normally ending in a colon and a space.\n`ivy-count-format' is prepended to PROMPT during completion.\n\nCOLLECTION is either a list of strings, a function, an alist, or\na hash table, supplied for `minibuffer-completion-table'.\n\nPREDICATE is applied to filter out the COLLECTION immediately.\nThis argument is for compatibility with `completing-read'.\n\nWhen REQUIRE-MATCH is non-nil, only members of COLLECTION can be\nselected.\n\nIf INITIAL-INPUT is non-nil, then insert that input in the\nminibuffer initially.\n\nHISTORY is a name of a variable to hold the completion session\nhistory.\n\nKEYMAP is composed with `ivy-minibuffer-map'.\n\nPRESELECT, when non-nil, determines which one of the candidates\nmatching INITIAL-INPUT to select initially.  An integer stands\nfor the position of the desired candidate in the collection,\ncounting from zero.  Otherwise, use the first occurrence of\nPRESELECT in the collection.  Comparison is first done with\n`equal'.  If that fails, and when applicable, match PRESELECT as\na regular expression.\n\nDEF is for compatibility with `completing-read'.\n\nUPDATE-FN is called each time the candidate list is re-displayed.\n\nWhen SORT is non-nil, `ivy-sort-functions-alist' determines how\nto sort candidates before displaying them.\n\nACTION is a function to call after selecting a candidate.\nIt takes one argument, the selected candidate. If COLLECTION is\nan alist, the argument is a cons cell, otherwise it's a string.\n\nMULTI-ACTION, when non-nil, is called instead of ACTION when\nthere are marked candidates. It takes the list of candidates as\nits only argument. When it's nil, ACTION is called on each marked\ncandidate.\n\nUNWIND is a function of no arguments to call before exiting.\n\nRE-BUILDER is a function transforming input text into a regex\npattern.\n\nMATCHER is a function which can override how candidates are\nfiltered based on user input.  It takes a regex pattern and a\nlist of candidates, and returns the list of matching candidates.\n\nDYNAMIC-COLLECTION is a boolean specifying whether the list of\ncandidates is updated after each input by calling COLLECTION.\n\nEXTRA-PROPS is a plist that can be used to store\ncollection-specific session-specific data.\n\nCALLER is a symbol to uniquely identify the caller to `ivy-read'.\nIt is used, along with COLLECTION, to determine which\ncustomizations apply to the current completion session." #<bytecode 0x7f1576aca0fa29>)("M-x " ("toggle-debug-on-error" "pyvenv-activate" "byte-recompile-directory" "eval-buffer" "package-delete" "package-utils-upgrade-all" "prettier-js" "python-pytest-file" "revert-buffer" "web-mode" "org-clock-out" "eslint-fix-file" "cider-quit" "flycheck-verify-setup" "org-clock-in" "comment-region" "cider-jack-in-clj" "insert-current-date" "org-clock-in-last" "lsp-execute-code-action" "lsp-restart-workspace" "paredit-mode" "insert-current-date-with-weekday" "customize-group" "tide-mode" "tide-restart-server" "describe-key" "electric-indent-mode" "load-theme" "package-refresh-contents" "try" "lsp-format-buffer" "tide-setup" "elfeed" "ansi-term" "mark-whole-buffer" "query-replace" "tide-rename-symbol" "electric-pair-mode" "compile" "flycheck-mode" "magit-blame" "package-install" "tide-references" "vue-mode" "dired-jump" "run-python" "org-toggle-latex-fragment" "indent-region" "lsp-workspace-restart" ...) :predicate #f(compiled-function (x) #<bytecode 0x1ffdc84191e94f>) :require-match t :history counsel-M-x-history :action counsel-M-x-action :keymap (keymap (67108908 . counsel--info-lookup-symbol) (67108910 . counsel-find-symbol)) :initial-input nil :caller counsel-M-x)
  apply(#f(compiled-function (arg1 arg2 &rest rest) "Read a string in the minibuffer, with completion.\n\nPROMPT is a string, normally ending in a colon and a space.\n`ivy-count-format' is prepended to PROMPT during completion.\n\nCOLLECTION is either a list of strings, a function, an alist, or\na hash table, supplied for `minibuffer-completion-table'.\n\nPREDICATE is applied to filter out the COLLECTION immediately.\nThis argument is for compatibility with `completing-read'.\n\nWhen REQUIRE-MATCH is non-nil, only members of COLLECTION can be\nselected.\n\nIf INITIAL-INPUT is non-nil, then insert that input in the\nminibuffer initially.\n\nHISTORY is a name of a variable to hold the completion session\nhistory.\n\nKEYMAP is composed with `ivy-minibuffer-map'.\n\nPRESELECT, when non-nil, determines which one of the candidates\nmatching INITIAL-INPUT to select initially.  An integer stands\nfor the position of the desired candidate in the collection,\ncounting from zero.  Otherwise, use the first occurrence of\nPRESELECT in the collection.  Comparison is first done with\n`equal'.  If that fails, and when applicable, match PRESELECT as\na regular expression.\n\nDEF is for compatibility with `completing-read'.\n\nUPDATE-FN is called each time the candidate list is re-displayed.\n\nWhen SORT is non-nil, `ivy-sort-functions-alist' determines how\nto sort candidates before displaying them.\n\nACTION is a function to call after selecting a candidate.\nIt takes one argument, the selected candidate. If COLLECTION is\nan alist, the argument is a cons cell, otherwise it's a string.\n\nMULTI-ACTION, when non-nil, is called instead of ACTION when\nthere are marked candidates. It takes the list of candidates as\nits only argument. When it's nil, ACTION is called on each marked\ncandidate.\n\nUNWIND is a function of no arguments to call before exiting.\n\nRE-BUILDER is a function transforming input text into a regex\npattern.\n\nMATCHER is a function which can override how candidates are\nfiltered based on user input.  It takes a regex pattern and a\nlist of candidates, and returns the list of matching candidates.\n\nDYNAMIC-COLLECTION is a boolean specifying whether the list of\ncandidates is updated after each input by calling COLLECTION.\n\nEXTRA-PROPS is a plist that can be used to store\ncollection-specific session-specific data.\n\nCALLER is a symbol to uniquely identify the caller to `ivy-read'.\nIt is used, along with COLLECTION, to determine which\ncustomizations apply to the current completion session." #<bytecode 0x7f1576aca0fa29>) ("M-x " ("toggle-debug-on-error" "pyvenv-activate" "byte-recompile-directory" "eval-buffer" "package-delete" "package-utils-upgrade-all" "prettier-js" "python-pytest-file" "revert-buffer" "web-mode" "org-clock-out" "eslint-fix-file" "cider-quit" "flycheck-verify-setup" "org-clock-in" "comment-region" "cider-jack-in-clj" "insert-current-date" "org-clock-in-last" "lsp-execute-code-action" "lsp-restart-workspace" "paredit-mode" "insert-current-date-with-weekday" "customize-group" "tide-mode" "tide-restart-server" "describe-key" "electric-indent-mode" "load-theme" "package-refresh-contents" "try" "lsp-format-buffer" "tide-setup" "elfeed" "ansi-term" "mark-whole-buffer" "query-replace" "tide-rename-symbol" "electric-pair-mode" "compile" "flycheck-mode" "magit-blame" "package-install" "tide-references" "vue-mode" "dired-jump" "run-python" "org-toggle-latex-fragment" "indent-region" "lsp-workspace-restart" ...) :predicate #f(compiled-function (x) #<bytecode 0x1ffdc84191e94f>) :require-match t :history counsel-M-x-history :action counsel-M-x-action :keymap (keymap (67108908 . counsel--info-lookup-symbol) (67108910 . counsel-find-symbol)) :initial-input nil :caller counsel-M-x))
  ivy-posframe--read(#f(compiled-function (arg1 arg2 &rest rest) "Read a string in the minibuffer, with completion.\n\nPROMPT is a string, normally ending in a colon and a space.\n`ivy-count-format' is prepended to PROMPT during completion.\n\nCOLLECTION is either a list of strings, a function, an alist, or\na hash table, supplied for `minibuffer-completion-table'.\n\nPREDICATE is applied to filter out the COLLECTION immediately.\nThis argument is for compatibility with `completing-read'.\n\nWhen REQUIRE-MATCH is non-nil, only members of COLLECTION can be\nselected.\n\nIf INITIAL-INPUT is non-nil, then insert that input in the\nminibuffer initially.\n\nHISTORY is a name of a variable to hold the completion session\nhistory.\n\nKEYMAP is composed with `ivy-minibuffer-map'.\n\nPRESELECT, when non-nil, determines which one of the candidates\nmatching INITIAL-INPUT to select initially.  An integer stands\nfor the position of the desired candidate in the collection,\ncounting from zero.  Otherwise, use the first occurrence of\nPRESELECT in the collection.  Comparison is first done with\n`equal'.  If that fails, and when applicable, match PRESELECT as\na regular expression.\n\nDEF is for compatibility with `completing-read'.\n\nUPDATE-FN is called each time the candidate list is re-displayed.\n\nWhen SORT is non-nil, `ivy-sort-functions-alist' determines how\nto sort candidates before displaying them.\n\nACTION is a function to call after selecting a candidate.\nIt takes one argument, the selected candidate. If COLLECTION is\nan alist, the argument is a cons cell, otherwise it's a string.\n\nMULTI-ACTION, when non-nil, is called instead of ACTION when\nthere are marked candidates. It takes the list of candidates as\nits only argument. When it's nil, ACTION is called on each marked\ncandidate.\n\nUNWIND is a function of no arguments to call before exiting.\n\nRE-BUILDER is a function transforming input text into a regex\npattern.\n\nMATCHER is a function which can override how candidates are\nfiltered based on user input.  It takes a regex pattern and a\nlist of candidates, and returns the list of matching candidates.\n\nDYNAMIC-COLLECTION is a boolean specifying whether the list of\ncandidates is updated after each input by calling COLLECTION.\n\nEXTRA-PROPS is a plist that can be used to store\ncollection-specific session-specific data.\n\nCALLER is a symbol to uniquely identify the caller to `ivy-read'.\nIt is used, along with COLLECTION, to determine which\ncustomizations apply to the current completion session." #<bytecode 0x7f1576aca0fa29>) "M-x " ("toggle-debug-on-error" "pyvenv-activate" "byte-recompile-directory" "eval-buffer" "package-delete" "package-utils-upgrade-all" "prettier-js" "python-pytest-file" "revert-buffer" "web-mode" "org-clock-out" "eslint-fix-file" "cider-quit" "flycheck-verify-setup" "org-clock-in" "comment-region" "cider-jack-in-clj" "insert-current-date" "org-clock-in-last" "lsp-execute-code-action" "lsp-restart-workspace" "paredit-mode" "insert-current-date-with-weekday" "customize-group" "tide-mode" "tide-restart-server" "describe-key" "electric-indent-mode" "load-theme" "package-refresh-contents" "try" "lsp-format-buffer" "tide-setup" "elfeed" "ansi-term" "mark-whole-buffer" "query-replace" "tide-rename-symbol" "electric-pair-mode" "compile" "flycheck-mode" "magit-blame" "package-install" "tide-references" "vue-mode" "dired-jump" "run-python" "org-toggle-latex-fragment" "indent-region" "lsp-workspace-restart" ...) :predicate #f(compiled-function (x) #<bytecode 0x1ffdc84191e94f>) :require-match t :history counsel-M-x-history :action counsel-M-x-action :keymap (keymap (67108908 . counsel--info-lookup-symbol) (67108910 . counsel-find-symbol)) :initial-input nil :caller counsel-M-x)
  apply(ivy-posframe--read #f(compiled-function (arg1 arg2 &rest rest) "Read a string in the minibuffer, with completion.\n\nPROMPT is a string, normally ending in a colon and a space.\n`ivy-count-format' is prepended to PROMPT during completion.\n\nCOLLECTION is either a list of strings, a function, an alist, or\na hash table, supplied for `minibuffer-completion-table'.\n\nPREDICATE is applied to filter out the COLLECTION immediately.\nThis argument is for compatibility with `completing-read'.\n\nWhen REQUIRE-MATCH is non-nil, only members of COLLECTION can be\nselected.\n\nIf INITIAL-INPUT is non-nil, then insert that input in the\nminibuffer initially.\n\nHISTORY is a name of a variable to hold the completion session\nhistory.\n\nKEYMAP is composed with `ivy-minibuffer-map'.\n\nPRESELECT, when non-nil, determines which one of the candidates\nmatching INITIAL-INPUT to select initially.  An integer stands\nfor the position of the desired candidate in the collection,\ncounting from zero.  Otherwise, use the first occurrence of\nPRESELECT in the collection.  Comparison is first done with\n`equal'.  If that fails, and when applicable, match PRESELECT as\na regular expression.\n\nDEF is for compatibility with `completing-read'.\n\nUPDATE-FN is called each time the candidate list is re-displayed.\n\nWhen SORT is non-nil, `ivy-sort-functions-alist' determines how\nto sort candidates before displaying them.\n\nACTION is a function to call after selecting a candidate.\nIt takes one argument, the selected candidate. If COLLECTION is\nan alist, the argument is a cons cell, otherwise it's a string.\n\nMULTI-ACTION, when non-nil, is called instead of ACTION when\nthere are marked candidates. It takes the list of candidates as\nits only argument. When it's nil, ACTION is called on each marked\ncandidate.\n\nUNWIND is a function of no arguments to call before exiting.\n\nRE-BUILDER is a function transforming input text into a regex\npattern.\n\nMATCHER is a function which can override how candidates are\nfiltered based on user input.  It takes a regex pattern and a\nlist of candidates, and returns the list of matching candidates.\n\nDYNAMIC-COLLECTION is a boolean specifying whether the list of\ncandidates is updated after each input by calling COLLECTION.\n\nEXTRA-PROPS is a plist that can be used to store\ncollection-specific session-specific data.\n\nCALLER is a symbol to uniquely identify the caller to `ivy-read'.\nIt is used, along with COLLECTION, to determine which\ncustomizations apply to the current completion session." #<bytecode 0x7f1576aca0fa29>) ("M-x " ("toggle-debug-on-error" "pyvenv-activate" "byte-recompile-directory" "eval-buffer" "package-delete" "package-utils-upgrade-all" "prettier-js" "python-pytest-file" "revert-buffer" "web-mode" "org-clock-out" "eslint-fix-file" "cider-quit" "flycheck-verify-setup" "org-clock-in" "comment-region" "cider-jack-in-clj" "insert-current-date" "org-clock-in-last" "lsp-execute-code-action" "lsp-restart-workspace" "paredit-mode" "insert-current-date-with-weekday" "customize-group" "tide-mode" "tide-restart-server" "describe-key" "electric-indent-mode" "load-theme" "package-refresh-contents" "try" "lsp-format-buffer" "tide-setup" "elfeed" "ansi-term" "mark-whole-buffer" "query-replace" "tide-rename-symbol" "electric-pair-mode" "compile" "flycheck-mode" "magit-blame" "package-install" "tide-references" "vue-mode" "dired-jump" "run-python" "org-toggle-latex-fragment" "indent-region" "lsp-workspace-restart" ...) :predicate #f(compiled-function (x) #<bytecode 0x1ffdc84191e94f>) :require-match t :history counsel-M-x-history :action counsel-M-x-action :keymap (keymap (67108908 . counsel--info-lookup-symbol) (67108910 . counsel-find-symbol)) :initial-input nil :caller counsel-M-x))
  ivy-read("M-x " ("toggle-debug-on-error" "pyvenv-activate" "byte-recompile-directory" "eval-buffer" "package-delete" "package-utils-upgrade-all" "prettier-js" "python-pytest-file" "revert-buffer" "web-mode" "org-clock-out" "eslint-fix-file" "cider-quit" "flycheck-verify-setup" "org-clock-in" "comment-region" "cider-jack-in-clj" "insert-current-date" "org-clock-in-last" "lsp-execute-code-action" "lsp-restart-workspace" "paredit-mode" "insert-current-date-with-weekday" "customize-group" "tide-mode" "tide-restart-server" "describe-key" "electric-indent-mode" "load-theme" "package-refresh-contents" "try" "lsp-format-buffer" "tide-setup" "elfeed" "ansi-term" "mark-whole-buffer" "query-replace" "tide-rename-symbol" "electric-pair-mode" "compile" "flycheck-mode" "magit-blame" "package-install" "tide-references" "vue-mode" "dired-jump" "run-python" "org-toggle-latex-fragment" "indent-region" "lsp-workspace-restart" ...) :predicate #f(compiled-function (x) #<bytecode 0x1ffdc84191e94f>) :require-match t :history counsel-M-x-history :action counsel-M-x-action :keymap (keymap (67108908 . counsel--info-lookup-symbol) (67108910 . counsel-find-symbol)) :initial-input nil :caller counsel-M-x)
  counsel-M-x()
  funcall-interactively(counsel-M-x)
  call-interactively(counsel-M-x nil nil)
  command-execute(counsel-M-x)
yyoncho commented 3 years ago

you can workaround the issue if you evaluate (lsp-diagnostics-flycheck-enable) or if you start lsp-mode first in a normal lsp-mode buffer.

FredrikMeyer commented 3 years ago

Thanks for the answer!

However, I got a new error now:

Debugger entered--Lisp error: (void-function dap-auto-configure-mode)
  dap-auto-configure-mode(1)
  lsp-configure-buffer()
  lsp-managed-mode(1)
  lsp--text-document-did-open()
  lsp--open-in-workspace(#s(lsp--workspace :ewoc nil :server-capabilities #<hash-table equal 17/17 0x1fe240fc22d3> :registered-server-capabilities nil :root "/Users/fredrikmeyer/code/b..." :client #s(lsp--client :language-id nil :add-on? nil :new-connection (:connect #f(compiled-function (filter sentinel name environment-fn) #<bytecode -0x8b5677f916f3078>) :test\? #f(compiled-function () #<bytecode 0x221dc352163cc53>)) :ignore-regexps nil :ignore-messages nil :notification-handlers #<hash-table equal 0/65 0x1fe23c208505> :request-handlers #<hash-table equal 0/65 0x1fe23c2087db> :response-handlers #<hash-table eql 1/65 0x1fe23c20dbb3> :prefix-function nil :uri-handlers #<hash-table equal 0/65 0x1fe23c20dead> :action-handlers #<hash-table equal 0/65 0x1fe23c20e0db> :major-modes (python-mode cython-mode) :activation-fn nil :priority -1 :server-id pyls :multi-root nil :initialization-options nil :custom-capabilities nil :library-folders-fn #f(compiled-function (workspace) #<bytecode 0x61428f8b2f3f736>) :before-file-open-fn nil :initialized-fn #f(compiled-function (workspace) #<bytecode 0x41a12eb15b17a53>) :remote? nil :completion-in-comments? nil :path->uri-fn nil :uri->path-fn nil :environment-fn nil ...) :host-root nil :proc #<process pyls> :cmd-proc #<process pyls> :buffers ((:in-range #f(compiled-function (&optional point) #<bytecode -0x1fde852a881cd45>) :goto-buffer #f(compiled-function () #<bytecode 0x66abfa9c537e55>) :buffer-string #f(compiled-function () #<bytecode -0x1c523b1e738c1cbe>) :buffer #<buffer analysis.org> :begin #<marker at 62 in analysis.org> :end #<marker at 231 in analysis.org> :indentation 0 :last-point #f(compiled-function () #<bytecode 0x66abfa9c51b505>) :cur-position #f(compiled-function () #<bytecode -0x1fa32dc5004764bf>) :line/character->point #f(compiled-function (line character) #<bytecode 0x4329fce2890c4ce>) :major-mode python-mode :buffer-file-name "/Users/fredrikmeyer/code/b..." :buffer-uri "file:///Users/fredrikmeyer..." ...) (:in-range #f(compiled-function (&optional point) #<bytecode -0x1fde852a881cd45>) :goto-buffer #f(compiled-function () #<bytecode 0x66abfa9c537e55>) :buffer-string #f(compiled-function () #<bytecode -0x1c523b1e738c1cbe>) :buffer #<buffer analysis.org> :begin #<marker at 62 in analysis.org> :end #<marker at 231 in analysis.org> :indentation 0 :last-point #f(compiled-function () #<bytecode 0x66abfa9c51b505>) :cur-position #f(compiled-function () #<bytecode -0x1fa32dc5004764bf>) :line/character->point #f(compiled-function (line character) #<bytecode 0x4329fce2890c4ce>) :major-mode python-mode :buffer-file-name "/Users/fredrikmeyer/code/b..." :buffer-uri "file:///Users/fredrikmeyer..." ...) (:in-range #f(compiled-function (&optional point) #<bytecode -0x1fde852a881cd45>) :goto-buffer #f(compiled-function () #<bytecode 0x66abfa9c537e55>) :buffer-string #f(compiled-function () #<bytecode -0x1c523b1e738c1cbe>) :buffer #<buffer analysis.org> :begin #<marker at 62 in analysis.org> :end #<marker at 231 in analysis.org> :indentation 0 :last-point #f(compiled-function () #<bytecode 0x66abfa9c51b505>) :cur-position #f(compiled-function () #<bytecode -0x1fa32dc5004764bf>) :line/character->point #f(compiled-function (line character) #<bytecode 0x4329fce2890c4ce>) :major-mode python-mode :buffer-file-name "/Users/fredrikmeyer/code/b..." :buffer-uri "file:///Users/fredrikmeyer..." ...) (:in-range #f(compiled-function (&optional point) #<bytecode -0x1fde852a881cd45>) :goto-buffer #f(compiled-function () #<bytecode 0x66abfa9c537e55>) :buffer-string #f(compiled-function () #<bytecode -0x1c523b1e738c1cbe>) :buffer #<buffer analysis.org> :begin #<marker at 62 in analysis.org> :end #<marker at 231 in analysis.org> :indentation 0 :last-point #f(compiled-function () #<bytecode 0x66abfa9c51b505>) :cur-position #f(compiled-function () #<bytecode -0x1fa32dc5004764bf>) :line/character->point #f(compiled-function (line character) #<bytecode 0x4329fce2890c4ce>) :major-mode python-mode :buffer-file-name "/Users/fredrikmeyer/code/b..." :buffer-uri "file:///Users/fredrikmeyer..." ...)) :semantic-tokens-faces nil :semantic-tokens-modifier-faces nil :extra-client-capabilities nil :status initialized :metadata #<hash-table equal 0/65 0x1fe23c3e9e87> :watches #<hash-table equal 0/65 0x1fe23c3ea0b5> :workspace-folders nil :last-id 0 :status-string nil :shutdown-action nil :diagnostics #<hash-table equal 1/65 0x1fe23c3ea0d5> :work-done-tokens #<hash-table equal 0/65 0x1fe23c3cff33>))
  lsp--find-workspace(#s(lsp-session :folders ("/Users/fredrikmeyer/code/bristol" "/Users/fredrikmeyer/code/bristol/v-env" "/Users/fredrikmeyer/code/work/cognito-csv-exporter..." "/Users/fredrikmeyer/code/work/xal_audio_dashboard/..." "/Users/fredrikmeyer/code/random" "/Users/fredrikmeyer/code/work/Cloud" "/Users/fredrikmeyer/code/work/Cloud/frontend/model..." "/Users/fredrikmeyer/code/ray_tracing/examples" "/Users/fredrikmeyer/code/ray_tracing" "/Users/fredrikmeyer/code/nannou-test" "/Users/fredrikmeyer/code/rust-3d" "/Users/fredrikmeyer/code/wasm-game-of-life" "/Users/fredrikmeyer/code/rust_test" "/Users/fredrikmeyer/code/blender-python-test" "/Users/fredrikmeyer/code/work/audio_analytics_edge..." "/Users/fredrikmeyer/code/work/audio_analytics_inte..." "/Users/fredrikmeyer/code/work/audio_analytics_inte..." "/Users/fredrikmeyer/code/work/audio_analytics_inte..." "/Users/fredrikmeyer/code/work/audio_analytics_inte..." "/Users/fredrikmeyer/code/work/audio_analytics_inte..." "/Users/fredrikmeyer/code/work/audio_analytics_inte..." "/Users/fredrikmeyer/code/crafting-interpreters" "/Users/fredrikmeyer/code/cognitetest") :folders-blacklist nil :server-id->folders #<hash-table equal 1/65 0x1fe23d0de713> :folder->servers #<hash-table equal 1/65 0x1fe23d0de8bd> :metadata #<hash-table equal 0/65 0x1fe23c707101>) #s(lsp--client :language-id nil :add-on? nil :new-connection (:connect #f(compiled-function (filter sentinel name environment-fn) #<bytecode -0x8b5677f916f3078>) :test\? #f(compiled-function () #<bytecode 0x221dc352163cc53>)) :ignore-regexps nil :ignore-messages nil :notification-handlers #<hash-table equal 0/65 0x1fe23c208505> :request-handlers #<hash-table equal 0/65 0x1fe23c2087db> :response-handlers #<hash-table eql 1/65 0x1fe23c20dbb3> :prefix-function nil :uri-handlers #<hash-table equal 0/65 0x1fe23c20dead> :action-handlers #<hash-table equal 0/65 0x1fe23c20e0db> :major-modes (python-mode cython-mode) :activation-fn nil :priority -1 :server-id pyls :multi-root nil :initialization-options nil :custom-capabilities nil :library-folders-fn #f(compiled-function (workspace) #<bytecode 0x61428f8b2f3f736>) :before-file-open-fn nil :initialized-fn #f(compiled-function (workspace) #<bytecode 0x41a12eb15b17a53>) :remote? nil :completion-in-comments? nil :path->uri-fn nil :uri->path-fn nil :environment-fn nil :after-open-fn nil :async-request-handlers #<hash-table equal 0/65 0x1fe23c20e45b> :download-server-fn nil :download-in-progress? nil :buffers nil) "/Users/fredrikmeyer/code/bristol")
  #f(compiled-function (client) #<bytecode -0x1be82cd61b51d03f>)(#s(lsp--client :language-id nil :add-on? nil :new-connection (:connect #f(compiled-function (filter sentinel name environment-fn) #<bytecode -0x8b5677f916f3078>) :test\? #f(compiled-function () #<bytecode 0x221dc352163cc53>)) :ignore-regexps nil :ignore-messages nil :notification-handlers #<hash-table equal 0/65 0x1fe23c208505> :request-handlers #<hash-table equal 0/65 0x1fe23c2087db> :response-handlers #<hash-table eql 1/65 0x1fe23c20dbb3> :prefix-function nil :uri-handlers #<hash-table equal 0/65 0x1fe23c20dead> :action-handlers #<hash-table equal 0/65 0x1fe23c20e0db> :major-modes (python-mode cython-mode) :activation-fn nil :priority -1 :server-id pyls :multi-root nil :initialization-options nil :custom-capabilities nil :library-folders-fn #f(compiled-function (workspace) #<bytecode 0x61428f8b2f3f736>) :before-file-open-fn nil :initialized-fn #f(compiled-function (workspace) #<bytecode 0x41a12eb15b17a53>) :remote? nil :completion-in-comments? nil :path->uri-fn nil :uri->path-fn nil :environment-fn nil :after-open-fn nil :async-request-handlers #<hash-table equal 0/65 0x1fe23c20e45b> :download-server-fn nil :download-in-progress? nil :buffers nil))
  mapcar(#f(compiled-function (client) #<bytecode -0x1be82cd61b51d03f>) (#s(lsp--client :language-id nil :add-on? nil :new-connection (:connect #f(compiled-function (filter sentinel name environment-fn) #<bytecode -0x8b5677f916f3078>) :test\? #f(compiled-function () #<bytecode 0x221dc352163cc53>)) :ignore-regexps nil :ignore-messages nil :notification-handlers #<hash-table equal 0/65 0x1fe23c208505> :request-handlers #<hash-table equal 0/65 0x1fe23c2087db> :response-handlers #<hash-table eql 1/65 0x1fe23c20dbb3> :prefix-function nil :uri-handlers #<hash-table equal 0/65 0x1fe23c20dead> :action-handlers #<hash-table equal 0/65 0x1fe23c20e0db> :major-modes (python-mode cython-mode) :activation-fn nil :priority -1 :server-id pyls :multi-root nil :initialization-options nil :custom-capabilities nil :library-folders-fn #f(compiled-function (workspace) #<bytecode 0x61428f8b2f3f736>) :before-file-open-fn nil :initialized-fn #f(compiled-function (workspace) #<bytecode 0x41a12eb15b17a53>) :remote? nil :completion-in-comments? nil :path->uri-fn nil :uri->path-fn nil :environment-fn nil :after-open-fn nil :async-request-handlers #<hash-table equal 0/65 0x1fe23c20e45b> :download-server-fn nil :download-in-progress? nil :buffers nil)))
  -map(#f(compiled-function (client) #<bytecode -0x1be82cd61b51d03f>) (#s(lsp--client :language-id nil :add-on? nil :new-connection (:connect #f(compiled-function (filter sentinel name environment-fn) #<bytecode -0x8b5677f916f3078>) :test\? #f(compiled-function () #<bytecode 0x221dc352163cc53>)) :ignore-regexps nil :ignore-messages nil :notification-handlers #<hash-table equal 0/65 0x1fe23c208505> :request-handlers #<hash-table equal 0/65 0x1fe23c2087db> :response-handlers #<hash-table eql 1/65 0x1fe23c20dbb3> :prefix-function nil :uri-handlers #<hash-table equal 0/65 0x1fe23c20dead> :action-handlers #<hash-table equal 0/65 0x1fe23c20e0db> :major-modes (python-mode cython-mode) :activation-fn nil :priority -1 :server-id pyls :multi-root nil :initialization-options nil :custom-capabilities nil :library-folders-fn #f(compiled-function (workspace) #<bytecode 0x61428f8b2f3f736>) :before-file-open-fn nil :initialized-fn #f(compiled-function (workspace) #<bytecode 0x41a12eb15b17a53>) :remote? nil :completion-in-comments? nil :path->uri-fn nil :uri->path-fn nil :environment-fn nil :after-open-fn nil :async-request-handlers #<hash-table equal 0/65 0x1fe23c20e45b> :download-server-fn nil :download-in-progress? nil :buffers nil)))
  lsp--ensure-lsp-servers(#s(lsp-session :folders ("/Users/fredrikmeyer/code/bristol" "/Users/fredrikmeyer/code/bristol/v-env" "/Users/fredrikmeyer/code/work/cognito-csv-exporter..." "/Users/fredrikmeyer/code/work/xal_audio_dashboard/..." "/Users/fredrikmeyer/code/random" "/Users/fredrikmeyer/code/work/Cloud" "/Users/fredrikmeyer/code/work/Cloud/frontend/model..." "/Users/fredrikmeyer/code/ray_tracing/examples" "/Users/fredrikmeyer/code/ray_tracing" "/Users/fredrikmeyer/code/nannou-test" "/Users/fredrikmeyer/code/rust-3d" "/Users/fredrikmeyer/code/wasm-game-of-life" "/Users/fredrikmeyer/code/rust_test" "/Users/fredrikmeyer/code/blender-python-test" "/Users/fredrikmeyer/code/work/audio_analytics_edge..." "/Users/fredrikmeyer/code/work/audio_analytics_inte..." "/Users/fredrikmeyer/code/work/audio_analytics_inte..." "/Users/fredrikmeyer/code/work/audio_analytics_inte..." "/Users/fredrikmeyer/code/work/audio_analytics_inte..." "/Users/fredrikmeyer/code/work/audio_analytics_inte..." "/Users/fredrikmeyer/code/work/audio_analytics_inte..." "/Users/fredrikmeyer/code/crafting-interpreters" "/Users/fredrikmeyer/code/cognitetest") :folders-blacklist nil :server-id->folders #<hash-table equal 1/65 0x1fe23d0de713> :folder->servers #<hash-table equal 1/65 0x1fe23d0de8bd> :metadata #<hash-table equal 0/65 0x1fe23c707101>) (#s(lsp--client :language-id nil :add-on? nil :new-connection (:connect #f(compiled-function (filter sentinel name environment-fn) #<bytecode -0x8b5677f916f3078>) :test\? #f(compiled-function () #<bytecode 0x221dc352163cc53>)) :ignore-regexps nil :ignore-messages nil :notification-handlers #<hash-table equal 0/65 0x1fe23c208505> :request-handlers #<hash-table equal 0/65 0x1fe23c2087db> :response-handlers #<hash-table eql 1/65 0x1fe23c20dbb3> :prefix-function nil :uri-handlers #<hash-table equal 0/65 0x1fe23c20dead> :action-handlers #<hash-table equal 0/65 0x1fe23c20e0db> :major-modes (python-mode cython-mode) :activation-fn nil :priority -1 :server-id pyls :multi-root nil :initialization-options nil :custom-capabilities nil :library-folders-fn #f(compiled-function (workspace) #<bytecode 0x61428f8b2f3f736>) :before-file-open-fn nil :initialized-fn #f(compiled-function (workspace) #<bytecode 0x41a12eb15b17a53>) :remote? nil :completion-in-comments? nil :path->uri-fn nil :uri->path-fn nil :environment-fn nil :after-open-fn nil :async-request-handlers #<hash-table equal 0/65 0x1fe23c20e45b> :download-server-fn nil :download-in-progress? nil :buffers nil)) "/Users/fredrikmeyer/code/bristol" nil)
  lsp--try-project-root-workspaces(nil nil)
  lsp()
  #f(compiled-function () #<bytecode 0x8e838b36e17f1c3>)()
  #f(compiled-function (f) #<bytecode -0x549d31b4161b950>)(#f(compiled-function () #<bytecode 0x8e838b36e17f1c3>))
  lsp-org()
  funcall-interactively(lsp-org)
  call-interactively(lsp-org record nil)
  command-execute(lsp-org record)
  counsel-M-x-action("lsp-org")
  ivy-call()
  #f(compiled-function (arg1 arg2 &rest rest) "Read a string in the minibuffer, with completion.\n\nPROMPT is a string, normally ending in a colon and a space.\n`ivy-count-format' is prepended to PROMPT during completion.\n\nCOLLECTION is either a list of strings, a function, an alist, or\na hash table, supplied for `minibuffer-completion-table'.\n\nPREDICATE is applied to filter out the COLLECTION immediately.\nThis argument is for compatibility with `completing-read'.\n\nWhen REQUIRE-MATCH is non-nil, only members of COLLECTION can be\nselected.\n\nIf INITIAL-INPUT is non-nil, then insert that input in the\nminibuffer initially.\n\nHISTORY is a name of a variable to hold the completion session\nhistory.\n\nKEYMAP is composed with `ivy-minibuffer-map'.\n\nPRESELECT, when non-nil, determines which one of the candidates\nmatching INITIAL-INPUT to select initially.  An integer stands\nfor the position of the desired candidate in the collection,\ncounting from zero.  Otherwise, use the first occurrence of\nPRESELECT in the collection.  Comparison is first done with\n`equal'.  If that fails, and when applicable, match PRESELECT as\na regular expression.\n\nDEF is for compatibility with `completing-read'.\n\nUPDATE-FN is called each time the candidate list is re-displayed.\n\nWhen SORT is non-nil, `ivy-sort-functions-alist' determines how\nto sort candidates before displaying them.\n\nACTION is a function to call after selecting a candidate.\nIt takes one argument, the selected candidate. If COLLECTION is\nan alist, the argument is a cons cell, otherwise it's a string.\n\nMULTI-ACTION, when non-nil, is called instead of ACTION when\nthere are marked candidates. It takes the list of candidates as\nits only argument. When it's nil, ACTION is called on each marked\ncandidate.\n\nUNWIND is a function of no arguments to call before exiting.\n\nRE-BUILDER is a function transforming input text into a regex\npattern.\n\nMATCHER is a function which can override how candidates are\nfiltered based on user input.  It takes a regex pattern and a\nlist of candidates, and returns the list of matching candidates.\n\nDYNAMIC-COLLECTION is a boolean specifying whether the list of\ncandidates is updated after each input by calling COLLECTION.\n\nEXTRA-PROPS is a plist that can be used to store\ncollection-specific session-specific data.\n\nCALLER is a symbol to uniquely identify the caller to `ivy-read'.\nIt is used, along with COLLECTION, to determine which\ncustomizations apply to the current completion session." #<bytecode -0x9bcc14321ca45ea>)("M-x " ("toggle-debug-on-error" "company-diag" "revert-buffer" "ob-ipython-inspect" "org-toggle-inline-images" "pyvenv-activate" "prettier-js" "python-pytest-file" "web-mode" "org-clock-out" "eslint-fix-file" "cider-quit" "flycheck-verify-setup" "org-clock-in" "comment-region" "cider-jack-in-clj" "insert-current-date" "org-clock-in-last" "lsp-execute-code-action" "package-delete" "lsp-restart-workspace" "paredit-mode" "insert-current-date-with-weekday" "customize-group" "tide-mode" "tide-restart-server" "describe-key" "electric-indent-mode" "load-theme" "package-refresh-contents" "try" "lsp-format-buffer" "tide-setup" "elfeed" "ansi-term" "mark-whole-buffer" "query-replace" "tide-rename-symbol" "electric-pair-mode" "compile" "flycheck-mode" "magit-blame" "package-install" "tide-references" "vue-mode" "run-python" "dired-jump" "org-toggle-latex-fragment" "indent-region" "lsp-workspace-restart" ...) :predicate #f(compiled-function (x) #<bytecode 0x1fc3e937e9194f>) :require-match t :history counsel-M-x-history :action counsel-M-x-action :keymap (keymap (67108908 . counsel--info-lookup-symbol) (67108910 . counsel-find-symbol)) :initial-input nil :caller counsel-M-x)
  apply(#f(compiled-function (arg1 arg2 &rest rest) "Read a string in the minibuffer, with completion.\n\nPROMPT is a string, normally ending in a colon and a space.\n`ivy-count-format' is prepended to PROMPT during completion.\n\nCOLLECTION is either a list of strings, a function, an alist, or\na hash table, supplied for `minibuffer-completion-table'.\n\nPREDICATE is applied to filter out the COLLECTION immediately.\nThis argument is for compatibility with `completing-read'.\n\nWhen REQUIRE-MATCH is non-nil, only members of COLLECTION can be\nselected.\n\nIf INITIAL-INPUT is non-nil, then insert that input in the\nminibuffer initially.\n\nHISTORY is a name of a variable to hold the completion session\nhistory.\n\nKEYMAP is composed with `ivy-minibuffer-map'.\n\nPRESELECT, when non-nil, determines which one of the candidates\nmatching INITIAL-INPUT to select initially.  An integer stands\nfor the position of the desired candidate in the collection,\ncounting from zero.  Otherwise, use the first occurrence of\nPRESELECT in the collection.  Comparison is first done with\n`equal'.  If that fails, and when applicable, match PRESELECT as\na regular expression.\n\nDEF is for compatibility with `completing-read'.\n\nUPDATE-FN is called each time the candidate list is re-displayed.\n\nWhen SORT is non-nil, `ivy-sort-functions-alist' determines how\nto sort candidates before displaying them.\n\nACTION is a function to call after selecting a candidate.\nIt takes one argument, the selected candidate. If COLLECTION is\nan alist, the argument is a cons cell, otherwise it's a string.\n\nMULTI-ACTION, when non-nil, is called instead of ACTION when\nthere are marked candidates. It takes the list of candidates as\nits only argument. When it's nil, ACTION is called on each marked\ncandidate.\n\nUNWIND is a function of no arguments to call before exiting.\n\nRE-BUILDER is a function transforming input text into a regex\npattern.\n\nMATCHER is a function which can override how candidates are\nfiltered based on user input.  It takes a regex pattern and a\nlist of candidates, and returns the list of matching candidates.\n\nDYNAMIC-COLLECTION is a boolean specifying whether the list of\ncandidates is updated after each input by calling COLLECTION.\n\nEXTRA-PROPS is a plist that can be used to store\ncollection-specific session-specific data.\n\nCALLER is a symbol to uniquely identify the caller to `ivy-read'.\nIt is used, along with COLLECTION, to determine which\ncustomizations apply to the current completion session." #<bytecode -0x9bcc14321ca45ea>) ("M-x " ("toggle-debug-on-error" "company-diag" "revert-buffer" "ob-ipython-inspect" "org-toggle-inline-images" "pyvenv-activate" "prettier-js" "python-pytest-file" "web-mode" "org-clock-out" "eslint-fix-file" "cider-quit" "flycheck-verify-setup" "org-clock-in" "comment-region" "cider-jack-in-clj" "insert-current-date" "org-clock-in-last" "lsp-execute-code-action" "package-delete" "lsp-restart-workspace" "paredit-mode" "insert-current-date-with-weekday" "customize-group" "tide-mode" "tide-restart-server" "describe-key" "electric-indent-mode" "load-theme" "package-refresh-contents" "try" "lsp-format-buffer" "tide-setup" "elfeed" "ansi-term" "mark-whole-buffer" "query-replace" "tide-rename-symbol" "electric-pair-mode" "compile" "flycheck-mode" "magit-blame" "package-install" "tide-references" "vue-mode" "run-python" "dired-jump" "org-toggle-latex-fragment" "indent-region" "lsp-workspace-restart" ...) :predicate #f(compiled-function (x) #<bytecode 0x1fc3e937e9194f>) :require-match t :history counsel-M-x-history :action counsel-M-x-action :keymap (keymap (67108908 . counsel--info-lookup-symbol) (67108910 . counsel-find-symbol)) :initial-input nil :caller counsel-M-x))
  ivy-posframe--read(#f(compiled-function (arg1 arg2 &rest rest) "Read a string in the minibuffer, with completion.\n\nPROMPT is a string, normally ending in a colon and a space.\n`ivy-count-format' is prepended to PROMPT during completion.\n\nCOLLECTION is either a list of strings, a function, an alist, or\na hash table, supplied for `minibuffer-completion-table'.\n\nPREDICATE is applied to filter out the COLLECTION immediately.\nThis argument is for compatibility with `completing-read'.\n\nWhen REQUIRE-MATCH is non-nil, only members of COLLECTION can be\nselected.\n\nIf INITIAL-INPUT is non-nil, then insert that input in the\nminibuffer initially.\n\nHISTORY is a name of a variable to hold the completion session\nhistory.\n\nKEYMAP is composed with `ivy-minibuffer-map'.\n\nPRESELECT, when non-nil, determines which one of the candidates\nmatching INITIAL-INPUT to select initially.  An integer stands\nfor the position of the desired candidate in the collection,\ncounting from zero.  Otherwise, use the first occurrence of\nPRESELECT in the collection.  Comparison is first done with\n`equal'.  If that fails, and when applicable, match PRESELECT as\na regular expression.\n\nDEF is for compatibility with `completing-read'.\n\nUPDATE-FN is called each time the candidate list is re-displayed.\n\nWhen SORT is non-nil, `ivy-sort-functions-alist' determines how\nto sort candidates before displaying them.\n\nACTION is a function to call after selecting a candidate.\nIt takes one argument, the selected candidate. If COLLECTION is\nan alist, the argument is a cons cell, otherwise it's a string.\n\nMULTI-ACTION, when non-nil, is called instead of ACTION when\nthere are marked candidates. It takes the list of candidates as\nits only argument. When it's nil, ACTION is called on each marked\ncandidate.\n\nUNWIND is a function of no arguments to call before exiting.\n\nRE-BUILDER is a function transforming input text into a regex\npattern.\n\nMATCHER is a function which can override how candidates are\nfiltered based on user input.  It takes a regex pattern and a\nlist of candidates, and returns the list of matching candidates.\n\nDYNAMIC-COLLECTION is a boolean specifying whether the list of\ncandidates is updated after each input by calling COLLECTION.\n\nEXTRA-PROPS is a plist that can be used to store\ncollection-specific session-specific data.\n\nCALLER is a symbol to uniquely identify the caller to `ivy-read'.\nIt is used, along with COLLECTION, to determine which\ncustomizations apply to the current completion session." #<bytecode -0x9bcc14321ca45ea>) "M-x " ("toggle-debug-on-error" "company-diag" "revert-buffer" "ob-ipython-inspect" "org-toggle-inline-images" "pyvenv-activate" "prettier-js" "python-pytest-file" "web-mode" "org-clock-out" "eslint-fix-file" "cider-quit" "flycheck-verify-setup" "org-clock-in" "comment-region" "cider-jack-in-clj" "insert-current-date" "org-clock-in-last" "lsp-execute-code-action" "package-delete" "lsp-restart-workspace" "paredit-mode" "insert-current-date-with-weekday" "customize-group" "tide-mode" "tide-restart-server" "describe-key" "electric-indent-mode" "load-theme" "package-refresh-contents" "try" "lsp-format-buffer" "tide-setup" "elfeed" "ansi-term" "mark-whole-buffer" "query-replace" "tide-rename-symbol" "electric-pair-mode" "compile" "flycheck-mode" "magit-blame" "package-install" "tide-references" "vue-mode" "run-python" "dired-jump" "org-toggle-latex-fragment" "indent-region" "lsp-workspace-restart" ...) :predicate #f(compiled-function (x) #<bytecode 0x1fc3e937e9194f>) :require-match t :history counsel-M-x-history :action counsel-M-x-action :keymap (keymap (67108908 . counsel--info-lookup-symbol) (67108910 . counsel-find-symbol)) :initial-input nil :caller counsel-M-x)
  apply(ivy-posframe--read #f(compiled-function (arg1 arg2 &rest rest) "Read a string in the minibuffer, with completion.\n\nPROMPT is a string, normally ending in a colon and a space.\n`ivy-count-format' is prepended to PROMPT during completion.\n\nCOLLECTION is either a list of strings, a function, an alist, or\na hash table, supplied for `minibuffer-completion-table'.\n\nPREDICATE is applied to filter out the COLLECTION immediately.\nThis argument is for compatibility with `completing-read'.\n\nWhen REQUIRE-MATCH is non-nil, only members of COLLECTION can be\nselected.\n\nIf INITIAL-INPUT is non-nil, then insert that input in the\nminibuffer initially.\n\nHISTORY is a name of a variable to hold the completion session\nhistory.\n\nKEYMAP is composed with `ivy-minibuffer-map'.\n\nPRESELECT, when non-nil, determines which one of the candidates\nmatching INITIAL-INPUT to select initially.  An integer stands\nfor the position of the desired candidate in the collection,\ncounting from zero.  Otherwise, use the first occurrence of\nPRESELECT in the collection.  Comparison is first done with\n`equal'.  If that fails, and when applicable, match PRESELECT as\na regular expression.\n\nDEF is for compatibility with `completing-read'.\n\nUPDATE-FN is called each time the candidate list is re-displayed.\n\nWhen SORT is non-nil, `ivy-sort-functions-alist' determines how\nto sort candidates before displaying them.\n\nACTION is a function to call after selecting a candidate.\nIt takes one argument, the selected candidate. If COLLECTION is\nan alist, the argument is a cons cell, otherwise it's a string.\n\nMULTI-ACTION, when non-nil, is called instead of ACTION when\nthere are marked candidates. It takes the list of candidates as\nits only argument. When it's nil, ACTION is called on each marked\ncandidate.\n\nUNWIND is a function of no arguments to call before exiting.\n\nRE-BUILDER is a function transforming input text into a regex\npattern.\n\nMATCHER is a function which can override how candidates are\nfiltered based on user input.  It takes a regex pattern and a\nlist of candidates, and returns the list of matching candidates.\n\nDYNAMIC-COLLECTION is a boolean specifying whether the list of\ncandidates is updated after each input by calling COLLECTION.\n\nEXTRA-PROPS is a plist that can be used to store\ncollection-specific session-specific data.\n\nCALLER is a symbol to uniquely identify the caller to `ivy-read'.\nIt is used, along with COLLECTION, to determine which\ncustomizations apply to the current completion session." #<bytecode -0x9bcc14321ca45ea>) ("M-x " ("toggle-debug-on-error" "company-diag" "revert-buffer" "ob-ipython-inspect" "org-toggle-inline-images" "pyvenv-activate" "prettier-js" "python-pytest-file" "web-mode" "org-clock-out" "eslint-fix-file" "cider-quit" "flycheck-verify-setup" "org-clock-in" "comment-region" "cider-jack-in-clj" "insert-current-date" "org-clock-in-last" "lsp-execute-code-action" "package-delete" "lsp-restart-workspace" "paredit-mode" "insert-current-date-with-weekday" "customize-group" "tide-mode" "tide-restart-server" "describe-key" "electric-indent-mode" "load-theme" "package-refresh-contents" "try" "lsp-format-buffer" "tide-setup" "elfeed" "ansi-term" "mark-whole-buffer" "query-replace" "tide-rename-symbol" "electric-pair-mode" "compile" "flycheck-mode" "magit-blame" "package-install" "tide-references" "vue-mode" "run-python" "dired-jump" "org-toggle-latex-fragment" "indent-region" "lsp-workspace-restart" ...) :predicate #f(compiled-function (x) #<bytecode 0x1fc3e937e9194f>) :require-match t :history counsel-M-x-history :action counsel-M-x-action :keymap (keymap (67108908 . counsel--info-lookup-symbol) (67108910 . counsel-find-symbol)) :initial-input nil :caller counsel-M-x))
  ivy-read("M-x " ("toggle-debug-on-error" "company-diag" "revert-buffer" "ob-ipython-inspect" "org-toggle-inline-images" "pyvenv-activate" "prettier-js" "python-pytest-file" "web-mode" "org-clock-out" "eslint-fix-file" "cider-quit" "flycheck-verify-setup" "org-clock-in" "comment-region" "cider-jack-in-clj" "insert-current-date" "org-clock-in-last" "lsp-execute-code-action" "package-delete" "lsp-restart-workspace" "paredit-mode" "insert-current-date-with-weekday" "customize-group" "tide-mode" "tide-restart-server" "describe-key" "electric-indent-mode" "load-theme" "package-refresh-contents" "try" "lsp-format-buffer" "tide-setup" "elfeed" "ansi-term" "mark-whole-buffer" "query-replace" "tide-rename-symbol" "electric-pair-mode" "compile" "flycheck-mode" "magit-blame" "package-install" "tide-references" "vue-mode" "run-python" "dired-jump" "org-toggle-latex-fragment" "indent-region" "lsp-workspace-restart" ...) :predicate #f(compiled-function (x) #<bytecode 0x1fc3e937e9194f>) :require-match t :history counsel-M-x-history :action counsel-M-x-action :keymap (keymap (67108908 . counsel--info-lookup-symbol) (67108910 . counsel-find-symbol)) :initial-input nil :caller counsel-M-x)
  counsel-M-x()
  funcall-interactively(counsel-M-x)
  call-interactively(counsel-M-x nil nil)
  command-execute(counsel-M-x)

Somehow dap mode got activated?

yyoncho commented 3 years ago

Most likely your version of dap-mode is not up to date. But if it is, then somehow your config is broken and does not have the proper autoloads.

rpatterson commented 3 years ago

you can workaround the issue if you evaluate (lsp-diagnostics-flycheck-enable) or if you start lsp-mode first in a normal lsp-mode buffer.

For anyone else who runs into this and is trying this workaround in their ~/.emacs or ~/.emacs.d/init.el, you also need to load the library that defines that function first:

(require 'lsp-diagnostics)
(lsp-diagnostics-flycheck-enable)
(require 'flycheck)
(flycheck-add-next-checker 'python-flake8 'lsp)