Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

neotree misbehave after invoking `evil-move-window-far-right/left' #6261

Closed
autosquid opened this issue Jun 8, 2016 · 3 comments
Closed
Labels

Comments

@autosquid
Copy link
Contributor

The neotree buffer stays, but its width changes, and key-bindings not working (I suspect it is no longer a vaid neotree). -- for example, press g r to refresh, a new frame is opened.

@bmag
Copy link
Contributor

bmag commented Jun 8, 2016

Can you explain in a bit more detail what's happening? I'm experiencing something a bit different:

Steps:

  • start with a frame containing a single window, showing some file
  • SPC f t to open neotree. there are now 2 windows: neotree on the left, original file on the right
  • SPC w L (`evil-window-move-far-right) to move neotree to the far right

Observed behavior:

The other window is deleted, neotree's window occupies the whole frame. There's an error message:

Window #<window 551 on NeoTree> too small for splitting 2

Pressing g r doesn't appear to do anything (there's probably nothing to refresh), other neotree key-bindings work as expected.

System Info 💻

  • OS: gnu/linux
  • Emacs: 24.5.1
  • Spacemacs: 0.105.20
  • Spacemacs branch: develop (rev. 06a7731)
  • Graphic display: t
  • Distribution: spacemacs
  • Editing style: hybrid
  • Completion: ivy
  • Layers:
(ivy
 (auto-completion :variables auto-completion-complete-with-key-sequence "jk" auto-completion-complete-with-key-sequence-delay 0.5 auto-completion-enable-snippets-in-popup nil auto-completion-enable-help-tooltip t company-tooltip-align-annotations t)
 emacs-lisp
 (git :variables git-magit-status-fullscreen t)
 markdown org
 (shell :variables shell-default-shell 'shell shell-default-height 30 shell-default-position 'bottom)
 syntax-checking version-control
 (latex :variables latex-enable-auto-fill t latex-enable-folding t)
 pdf-tools evil-cleverparens python command-log smex themes-megapack c-c++
 (clojure :variables clojure-enable-fancify-symbols nil)
 ruby common-lisp ibuffer octave imenu-list window-purpose nameless)

@bmag
Copy link
Contributor

bmag commented Jun 8, 2016

Neotree sets its window to have a fixed size, which throws an error when evil-window-move-far-right calls split-window-horizontally.

@github-actions
Copy link

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 github-actions bot added the stale marked as a stale issue/pr (usually by a bot) label Feb 29, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

3 participants