From: Natesh Kedlaya <nateshkedlaya@yahoo.com>
To: help-gnu-emacs@gnu.org
Subject: Help: shell/comint mode interfere with the fontifiaction of previously opened buffers
Date: Tue, 10 Feb 2009 12:55:19 -0800 (PST) [thread overview]
Message-ID: <900247.28904.qm@web111305.mail.gq1.yahoo.com> (raw)
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
reply other threads:[~2009-02-10 20:55 UTC|newest]
Thread overview: [no followups] expand[flat|nested] mbox.gz Atom feed
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
List information: https://www.gnu.org/software/emacs/
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=900247.28904.qm@web111305.mail.gq1.yahoo.com \
--to=nateshkedlaya@yahoo.com \
--cc=help-gnu-emacs@gnu.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).