diff options
| author | Paul Eggert | 2011-03-22 17:24:09 -0700 |
|---|---|---|
| committer | Paul Eggert | 2011-03-22 17:24:09 -0700 |
| commit | 2c520ab5fb6054f0f54804301e36d519387ccbab (patch) | |
| tree | 0ec880a6bd0d3b82ea93caa1802601f31f2f7e67 | |
| parent | 8af8e70ee535bd2d657a034e1452f78925c9ca38 (diff) | |
| parent | 9d0da923ebd2b78abb6e02f0b90cfe9d818eb301 (diff) | |
| download | emacs-2c520ab5fb6054f0f54804301e36d519387ccbab.tar.gz emacs-2c520ab5fb6054f0f54804301e36d519387ccbab.zip | |
Merge from mainline.
| -rw-r--r-- | etc/ChangeLog | 4 | ||||
| -rw-r--r-- | etc/themes/misterioso-theme.el | 110 | ||||
| -rw-r--r-- | lisp/ChangeLog | 6 | ||||
| -rw-r--r-- | lisp/emacs-lisp/derived.el | 2 | ||||
| -rw-r--r-- | src/ChangeLog | 9 | ||||
| -rw-r--r-- | src/xterm.c | 10 |
6 files changed, 134 insertions, 7 deletions
diff --git a/etc/ChangeLog b/etc/ChangeLog index 53cd307e3cc..b4a3d6d6ae7 100644 --- a/etc/ChangeLog +++ b/etc/ChangeLog | |||
| @@ -1,3 +1,7 @@ | |||
| 1 | 2011-03-22 Sebastian Hermida <sebas00@gmail.com> | ||
| 2 | |||
| 3 | * themes/misterioso-theme.el: New file. | ||
| 4 | |||
| 1 | 2011-03-16 Juanma Barranquero <lekktu@gmail.com> | 5 | 2011-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/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 | ||
diff --git a/lisp/ChangeLog b/lisp/ChangeLog index 6b7dd5a0463..e508174e118 100644 --- a/lisp/ChangeLog +++ b/lisp/ChangeLog | |||
| @@ -1,3 +1,9 @@ | |||
| 1 | 2011-03-22 Juanma Barranquero <lekktu@gmail.com> | ||
| 2 | |||
| 3 | * emacs-lisp/derived.el (define-derived-mode): Wrap declaration of | ||
| 4 | keymap variable in `with-no-warnings' to avoid a warning when the | ||
| 5 | keymap has been already `defconst'ed. | ||
| 6 | |||
| 1 | 2011-03-22 Leo Liu <sdl.web@gmail.com> | 7 | 2011-03-22 Leo Liu <sdl.web@gmail.com> |
| 2 | 8 | ||
| 3 | * abbrev.el (write-abbrev-file): Use utf-8 for writing if it can | 9 | * abbrev.el (write-abbrev-file): Use utf-8 for writing if it can |
diff --git a/lisp/emacs-lisp/derived.el b/lisp/emacs-lisp/derived.el index 425a77ee77f..1db98ac39c8 100644 --- a/lisp/emacs-lisp/derived.el +++ b/lisp/emacs-lisp/derived.el | |||
| @@ -201,7 +201,7 @@ No problems result if this variable is not bound. | |||
| 201 | name)))) | 201 | name)))) |
| 202 | (unless (boundp ',map) | 202 | (unless (boundp ',map) |
| 203 | (put ',map 'definition-name ',child)) | 203 | (put ',map 'definition-name ',child)) |
| 204 | (defvar ,map (make-sparse-keymap)) | 204 | (with-no-warnings (defvar ,map (make-sparse-keymap))) |
| 205 | (unless (get ',map 'variable-documentation) | 205 | (unless (get ',map 'variable-documentation) |
| 206 | (put ',map 'variable-documentation | 206 | (put ',map 'variable-documentation |
| 207 | (purecopy ,(format "Keymap for `%s'." child)))) | 207 | (purecopy ,(format "Keymap for `%s'." child)))) |
diff --git a/src/ChangeLog b/src/ChangeLog index 7e9bec9b6e9..007a21e0353 100644 --- a/src/ChangeLog +++ b/src/ChangeLog | |||
| @@ -1,4 +1,4 @@ | |||
| 1 | 2011-03-22 Paul Eggert <eggert@cs.ucla.edu> | 1 | 2011-03-23 Paul Eggert <eggert@cs.ucla.edu> |
| 2 | 2 | ||
| 3 | * coding.c (encode_coding_raw_text): Avoid unnecessary test | 3 | * coding.c (encode_coding_raw_text): Avoid unnecessary test |
| 4 | the first time through the loop, since we know p0 < p1 then. | 4 | the first time through the loop, since we know p0 < p1 then. |
| @@ -22,8 +22,6 @@ | |||
| 22 | * scroll.c (do_scrolling): Work around GCC bug 48228. | 22 | * scroll.c (do_scrolling): Work around GCC bug 48228. |
| 23 | See <http://gcc.gnu.org/bugzilla/show_bug.cgi?id=48228>. | 23 | See <http://gcc.gnu.org/bugzilla/show_bug.cgi?id=48228>. |
| 24 | 24 | ||
| 25 | 2011-03-21 Paul Eggert <eggert@cs.ucla.edu> | ||
| 26 | |||
| 27 | * frame.c (Fmodify_frame_parameters): Simplify loop counter. | 25 | * frame.c (Fmodify_frame_parameters): Simplify loop counter. |
| 28 | This also avoids a warning with gcc -Wstrict-overflow. | 26 | This also avoids a warning with gcc -Wstrict-overflow. |
| 29 | (validate_x_resource_name): Simplify count usage. | 27 | (validate_x_resource_name): Simplify count usage. |
| @@ -125,6 +123,11 @@ | |||
| 125 | * callproc.c (call_process_cleanup): Now static. | 123 | * callproc.c (call_process_cleanup): Now static. |
| 126 | (relocate_fd): Rename locals to avoid shadowing. | 124 | (relocate_fd): Rename locals to avoid shadowing. |
| 127 | 125 | ||
| 126 | 2011-03-22 Chong Yidong <cyd@stupidchicken.com> | ||
| 127 | |||
| 128 | * xterm.c (x_clear_frame): Remove XClearWindow call. This appears | ||
| 129 | not to be necessary, and produces flickering. | ||
| 130 | |||
| 128 | 2011-03-20 Glenn Morris <rgm@gnu.org> | 131 | 2011-03-20 Glenn Morris <rgm@gnu.org> |
| 129 | 132 | ||
| 130 | * config.in: Remove file. | 133 | * config.in: Remove file. |
diff --git a/src/xterm.c b/src/xterm.c index fd7ffd68e62..f87c22912a4 100644 --- a/src/xterm.c +++ b/src/xterm.c | |||
| @@ -2928,10 +2928,14 @@ x_clear_frame (struct frame *f) | |||
| 2928 | /* We don't set the output cursor here because there will always | 2928 | /* We don't set the output cursor here because there will always |
| 2929 | follow an explicit cursor_to. */ | 2929 | follow an explicit cursor_to. */ |
| 2930 | BLOCK_INPUT; | 2930 | BLOCK_INPUT; |
| 2931 | XClearWindow (FRAME_X_DISPLAY (f), FRAME_X_WINDOW (f)); | ||
| 2932 | 2931 | ||
| 2933 | /* We have to clear the scroll bars, too. If we have changed | 2932 | /* The following calls have been commented out because they do not |
| 2934 | colors or something like that, then they should be notified. */ | 2933 | seem to accomplish anything, apart from causing flickering during |
| 2934 | window resize. */ | ||
| 2935 | /* XClearWindow (FRAME_X_DISPLAY (f), FRAME_X_WINDOW (f)); */ | ||
| 2936 | |||
| 2937 | /* We have to clear the scroll bars. If we have changed colors or | ||
| 2938 | something like that, then they should be notified. */ | ||
| 2935 | x_scroll_bar_clear (f); | 2939 | x_scroll_bar_clear (f); |
| 2936 | 2940 | ||
| 2937 | #if defined (USE_GTK) && defined (USE_TOOLKIT_SCROLL_BARS) | 2941 | #if defined (USE_GTK) && defined (USE_TOOLKIT_SCROLL_BARS) |