update readme to cover background colors
authorIan Kelling <ian@iankelling.org>
Wed, 31 Aug 2016 13:27:36 +0000 (06:27 -0700)
committerIan Kelling <ian@iankelling.org>
Wed, 31 Aug 2016 13:28:17 +0000 (06:28 -0700)
README.org

index 7bea711369f31e91433ba403b499ec04bff84260..9a63261339680cbdd6f1b5a46c962266ba7040c7 100644 (file)
@@ -59,6 +59,28 @@ You may customize spray by modifying following items:
 - [Face] spray-base-face
 - [Face] spray-accent-face
 
 - [Face] spray-base-face
 - [Face] spray-accent-face
 
+** If your emacs color theme does not work well with spray
+
+You could create a function to toggle the emacs theme to one that
+works with spray, and then put that in the spray mode hook. For example:
+
+#+begin_src emacs-lisp
+(defun toggle-night ()
+ (interactive)
+  (if (equal (car custom-enabled-themes) 'naquadah)
+      (override-theme 'leuven)
+  (override-theme 'naquadah)))
+(add-hook 'spray-mode-hook 'toggle-night)
+#+end_src
+
+Alternatively, one user found ways to setup a single buffer with better colors, using
+- http://www.emacswiki.org/emacs/BufferBackgroundColor
+- https://github.com/vic/color-theme-buffer-local
+
+He also found this library useful:
+https://github.com/ShingoFukuyama/ov.el
+
+
 ** Feedback, bugs, etc.
 
 Bug tracking is on github.
 ** Feedback, bugs, etc.
 
 Bug tracking is on github.