Alexander-Miller / treemacs

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

treemacs-tab-bar: Error running timer `treemacs--follow': (wrong-type-argument arrayp nil) #1030

Open cmccloud opened 1 year ago

cmccloud commented 1 year ago

Loading treemacs-tab-bar and then setting the scope to 'Tabs results in the following error message on switching to any file-buffer not within the current treemacs project:

Error running timer treemacs--follow: (wrong-type-argument arrayp nil)

Steps to recreate (assuming treemacs and treemacs-tab-bar are both installed packages)

  1. emacs -Q
  2. M-x package-initialize
  3. M-x tab-bar-mode
  4. M-: (require 'treemacs-tab-bar)
  5. M-: (treemacs-set-scope-type 'Tabs)
  6. C-x C-f file of choice (i used ~/.emacs.d/init.el)
  7. M-x treemacs (The treemacs side widow appears with focus on init.el)
  8. C-x o (switch focus back to init.el buffer)
  9. C-x C-f file of choice outside of treemacs project (I used ~/Documents/Repos/emacs/README)

The error now appears in the echo area. I don't see this behavior with the treemacs-scope set to Frame so I assume it has something to do with treemacs-tab-bar.

Let me know if you have any ideas.

GNU Emacs 30.0.50 (build 1, x86_64-pc-linux-gnu, GTK+ Version 3.24.33, cairo version 1.16.0) of 2023-04-13

stale[bot] commented 1 year ago

This issue has been automatically marked as stale because it has not had recent activity.