[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Help: shell/comint mode interfere with the fontifiaction of previously o
From: |
Natesh Kedlaya |
Subject: |
Help: shell/comint mode interfere with the fontifiaction of previously opened buffers |
Date: |
Tue, 10 Feb 2009 12:55:19 -0800 (PST) |
Hello,
I invoke Emacs(GNU Emacs 22.3.1) in the TTY mode with "-nw" argument.
Whenever I get into the shell-mode by M-x 'shell', all the buffers
opened previously loose the fontification specifically the comments.
Comment color changes from "lightcoral" to "white". Tried to refontify
by calling font-lock-fontify-buffer on previously opened buffers but no
luck.
I don't know where to look for the problem. Any help is greatly appreciated.
Settings related to fontification in my .emacs:
-----------------------------------------
(cond ((fboundp 'global-font-lock-mode)
;; Turn on font-lock in all modes that support it
(global-font-lock-mode t)
;; Maximum colors
(setq font-lock-maximum-decoration t)))
(setq-default font-lock-multiline t)
(custom-set-faces ;; Emacs and X window coloring
'(info-xref ((t (:foreground "lightblue" :bold t))))
'(text-cursor ((t (:foreground "black" :background "lightblue"))) t)
'(font-lock-function-call-face ((t (:foreground "cyan"))) t)
'(info-node ((t (:foreground "yellow" :bold t))))
'(dired-face-directory ((t (:foreground "lightcoral"))))
'(font-lock-string-face ((t (:foreground "violet"))))
'(dired-face-permissions ((t (:foreground "white"))))
'(font-lock-preprocessor-face ((t (:foreground "springgreen"))))
'(font-lock-variable-name-face ((t (:foreground "red"))))
'(gdb-arrow-face ((t (:foreground "black" :background "palegreen"))))
'(hyper-apropos-hyperlink ((((class color) (background light))
(:foreground "lightblue"))))
'(font-lock-doc-string-face ((t (:foreground "lightcoral"))))
'(font-lock-keyword-face ((t (:foreground "green"))))
'(font-lock-type-face ((t (:foreground "lightsteelblue"))))
'(hyper-apropos-documentation ((((class color) (background light))
(:foreground "lightcoral"))))
;'(font-lock-comment-face ((t (:foreground "lightcoral"))))
'(font-lock-function-name-face ((t (:foreground "red"))))
'(dired-face-boring ((((class color)) (:foreground "white"))))
'(info-xref ((t (:foreground "lightblue" :bold t))) t)
'(text-cursor ((t (:foreground "black" :background "lightblue"))) t)
'(font-lock-function-call-face ((t (:foreground "cyan"))) t)
'(info-node ((t (:foreground "lightcoral" :bold t))) t)
'(dired-face-directory ((t (:foreground "lightcoral"))))
'(font-lock-string-face ((t (:foreground "turquoise"))))
'(highlight ((t (:background "gray50"))))
'(modeline ((t (:background "lightpink3" :foreground "black"))))
'(modeline-mousable ((t (:background "lightpink3" :foreground
"yellow2"))))
'(modeline-mousable-minor-mode ((t (:background "lightpink3"
:foreground "white"))))
'(modeline-buffer-id ((t (:background "color-124" :foreground
"white"))))
'(window-number-face ((t (:background "lightpink3"
:foreground "black"))))
'(paren-match ((t (:foreground "black" :background "dodgerblue"))))
'(isearch ((t (:background "gray45"))))
'(zmacs-region ((t (:background "gray30"))))
'(dired-face-permissions ((t (:foreground "white"))))
'(font-lock-preprocessor-face ((t (:foreground "springgreen"))))
'(font-lock-reference-face ((t (:foreground "pink1"))))
'(font-lock-variable-name-face ((t (:foreground "khaki"))))
'(hyper-apropos-hyperlink ((((class color) (background light))
(:foreground "lightblue"))))
'(font-lock-keyword-face ((t (:foreground "lightskyblue1"))))
'(font-lock-type-face ((t (:foreground "sienna1"))))
'(hyper-apropos-documentation ((((class color) (background light))
(:foreground "lightcoral"))))
'(font-lock-comment-face ((t (:foreground "lightcoral"))))
'(font-lock-function-name-face ((t (:foreground "seagreen1"))))
'(dired-face-boring ((((class color)) (:foreground "white"))))
'(my-long-line-face ((((class color)) (:background "red" :underline
t))) t)
'(my-tab-face ((((class color)) (:underline t))) t)
'(which-func ((t (:background "color-124" :foreground "white"))))
'(shell-input-face ((t (:bold t :background "wheat" :foreground
"blue"))))
'(shell-option-face ((t (:bold t :background "wheat" :foreground
"turquoise4"))))
'(shell-output-2-face ((t (:bold t :background "wheat" :foreground
"dark goldenrod"))))
'(shell-output-3-face ((t (:bold t :background "wheat" :foreground
"dark goldenrod"))))
'(shell-output-face ((t (:bold t :background "wheat" :foreground
"black"))))
'(shell-prompt-face ((t (:bold t :background "wheat" :foreground "dark
orchid"))))
'(comint-highlight-input ((t (:bold t))))
'(comint-highlight-prompt ((t (:foreground "cyan"))))
'(comint-input-face ((t (:foreground "deepskyblue"))))
)
-------------------------------------------------
Thanks,
Natesh
[Prev in Thread] |
Current Thread |
[Next in Thread] |
- Help: shell/comint mode interfere with the fontifiaction of previously opened buffers,
Natesh Kedlaya <=