Alexander-Miller / treemacs

GNU General Public License v3.0
2.08k stars 152 forks source link

`treemacs-project-follow-mode` not working #889

Closed franarbanas closed 2 years ago

franarbanas commented 2 years ago

Hi,

I have a problem with the treemacs-project-follow-mode. When I fetch the treemacs package with straight I get the following warnings.

Warning (comp): treemacs-project-follow-mode.el:31:3: Warning: reference to free variable ‘treemacs-display-current-project-exclusively’ Disable showing Disable logging
Warning (comp): treemacs-project-follow-mode.el:62:15: Warning: the function ‘treemacs-return-if’ is not known to be defined. Disable showing Disable logging
Warning (comp): treemacs-project-follow-mode.el:44:8: Warning: the function ‘treemacs-block’ is not known to be defined. Disable showing Disable logging
Warning (comp): treemacs-project-follow-mode.el:42:4: Warning: the function ‘treemacs-debounce’ is not known to be defined. Disable showing Disable logging
Warning (comp): treemacs-project-follow-mode.el:30:2: Warning: the function ‘treemacs-import-functions-from’ is not known to be defined. Disable showing Disable logging

When I run M-x treemacs-project-follow-mode I get the following error: Symbol's value as variable is void: treemacs-display-current-project-exclusively

My Emacs version is 28.0 so it should not be due to the Emacs version.

Could you help me please?

Alexander-Miller commented 2 years ago

When I fetch the treemacs package with straight I get the following warnings.

Those are fixed now.

Symbol's value as variable is void: treemacs-display-current-project-exclusively

Probably a follow-up issue from the missing import that caused the warnings. Update treemacs and try again (and make sure to restart Emacs when you do).

franarbanas commented 2 years ago

Works perfectly now, thank you!