syl20bnr / spacemacs

A community-driven Emacs distribution - The best editor is neither Emacs nor Vim, it's Emacs *and* Vim!
http://spacemacs.org
GNU General Public License v3.0
23.57k stars 4.9k forks source link

Cannot start REPL for R language with ess #16241

Closed jia-j-chen closed 5 months ago

jia-j-chen commented 5 months ago

Description :octocat:

Cannot start REPL for the R language with ess

Reproduction guide :beetle:

Observed behaviour: :eyes: :broken_heart: A message says "SPC m ' undefined"

Expected behaviour: :heart: :smile: Start R REPL

System Info :computer:

Backtrace :paw_prints:

<<BACKTRACE IF RELEVANT>>
alexey0308 commented 5 months ago

Hi @jia-j-chen, what is the major-mode of the buffer with the R file (M-x major-mode)?

jia-j-chen commented 5 months ago

Hi @jia-j-chen, what is the major-mode of the buffer with the R file (M-x major-mode)?

Thanks for the reply! I use M-: major-mode to find that the major-mode of the buffer with the R file is ess-mode.

alexey0308 commented 5 months ago

It should be ess-r-mode though.

I received the notification but it looks like the comment is removed: it was about start-up error and missing function definition. Have you resolved it? It looks like there is some problem with the installed package - it can help to re-install ess or you can try to delete *.elc files inside ~/.emacs.d/elpa/<emacs version>/develop/ess-20231218.1256/.

jia-j-chen commented 5 months ago

It should be ess-r-mode though.

I received the notification but it looks like the comment is removed: it was about start-up error and missing function definition. Have you resolved it? It looks like there is some problem with the installed package - it can help to re-install ess or you can try to delete *.elc files inside ~/.emacs.d/elpa/<emacs version>/develop/ess-20231218.1256/.

I follow your suggestions to re-install ess or delete *.elc inside ~/.emacs.d/elpa/<emacs version>/develop/ess-20231218.1256/., but the problem still exists.

Sorry for deleting a comment, which is about another computer of mine. In that computer, I also have problems with starting REPL for R languages with ess. The problems have not been solved. But, the symptions are slightly different from those in this post. I want to solve the problem for this computer first and hence remove that comment.

alexey0308 commented 5 months ago

honestly, I do not know how it happens that you get ess-mode instead of ess-r-mode. But for the reference, does it work if you manually set the mode using M-x ess-r-mode and try to start the REPL? do you have any additional configuration in the user-config in .spacemacs which can be relevant?

jia-j-chen commented 5 months ago

honestly, I do not know how it happens that you get ess-mode instead of ess-r-mode. But for the reference, does it work if you manually set the mode using M-x ess-r-mode and try to start the REPL? do you have any additional configuration in the user-config in .spacemacs which can be relevant?

If I M-x ess-r-mode, I will get an error message that says helm-M-x-execute-command: No applicable method: project-roots, (projectile . "/home/chenj/VirtualBoxShared/Nutstore/SOE_TVE/Git/")

The user config in .spacemacs is: `;; Increase the number of helm candidates to see, e.g., more files from recentf. (with-eval-after-load 'helm (setq helm-candidate-number-limit 1000))

;; The following lines are for openning org links with pdf-tools (with-eval-after-load 'org (add-hook 'text-mode-hook #'visual-line-mode)

(add-to-list 'auto-mode-alist
             '("\\.pdf\\'" . pdf-view-mode))

(delete '("\\.pdf\\'" . default) org-file-apps)
(add-to-list 'org-file-apps '("\\.pdf\\'" . emacs))
)

;; Use PDFTex to compile tex files. (eval-after-load "tex" '(progn (add-to-list 'TeX-engine-alist '(default-shell-escape "Default with shell escape" "pdftex -shell-escape" "pdflatex -shell-escape" ConTeXt-engine)) (setq-default TeX-engine 'default-shell-escape) ))

;; For Stata (setq inferior-STA-start-args "") (setq inferior-STA-program "stata")

(require 'ess) (require 'ess-r-mode) (require 'ess-stata-mode)`

alexey0308 commented 5 months ago

Hi @jia-j-chen, what can also bring more information is to use toggle-debugger-on-error and post here the stack trace of the error when you try to activate ess-r-mod, so somebody might get an idea how to help you.

I would only try to update the project package or even all packages. Also when one searches for project-roots it looks like it is an obsolete function since emacs 28, and I do not know if it can cause any problem.

jia-j-chen commented 5 months ago

Hi @jia-j-chen, what can also bring more information is to use toggle-debugger-on-error and post here the stack trace of the error when you try to activate ess-r-mod, so somebody might get an idea how to help you.

I would only try to update the project package or even all packages. Also when one searches for project-roots it looks like it is an obsolete function since emacs 28, and I do not know if it can cause any problem.

Thanks for the reply. The stack trace of the error is as follows. `Debugger entered--Lisp error: (cl-no-applicable-method project-roots (projectile . "/home/chenj/VirtualBoxShared/Nutstore/SOE_TVE/Git/")) signal(cl-no-applicable-method (project-roots (projectile . "/home/chenj/VirtualBoxShared/Nutstore/SOETVE/Git/"))) cl-no-applicable-method(#s(cl--generic :name project-roots :dispatches ((0 #s(cl--generic-generalizer :name cl--generic-head-generalizer :priority 80 :tagcode-function #f(compiled-function (name &rest ) #<bytecode 0x1fd447891d01>) :specializers-function #f(compiled-function (tag &rest ) #<bytecode 0x1fd447891cf1>)) #s(cl--generic-generalizer :name cl--generic-t-generalizer :priority 0 :tagcode-function #f(compiled-function (name &rest ) #<bytecode 0x1fd447805027>) :specializers-function #f(compiled-function (tag &rest _) #<bytecode 0x1fd447805017>)))) :method-table (#s(cl--generic-method :specializers ((head vc)) :qualifiers nil :uses-cnm nil :function #f(compiled-function (project) #<bytecode 0x158a712d38ed>)) #s(cl--generic-method :specializers ((head transient)) :qualifiers nil :uses-cnm nil :function #f(compiled-function (project) #<bytecode 0x158a712d3171>))) :options nil) (projectile . "/home/chenj/VirtualBoxShared/Nutstore/SOETVE/Git/")) apply(cl-no-applicable-method #s(cl--generic :name project-roots :dispatches ((0 #s(cl--generic-generalizer :name cl--generic-head-generalizer :priority 80 :tagcode-function #f(compiled-function (name &rest ) #<bytecode 0x1fd447891d01>) :specializers-function #f(compiled-function (tag &rest ) #<bytecode 0x1fd447891cf1>)) #s(cl--generic-generalizer :name cl--generic-t-generalizer :priority 0 :tagcode-function #f(compiled-function (name &rest ) #<bytecode 0x1fd447805027>) :specializers-function #f(compiled-function (tag &rest _) #<bytecode 0x1fd447805017>)))) :method-table (#s(cl--generic-method :specializers ((head vc)) :qualifiers nil :uses-cnm nil :function #f(compiled-function (project) #<bytecode 0x158a712d38ed>)) #s(cl--generic-method :specializers ((head transient)) :qualifiers nil :uses-cnm nil :function #f(compiled-function (project) #<bytecode 0x158a712d3171>))) :options nil) (projectile . "/home/chenj/VirtualBoxShared/Nutstore/SOE_TVE/Git/"))

f(compiled-function (&rest args) #<bytecode 0x158a728a0321>)((projectile . "/home/chenj/VirtualBoxShared/Nutstore/SOE_TVE/Git/"))

apply(#f(compiled-function (&rest args) #<bytecode 0x158a728a0321>) (projectile . "/home/chenj/VirtualBoxShared/Nutstore/SOE_TVE/Git/") nil) project-roots((projectile . "/home/chenj/VirtualBoxShared/Nutstore/SOE_TVE/Git/")) ess-r--find-lintr-file() ess-r-setup-flymake() run-hooks(change-major-mode-after-body-hook ess-mode-hook) apply(run-hooks (change-major-mode-after-body-hook ess-mode-hook)) run-mode-hooks(ess-mode-hook) ess-mode(((inferior-ess-reload-function quote inferior-ess-reload:R) (ess-quit-function quote ess-quit:R) (ess-send-region-function quote ess-send-region:R) (ess-load-file-function quote ess-load-file:R) (ess-build-load-command-function quote ess-build-load-command:R) (ess-build-eval-command-function quote ess-build-eval-command:R) (ess-local-customize-alist quote ess-r-customize-alist) (ess-dialect . "R") (ess-suffix . "R") (ess-ac-sources . ess-r-ac-sources) (ess-company-backends . ess-r-company-backends) (ess-build-tags-command . ess-r-build-tags-command) (ess-traceback-command . ess-r-traceback-command) (ess-call-stack-command . ess-r-call-stack-command) (ess-mode-completion-syntax-table . ess-r-completion-syntax-table) (ess-build-eval-message-function function ess-r-build-eval-message) (ess-format-eval-command-function function ess-r-format-eval-command) (ess-format-load-command-function function ess-r-format-load-command) (ess-send-region-function function ess-r-send-region) (ess-load-file-function function ess-r-load-file) (ess-make-source-refd-command-function function ess-r-make-source-refd-command) (ess-format-eval-message-function function ess-r-format-eval-message) (ess-install-library-function function ess-r-install-library) (ess-eldoc-function function ess-r-eldoc-function) (ess-help-web-search-command function ess-r-sos) (ess-build-help-command-function function ess-r-build-help-command) (ess-dump-filename-template . ess-r-dump-filename-template) (ess-mode-editing-alist . ess-r-editing-alist) (ess-change-sp-regexp . ess-r-change-sp-regexp) (ess-help-sec-regex . ess-help-r-sec-regex) (ess-help-sec-keys-alist . ess-help-r-sec-keys-alist) (ess-function-pattern . ess-r-function-pattern) (ess-object-name-db-file . "ess-r-namedb.el") (ess-smart-operators . ess-r-smart-operators) (inferior-ess-program . inferior-ess-r-program) (inferior-ess-objects-command . inferior-ess-r-objects-command) (inferior-ess-search-list-command . "search()\n") (inferior-ess-help-command . inferior-ess-r-help-command) (inferior-ess-help-filetype) (inferior-ess-exit-command . "q()") (inferior-ess-exit-prompt . "Save workspace image? [y/n/c]: ") (inferior-ess-start-file) (inferior-ess-start-args . "") (inferior-ess-mode-syntax-table . inferior-ess-r-syntax-table) (ess-error-regexp-alist . ess-r-error-regexp-alist) (ess-describe-object-at-point-commands quote ess-r-describe-object-at-point-commands) (ess-STERM . "iESS") (ess-editor . ess-r-editor) (ess-pager . ess-r-pager) (ess-mode-syntax-table . ess-r-syntax-table) ...) nil) ess-r-mode(nil) funcall-interactively(ess-r-mode nil) call-interactively(ess-r-mode record nil) command-execute(ess-r-mode record) helm-M-x-execute-command(ess-r-mode) helm-execute-selection-action-1() helm-execute-selection-action() helm-internal((((name . "Emacs Commands history") (init #f(compiled-function () #<bytecode 0x158a71d15a89>)) (candidates . helm-candidates-in-buffer) (cleanup . helm-M-x--unwind-forms) (keymap keymap (keymap ...) keymap (29 . helm-M-x-toggle-short-doc) (21 . helm-M-x-universal-argument) keymap (27 keymap ...) (C-return . helm-cr-empty-string) keymap (C-iso-lefttab . helm-follow-action-backward) (tab . helm-execute-persistent-action) (17 . ace-jump-helm-line) (f12 . #f(compiled-function () ... #<bytecode 0x158a70bfd9ed>)) (f11 . #f(compiled-function () ... #<bytecode 0x158a70bfd9cd>)) (f10 . #f(compiled-function () ... #<bytecode 0x158a70bfd9ad>)) (f9 . #f(compiled-function () ... #<bytecode 0x158a70bfd98d>)) (f8 . #f(compiled-function () ... #<bytecode 0x158a70bfd96d>)) (f7 . #f(compiled-function () ... #<bytecode 0x158a70bfd94d>)) (f6 . #f(compiled-function () ... #<bytecode 0x158a70bfd92d>)) (f5 . #f(compiled-function () ... #<bytecode 0x158a70bfd915>)) (f4 . #f(compiled-function () ... #<bytecode 0x158a70bfd5dd>)) (f3 . #f(compiled-function () ... #<bytecode 0x158a70bfd5bd>)) (f2 . #f(compiled-function () ... #<bytecode 0x158a70bfd59d>)) (menu-bar keymap ...) (help keymap ...) (23 . helm-helm-yank-text-at-point-with-subkeys) (f1 . #f(compiled-function () ... #<bytecode 0x158a70bfd57d>)) (8) (20 . helm-toggle-resplit-and-swap-windows) (C-tab . helm-follow-action-forward) (67108897 . helm-toggle-suspend-update) ...) (action . helm-type-command-actions) (persistent-action . helm-M-x-persistent-action) (persistent-help . "Describe this command") (help-message . helm-M-x-help-message) (requires-pattern . 0) (filtered-candidate-transformer helm-M-x-transformer-no-sort #f(compiled-function (candidates source) #<bytecode 0x158a70b0b459>) helm-fuzzy-highlight-matches) (volatile . t) (match identity) (fuzzy-match . t) (redisplay . identity) (nomark . t) (coerce . helm-symbolify) (header-line . "C-j: Describe this command (keep...") (resume . helm-M-x-resume-fn) (multimatch . t) (must-match . t) (group . helm-command) (data . #f(compiled-function () #<bytecode 0x158a70298429>)) (get-line . buffer-substring-no-properties) (search helm-mm-exact-search helm-mm-search helm-candidates-in-buffer-search-default-fn helm-fuzzy-search)) ((name . "Emacs Commands") (init #f(compiled-function () #<bytecode 0x158a703a0d61>)) (candidates . helm-candidates-in-buffer) (cleanup . helm-M-x--unwind-forms) (keymap keymap (keymap ...) keymap (29 . helm-M-x-toggle-short-doc) (21 . helm-M-x-universal-argument) keymap (27 keymap ...) (C-return . helm-cr-empty-string) keymap (C-iso-lefttab . helm-follow-action-backward) (tab . helm-execute-persistent-action) (17 . ace-jump-helm-line) (f12 . #f(compiled-function () ... #<bytecode 0x158a70bfd9ed>)) (f11 . #f(compiled-function () ... #<bytecode 0x158a70bfd9cd>)) (f10 . #f(compiled-function () ... #<bytecode 0x158a70bfd9ad>)) (f9 . #f(compiled-function () ... #<bytecode 0x158a70bfd98d>)) (f8 . #f(compiled-function () ... #<bytecode 0x158a70bfd96d>)) (f7 . #f(compiled-function () ... #<bytecode 0x158a70bfd94d>)) (f6 . #f(compiled-function () ... #<bytecode 0x158a70bfd92d>)) (f5 . #f(compiled-function () ... #<bytecode 0x158a70bfd915>)) (f4 . #f(compiled-function () ... #<bytecode 0x158a70bfd5dd>)) (f3 . #f(compiled-function () ... #<bytecode 0x158a70bfd5bd>)) (f2 . #f(compiled-function () ... #<bytecode 0x158a70bfd59d>)) (menu-bar keymap ...) (help keymap ...) (23 . helm-helm-yank-text-at-point-with-subkeys) (f1 . #f(compiled-function () ... #<bytecode 0x158a70bfd57d>)) (8) (20 . helm-toggle-resplit-and-swap-windows) (C-tab . helm-follow-action-forward) (67108897 . helm-toggle-suspend-update) ...) (action . helm-type-command-actions) (persistent-action . helm-M-x-persistent-action) (persistent-help . "Describe this command") (help-message . helm-M-x-help-message) (requires-pattern . 0) (filtered-candidate-transformer helm-M-x-transformer-no-sort #f(compiled-function (candidates source) #<bytecode 0x158a70b0b459>) helm-fuzzy-highlight-matches) (volatile . t) (match identity) (fuzzy-match . t) (redisplay . identity) (nomark . t) (coerce . helm-symbolify) (header-line . "C-j: Describe this command (keep...") (resume . helm-M-x-resume-fn) (multimatch . t) (must-match . t) (group . helm-command) (data . #f(compiled-function () #<bytecode 0x158a71d15aa9>)) (get-line . buffer-substring-no-properties) (search helm-mm-exact-search helm-mm-search helm-candidates-in-buffer-search-default-fn helm-fuzzy-search))) nil "M-x " nil nil "helm M-x" nil nil helm-M-x-input-history) apply(helm-internal ((((name . "Emacs Commands history") (init #f(compiled-function () #<bytecode 0x158a71d15a89>)) (candidates . helm-candidates-in-buffer) (cleanup . helm-M-x--unwind-forms) (keymap keymap ... keymap ... ... keymap ... ... keymap ... ... ... ... ... ... ... ... ... ... ... ... ... ... ... ... ... ... ... ... ... ... ...) (action . helm-type-command-actions) (persistent-action . helm-M-x-persistent-action) (persistent-help . "Describe this command") (help-message . helm-M-x-help-message) (requires-pattern . 0) (filtered-candidate-transformer helm-M-x-transformer-no-sort #f(compiled-function (candidates source) #<bytecode 0x158a70b0b459>) helm-fuzzy-highlight-matches) (volatile . t) (match identity) (fuzzy-match . t) (redisplay . identity) (nomark . t) (coerce . helm-symbolify) (header-line . "C-j: Describe this command (keep...") (resume . helm-M-x-resume-fn) (multimatch . t) (must-match . t) (group . helm-command) (data . #f(compiled-function () #<bytecode 0x158a70298429>)) (get-line . buffer-substring-no-properties) (search helm-mm-exact-search helm-mm-search helm-candidates-in-buffer-search-default-fn helm-fuzzy-search)) ((name . "Emacs Commands") (init #f(compiled-function () #<bytecode 0x158a703a0d61>)) (candidates . helm-candidates-in-buffer) (cleanup . helm-M-x--unwind-forms) (keymap keymap ... keymap ... ... keymap ... ... keymap ... ... ... ... ... ... ... ... ... ... ... ... ... ... ... ... ... ... ... ... ... ... ...) (action . helm-type-command-actions) (persistent-action . helm-M-x-persistent-action) (persistent-help . "Describe this command") (help-message . helm-M-x-help-message) (requires-pattern . 0) (filtered-candidate-transformer helm-M-x-transformer-no-sort #f(compiled-function (candidates source) #<bytecode 0x158a70b0b459>) helm-fuzzy-highlight-matches) (volatile . t) (match identity) (fuzzy-match . t) (redisplay . identity) (nomark . t) (coerce . helm-symbolify) (header-line . "C-j: Describe this command (keep...") (resume . helm-M-x-resume-fn) (multimatch . t) (must-match . t) (group . helm-command) (data . #f(compiled-function () #<bytecode 0x158a71d15aa9>)) (get-line . buffer-substring-no-properties) (search helm-mm-exact-search helm-mm-search helm-candidates-in-buffer-search-default-fn helm-fuzzy-search))) nil "M-x " nil nil "helm M-x" nil nil helm-M-x-input-history)) helm((((name . "Emacs Commands history") (init #f(compiled-function () #<bytecode 0x158a71d15a89>)) (candidates . helm-candidates-in-buffer) (cleanup . helm-M-x--unwind-forms) (keymap keymap (keymap ...) keymap (29 . helm-M-x-toggle-short-doc) (21 . helm-M-x-universal-argument) keymap (27 keymap ...) (C-return . helm-cr-empty-string) keymap (C-iso-lefttab . helm-follow-action-backward) (tab . helm-execute-persistent-action) (17 . ace-jump-helm-line) (f12 . #f(compiled-function () ... #<bytecode 0x158a70bfd9ed>)) (f11 . #f(compiled-function () ... #<bytecode 0x158a70bfd9cd>)) (f10 . #f(compiled-function () ... #<bytecode 0x158a70bfd9ad>)) (f9 . #f(compiled-function () ... #<bytecode 0x158a70bfd98d>)) (f8 . #f(compiled-function () ... #<bytecode 0x158a70bfd96d>)) (f7 . #f(compiled-function () ... #<bytecode 0x158a70bfd94d>)) (f6 . #f(compiled-function () ... #<bytecode 0x158a70bfd92d>)) (f5 . #f(compiled-function () ... #<bytecode 0x158a70bfd915>)) (f4 . #f(compiled-function () ... #<bytecode 0x158a70bfd5dd>)) (f3 . #f(compiled-function () ... #<bytecode 0x158a70bfd5bd>)) (f2 . #f(compiled-function () ... #<bytecode 0x158a70bfd59d>)) (menu-bar keymap ...) (help keymap ...) (23 . helm-helm-yank-text-at-point-with-subkeys) (f1 . #f(compiled-function () ... #<bytecode 0x158a70bfd57d>)) (8) (20 . helm-toggle-resplit-and-swap-windows) (C-tab . helm-follow-action-forward) (67108897 . helm-toggle-suspend-update) ...) (action . helm-type-command-actions) (persistent-action . helm-M-x-persistent-action) (persistent-help . "Describe this command") (help-message . helm-M-x-help-message) (requires-pattern . 0) (filtered-candidate-transformer helm-M-x-transformer-no-sort #f(compiled-function (candidates source) #<bytecode 0x158a70b0b459>) helm-fuzzy-highlight-matches) (volatile . t) (match identity) (fuzzy-match . t) (redisplay . identity) (nomark . t) (coerce . helm-symbolify) (header-line . "C-j: Describe this command (keep...") (resume . helm-M-x-resume-fn) (multimatch . t) (must-match . t) (group . helm-command) (data . #f(compiled-function () #<bytecode 0x158a70298429>)) (get-line . buffer-substring-no-properties) (search helm-mm-exact-search helm-mm-search helm-candidates-in-buffer-search-default-fn helm-fuzzy-search)) ((name . "Emacs Commands") (init #f(compiled-function () #<bytecode 0x158a703a0d61>)) (candidates . helm-candidates-in-buffer) (cleanup . helm-M-x--unwind-forms) (keymap keymap (keymap ...) keymap (29 . helm-M-x-toggle-short-doc) (21 . helm-M-x-universal-argument) keymap (27 keymap ...) (C-return . helm-cr-empty-string) keymap (C-iso-lefttab . helm-follow-action-backward) (tab . helm-execute-persistent-action) (17 . ace-jump-helm-line) (f12 . #f(compiled-function () ... #<bytecode 0x158a70bfd9ed>)) (f11 . #f(compiled-function () ... #<bytecode 0x158a70bfd9cd>)) (f10 . #f(compiled-function () ... #<bytecode 0x158a70bfd9ad>)) (f9 . #f(compiled-function () ... #<bytecode 0x158a70bfd98d>)) (f8 . #f(compiled-function () ... #<bytecode 0x158a70bfd96d>)) (f7 . #f(compiled-function () ... #<bytecode 0x158a70bfd94d>)) (f6 . #f(compiled-function () ... #<bytecode 0x158a70bfd92d>)) (f5 . #f(compiled-function () ... #<bytecode 0x158a70bfd915>)) (f4 . #f(compiled-function () ... #<bytecode 0x158a70bfd5dd>)) (f3 . #f(compiled-function () ... #<bytecode 0x158a70bfd5bd>)) (f2 . #f(compiled-function () ... #<bytecode 0x158a70bfd59d>)) (menu-bar keymap ...) (help keymap ...) (23 . helm-helm-yank-text-at-point-with-subkeys) (f1 . #f(compiled-function () ... #<bytecode 0x158a70bfd57d>)) (8) (20 . helm-toggle-resplit-and-swap-windows) (C-tab . helm-follow-action-forward) (67108897 . helm-toggle-suspend-update) ...) (action . helm-type-command-actions) (persistent-action . helm-M-x-persistent-action) (persistent-help . "Describe this command") (help-message . helm-M-x-help-message) (requires-pattern . 0) (filtered-candidate-transformer helm-M-x-transformer-no-sort #f(compiled-function (candidates source) #<bytecode 0x158a70b0b459>) helm-fuzzy-highlight-matches) (volatile . t) (match identity) (fuzzy-match . t) (redisplay . identity) (nomark . t) (coerce . helm-symbolify) (header-line . "C-j: Describe this command (keep...") (resume . helm-M-x-resume-fn) (multimatch . t) (must-match . t) (group . helm-command) (data . #f(compiled-function () #<bytecode 0x158a71d15aa9>)) (get-line . buffer-substring-no-properties) (search helm-mm-exact-search helm-mm-search helm-candidates-in-buffer-search-default-fn helm-fuzzy-search))) nil "M-x " nil nil "helm M-x" nil nil helm-M-x-input-history) apply(helm ((((name . "Emacs Commands history") (init #f(compiled-function () #<bytecode 0x158a71d15a89>)) (candidates . helm-candidates-in-buffer) (cleanup . helm-M-x--unwind-forms) (keymap keymap ... keymap ... ... keymap ... ... keymap ... ... ... ... ... ... ... ... ... ... ... ... ... ... ... ... ... ... ... ... ... ... ...) (action . helm-type-command-actions) (persistent-action . helm-M-x-persistent-action) (persistent-help . "Describe this command") (help-message . helm-M-x-help-message) (requires-pattern . 0) (filtered-candidate-transformer helm-M-x-transformer-no-sort #f(compiled-function (candidates source) #<bytecode 0x158a70b0b459>) helm-fuzzy-highlight-matches) (volatile . t) (match identity) (fuzzy-match . t) (redisplay . identity) (nomark . t) (coerce . helm-symbolify) (header-line . "C-j: Describe this command (keep...") (resume . helm-M-x-resume-fn) (multimatch . t) (must-match . t) (group . helm-command) (data . #f(compiled-function () #<bytecode 0x158a70298429>)) (get-line . buffer-substring-no-properties) (search helm-mm-exact-search helm-mm-search helm-candidates-in-buffer-search-default-fn helm-fuzzy-search)) ((name . "Emacs Commands") (init #f(compiled-function () #<bytecode 0x158a703a0d61>)) (candidates . helm-candidates-in-buffer) (cleanup . helm-M-x--unwind-forms) (keymap keymap ... keymap ... ... keymap ... ... keymap ... ... ... ... ... ... ... ... ... ... ... ... ... ... ... ... ... ... ... ... ... ... ...) (action . helm-type-command-actions) (persistent-action . helm-M-x-persistent-action) (persistent-help . "Describe this command") (help-message . helm-M-x-help-message) (requires-pattern . 0) (filtered-candidate-transformer helm-M-x-transformer-no-sort #f(compiled-function (candidates source) #<bytecode 0x158a70b0b459>) helm-fuzzy-highlight-matches) (volatile . t) (match identity) (fuzzy-match . t) (redisplay . identity) (nomark . t) (coerce . helm-symbolify) (header-line . "C-j: Describe this command (keep...") (resume . helm-M-x-resume-fn) (multimatch . t) (must-match . t) (group . helm-command) (data . #f(compiled-function () #<bytecode 0x158a71d15aa9>)) (get-line . buffer-substring-no-properties) (search helm-mm-exact-search helm-mm-search helm-candidates-in-buffer-search-default-fn helm-fuzzy-search))) nil "M-x " nil nil "helm M-x" nil nil helm-M-x-input-history)) helm(:sources (((name . "Emacs Commands history") (init #f(compiled-function () #<bytecode 0x158a71d15a89>)) (candidates . helm-candidates-in-buffer) (cleanup . helm-M-x--unwind-forms) (keymap keymap (keymap ...) keymap (29 . helm-M-x-toggle-short-doc) (21 . helm-M-x-universal-argument) keymap (27 keymap ...) (C-return . helm-cr-empty-string) keymap (C-iso-lefttab . helm-follow-action-backward) (tab . helm-execute-persistent-action) (17 . ace-jump-helm-line) (f12 . #f(compiled-function () ... #<bytecode 0x158a70bfd9ed>)) (f11 . #f(compiled-function () ... #<bytecode 0x158a70bfd9cd>)) (f10 . #f(compiled-function () ... #<bytecode 0x158a70bfd9ad>)) (f9 . #f(compiled-function () ... #<bytecode 0x158a70bfd98d>)) (f8 . #f(compiled-function () ... #<bytecode 0x158a70bfd96d>)) (f7 . #f(compiled-function () ... #<bytecode 0x158a70bfd94d>)) (f6 . #f(compiled-function () ... #<bytecode 0x158a70bfd92d>)) (f5 . #f(compiled-function () ... #<bytecode 0x158a70bfd915>)) (f4 . #f(compiled-function () ... #<bytecode 0x158a70bfd5dd>)) (f3 . #f(compiled-function () ... #<bytecode 0x158a70bfd5bd>)) (f2 . #f(compiled-function () ... #<bytecode 0x158a70bfd59d>)) (menu-bar keymap ...) (help keymap ...) (23 . helm-helm-yank-text-at-point-with-subkeys) (f1 . #f(compiled-function () ... #<bytecode 0x158a70bfd57d>)) (8) (20 . helm-toggle-resplit-and-swap-windows) (C-tab . helm-follow-action-forward) (67108897 . helm-toggle-suspend-update) ...) (action . helm-type-command-actions) (persistent-action . helm-M-x-persistent-action) (persistent-help . "Describe this command") (help-message . helm-M-x-help-message) (requires-pattern . 0) (filtered-candidate-transformer helm-M-x-transformer-no-sort #f(compiled-function (candidates source) #<bytecode 0x158a70b0b459>) helm-fuzzy-highlight-matches) (volatile . t) (match identity) (fuzzy-match . t) (redisplay . identity) (nomark . t) (coerce . helm-symbolify) (header-line . "C-j: Describe this command (keep...") (resume . helm-M-x-resume-fn) (multimatch . t) (must-match . t) (group . helm-command) (data . #f(compiled-function () #<bytecode 0x158a70298429>)) (get-line . buffer-substring-no-properties) (search helm-mm-exact-search helm-mm-search helm-candidates-in-buffer-search-default-fn helm-fuzzy-search)) ((name . "Emacs Commands") (init #f(compiled-function () #<bytecode 0x158a703a0d61>)) (candidates . helm-candidates-in-buffer) (cleanup . helm-M-x--unwind-forms) (keymap keymap (keymap ...) keymap (29 . helm-M-x-toggle-short-doc) (21 . helm-M-x-universal-argument) keymap (27 keymap ...) (C-return . helm-cr-empty-string) keymap (C-iso-lefttab . helm-follow-action-backward) (tab . helm-execute-persistent-action) (17 . ace-jump-helm-line) (f12 . #f(compiled-function () ... #<bytecode 0x158a70bfd9ed>)) (f11 . #f(compiled-function () ... #<bytecode 0x158a70bfd9cd>)) (f10 . #f(compiled-function () ... #<bytecode 0x158a70bfd9ad>)) (f9 . #f(compiled-function () ... #<bytecode 0x158a70bfd98d>)) (f8 . #f(compiled-function () ... #<bytecode 0x158a70bfd96d>)) (f7 . #f(compiled-function () ... #<bytecode 0x158a70bfd94d>)) (f6 . #f(compiled-function () ... #<bytecode 0x158a70bfd92d>)) (f5 . #f(compiled-function () ... #<bytecode 0x158a70bfd915>)) (f4 . #f(compiled-function () ... #<bytecode 0x158a70bfd5dd>)) (f3 . #f(compiled-function () ... #<bytecode 0x158a70bfd5bd>)) (f2 . #f(compiled-function () ... #<bytecode 0x158a70bfd59d>)) (menu-bar keymap ...) (help keymap ...) (23 . helm-helm-yank-text-at-point-with-subkeys) (f1 . #f(compiled-function () ... #<bytecode 0x158a70bfd57d>)) (8) (20 . helm-toggle-resplit-and-swap-windows) (C-tab . helm-follow-action-forward) (67108897 . helm-toggle-suspend-update) ...) (action . helm-type-command-actions) (persistent-action . helm-M-x-persistent-action) (persistent-help . "Describe this command") (help-message . helm-M-x-help-message) (requires-pattern . 0) (filtered-candidate-transformer helm-M-x-transformer-no-sort #f(compiled-function (candidates source) #<bytecode 0x158a70b0b459>) helm-fuzzy-highlight-matches) (volatile . t) (match identity) (fuzzy-match . t) (redisplay . identity) (nomark . t) (coerce . helm-symbolify) (header-line . "C-j: Describe this command (keep...") (resume . helm-M-x-resume-fn) (multimatch . t) (must-match . t) (group . helm-command) (data . #f(compiled-function () #<bytecode 0x158a71d15aa9>)) (get-line . buffer-substring-no-properties) (search helm-mm-exact-search helm-mm-search helm-candidates-in-buffer-search-default-fn helm-fuzzy-search))) :prompt "M-x " :buffer "helm M-x" :history helm-M-x-input-history :truncate-lines t) helm-M-x-read-extended-command([icomplete-fido-delete-char js-jsx-regexps ansi-color-apply-overlay-face sphinx-doc-split-args locals copy-epl-upgrade package-lint--sane-prefixes undo-tree-id810 ruby-block-indent edebug-trace help-xref-man-regexp ispell-menu-map-needed octave-close-block gnus-sync eglot--dbind gnus-info-set-score pixel-scroll-precision-interpolation-total-time tramp-do-copy-or-rename-file-out-of-band viper-deactivate-input-method-action vc-src-log-switches js--expression-in-sgml-indent-line erc-auth-source-join-function cconv-make-interpreted-closure delphi-column-of xwidget-webkit-isearch-mode-hook bindings--sort-menu-keymap epc:net-have-input-p edebug-clear-frequency-count c-standard-font-lock-fontify-region-function undo-tree-id826 newsticker-get-news-at-point ada-for-loop-prompt-variable gnus-search-mu-switches ansi-osc-apply-on-region comp-func-l-has-non-local--cmacro org--plot/radar-ticks Edebug\ All\ Defs org-duration-format epl-installed-packages \' undo-tree-id831 eudc-macos-contacts--unsearchable-attributes undo-tree-id833 emacs-authors-mode-abbrev-table sessions sgml-tag-name--cmacro todo-categories-mode copy-erc-networks--id pkg-info--read-function tramp-gw-open-connection ...]) helm-M-x(nil) funcall-interactively(helm-M-x nil) call-interactively(helm-M-x) (let ((completion-styles completion-styles)) (add-to-list 'completion-styles 'flex t) (call-interactively 'helm-M-x)) spacemacs/helm-M-x-fuzzy-matching() funcall-interactively(spacemacs/helm-M-x-fuzzy-matching) call-interactively(spacemacs/helm-M-x-fuzzy-matching nil nil) command-execute(spacemacs/helm-M-x-fuzzy-matching) `

Are you referring to the package org-projectile?

In .spacemacs, I use dotspacemacs-excluded-packages '(org-projectile) because if I don't exclude the org-projectile package, I receive these two error messages.

(Spacemacs) Error: An error occurred while installing org-projectile (error: (error Package ‘emacs-28’ is unavailable))

Error (use-package): org-projectile/:init: Cannot open load file: No such file or directory, org-projectile

alexey0308 commented 5 months ago

regarding the "emacs-28" error you can take a look here, it is about the emacs version - if you can, you can try to update to 28 or newer, the current version of emacs is 29, so some of the problems might resolve themselves.

jia-j-chen commented 5 months ago

regarding the "emacs-28" error you can take a look here, it is about the emacs version - if you can, you can try to update to 28 or newer, the current version of emacs is 29, so some of the problems might resolve themselves.

I upgrade emacs to 28.1, the error messages all disappear. Thanks!