My Emacs color theme for C and C ++

Source: Internet
Author: User

Download here: Color-theme
:

Http://download.savannah.gnu.org/releases-noredirect/color-theme/

 

Wget http://download.savannah.gnu.org/releases-noredirect/color-theme/color-theme-6.6.0.tar.gz

Tar zxf color-theme-6.6.0.tar.gz-C ~ /. Emacs. d

 

Add the following statements to. emacs:

; Corlor-theme <br/> (add-to-list 'Load-path "~ // Emacs. d/color-theme-6.6.0 ") <br/> (load-file "~ /. Emacs. d/color-theme-6.6.0/color-theme.el ") <br/> (require 'color-theme) <br/> (eval-after-load "color-Theme" <br/> '(progn <br/> (color-theme-Initialize) <br/> (color-theme-Galen) <br/> ))

 

Append the following code to the end of the following file and restart Emacs.

~ /. Emacs. d/color-theme-6.6.0/themes/color-theme-library.el

;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;; ;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;; <Br/>; color-theme-Galen <br/> (defun color-theme-Galen () <br/> "color theme by Galen, created 2010-04-13. "<br/> (interactive) <br/> (color-theme-install <br/> '(color-theme-Galen <br/> (background-color. "grey4"); grey4 let line number's color is chocolate <br/> (background-mode. light) <br/> (border-color. "Black") <br/> (cursor-color. "#000000") <br/> (foreground-color. "#000000") <br/> (mouse-color. "#000000") <br/> (display-time-mail-face. mode-line) <br/> (Help-Highlight-face. underline) <br/> (list-matching-lines-face. bold) <br/> (View-Highlight-face. highlight) <br/> (default (T (: stipple nil: background "# ffffff": foreground "#000000": inverse-video nil: box nil: strike-through nil: overline nil: underline nil: Slant normal: weight normal: height 87: width semi-condensed: Family "Misc-fixed ")))) <br/> (font-lock-builtin-face (T (: foreground "chocolate1 ")))); to use for builtins <br/> (font-lock-comment-face (T (: foreground "red ")))); * ** to use for comments <br/> (font-lock-Constant-face (T (: foreground "orangered ")))); * ** to use for constant and label names (Class: :) <br/> (font-lock-doc-face (T (: foreground "red ")))); to use for documentation. such as/* This is ducumentation */<br/> (font-lock-doc-string-face (T (: foreground "red ")))); <br/> (font-lock-function-name-face (T (: foreground "blue": underline t )))); * ** to use for function names <br/> (font-lock-Preprocessor-face (T (: foreground "chocolate1 ")))); * ** to use for Preprocessor ctictives <br/> (font-lock-keyword-face (T (: foreground "blue4 ")))); * ** to use for keywords <br/> (font-lock-reference-face (T (: foreground "pale green ")))); <br/> (font-lock-string-face (T (: foreground "red"); *** to use for strings "hello, world "<br/> (font-lock-type-face (T (: foreground" blue4 ")))); * ** to use for type and class names <br/> (font-lock-variable-name-face (T (: foreground "red ")))); * ** to use for variable names <br/> (font-lock-warning-face (T (: foreground "red ")))); to use for things that shoshould stand out. <br/> (font-lock-negation-Char-face (T (: foreground "orangered ")))); to use for easy to overlook negation <br/> (font-lock-exit-face (T (: foreground "green ")))); <br/> (font-lock-emphasized-face (T (: background "lightyellow2 ")))) <br/> (font-lock-other-emphasized-face (T (: background "lightyellow2 ")))) <br/> (font-lock-other-type-face (T (: foreground "orange3 ")))) <br/> (font-lock-special-comment-face (T (: foreground "blue ")))) <br/> (font-lock-special-keyword-face (T (: foreground "blue") <br/> (Region (T (: background "Steel blue": foreground "black"); region <br/> (highlight (T (: background "Sky Blue ")))); highlight current line </P> <p> (modeline-buffer-ID (T (: foreground "black": background "wheat ")))); the filename on modeline (yellow) <br/> (minibuffer-Prompt (T (: foreground "blue ")))) <br/> (Dired-face-directory (T (: foreground "blue") <br/> (Dired-face-executable (T (: foreground "green yellow") <br/> (Dired-face-flagged (T (: foreground "tomato ")))) <br/> (Dired-face-marked (T (: foreground "Light salmon") <br/> (Dired-face-permissions (T (: foreground "aquamarine") </P> <p> (show-Paren-match-face (T (: background "Light slate blue ": foreground "white") <br/> (show-Paren-mismatch-face (T (: background "red": foreground "white ")))) <br/>) <br/> ;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;; ;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;; <br/>

 

 

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.