emacs - Adjusting shell mode color schemes -


the color schemes in emacs shell mode appear primary colors (high saturation) , primitive, , colors, example, purple, not appear:

enter image description here

i want adjust colors use more intermediate colors , more soft in gnome-terminal:

enter image description here

how can change color schemes in shell mode? couldn't find shell-mode related font assignments in emacs, , because color given shell , different other font assignmets in emacs.

when program run inside shell-mode issues ansi escape characters set display color to, say, magenta, emacs intercepts escape characters , creates colored overlay using exact foreground color "magenta". there's no color theme interaction going on here, , no shell-specific customizations for.

the interception made functions in ansi-color.el, though, , looks customize ansi-color-names-vector, use "paleblue" "blue", either m-x customize ret ansi-color-names-vector, or try putting following in emacs config:

(setq ansi-color-names-vector   ["black" "red" "green" "yellow" "paleblue" "magenta" "cyan" "white"]) 

to see available color names, use m-x list-colors-display, or enter hex colors instead, e.g. "#ccccff".


Comments

Popular posts from this blog

c# - SharpSVN - How to get the previous revision? -

c++ - Is it possible to compile a VST on linux? -

url - Querystring manipulation of email Address in PHP -