Comments (2)
I narrowed this down to my local layer config, will bisect some more.
from spacemacs.
It turns out the offending parts were these, based on https://www.masteringemacs.org/article/demystifying-emacs-window-manager#example-2-reusing-windows. Might well be an oversight on my part. I did not dissect it further, just wanted to have it here for reference if others stumble in a similar way.
(setq switch-to-buffer-obey-display-actions t)
(add-to-list 'display-buffer-alist
`(,(rx (| "*xref*"
"*grep*"
"*Occur*"
(and "*deadgrep" (* not-newline) "*")))
display-buffer-reuse-window
(inhibit-same-window . nil)))
(add-to-list 'display-buffer-alist
'(,(rx (and "*deadgrep" (* not-newline) "*"))
display-buffer-reuse-mode-window
;; change to `t' to not reuse same window
(inhibit-same-window . nil)
(mode deadgrep-mode)))
(defun make-display-buffer-matcher-function (major-modes)
(lambda (buffer-name action)
(with-current-buffer buffer-name (apply #'derived-mode-p major-modes))))
(add-to-list 'display-buffer-alist
`(,(make-display-buffer-matcher-function '(deadgrep-mode))
(display-buffer-reuse-mode-window
display-buffer-in-direction)
(mode deadgrep-mode)))
from spacemacs.
Related Issues (20)
- display-buffer-alist not respecting window settings HOT 2
- Terminal nvim colorscheme affected by installing spacemacs HOT 1
- How can i move .spacemacs to .emacs.d or ~ , when i use it in the win10? HOT 2
- Deleting a file drops you into an InactiveMinibuffer with no spacemacs keybinds HOT 3
- Incorrect macro-expansion of evilified-state-evilify-maps with pre-bindings
- SPC o- which-key: There are no keys to show HOT 2
- Slow performance of Emacs, in general, and with LaTeX in particular HOT 13
- xclipboard layer does not work HOT 3
- How can I make org-roam's buffer look useful and nice like it does in doom emacs? HOT 5
- How can I pin a specific package version or commit, e.g. for org-mode? HOT 4
- Modeline RHS missing when viewing info help HOT 2
- helm-descbinds disable which-key HOT 1
- internal-macroexpand-for-load error when doing `M-x magit-status` after latest update HOT 2
- Cannot load `org-roam-ui` in Spacemacs with error ⛔ "Error (use-package): Cannot load org-roam-ui" HOT 2
- Starting with error "An error occurred while installing vim-powerline (error: (wrong-type-argument package-desc nil))" HOT 9
- Opening python files is very slow HOT 4
- cd and setq default-directory in .spacemacs not working HOT 4
- latex layer overwrite SPC f f helm open file shortcut HOT 10
- [git] Replace `git-gutter*` with `diff-hl`? (It was "⛔ Emergency (emacsql): Uninstall the `git-commit' package" makes magit unusable) HOT 10
- links don't open HOT 11
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from spacemacs.