! xresource
! created on Mar 2008 by Chuan Liu
! last update Mar 2009


! rxvt font
urxvt*font:xft:dejavu sans mono:regular:size=8:antialias=true,\
xft:WenQuanYi Zen Hei:medium:size=9:antialias=true

! rxvt font (two config for large and small fonts respectively)
! urxvt*font:xft:dejavu sans mono:regular:size=8:antialias=true,\
! urxvt*font:xft:MonteCarlo:regular:antialias=true,\


! rxvt look
urxvt*background: rgba:0000/0000/0000/dddd
urxvt*foreground: cornsilk
urxvt*scrollBar: off
urxvt*depth: 32
urxvt*tintColor: grey
urxvt*saveLines: 3200

! rxvt initial window geometry
urxvt*geometry: 90x36

! redefine color to use tango theme in vim
! black
urxvt*color0:   #000000
urxvt*color8:   #555753
! red
urxvt*color1:   #CC0000
urxvt*color9:   #EF2929
! green
urxvt*color2:   #4E9A06
urxvt*color10:  #8AE234
!! yellow
urxvt*color3:   #C4A000
urxvt*color11:  #FCE94F
! blue
urxvt*color4:   #3465A4
urxvt*color12:  #729FCF
! magenta
urxvt*color5:   #75507B
urxvt*color13:  #AD7FA8
! cyan
urxvt*color6:   #06989A
urxvt*color14:  #34E2E2
! white
urxvt*color7:   #D3D7CF
urxvt*color15:  #EEEEEC

! use shift+pg up/down to scroll screen
urxvt*secondaryScroll: True


! emacs fonts
! Emacs.font: MonteCarlo-11

!!! xft font config
Emacs.font: Monospace-8

!!! non-xft configuration !!!
! Emacmenu*font: fontset-global
! Emacs*font: fontset-global
! Emacs*fontset-0: \
! -*-fixed-medium-r-normal-*-12-*-*-*-*-*-fontset-global,\
! ascii:-windows-montecarlo-medium-r-normal--11-110-72-72-c-60-microsoft-cp1252,\
! chinese-gb2312:-wenquanyi-wenquanyi bitmap song-medium-r-normal--12-120-75-75-p-119-iso10646-1


!! chinese fonts options
! chinese-gb2312:-*-medium-r-normal-*-16-*-gb2312*-*
! chinese-gb2312:-wenquanyi-wenquanyi bitmap song-medium-r-normal--12-120-75-75-p-119-iso10646-1
! chinese-gb2312:-isas-fangsong ti-medium-r-normal--16-160-72-72-c-160-gb2312.1980-0

!! two programming fonts
! iso8859-1:-nil-profont-medium-r-normal--12-120-72-72-c-60-iso8859-1,\
! ascii:-windows-montecarlo-medium-r-normal--11-110-72-72-c-60-microsoft-cp1252,\


! turn off all bars (maximize code display region)
Emacs*menuBar: off
Emacs*toolBar: off
Emacs*verticalScrollBars: off

