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
New terminal frame flashes other frame's buffer before opening specified buffer #64
Comments
This happens because there is no way(or I don't know any) to distinguish the creation of a frame with a file argument and without a file argument. |
Which window configuration is it restoring? Can I configure persp-mode to not restore configurations for anything but my first frame? To be honest, I don't really understand what persp-mode is doing, I have auto resume layouts turned off, so it doesn't actually resume layouts when I start emacs, so I'm not sure what/why it is restoring anything in a new frame. |
Yes, I believe you can. See
Then why don't you just (remove-hook 'find-file-hook #'persp-add-or-not-on-find-file)
(remove-hook 'kill-buffer-query-functions #'persp-kill-buffer-query-function)
(remove-hook 'kill-buffer-hook #'persp-kill-buffer-h)
(remove-hook 'before-make-frame-hook #'persp-before-make-frame)
(remove-hook 'after-make-frame-functions #'persp-init-new-frame)
(remove-hook 'delete-frame-functions #'persp-delete-frame)
(remove-hook 'kill-emacs-query-functions #'persp-kill-emacs-query-function)
(remove-hook 'kill-emacs-hook #'persp-kill-emacs-h)
(remove-hook 'server-switch-hook #'persp-server-switch)
(remove-hook 'after-change-major-mode-hook #'persp-after-change-major-mode-h) |
Ok, I'll take a look at those variables, thank you. I use spacemacs, which uses persp-mode to manage its layouts, which I do use (and appreciate) extensively. |
May be this is related #36 |
Awesome, thanks, |
When using emacs in client/server mode, if I have one client frame with a single window visiting file
A
, when I runemacsclient --tty B
from the terminal, a new frame will open, I will briefly seeA
flash in emacs before it loadsB
.The text was updated successfully, but these errors were encountered: