Emacs Thematic Issue
I started using emacs (about a few days now). Also I read this thread: Color themes are weird / wrong in terminal emulator , but I still have problems.
What I've done:
- export TERM = "xterm-256color"
- Download and successfully installed the color tags pack
- Download and successfully (I think) installed the solarium theme from https://github.com/sellout/emacs-color-theme-solarized.git
-
updated init.el:
;;; ============= SOLARIZED ================ (add-to-list 'load-path "~/.emacs.d/color-theme") (add-to-list 'load-path "~/.emacs.d/color-theme/themes") (require 'color-theme) (color-theme-initialize) (setq color-theme-is-global t) (add-to-list 'load-path "~/.emacs.d/emacs-color-theme-solarized") (require 'color-theme-solarized) (setq solarized-termcolors 256) (color-theme-solarized-dark)
OS: Debian / KDE4.7 / Konsole
Some colors are wrong: 1. include 2. numbers 3. def 4. quotes "
Why is this topic displayed incorrectly?
source to share
If you are using Emacs from a terminal, make sure your terminal emulator color scheme is also set to use the Solarized palette. Link: https://github.com/sellout/emacs-color-theme-solarized#important-note-for-terminal-users . There is no palette for Konsole in the official Solarized repo , however there are others available, such as this one: https://github.com/phiggins/konsole-colors-solarized .
If that still doesn't work, you can try explicitly setting your terminal to use 16 colors:
$ TERM=xterm-16color emacs
I don't know enough about terminal colors to explain how or why this works, but I can confirm that it does. It might help explain some things a bit: https://github.com/seebi/dircolors-solarized#understanding-solarized-colors-in-terminals .
source to share