[h-e-w] How to change background and foreground color
From:
Lee
Subject:
[h-e-w] How to change background and foreground color
Date:
Sat, 3 Dec 2011 20:25:07 -0600
HI
I tried to use following as my _emasc file(under c:\), but this version does not seems to use it. This file is working under my Linux emacs but not in this windows emacs. Does anyone know why?
Thanks Lee
;; Set up the keyboard so the delete key on both the regular keyboard ;; and the keypad delete the character under the cursor and to the right ;; under X, instead of the default, backspace behavior. (global-set-key [delete] 'delete-char) (global-set-key [kp-delete] 'delete-char)
;; turn on font-lock mode (global-font-lock-mode t)
;; enable visual feedback on selections (setq-default transient-mark-mode t)
;; always end a file with a newline (setq require-final-newline t)
;; stop at the end of the file, not just add lines (setq next-line-add-newlines nil)
;;to display time (display-time)
;;to set the cursor color (set-cursor-color "red")
(when window-system ;; enable wheelmouse support by default (mwheel-install) ;; use extended compound-text coding for X clipboard (set-selection-coding-system 'compound-text-with-extensions)) (autoload 'mpg123 "mpg123" "A Front-end to mpg123" t)
(custom-set-variables ;; custom-set-variables was added by Custom -- don't edit or cut/paste it!
;; Your init file should contain only one such instance. '(auto-save-default nil) '(backup-directory-alist (quote (("." . "/home/hemant/backup")))) '(default-frame-alist (quote ((tool-bar-lines . 1) (menu-bar-lines . 1) (width . 87) (height . 42))))) (custom-set-faces ;; custom-set-faces was added by Custom -- don't edit or cut/paste it!
;; Your init file should contain only one such instance. '(font-lock-comment-face ((((class color) (background dark)) (:foreground "chocolate1" :slant italic :family "-*-lucida-medium-r-*-*-14-*-*-*-*-*-*-*")))) '(fringe ((((class color) (background dark)) (:background "grey10" :width ultra-condensed)))) '(scroll-bar ((t (:background "Dark slate gray")))))