selectrum: remove embark export/collect popup rules

They don't seem to be necessary anymore, and cause issues with window
opening logic when clicking on links in exported grep buffers.
This commit is contained in:
Itai Y. Efrat 2021-07-01 00:11:46 +03:00
parent 7c313fbac2
commit 2e6a04e536
2 changed files with 9 additions and 8 deletions

View file

@ -80,11 +80,14 @@ working of this whole set up are a bit opaque to me.
* PROJ Review blocking Issues * PROJ Review blocking Issues
** TODO Embark export window buffer switching logic ** TODO Embark export window buffer switching logic
If we export bookmarks, grep session, or ~find-file~ session, when pressing *** DONE ~grep~
enter, it opens the new buffer in another window rather than the main one, even The clicking links exported grep buffers used to open in a new window, but now
though at least the bookmark function ostensibly uses open in another window. Caused by the ~set-popup-rule!~ entries for the embark
~pop-to-buffer-same-window~. Ivy gets the window switched in the bookmarks and export/collect buffers. These don't seem to serve much of a purpose at this
grep case due to a custom ivy occur window switching function. point so they have been removed.
*** TODO Open upstream Embark issue for ~bookmark~ and ~file~
~bookmark~ or ~file~ export buffers open the links in the same window rather than
the other one. This can be reproduces on emacs -Q.
** TODO Icons ** TODO Icons
Partially solved, seems to have interaction with selectrum height issue, so not Partially solved, seems to have interaction with selectrum height issue, so not
yet implemented. yet implemented.

View file

@ -133,9 +133,7 @@
"h" #'doom/help-packages "h" #'doom/help-packages
"b" #'doom/bump-package "b" #'doom/bump-package
"c" #'doom/help-package-config "c" #'doom/help-package-config
"u" #'doom/help-package-homepage) "u" #'doom/help-package-homepage))
(set-popup-rule! "^\\*Embark Export" :size 0.35 :ttl 0 :quit nil)
(set-popup-rule! "^\\*Embark Collect" :size 0.35 :ttl 0 :quit nil))
(use-package! marginalia (use-package! marginalia
:hook (doom-first-input . marginalia-mode) :hook (doom-first-input . marginalia-mode)