Closed marcsaegesser closed 3 years ago
I just added (autoload 'treemacs-define-doubleclick-action "treemacs-mouse-interface" nil nil)
to my init.el
and it solved it as well, as far as I understand.
I went for this because :
@gagbo Thanks for that. Now I've learned something new today!
Looks like it should be reported to treemacs. We don't use this function directly, so probably treemacs-extensions
should require treemacs-mouse-interface
.
treemacs-extensions should require treemacs-mouse-interface.
That's been pushed now.
Things seem good now. Thank you, all.
It looks like this issue is back
It shouldn't be the case. The root cause of this issue was a missing autoload cookie, and it’s been fixed in treemacs 3 years ago
Looks like Alexander-Miller/treemacs@2f77c9828116767f1be5cfdd3f82d2bed7ceea93 has broken it again, tho only during native compilation
So anyway, treemacs has a new feature that lets you define double-click actions for your extensions now :neutral_face:.
Describe the bug After updating to the latest versions of package I get the following error when I start Emacs or try to open a Scala project. Symbol’s function definition is void: treemacs-define-doubleclick-action
I think the problem was caused by a recent change to treemacs. As a hack I added
(require 'treemacs-mouse-interface)
to lsp-metals-treeview.el and the problem went away.To Reproduce Use the most recent packages from elpa and start emacs.
Expected behavior Start without errors.