Closed tshu-w closed 3 years ago
and also company-box
which uses frames to show candidates.
May be this will help:
(with-eval-after-load "persp-mode"
(add-hook
'after-make-frame-functions
#'(lambda (f)
(when (and (boundp 'posframe--frame)
(eq f posframe--frame))
(set-frame-parameter f 'persp-ignore-wconf t)))))
Or with latest persp-mode:
(add-hook
'persp-restore-window-conf-filter-functions
#'(lambda (f p new-f-p)
(with-selected-frame f
(or (eq f posframe--frame) (window-dedicated-p)))))
Sorry, I will try in my free time, perhaps next February 😹️
Or with latest persp-mode:
(add-hook 'persp-restore-window-conf-filter-functions #'(lambda (f p new-f-p) (with-selected-frame f (or (eq f posframe--frame) (window-dedicated-p)))))
Had the same issue here, solved by using the second snippet suggested. Thanks!
Since @linbinchen has tried it for me, I will close this issue.
Reproduction guide
actiavate
persp-mode
and usepersp-load-state-for-file
to load last state, runM-x
and ivy-posframe is broken.if I run
(posframe-delete-all)
, everything works fine, It seems there perp-modepersp-load-state-for-file
broke posframe.ivy-posframe
configSystem Info :computer: