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-read breaks perspective-mode, and nearly everything else #84

Closed
zenspider opened this issue May 6, 2019 · 5 comments
Closed

Comments

@zenspider
Copy link
Collaborator

After attempting to run desktop-read, with nothing terribly complicated in it, all interactions with perspective, or switch-to-buffer, or debugger-on-error fail out. The fact that I can't bring up the debugger at all is the sticking point for me. I can't even provide you with any other info but this:

*Messages* buffer:

Debug on Error enabled globally
ad-handle-definition: ‘imenu’ got redefined
Starting new Ispell process /usr/local/bin/aspell with english dictionary...
Desktop: File "/Users/ryan/Work/git/chef/inspec/results/test.unit.resources.http.test.rb.log" no longer exists.
Desktop: Directory /Users/ryan/Work/git/chef/inspec/results/ no longer exists.
Wrote /Users/ryan/.emacs.d/.emacs.desktop.lock
Desktop: 1 frame, 13 buffers restored, 2 failed to restore.
Entering debugger...
xding
ad-Advice-recursive-edit: Wrong type argument: hash-table-p, "Unprintable entity"
Entering debugger...
xding
ad-Advice-recursive-edit: Wrong type argument: hash-table-p, "Unprintable entity"
Mark set

Those last two errors are me trying to use perspective-switch and switch-to-buffer I believe.

@gcv
Copy link
Collaborator

gcv commented May 13, 2019

@zenspider: Not sure what's going on with your problem there, but don't waste your time trying to use desktop-save-mode with perspective-el. I have a PR for perspective-el which adds comparable save-restore functionality: #80, please test it!

@azzamsa
Copy link

azzamsa commented Sep 7, 2019

I also tried desktop-mode but no luck, @gcv know what happened? why?

@gcv
Copy link
Collaborator

gcv commented Sep 7, 2019

The Wrong type argument: hash-table-p error might have occurred because a frame was not properly initialized for perspective-el. In any case, desktop-mode is not supported with perspective. That might change in the future, but in the meanwhile, persp-state-save and persp-state-load from #80. We'll merge that in soon(ish).

@azzamsa
Copy link

azzamsa commented Sep 7, 2019

Thanks. Hope that will be merged soon.

@zenspider
Copy link
Collaborator Author

I can't reproduce this anymore. I think we've covered our bases. Otherwise, maybe we can get more info if we can reproduce it later. Closing.

haplo added a commit to haplo/dotemacs that referenced this issue Jan 30, 2024
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

3 participants