aboutsummaryrefslogtreecommitdiffstats
path: root/etc
diff options
context:
space:
mode:
authorStefan Monnier2011-03-31 00:24:03 -0400
committerStefan Monnier2011-03-31 00:24:03 -0400
commit40d83b412f584cc02e68d4eac8fd5e6eb769e2fe (patch)
treeb56f27a7e6d75a8c1fd27b00179a27b5efea0a32 /etc
parentf488fb6528738131ef41859e1f04125f2e50efce (diff)
parent44f230aa043ebb222aa0876b44d70484d5dd38db (diff)
downloademacs-40d83b412f584cc02e68d4eac8fd5e6eb769e2fe.tar.gz
emacs-40d83b412f584cc02e68d4eac8fd5e6eb769e2fe.zip
Merge from trunk
Diffstat (limited to 'etc')
-rw-r--r--etc/ChangeLog4
-rw-r--r--etc/NEWS9
-rw-r--r--etc/themes/misterioso-theme.el110
3 files changed, 123 insertions, 0 deletions
diff --git a/etc/ChangeLog b/etc/ChangeLog
index 53cd307e3cc..b4a3d6d6ae7 100644
--- a/etc/ChangeLog
+++ b/etc/ChangeLog
@@ -1,3 +1,7 @@
12011-03-22 Sebastian Hermida <sebas00@gmail.com>
2
3 * themes/misterioso-theme.el: New file.
4
12011-03-16 Juanma Barranquero <lekktu@gmail.com> 52011-03-16 Juanma Barranquero <lekktu@gmail.com>
2 6
3 * NEWS: Document warning about _emacs. 7 * NEWS: Document warning about _emacs.
diff --git a/etc/NEWS b/etc/NEWS
index a7ec965e3d6..969b1cdcf5f 100644
--- a/etc/NEWS
+++ b/etc/NEWS
@@ -162,6 +162,9 @@ cannot be encoded by the `terminal-coding-system'.
162 162
163** On graphical displays, the mode-line no longer ends in dashes. 163** On graphical displays, the mode-line no longer ends in dashes.
164 164
165** On Nextstep/OSX, the menu bar can be hidden by customizing
166 ns-auto-hide-menu-bar.
167
165** Basic SELinux support has been added. 168** Basic SELinux support has been added.
166This requires Emacs to be linked with libselinux at build time. 169This requires Emacs to be linked with libselinux at build time.
167 170
@@ -745,7 +748,13 @@ sc.el, x-menu.el, rnews.el, rnewspost.el
745 748
746* Lisp changes in Emacs 24.1 749* Lisp changes in Emacs 24.1
747 750
751** pre/post-command-hook are not reset to nil upon error.
752Instead, the offending function is removed.
753
754** New low-level function run-hook-wrapped.
755
748** byte-compile-disable-print-circle is obsolete. 756** byte-compile-disable-print-circle is obsolete.
757** deferred-action-list and deferred-action-function are obsolete.
749** Removed the stack-trace-on-error variable. 758** Removed the stack-trace-on-error variable.
750Also the debugger can now "continue" from an error, which means it will jump 759Also the debugger can now "continue" from an error, which means it will jump
751to the error handler as if the debugger had not been invoked instead of 760to the error handler as if the debugger had not been invoked instead of
diff --git a/etc/themes/misterioso-theme.el b/etc/themes/misterioso-theme.el
new file mode 100644
index 00000000000..864d31d9b09
--- /dev/null
+++ b/etc/themes/misterioso-theme.el
@@ -0,0 +1,110 @@
1;;; misterioso-theme.el --- Custom face theme for Emacs
2
3;; Copyright (C) 2011 Free Software Foundation, Inc.
4
5;; Author: Sebastian Hermida
6
7;; This file is part of GNU Emacs.
8
9;; GNU Emacs is free software: you can redistribute it and/or modify
10;; it under the terms of the GNU General Public License as published by
11;; the Free Software Foundation, either version 3 of the License, or
12;; (at your option) any later version.
13
14;; GNU Emacs is distributed in the hope that it will be useful,
15;; but WITHOUT ANY WARRANTY; without even the implied warranty of
16;; MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
17;; GNU General Public License for more details.
18
19;; You should have received a copy of the GNU General Public License
20;; along with GNU Emacs. If not, see <http://www.gnu.org/licenses/>.
21
22;;; Code:
23
24(deftheme misterioso
25 "Theme for faces, using light colors on a dark gray background.")
26
27(let ((class '((class color) (min-colors 89))))
28
29 (custom-theme-set-faces
30 'misterioso
31 ;; Ensure sufficient contrast on 256-color xterms.
32 `(default ((((class color) (min-colors 4096))
33 (:background "#2d3743" :foreground "#e1e1e0"))
34 (,class
35 (:background "#3a3a3a" :foreground "#e1e1e0"))))
36 `(cursor ((,class (:background "#415160" :foreground "#415160"))))
37 ;; Highlighting faces
38 `(fringe ((,class (:background "#2e3748"))))
39 `(highlight ((,class (:background "#338f86" :foreground "#e1e1e0"))))
40 `(region ((,class (:background "#2d4948" :foreground "#e1e1e0"))))
41 `(isearch ((,class (:background "#fcffad" :foreground "#000000"))))
42 `(lazy-highlight ((,class (:background "#338f86"))))
43 `(trailing-whitespace ((,class (:background "#ff4242"))))
44 ;; Mode line faces
45 `(mode-line ((,class (:background "#212931" :foreground "#eeeeec"))))
46 `(mode-line-inactive
47 ((,class (:background "#878787" :foreground "#eeeeec"))))
48 `(header-line ((,class (:background "#e5e5e5" :foreground "#333333"))))
49 ;; Escape and prompt faces
50 `(minibuffer-prompt ((,class (:foreground "#729fcf" :weight bold))))
51 ;; Font lock faces
52 `(font-lock-builtin-face ((,class (:foreground "#23d7d7"))))
53 `(font-lock-comment-face ((,class (:foreground "#74af68"))))
54 `(font-lock-constant-face ((,class (:foreground "#008b8b"))))
55 `(font-lock-function-name-face
56 ((,class (:foreground "#00ede1" :weight bold))))
57 `(font-lock-keyword-face ((,class (:foreground "#ffad29" :weight bold))))
58 `(font-lock-string-face ((,class (:foreground "#e67128"))))
59 `(font-lock-type-face ((,class (:foreground "#34cae2"))))
60 `(font-lock-variable-name-face ((,class (:foreground "#dbdb95"))))
61 `(font-lock-warning-face ((,class (:foreground "#ff4242" :weight bold))))
62 ;; Buttons and links
63 `(button ((,class (:underline t))))
64 `(link ((,class (:foreground "#59e9ff" :underline t))))
65 `(link-visited ((,class (:foreground "#ed74cd" :underline t))))
66 ;; Gnus faces
67 `(gnus-group-news-1 ((,class (:foreground "#ff4242" :weight bold))))
68 `(gnus-group-news-1-low ((,class (:foreground "#ff4242"))))
69 `(gnus-group-news-2 ((,class (:foreground "#00ede1" :weight bold))))
70 `(gnus-group-news-2-low ((,class (:foreground "#00ede1"))))
71 `(gnus-group-news-3 ((,class (:foreground "#23d7d7" :weight bold))))
72 `(gnus-group-news-3-low ((,class (:foreground "#23d7d7"))))
73 `(gnus-group-news-4 ((,class (:foreground "#74af68" :weight bold))))
74 `(gnus-group-news-4-low ((,class (:foreground "#74af68"))))
75 `(gnus-group-news-5 ((,class (:foreground "#dbdb95" :weight bold))))
76 `(gnus-group-news-5-low ((,class (:foreground "#dbdb95"))))
77 `(gnus-group-news-low ((,class (:foreground "#008b8b"))))
78 `(gnus-group-mail-1 ((,class (:foreground "#ff4242" :weight bold))))
79 `(gnus-group-mail-1-low ((,class (:foreground "#ff4242"))))
80 `(gnus-group-mail-2 ((,class (:foreground "#00ede1" :weight bold))))
81 `(gnus-group-mail-2-low ((,class (:foreground "#00ede1"))))
82 `(gnus-group-mail-3 ((,class (:foreground "#23d7d7" :weight bold))))
83 `(gnus-group-mail-3-low ((,class (:foreground "#23d7d7"))))
84 `(gnus-group-mail-low ((,class (:foreground "#008b8b"))))
85 `(gnus-header-content ((,class (:weight normal :foreground "#ffad29"))))
86 `(gnus-header-from ((,class (:foreground "#e67128" :weight bold))))
87 `(gnus-header-subject ((,class (:foreground "#dbdb95"))))
88 `(gnus-header-name ((,class (:foreground "#00ede1"))))
89 `(gnus-header-newsgroups ((,class (:foreground "#e67128"))))
90 ;; Message faces
91 `(message-header-name ((,class (:foreground "#ffad29" :weight bold))))
92 `(message-header-cc ((,class (:foreground "#e67128"))))
93 `(message-header-other ((,class (:foreground "#e67128"))))
94 `(message-header-subject ((,class (:foreground "#dbdb95"))))
95 `(message-header-to ((,class (:foreground "#00ede1"))))
96 `(message-cited-text ((,class (:foreground "#74af68"))))
97 `(message-separator ((,class (:foreground "#23d7d7"))))))
98
99(custom-theme-set-variables
100 'misterioso
101 '(ansi-color-names-vector ["#2d3743" "#ff4242" "#74af68" "#dbdb95"
102 "#34cae2" "#008b8b" "#00ede1" "#e1e1e0"]))
103
104(provide-theme 'misterioso)
105
106;; Local Variables:
107;; no-byte-compile: t
108;; End:
109
110;;; misterioso-theme.el ends here