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

desktop-save-mode and neotree crashing layout #256

Open
robgev opened this issue Jun 12, 2017 · 0 comments
Open

desktop-save-mode and neotree crashing layout #256

robgev opened this issue Jun 12, 2017 · 0 comments

Comments

@robgev
Copy link

robgev commented Jun 12, 2017

So I am trying to open neotree automatically and I encountered the following error.

I have this for automatically toggling neotree

(add-hook 'after-init-hook #'neotree-toggle)

After putting this in my init file and opening emacs (emacs &) I get this error.

Error (frameset): Window is dedicated to *NeoTree*

As --debug-init is not working (this is warning not an error, I guess, as it appears in Warnings buffer) I tried to debug myself. After an hour of searching I found that commenting out the following line.

'(desktop-save-mode t)
solves the problem.

However I want the desktop to be saved.
Anyone aware of this?

Additional info:

  1. I guess problem is that buffers are trying to open on top of neotree's dedicated buffer.
  2. I tried to get error without loading init.el(emacs -Q) And I was able to initiate the same error.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant