spacemacs icon indicating copy to clipboard operation
spacemacs copied to clipboard

Treemacs doesn't honor current working directory with `M-m 0`

Open tidux opened this issue 3 years ago • 1 comments

Description :octocat:

Treemacs doesn't honor current working directory with M-m 0

Reproduction guide :beetle:

  • Start Emacs
  • Open a file
  • SPC-0
  • open new window in different buffer outside of previous directory hierarchy
  • M-m 0

Observed behaviour: :eyes: :broken_heart: Treemacs opens the buffer at the old location.

Expected behaviour: :heart: :smile: Treemacs opens the buffer at the new location.

System Info :computer:

  • OS: darwin
  • Emacs: 28.1
  • Spacemacs: 0.999.0
  • Spacemacs branch: develop (rev. 6f5de5cc4)
  • Graphic display: t
  • Distribution: spacemacs
  • Editing style: vim
  • Completion: helm
  • Layers:
(auto-completion docker emacs-lisp epub eww git helm kubernetes
                 (lsp :variables lsp-rust-server 'rust-analyzer)
                 markdown multiple-cursors org
                 (python :variables python-formatter 'black python-format-on-save t)
                 rust
                 (shell :variables shell-default-height 30 shell-default-position 'bottom)
                 spell-checking syntax-checking themes-megapack
                 (treemacs :variables treemacs-use-scope-type 'Perspectives)
                 version-control)
  • System configuration features: ACL GMP GNUTLS JSON LIBXML2 MODULES NOTIFY KQUEUE NS PDUMPER THREADS TOOLKIT_SCROLL_BARS ZLIB

Backtrace :paw_prints:

tidux avatar May 17 '22 23:05 tidux

My reading of treemacs documentation indicates that "honoring current directory" is not how it is supposed to work. Perhaps you could try M-x treemacs-add-and-display-current-project.

emacs18 avatar Jun 06 '22 21:06 emacs18

This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. Please let us know if this issue is still valid!

github-actions[bot] avatar Jun 06 '23 22:06 github-actions[bot]