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

(pop-to-buffer (current-buffer)) displays buffer in the same window instead of another window #98

Open
bmag opened this issue Aug 25, 2016 · 0 comments
Milestone

Comments

@bmag
Copy link
Owner

bmag commented Aug 25, 2016

This value for prefer-other-window doesn't prefer another window when showing a buffer with the same purpose as the selected window. Perhaps I need purpose-display-reuse-window-buffer-other-window and purpose-display-reuse-window-purpose-other-window functions, like those prefer-other-frame uses.

(defvar purpose-action-sequences
  ;; ...
  (prefer-other-window . (purpose-display-reuse-window-buffer
                          purpose-display-reuse-window-purpose
                          purpose-display-maybe-other-window
                          purpose-display-maybe-pop-up-window
                          purpose-display-maybe-other-frame
                          purpose-display-maybe-pop-up-frame
                          purpose-display-maybe-same-window))
  ;; ...
  )
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

1 participant