-
Notifications
You must be signed in to change notification settings - Fork 23
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
Move from display-buffer-overriding-action to display-buffer-base-action #82
Comments
Another pro: the docstring of |
I just had a first pass of implementing the ideas in this ticket. As a minimal change, simply swapping
Yes, but clean up can be done separately.
Good old
All minor details as a consequence of the clean up effort. It can be done separately and I'm sure there are ways to minimize the impact.
TBH, we should just remove this integration. The popwin extension works perfectly fine. Anything else that doesn't work with it can easily be done by modifying
While I'm not sure what this is referring to, I'm sure |
problem: trying to open a magit buffer after reloading the configuration: `SPC f e R` shows the message: >Lisp nesting exceeds ‘max-lisp-eval-depth’ cause: purpose-x-magit-multi-on can't be called twice, without turning it off first: purpose-x-magit-off Spacemacs, purpose-x-magit-multi-on, Lisp nesting exceeds ‘max-lisp-eval-depth’ bmag/emacs-purpose#178 solution: in this case we'll only call: purpose-x-magit-multi-on once per Emacs session. notes: this also removes the call to: with-eval-after-load 'magit because it's handled upstream: https://github.com/bmag/emacs-purpose/blob/c85dd3c9f70cd593d6bc79c40855a240e55b2575/window-purpose-x.el#L243
I actually started implementing some of it in There will also be a PR for moving to I think we can get rid of
IIRC the integration prevents popwin from deleting the
I'd like to rely on it and remove the advice, but I'd also like to support Emacs 26. The issue with advising |
Currently Purpose uses
display-buffer-overriding-action
to plug intodisplay-buffer
, but that makes it harder to usedisplay-buffer-alist
for customizing display rules. We might get better results by usingdisplay-buffer-base-action
.Pros:
display-buffer-alist
. We can get rid ofpurpose-special-action-sequences
andpurpose-action-function-ignore-buffer-names
.purpose--action-function
, as it won't need to re-implement parts ofdisplay-buffer
.Cons:
purpose-display-buffer-functions
afterdisplay-buffer
displays a buffer. To be fair, current situation isn't ideal either.switch-to-buffer
advice falls back to correctswitch-to-buffer
behavior whenpurpose-mode
is disabled?The text was updated successfully, but these errors were encountered: