Alexander-Miller / treemacs

GNU General Public License v3.0
2.05k stars 151 forks source link

Adding projects does not work with project.el #1087

Open gbThreepwood opened 5 months ago

gbThreepwood commented 5 months ago

When using project.el as opposed to projectile, adding new projects does not work. I get the following backtrace:

Debugger entered--Lisp error: (wrong-type-argument arrayp nil)
  treemacs-add-project-to-workspace("/home/eirik/git/latex/emacs_testing/")
  funcall-interactively(treemacs-add-project-to-workspace "/home/eirik/git/latex/emacs_testing/")
  call-interactively(treemacs-add-project-to-workspace nil nil)
  command-execute(treemacs-add-project-to-workspace)

Installed treemacs version has the following git hash: 529876dcc0d2c30667f1697c4eb7a5f137da4c3e

The following question could be related: https://emacs.stackexchange.com/questions/71465/wrong-type-argument-adding-projects-to-treemacs

stale[bot] commented 3 months ago

This issue has been automatically marked as stale because it has not had recent activity (this bot only works as a reminder, it will not close issues).

Alexander-Miller commented 3 months ago

I only use project.el myself and have no such problems - how do you know it's related? I don't think interactively adding projects even looks at your project implementation.

The error you see likely indicates that there is something wrong with treemacs' internal state. Do you see the same problem when you kill the treemacs buffer with Q and then re-open it?

stale[bot] commented 1 month ago

This issue has been automatically marked as stale because it has not had recent activity (this bot only works as a reminder, it will not close issues).