! the followings are adopted from enjoy
Emacs*foreground: cornsilk
Emacs*background: black
Emacs*pointerColor: black
Emacs*cursorColor: white
Emacs*borderColor: black
Emacs*modeline*attributeForeground: black
Emacs*modeline*attributeBackground: wheat
Emacs*modeline-buffer-id*attributeForeground: black
Emacs*modeline-buffer-id*attributeBackground: wheat
Emacs*modeline-mousable*attributeForeground: black
Emacs*modeline-mousable*attributeBackground: wheat
Emacs*modeline-mousable-minor-mode*attributeForeground: black
Emacs*modeline-mousable-minor-mode*attributeBackground: wheat
Emacs*highlight*attributeForeground: wheat
Emacs*highlight*attributeBackground: darkslategray
Emacs*bold*attributeBold: on
Emacs*italic*attributeItalic: on
Emacs*bold-italic*attributeBold: on
Emacs*bold-italic*attributeItalic: on
Emacs*region*attributeBackground: dimgray
Emacs*secondary-selection*attributeBackground: deepskyblue4
Emacs*underline*attributeUnderline: on
Emacs*info-node*attributeForeground: yellow
Emacs*info-node*attributeBold: on
Emacs*info-node*attributeItalic: on
Emacs*info-menu-5*attributeUnderline: on
Emacs*info-xref*attributeForeground: yellow
Emacs*info-xref*attributeBold: on
Emacs*diary-face*attributeForeground: orange
Emacs*calendar-today-face*attributeUnderline: on
Emacs*holiday-face*attributeBackground: red
Emacs*show-paren-match-face*attributeBackground: deepskyblue4
Emacs*show-paren-mismatch-face*attributeForeground: white
Emacs*show-paren-mismatch-face*attributeBackground: red
Emacs*font-lock-comment-face*attributeForeground: gold
Emacs*font-lock-string-face*attributeForeground: orange
Emacs*font-lock-keyword-face*attributeForeground: cyan1
Emacs*font-lock-builtin-face*attributeForeground: LightSteelBlue
Emacs*font-lock-function-name-face*attributeForeground: mediumspringgreen
Emacs*font-lock-variable-name-face*attributeForeground: light salmon
Emacs*font-lock-type-face*attributeForeground: yellow1
Emacs*font-lock-constant-face*attributeForeground: salmon
Emacs*font-lock-warning-face*attributeForeground: gold
Emacs*font-lock-warning-face*attributeBold: on
Emacs*blank-space-face*attributeBackground: LightGray
Emacs*blank-tab-face*attributeForeground: black
Emacs*blank-tab-face*attributeBackground: cornsilk
Emacs*highline-face*attributeBackground: gray35
Emacs*eshell-ls-directory-face*attributeForeground: green
Emacs*eshell-ls-directory-face*attributeBold: on
Emacs*eshell-ls-symlink-face*attributeForeground: Cyan
Emacs*eshell-ls-symlink-face*attributeBold: on
Emacs*eshell-ls-executable-face*attributeForeground: orange
Emacs*eshell-ls-executable-face*attributeBold: on
Emacs*eshell-ls-readonly-face*attributeForeground: gray
Emacs*eshell-ls-unreadable-face*attributeForeground: DarkGrey
Emacs*eshell-ls-special-face*attributeForeground: Magenta
Emacs*eshell-ls-special-face*attributeBold: on
Emacs*eshell-ls-missing-face*attributeForeground: Red
Emacs*eshell-ls-missing-face*attributeBold: on
Emacs*eshell-ls-archive-face*attributeForeground: Orchid
Emacs*eshell-ls-archive-face*attributeBold: on
Emacs*eshell-ls-backup-face*attributeForeground: LightSalmon
Emacs*eshell-ls-product-face*attributeForeground: LightSalmon
Emacs*eshell-ls-clutter-face*attributeForeground: blue
Emacs*eshell-ls-clutter-face*attributeBold: on
Emacs*sgml-start-tag-face*attributeForeground: mediumspringgreen
Emacs*custom-button-face*attributeForeground: white
Emacs*sgml-ignored-face*attributeForeground: gray20
Emacs*sgml-ignored-face*attributeBackground: gray60
Emacs*sgml-doctype-face*attributeForeground: orange
Emacs*sgml-sgml-face*attributeForeground: yellow
Emacs*vc-annotate-face-0046FF*attributeForeground: wheat
Emacs*vc-annotate-face-0046FF*attributeBackground: black
Emacs*custom-documentation-face*attributeForeground: white
Emacs*sgml-end-tag-face*attributeForeground: greenyellow
Emacs*linemenu-face*attributeBackground: gray30
Emacs*sgml-entity-face*attributeForeground: gold
Emacs*message-header-to-face*attributeForeground: floral white
Emacs*message-header-to-face*attributeBold: on
Emacs*message-header-cc-face*attributeForeground: ivory
Emacs*message-header-subject-face*attributeForeground: papaya whip
Emacs*message-header-subject-face*attributeBold: on
Emacs*message-header-newsgroups-face*attributeForeground: lavender blush
Emacs*message-header-newsgroups-face*attributeBold: on
Emacs*message-header-newsgroups-face*attributeItalic: on
Emacs*message-header-other-face*attributeForeground: pale turquoise
Emacs*message-header-name-face*attributeForeground: light sky blue
Emacs*message-header-xheader-face*attributeForeground: blue
Emacs*message-separator-face*attributeForeground: sandy brown
Emacs*message-cited-text-face*attributeForeground: plum1
Emacs*message-mml-face*attributeForeground: ForestGreen
Emacs*gnus-group-news-1-face*attributeForeground: white
Emacs*gnus-group-news-1-face*attributeBold: on
Emacs*gnus-group-news-1-empty-face*attributeForeground: white
Emacs*gnus-group-news-2-face*attributeForeground: lightcyan
Emacs*gnus-group-news-2-face*attributeBold: on
Emacs*gnus-group-news-2-empty-face*attributeForeground: lightcyan
Emacs*gnus-group-news-3-face*attributeForeground: tan
Emacs*gnus-group-news-3-face*attributeBold: on
Emacs*gnus-group-news-3-empty-face*attributeForeground: tan
Emacs*gnus-group-news-4-face*attributeForeground: white
Emacs*gnus-group-news-4-face*attributeBold: on
Emacs*gnus-group-news-4-empty-face*attributeForeground: white
Emacs*gnus-group-news-5-face*attributeForeground: wheat
Emacs*gnus-group-news-5-face*attributeBold: on
Emacs*gnus-group-news-5-empty-face*attributeForeground: wheat
Emacs*gnus-group-news-6-face*attributeForeground: tan
Emacs*gnus-group-news-6-face*attributeBold: on
Emacs*gnus-group-news-6-empty-face*attributeForeground: tan
Emacs*gnus-group-news-low-face*attributeForeground: DarkTurquoise
Emacs*gnus-group-news-low-face*attributeBold: on
Emacs*gnus-group-news-low-empty-face*attributeForeground: DarkTurquoise
Emacs*gnus-group-mail-1-face*attributeForeground: white
Emacs*gnus-group-mail-1-face*attributeBold: on
Emacs*gnus-group-mail-1-empty-face*attributeForeground: gray80
Emacs*gnus-group-mail-2-face*attributeForeground: lightcyan
Emacs*gnus-group-mail-2-face*attributeBold: on
Emacs*gnus-group-mail-2-empty-face*attributeForeground: lightcyan
Emacs*gnus-group-mail-3-face*attributeForeground: tan
Emacs*gnus-group-mail-3-face*attributeBold: on
Emacs*gnus-group-mail-3-empty-face*attributeForeground: tan
Emacs*gnus-group-mail-low-face*attributeForeground: aquamarine4
Emacs*gnus-group-mail-low-face*attributeBold: on
Emacs*gnus-group-mail-low-empty-face*attributeForeground: aquamarine4
Emacs*gnus-summary-selected-face*attributeBackground: deepskyblue4
Emacs*gnus-summary-selected-face*attributeUnderline: on
Emacs*gnus-summary-cancelled-face*attributeForeground: black
Emacs*gnus-summary-cancelled-face*attributeBackground: gray
Emacs*gnus-summary-high-ticked-face*attributeForeground: gray70
Emacs*gnus-summary-high-ticked-face*attributeBold: on
Emacs*gnus-summary-low-ticked-face*attributeForeground: gray70
Emacs*gnus-summary-low-ticked-face*attributeBold: on
Emacs*gnus-summary-normal-ticked-face*attributeForeground: gray70
Emacs*gnus-summary-normal-ticked-face*attributeBold: on
Emacs*gnus-summary-high-ancient-face*attributeForeground: SkyBlue
Emacs*gnus-summary-high-ancient-face*attributeBold: on
Emacs*gnus-summary-low-ancient-face*attributeForeground: SkyBlue
Emacs*gnus-summary-low-ancient-face*attributeItalic: on
Emacs*gnus-summary-normal-ancient-face*attributeForeground: SkyBlue
Emacs*gnus-summary-high-unread-face*attributeBold: on
Emacs*gnus-summary-low-unread-face*attributeItalic: on
Emacs*gnus-summary-high-read-face*attributeForeground: PaleGreen
Emacs*gnus-summary-high-read-face*attributeBold: on
Emacs*gnus-summary-low-read-face*attributeForeground: PaleGreen
Emacs*gnus-summary-low-read-face*attributeItalic: on
Emacs*gnus-summary-normal-read-face*attributeForeground: PaleGreen
Emacs*gnus-splash-face*attributeForeground: gold
Emacs*font-latex-sedate-face*attributeForeground: Gray85
Emacs*font-latex-string-face*attributeForeground: orange
Emacs*font-latex-warning-face*attributeForeground: gold
Emacs*widget-documentation-face*attributeForeground: lime green
Emacs*widget-button-face*attributeBold: on
Emacs*widget-field-face*attributeBackground: gray20
Emacs*widget-single-line-field-face*attributeBackground: gray20
Emacs*widget-inactive-face*attributeForeground: wheat
Emacs*widget-button-pressed-face*attributeForeground: red
Emacs*custom-invalid-face*attributeForeground: yellow
Emacs*custom-invalid-face*attributeBackground: red
Emacs*custom-rogue-face*attributeForeground: pink
Emacs*custom-rogue-face*attributeBackground: black
Emacs*custom-modified-face*attributeForeground: white
Emacs*custom-modified-face*attributeBackground: blue
Emacs*custom-set-face*attributeForeground: blue
Emacs*custom-changed-face*attributeForeground: wheat
Emacs*custom-changed-face*attributeBackground: skyblue
Emacs*custom-saved-face*attributeUnderline: on
Emacs*custom-state-face*attributeForeground: light green
Emacs*custom-variable-tag-face*attributeForeground: skyblue
Emacs*custom-variable-tag-face*attributeUnderline: on
Emacs*custom-variable-button-face*attributeBold: on
Emacs*custom-variable-button-face*attributeUnderline: on
Emacs*custom-face-tag-face*attributeForeground: white
Emacs*custom-face-tag-face*attributeUnderline: on
Emacs*custom-group-tag-face-1*attributeForeground: pink
Emacs*custom-group-tag-face-1*attributeUnderline: on
Emacs*custom-group-tag-face*attributeForeground: skyblue
Emacs*custom-group-tag-face*attributeUnderline: on
Emacs*swbuff-current-buffer-face*attributeForeground: red
Emacs*swbuff-current-buffer-face*attributeBold: on
Emacs*ediff-current-diff-face-A*attributeForeground: firebrick
Emacs*ediff-current-diff-face-A*attributeBackground: pale green
Emacs*ediff-current-diff-face-B*attributeForeground: DarkOrchid
Emacs*ediff-current-diff-face-B*attributeBackground: Yellow
Emacs*ediff-current-diff-face-C*attributeForeground: white
Emacs*ediff-current-diff-face-C*attributeBackground: indianred
Emacs*ediff-current-diff-face-Ancestor*attributeForeground: Black
Emacs*ediff-current-diff-face-Ancestor*attributeBackground: VioletRed
Emacs*ediff-fine-diff-face-A*attributeForeground: Navy
Emacs*ediff-fine-diff-face-A*attributeBackground: sky blue
Emacs*ediff-fine-diff-face-B*attributeForeground: Black
Emacs*ediff-fine-diff-face-B*attributeBackground: cyan
Emacs*ediff-fine-diff-face-C*attributeForeground: Black
Emacs*ediff-fine-diff-face-C*attributeBackground: Turquoise
Emacs*ediff-fine-diff-face-Ancestor*attributeForeground: Black
Emacs*ediff-fine-diff-face-Ancestor*attributeBackground: Green
Emacs*ediff-even-diff-face-A*attributeForeground: Black
Emacs*ediff-even-diff-face-A*attributeBackground: light grey
Emacs*ediff-even-diff-face-B*attributeForeground: White
Emacs*ediff-even-diff-face-B*attributeBackground: Grey
Emacs*ediff-even-diff-face-C*attributeForeground: Black
Emacs*ediff-even-diff-face-C*attributeBackground: light grey
Emacs*ediff-even-diff-face-Ancestor*attributeForeground: White
Emacs*ediff-even-diff-face-Ancestor*attributeBackground: Grey
Emacs*ediff-odd-diff-face-A*attributeForeground: White
Emacs*ediff-odd-diff-face-A*attributeBackground: Grey
Emacs*ediff-odd-diff-face-B*attributeForeground: Black
Emacs*ediff-odd-diff-face-B*attributeBackground: light grey
Emacs*ediff-odd-diff-face-C*attributeForeground: White
Emacs*ediff-odd-diff-face-C*attributeBackground: Grey
Emacs*ediff-odd-diff-face-Ancestor*attributeForeground: Black
Emacs*ediff-odd-diff-face-Ancestor*attributeBackground: light grey
Emacs*gnus-emphasis-bold*attributeBold: on
Emacs*gnus-emphasis-italic*attributeItalic: on
Emacs*gnus-emphasis-underline*attributeForeground: white
Emacs*gnus-emphasis-underline*attributeBackground: goldenrod4
Emacs*gnus-emphasis-underline-bold*attributeForeground: black
Emacs*gnus-emphasis-underline-bold*attributeBackground: yellow
Emacs*gnus-emphasis-underline-bold*attributeBold: on
Emacs*gnus-emphasis-underline-bold*attributeUnderline: on
Emacs*gnus-emphasis-underline-italic*attributeForeground: black
Emacs*gnus-emphasis-underline-italic*attributeBackground: yellow
Emacs*gnus-emphasis-underline-italic*attributeItalic: on
Emacs*gnus-emphasis-underline-italic*attributeUnderline: on
Emacs*gnus-emphasis-bold-italic*attributeBold: on
Emacs*gnus-emphasis-bold-italic*attributeItalic: on
Emacs*gnus-emphasis-underline-bold-italic*attributeForeground: black
Emacs*gnus-emphasis-underline-bold-italic*attributeBackground: yellow
Emacs*gnus-emphasis-underline-bold-italic*attributeBold: on
Emacs*gnus-emphasis-underline-bold-italic*attributeItalic: on
Emacs*gnus-emphasis-underline-bold-italic*attributeUnderline: on
Emacs*gnus-emphasis-highlight-words*attributeForeground: yellow
Emacs*gnus-emphasis-highlight-words*attributeBackground: black
Emacs*gnus-signature-face*attributeItalic: on
Emacs*gnus-header-from-face*attributeForeground: wheat
Emacs*gnus-header-subject-face*attributeForeground: wheat
Emacs*gnus-header-subject-face*attributeBold: on
Emacs*gnus-header-newsgroups-face*attributeForeground: wheat
Emacs*gnus-header-newsgroups-face*attributeItalic: on
Emacs*gnus-header-name-face*attributeForeground: white
Emacs*gnus-header-content-face*attributeForeground: tan
Emacs*gnus-header-content-face*attributeItalic: on
Emacs*gnus-splash*attributeForeground: Brown
Emacs*gnus-cite-attribution-face*attributeItalic: on
Emacs*gnus-cite-face-1*attributeForeground: light blue
Emacs*gnus-cite-face-2*attributeForeground: light cyan
Emacs*gnus-cite-face-3*attributeForeground: light yellow
Emacs*gnus-cite-face-4*attributeForeground: light pink
Emacs*gnus-cite-face-5*attributeForeground: pale green
Emacs*gnus-cite-face-6*attributeForeground: beige
Emacs*gnus-cite-face-7*attributeForeground: orange
Emacs*gnus-cite-face-8*attributeForeground: magenta
Emacs*gnus-cite-face-9*attributeForeground: violet
Emacs*gnus-cite-face-10*attributeForeground: medium purple
Emacs*gnus-cite-face-11*attributeForeground: turquoise