keybindings.el calls (require 'evil-ex), which I introduced in this commit...0456a1c4b4...calling (require 'evil-ex) loads evil. When evil is loaded before evil-want-integration is set to nil, evil-collection writes to *Warnings* when Emacs initializes, which I find noisy. This commit ensures the evil-want-integration is set to nil before evil is loaded, which appeases evil-collection and thus removes the warning message. Bonus: If you git checkout the previous commit, and attempt to run the KBDs... - `SPC g s`: magit-status - `s h`: evil-window-vsplit ...from a buffer whose major-mode is dired-mode, you should notice that the above functions won't execute. Strangely though, if you look at this commit...37f8ca04f2...I fixed these issues. Well I introduced a regression when I added0456a1c. My current guess is that when evil-collection complains about evil-want-integration, it is breaking the evaluation sequence of my init.el file. wpc-dired.el is downstream from wpc-keybindings.el, which requires evil-collection. Perhaps no modules required after wpc-keybindings.el are evaluated after evil-collection warns about evil-want-integration. Even if that assumption is wrong, what I do know is that this commit fixes the evil-collection warning and restores the KBDs for dired-mode-map. Here's to feeding two birds with one scone!
		
			
				
	
	
		
			63 lines
		
	
	
	
		
			1.4 KiB
		
	
	
	
		
			EmacsLisp
		
	
	
	
	
	
			
		
		
	
	
			63 lines
		
	
	
	
		
			1.4 KiB
		
	
	
	
		
			EmacsLisp
		
	
	
	
	
	
| (require 'wpc-package)
 | |
| 
 | |
| ;; load order is intentional
 | |
| (require 'constants)
 | |
| (require 'wpc-misc)
 | |
| 
 | |
| ;; my libraries
 | |
| (require 'functions)
 | |
| (require 'prelude)
 | |
| (require 'macros)
 | |
| (require 'kaomoji)
 | |
| 
 | |
| ;; Google
 | |
| ;; (require 'google-stuff)
 | |
| 
 | |
| ;; Laptop XF-functionality
 | |
| (require 'pulse-audio)
 | |
| (require 'screen-brightness)
 | |
| 
 | |
| ;; miscellaneous
 | |
| (require 'clipboard)
 | |
| (require 'battery)
 | |
| (require 'dotfiles)
 | |
| (require 'bookmark)
 | |
| (require 'keyboard)
 | |
| (require 'irc)
 | |
| (require 'email)
 | |
| ;; TODO: Consider renaming entr.el.
 | |
| (require 'entr)
 | |
| (require 'scrot)
 | |
| (require 'timestring)
 | |
| 
 | |
| ;; TODO: Remove path once published to MELPA.
 | |
| ;; TODO: How can I package this using Nix?
 | |
| ;; (require 'egg-timer "~/programming/egg-timer.el/egg-timer.el")
 | |
| 
 | |
| ;; TODO: Reconcile kbd.el, keybindings.el, wpc-keybindings.el, keyboard.el.
 | |
| (require 'wpc-keybindings)
 | |
| (require 'keybindings)
 | |
| (require 'window-manager)
 | |
| (require 'wpc-ui)
 | |
| (require 'wpc-dired)
 | |
| (require 'wpc-terminal)
 | |
| (require 'wpc-org)
 | |
| (require 'wpc-company)
 | |
| ;; TODO: Re-enable flycheck for all languages besides Elisp once I learn more
 | |
| ;; about the issue with the `emacs-lisp' `flycheck-checker'.
 | |
| ;; (require 'wpc-flycheck)
 | |
| (require 'wpc-shell)
 | |
| (require 'wpc-docker)
 | |
| (require 'wpc-lisp)
 | |
| (require 'wpc-haskell)
 | |
| (require 'wpc-reasonml)
 | |
| ;; (require 'wpc-ocaml)
 | |
| (require 'wpc-elixir)
 | |
| (require 'wpc-nix)
 | |
| (require 'wpc-rust)
 | |
| (require 'wpc-clojure)
 | |
| (require 'wpc-python)
 | |
| (require 'wpc-javascript)
 | |
| (require 'wpc-java)
 | |
| (require 'wpc-prolog)
 | |
| (require 'wpc-golang)
 |