aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorStefan Monnier2014-09-30 19:19:31 -0400
committerStefan Monnier2014-09-30 19:19:31 -0400
commit07bec0fc67ee0b26685f0ec7f28d9b73f67bf3de (patch)
tree222adf06960f86aa8b2f560217d39c9fe39d3996
parent6aed001ad31d41f028d77e66e597b7b3ab4e31ae (diff)
parentd3b7a90bc2ad20192d1afd23eb1aa6a18ceda569 (diff)
downloademacs-07bec0fc67ee0b26685f0ec7f28d9b73f67bf3de.tar.gz
emacs-07bec0fc67ee0b26685f0ec7f28d9b73f67bf3de.zip
Merge from emacs-24
-rw-r--r--etc/ChangeLog14
-rw-r--r--etc/charsets/README2
-rw-r--r--etc/package-keyring.gpgbin0 -> 999 bytes
-rw-r--r--etc/themes/leuven-theme.el225
-rw-r--r--lisp/ChangeLog12
-rw-r--r--lisp/emacs-lisp/package.el16
-rw-r--r--lisp/erc/ChangeLog10
-rw-r--r--lisp/erc/erc-track.el79
-rw-r--r--lisp/mh-e/ChangeLog4
-rw-r--r--lisp/progmodes/python.el6
-rw-r--r--src/ChangeLog40
-rw-r--r--src/dispnew.c5
-rw-r--r--src/w32fns.c47
-rw-r--r--src/w32term.c54
-rw-r--r--src/window.c2
-rw-r--r--src/xdisp.c60
16 files changed, 387 insertions, 189 deletions
diff --git a/etc/ChangeLog b/etc/ChangeLog
index 05f4dcade27..b27e85e86f8 100644
--- a/etc/ChangeLog
+++ b/etc/ChangeLog
@@ -1,3 +1,17 @@
12014-09-30 Bill Wohler <wohler@newt.com>
2
3 Release MH-E version 8.6
4
5 * NEWS, MH-E-NEWS: Update for MH-E release 8.6.
6
72014-09-30 Fabrice Niessen <fniessen@pirilampo.org>
8
9 * themes/leuven-theme.el: Updates.
10
112014-09-30 Stefan Monnier <monnier@iro.umontreal.ca>
12
13 * package-keyring.gpg: New file.
14
12014-09-30 Paul Eggert <eggert@cs.ucla.edu> 152014-09-30 Paul Eggert <eggert@cs.ucla.edu>
2 16
3 * TODO: Remove char/unsigned char, long long, IRIX unexelf.c. 17 * TODO: Remove char/unsigned char, long long, IRIX unexelf.c.
diff --git a/etc/charsets/README b/etc/charsets/README
index 654178f7b88..8d443bdc115 100644
--- a/etc/charsets/README
+++ b/etc/charsets/README
@@ -38,5 +38,5 @@ Examples:
38(2) Source of mapping files 38(2) Source of mapping files
39 39
40All mapping files are generated automatically from data files freely 40All mapping files are generated automatically from data files freely
41available on the Internet (e.g. glibc/localedata/charmaps"). See the 41available on the Internet (e.g. glibc/localedata/charmaps). See the
42file ../../admin/charsets/mapfiles/README for the detail. 42file ../../admin/charsets/mapfiles/README for the detail.
diff --git a/etc/package-keyring.gpg b/etc/package-keyring.gpg
new file mode 100644
index 00000000000..e76e68522f3
--- /dev/null
+++ b/etc/package-keyring.gpg
Binary files differ
diff --git a/etc/themes/leuven-theme.el b/etc/themes/leuven-theme.el
index 7285398e6c9..40304c899b6 100644
--- a/etc/themes/leuven-theme.el
+++ b/etc/themes/leuven-theme.el
@@ -4,7 +4,7 @@
4 4
5;; Author: Fabrice Niessen <(concat "fniessen" at-sign "pirilampo.org")> 5;; Author: Fabrice Niessen <(concat "fniessen" at-sign "pirilampo.org")>
6;; URL: https://github.com/fniessen/emacs-leuven-theme 6;; URL: https://github.com/fniessen/emacs-leuven-theme
7;; Version: 20140113.1205 7;; Version: 20140929.1232
8;; Keywords: color theme 8;; Keywords: color theme
9 9
10;; This file is part of GNU Emacs. 10;; This file is part of GNU Emacs.
@@ -24,7 +24,7 @@
24 24
25;;; Commentary: 25;;; Commentary:
26 26
27;; This Org-enhancing color theme "leuven" ROCKS! 27;; This elegant Org-enhancing color theme "leuven" ROCKS!
28;; ... and not just for Org mode. 28;; ... and not just for Org mode.
29;; 29;;
30;; To use it, put the following in your Emacs configuration file: 30;; To use it, put the following in your Emacs configuration file:
@@ -46,18 +46,26 @@ Semantic, and Ansi-Color faces are included -- and much more...")
46 (cancel '(:slant italic :strike-through t :foreground "gray55")) 46 (cancel '(:slant italic :strike-through t :foreground "gray55"))
47 (clock-line '(:box (:line-width 1 :color "#335EA8") :foreground "black" :background "#EEC900")) 47 (clock-line '(:box (:line-width 1 :color "#335EA8") :foreground "black" :background "#EEC900"))
48 (code-block '(:foreground "#000088" :background "#FFFFE0")) 48 (code-block '(:foreground "#000088" :background "#FFFFE0"))
49 (code-inline '(:foreground "#007300" :background "#EBF5EB")) 49 (code-inline '(:foreground "#006400" :background "#FDFFF7"))
50 (column '(:height 1.0 :weight normal :slant normal :underline nil :strike-through nil :foreground "#E6AD4F" :background "#FFF2DE")) 50 (column '(:height 1.0 :weight normal :slant normal :underline nil :strike-through nil :foreground "#E6AD4F" :background "#FFF2DE"))
51 (diff-added '(:foreground "#008000" :background "#DDFFDD")) 51 (diff-added '(:foreground "#008000" :background "#DDFFDD"))
52 (diff-changed '(:foreground "#0000FF" :background "#DDDDFF"))
53 (diff-header '(:foreground "#800000" :background "#FFFFAF"))
52 (diff-hunk-header '(:foreground "#990099" :background "#FFEEFF")) 54 (diff-hunk-header '(:foreground "#990099" :background "#FFEEFF"))
53 (diff-none '(:foreground "gray33")) 55 (diff-none '(:foreground "gray33"))
54 (diff-removed '(:foreground "#A60000" :background "#FFDDDD")) 56 (diff-removed '(:foreground "#A60000" :background "#FFDDDD"))
55 (directory '(:weight bold :foreground "blue" :background "#FFFFD2")) 57 (directory '(:weight bold :foreground "blue" :background "#FFFFD2"))
56 (highlight-line '(:background "#FEFCAE")) ; #F5F5F5 or #CCDEED 58 (highlight-line '(:background "#FFFFD7")) ; #F5F5F5
57 (link '(:underline t :foreground "#006DAF")) 59 (highlight-line-gnus '(:background "#DAEAFC")) ; defined in `gnus-leuven.el'
58 (mail-header-name '(:weight bold :foreground "black")) 60 (link '(:weight normal :underline t :foreground "#006DAF"))
61 (mail-header-name '(:family "Sans Serif" :weight normal :foreground "#A3A3A2"))
62 (mail-header-other '(:family "Sans Serif" :slant normal :foreground "#666666"))
63 (mail-read '(:weight normal :foreground "#86878B"))
64 (mail-ticked '(:weight bold :background "#FBE6EF"))
65 (mail-to '(:family "Sans Serif" :underline nil :foreground "#006DAF"))
66 (mail-unread '(:weight bold :foreground "black"))
59 (marked-line '(:weight bold :foreground "white" :background "red")) 67 (marked-line '(:weight bold :foreground "white" :background "red"))
60 (match '(:background "#FBE448")) 68 (match '(:weight bold :background "#FBE448")) ; occur patterns
61 (ol1 '(:height 1.3 :weight bold :overline "#A7A7A7" :foreground "#3C3C3C" :background "#F0F0F0")) 69 (ol1 '(:height 1.3 :weight bold :overline "#A7A7A7" :foreground "#3C3C3C" :background "#F0F0F0"))
62 (ol2 '(:height 1.0 :weight bold :overline "#123555" :foreground "#123555" :background "#E5F4FB")) 70 (ol2 '(:height 1.0 :weight bold :overline "#123555" :foreground "#123555" :background "#E5F4FB"))
63 (ol3 '(:height 1.0 :weight bold :foreground "#005522" :background "#EFFFEF")) 71 (ol3 '(:height 1.0 :weight bold :foreground "#005522" :background "#EFFFEF"))
@@ -66,12 +74,14 @@ Semantic, and Ansi-Color faces are included -- and much more...")
66 (ol6 '(:height 1.0 :weight bold :slant italic :foreground "#0077CC")) 74 (ol6 '(:height 1.0 :weight bold :slant italic :foreground "#0077CC"))
67 (ol7 '(:height 1.0 :weight bold :slant italic :foreground "#2EAE2C")) 75 (ol7 '(:height 1.0 :weight bold :slant italic :foreground "#2EAE2C"))
68 (ol8 '(:height 1.0 :weight bold :slant italic :foreground "#FD8008")) 76 (ol8 '(:height 1.0 :weight bold :slant italic :foreground "#FD8008"))
69 (region '(:background "#ADD6FF")) ; #CCCCCC 77 (paren-matched '(:background "#99CCFF"))
78 (paren-unmatched '(:underline "red" :foreground nil :background "#FFDCDC"))
79 (region '(:background "#ABDFFA"))
70 (shadow '(:foreground "#7F7F7F")) 80 (shadow '(:foreground "#7F7F7F"))
71 (string '(:foreground "#036A07")) ; #D0372D or #23238E or #20590C 81 (string '(:foreground "#008000")) ; or #D0372D
72 (subject '(:weight bold :foreground "#CF5D60")) 82 (subject '(:family "Sans Serif" :weight bold :foreground "black"))
73 (symlink '(:foreground "deep sky blue")) 83 (symlink '(:foreground "deep sky blue"))
74 (volatile-highlight '(:background "#FBE448")) 84 (volatile-highlight '(:underline nil :background "#FFF876"))
75 (vc-branch '(:box (:line-width 1 :color "#00CC33") :foreground "black" :background "#AAFFAA"))) 85 (vc-branch '(:box (:line-width 1 :color "#00CC33") :foreground "black" :background "#AAFFAA")))
76 86
77 (custom-theme-set-faces 87 (custom-theme-set-faces
@@ -84,19 +94,19 @@ Semantic, and Ansi-Color faces are included -- and much more...")
84 `(cursor ((,class (:background "#0FB300")))) 94 `(cursor ((,class (:background "#0FB300"))))
85 95
86 ;; Highlighting faces 96 ;; Highlighting faces
87 `(fringe ((,class (:foreground "#F7A421" :background "#F2F2F2")))) 97 `(fringe ((,class (:foreground "#9B9B9B" :background "#EDEDED"))))
88 `(highlight ((,class ,volatile-highlight))) 98 `(highlight ((,class ,volatile-highlight)))
89 `(region ((,class ,region))) 99 `(region ((,class ,region)))
90 `(secondary-selection ((,class ,match))) ; used by Org-mode for highlighting matched entries and keywords 100 `(secondary-selection ((,class ,match))) ; used by Org-mode for highlighting matched entries and keywords
91 `(isearch ((,class (:weight bold :foreground "#00AA00" :background "#99FF99")))) 101 `(isearch ((,class (:weight bold :underline "#FF9632" :foreground nil :background "#FDBD33"))))
92 `(isearch-fail ((,class (:weight bold :foreground "black" :background "#FF9999")))) 102 `(isearch-fail ((,class (:weight bold :foreground "black" :background "#FF9999"))))
93 `(lazy-highlight ((,class (:weight bold :foreground "#990099" :background "#FF66FF")))) 103 `(lazy-highlight ((,class (:underline "#FF9632" :background "#FFFF00")))) ; isearch others
94 `(trailing-whitespace ((,class (:background "#F6EBFE")))) 104 `(trailing-whitespace ((,class (:background "#FFFF57"))))
95 `(whitespace-hspace ((,class (:foreground "#D2D2D2")))) 105 `(whitespace-hspace ((,class (:foreground "#D2D2D2"))))
96 `(whitespace-indentation ((,class (:foreground "firebrick" :background "yellow")))) 106 `(whitespace-indentation ((,class (:foreground "#A1A1A1" :background "white"))))
97 `(whitespace-line ((,class (:foreground "#CC0000" :background "#FFFF88")))) 107 `(whitespace-line ((,class (:foreground "#CC0000" :background "#FFFF88"))))
98 `(whitespace-tab ((,class (:foreground "lightgray" :background "beige")))) 108 `(whitespace-tab ((,class (:foreground "#A1A1A1" :background "white"))))
99 `(whitespace-trailing ((,class (:weight bold :foreground "yellow" :background "red1")))) 109 `(whitespace-trailing ((,class (:foreground "#B3B3B3" :background "#FFFF57"))))
100 110
101 ;; Mode line faces 111 ;; Mode line faces
102 `(mode-line ((,class (:box (:line-width 1 :color "#1A2F54") :foreground "#85CEEB" :background "#335EA8")))) 112 `(mode-line ((,class (:box (:line-width 1 :color "#1A2F54") :foreground "#85CEEB" :background "#335EA8"))))
@@ -118,8 +128,8 @@ Semantic, and Ansi-Color faces are included -- and much more...")
118 `(font-lock-comment-delimiter-face ((,class (:foreground "#8D8D84")))) ; #696969 128 `(font-lock-comment-delimiter-face ((,class (:foreground "#8D8D84")))) ; #696969
119 `(font-lock-comment-face ((,class (:slant italic :foreground "#8D8D84")))) ; #696969 129 `(font-lock-comment-face ((,class (:slant italic :foreground "#8D8D84")))) ; #696969
120 `(font-lock-constant-face ((,class (:foreground "#D0372D")))) 130 `(font-lock-constant-face ((,class (:foreground "#D0372D"))))
121 `(font-lock-doc-face ((,class (:foreground "#008000")))) 131 `(font-lock-doc-face ((,class (:foreground "#036A07"))))
122 `(font-lock-doc-string-face ((,class (:foreground "#008000")))) 132 ;; `(font-lock-doc-string-face ((,class (:foreground "#008000")))) ; XEmacs only, but is used for HTML exports from org2html (and not interactively)
123 `(font-lock-function-name-face ((,class (:weight normal :foreground "#006699")))) 133 `(font-lock-function-name-face ((,class (:weight normal :foreground "#006699"))))
124 `(font-lock-keyword-face ((,class (:bold nil :foreground "#0000FF")))) ; #3654DC 134 `(font-lock-keyword-face ((,class (:bold nil :foreground "#0000FF")))) ; #3654DC
125 `(font-lock-preprocessor-face ((,class (:foreground "#808080")))) 135 `(font-lock-preprocessor-face ((,class (:foreground "#808080"))))
@@ -131,12 +141,13 @@ Semantic, and Ansi-Color faces are included -- and much more...")
131 `(font-lock-warning-face ((,class (:weight bold :foreground "red")))) 141 `(font-lock-warning-face ((,class (:weight bold :foreground "red"))))
132 142
133 ;; Button and link faces 143 ;; Button and link faces
134 `(link ((,class (:underline t :foreground "#8AC6F2")))) 144 `(link ((,class ,link)))
135 `(link-visited ((,class (:underline t :foreground "#E5786D")))) 145 `(link-visited ((,class (:underline t :foreground "#E5786D"))))
136 `(button ((,class (:underline t :foreground "#006DAF")))) 146 `(button ((,class (:underline t :foreground "#006DAF"))))
137 `(header-line ((,class (:weight bold :underline "black" :overline "black" :foreground "black" :background "#FFFF88")))) 147 `(header-line ((,class (:weight bold :underline "black" :overline "black" :foreground "black" :background "#FFFF88"))))
138 148
139 ;; Gnus faces 149 ;; Gnus faces
150 `(gnus-button ((,class (:weight normal))))
140 `(gnus-cite-attribution-face ((,class (:foreground "#5050B0")))) 151 `(gnus-cite-attribution-face ((,class (:foreground "#5050B0"))))
141 `(gnus-cite-face-1 ((,class (:foreground "#5050B0")))) 152 `(gnus-cite-face-1 ((,class (:foreground "#5050B0"))))
142 `(gnus-cite-face-10 ((,class (:foreground "#990000")))) 153 `(gnus-cite-face-10 ((,class (:foreground "#990000"))))
@@ -155,7 +166,7 @@ Semantic, and Ansi-Color faces are included -- and much more...")
155 `(gnus-group-mail-2 ((,class (:weight bold :foreground "#FF0066")))) 166 `(gnus-group-mail-2 ((,class (:weight bold :foreground "#FF0066"))))
156 `(gnus-group-mail-2-empty ((,class (:foreground "#660066")))) 167 `(gnus-group-mail-2-empty ((,class (:foreground "#660066"))))
157 `(gnus-group-mail-3 ((,class (:weight bold :foreground "black")))) 168 `(gnus-group-mail-3 ((,class (:weight bold :foreground "black"))))
158 `(gnus-group-mail-3-empty ((,class (:foreground "#808080")))) 169 `(gnus-group-mail-3-empty ((,class ,mail-read)))
159 `(gnus-group-mail-low ((,class ,cancel))) 170 `(gnus-group-mail-low ((,class ,cancel)))
160 `(gnus-group-mail-low-empty ((,class ,cancel))) 171 `(gnus-group-mail-low-empty ((,class ,cancel)))
161 `(gnus-group-news-1 ((,class (:weight bold :foreground "#FF50B0")))) 172 `(gnus-group-news-1 ((,class (:weight bold :foreground "#FF50B0"))))
@@ -170,8 +181,8 @@ Semantic, and Ansi-Color faces are included -- and much more...")
170 `(gnus-group-news-5-empty ((,class (:foreground "#000099")))) 181 `(gnus-group-news-5-empty ((,class (:foreground "#000099"))))
171 `(gnus-group-news-6 ((,class (:weight bold :foreground "gray50")))) 182 `(gnus-group-news-6 ((,class (:weight bold :foreground "gray50"))))
172 `(gnus-group-news-6-empty ((,class (:foreground "#808080")))) 183 `(gnus-group-news-6-empty ((,class (:foreground "#808080"))))
173 `(gnus-header-content ((,class (:family "Sans Serif" :foreground "#3399CC")))) 184 `(gnus-header-content ((,class ,mail-header-other)))
174 `(gnus-header-from ((,class (:family "Sans Serif" :foreground "blue")))) 185 `(gnus-header-from ((,class (:family "Sans Serif" :foreground "black"))))
175 `(gnus-header-name ((,class ,mail-header-name))) 186 `(gnus-header-name ((,class ,mail-header-name)))
176 `(gnus-header-newsgroups ((,class (:family "Sans Serif" :foreground "#3399CC")))) 187 `(gnus-header-newsgroups ((,class (:family "Sans Serif" :foreground "#3399CC"))))
177 `(gnus-header-subject ((,class ,subject))) 188 `(gnus-header-subject ((,class ,subject)))
@@ -179,50 +190,51 @@ Semantic, and Ansi-Color faces are included -- and much more...")
179 `(gnus-picon-xbm ((,class (:foreground "yellow" :background "white")))) 190 `(gnus-picon-xbm ((,class (:foreground "yellow" :background "white"))))
180 `(gnus-server-closed ((,class (:slant italic :foreground "blue" :background "white")))) 191 `(gnus-server-closed ((,class (:slant italic :foreground "blue" :background "white"))))
181 `(gnus-server-denied ((,class (:weight bold :foreground "red" :background "white")))) 192 `(gnus-server-denied ((,class (:weight bold :foreground "red" :background "white"))))
182 `(gnus-server-opened ((,class (:foreground "white" :background "#83B869")))) 193 `(gnus-server-opened ((,class (:family "Sans Serif" :foreground "white" :foreground "#466BD7"))))
183 `(gnus-signature ((,class (:slant italic :foreground "#7F7F7F")))) 194 `(gnus-signature ((,class (:slant italic :foreground "#8B8D8E"))))
184 `(gnus-splash ((,class (:foreground "#FF8C00")))) 195 `(gnus-splash ((,class (:foreground "#FF8C00"))))
185 `(gnus-summary-cancelled ((,class ,cancel))) 196 `(gnus-summary-cancelled ((,class ,cancel)))
186 `(gnus-summary-high-ancient ((,class (:weight normal :foreground "#808080" :background "#FFFFE6")))) 197 `(gnus-summary-high-ancient ((,class (:weight normal :foreground "#808080" :background "#FFFFE6"))))
187 `(gnus-summary-high-read ((,class (:weight normal :foreground "#808080" :background "#FFFFE6")))) 198 `(gnus-summary-high-read ((,class (:weight normal :foreground "#999999" :background "#FFFFE6"))))
188 `(gnus-summary-high-ticked ((,class (:weight normal :foreground "black" :background "#E7AEB0")))) 199 `(gnus-summary-high-ticked ((,class ,mail-ticked)))
189 `(gnus-summary-high-unread ((,class (:weight normal :foreground "black" :background "#FFFFCC")))) 200 `(gnus-summary-high-unread ((,class (:weight bold :foreground "black" :background "#FFFFCC"))))
190 `(gnus-summary-low-ancient ((,class (:slant italic :foreground "gray55")))) 201 `(gnus-summary-low-ancient ((,class (:slant italic :foreground "gray55"))))
191 `(gnus-summary-low-read ((,class (:slant italic :foreground "gray55" :background "#E0E0E0")))) 202 `(gnus-summary-low-read ((,class (:slant italic :foreground "#999999" :background "#E0E0E0"))))
192 `(gnus-summary-low-ticked ((,class (:slant italic :foreground "black" :background "#E7AEB0")))) 203 `(gnus-summary-low-ticked ((,class ,mail-ticked)))
193 `(gnus-summary-low-unread ((,class (:slant italic :foreground "black")))) 204 `(gnus-summary-low-unread ((,class (:slant italic :foreground "black"))))
194 `(gnus-summary-normal-ancient ((,class (:foreground "#808080")))) 205 `(gnus-summary-normal-ancient ((,class ,mail-read)))
195 `(gnus-summary-normal-read ((,class (:foreground "#808080")))) 206 `(gnus-summary-normal-read ((,class ,mail-read)))
196 `(gnus-summary-normal-ticked ((,class (:foreground "black" :background "#E7AEB0")))) 207 `(gnus-summary-normal-ticked ((,class ,mail-ticked)))
197 `(gnus-summary-normal-unread ((,class (:foreground "black")))) 208 `(gnus-summary-normal-unread ((,class ,mail-unread)))
198 `(gnus-summary-selected ((,class (:underline t :foreground "black" :background "#FFD0D0")))) 209 `(gnus-summary-selected ((,class (:foreground "white" :background "#008CD7"))))
199 `(gnus-x-face ((,class (:foreground "black" :background "white")))) 210 `(gnus-x-face ((,class (:foreground "black" :background "white"))))
200 211
201 ;; Message faces 212 ;; Message faces
202 `(message-header-name ((,class ,mail-header-name))) 213 `(message-header-name ((,class ,mail-header-name)))
203 `(message-header-cc ((,class (:family "Sans Serif" :foreground "blue")))) 214 `(message-header-cc ((,class ,mail-to)))
204 `(message-header-other ((,class (:family "Sans Serif" :foreground "#3399CC")))) 215 `(message-header-other ((,class ,mail-header-other)))
205 `(message-header-subject ((,class ,subject))) 216 `(message-header-subject ((,class ,subject)))
206 `(message-header-to ((,class (:family "Sans Serif" :foreground "blue")))) 217 `(message-header-to ((,class ,mail-to)))
207 `(message-cited-text ((,class (:foreground "#5050B0")))) 218 `(message-cited-text ((,class (:foreground "#5050B0"))))
208 `(message-separator ((,class (:family "Sans Serif" :weight bold :foreground "red")))) 219 `(message-separator ((,class (:family "Sans Serif" :weight normal :foreground "#BDC2C6"))))
209 `(message-header-newsgroups ((,class (:family "Sans Serif" :foreground "#3399CC")))) 220 `(message-header-newsgroups ((,class (:family "Sans Serif" :foreground "#3399CC"))))
210 `(message-header-xheader ((,class (:family "Sans Serif" :foreground "#3399CC")))) 221 `(message-header-xheader ((,class ,mail-header-other)))
211 `(message-mml ((,class (:foreground "forest green")))) 222 `(message-mml ((,class (:foreground "forest green"))))
212 223
213 ;; Diff 224 ;; Diff
214 `(diff-added ((,class ,diff-added))) 225 `(diff-added ((,class ,diff-added)))
215 `(diff-changed ((,class (:foreground "blue" :background "#DDDDFF")))) 226 `(diff-changed ((,class ,diff-changed)))
216 `(diff-context ((,class ,diff-none))) 227 `(diff-context ((,class ,diff-none)))
217 `(diff-file-header ((,class (:foreground "#0000CC" :background "#EAF2F5")))) 228 `(diff-file-header ((,class ,diff-header)))
218 `(diff-file1-hunk-header ((,class (:foreground "dark magenta" :background "#EAF2F5")))) 229 `(diff-file1-hunk-header ((,class (:foreground "dark magenta" :background "#EAF2F5"))))
219 `(diff-file2-hunk-header ((,class (:foreground "#2B7E2A" :background "#EAF2F5")))) 230 `(diff-file2-hunk-header ((,class (:foreground "#2B7E2A" :background "#EAF2F5"))))
220 `(diff-header ((,class (:foreground "#999999" :background "#EAF2F5")))) 231 `(diff-function ((,class (:foreground "darkgray"))))
232 `(diff-header ((,class ,diff-header)))
221 `(diff-hunk-header ((,class ,diff-hunk-header))) 233 `(diff-hunk-header ((,class ,diff-hunk-header)))
222 `(diff-index ((,class (:foreground "#4183C4" :background "#EAF2F5")))) ; my foreground is NOT applied!? 234 `(diff-index ((,class ,diff-header)))
223 `(diff-indicator-added ((,class (:foreground "#008000" :background "#AAFFAA")))) 235 `(diff-indicator-added ((,class (:background "#AAFFAA"))))
224 `(diff-indicator-changed ((,class (:foreground "black" :background "#AAAAFF")))) 236 `(diff-indicator-changed ((,class (:background "#8080FF"))))
225 `(diff-indicator-removed ((,class (:foreground "#A60000" :background "#FFAAAA")))) 237 `(diff-indicator-removed ((,class (:background "#FFBBBB"))))
226 `(diff-refine-change ((,class (:background "#DDDDFF")))) 238 `(diff-refine-change ((,class (:background "#DDDDFF"))))
227 `(diff-removed ((,class ,diff-removed))) 239 `(diff-removed ((,class ,diff-removed)))
228 240
@@ -241,8 +253,11 @@ Semantic, and Ansi-Color faces are included -- and much more...")
241 `(ediff-odd-diff-B ((,class (:foreground "black" :background "light grey")))) 253 `(ediff-odd-diff-B ((,class (:foreground "black" :background "light grey"))))
242 254
243 ;; Flyspell 255 ;; Flyspell
256;; (when (version< emacs-version "24.XXX")
244 `(flyspell-duplicate ((,class (:underline "#008000" :inherit nil)))) 257 `(flyspell-duplicate ((,class (:underline "#008000" :inherit nil))))
245 `(flyspell-incorrect ((,class (:underline "red" :inherit nil)))) 258 `(flyspell-incorrect ((,class (:underline "red" :inherit nil))))
259;; `(flyspell-duplicate ((,class (:underline (:style wave :color "#008000") :inherit nil))))
260;; `(flyspell-incorrect ((,class (:underline (:style wave :color "red") :inherit nil))))
246 261
247 ;; ;; Semantic faces 262 ;; ;; Semantic faces
248 ;; `(semantic-decoration-on-includes ((,class (:underline ,cham-4)))) 263 ;; `(semantic-decoration-on-includes ((,class (:underline ,cham-4))))
@@ -257,13 +272,19 @@ Semantic, and Ansi-Color faces are included -- and much more...")
257 `(Info-title-2-face ((,class ,ol2))) 272 `(Info-title-2-face ((,class ,ol2)))
258 `(Info-title-3-face ((,class ,ol3))) 273 `(Info-title-3-face ((,class ,ol3)))
259 `(Info-title-4-face ((,class ,ol4))) 274 `(Info-title-4-face ((,class ,ol4)))
275 `(ac-completion-face ((,class (:underline nil :foreground "#C0C0C0")))) ; like Google
260 `(ace-jump-face-foreground ((,class (:foreground "black" :background "#FBE448")))) 276 `(ace-jump-face-foreground ((,class (:foreground "black" :background "#FBE448"))))
277 `(auto-dim-other-buffers-face ((,class (:background "#F7F7F7"))))
261 `(bbdb-company ((,class (:slant italic :foreground "steel blue")))) 278 `(bbdb-company ((,class (:slant italic :foreground "steel blue"))))
262 `(bbdb-field-name ((,class (:weight bold :foreground "steel blue")))) 279 `(bbdb-field-name ((,class (:weight bold :foreground "steel blue"))))
263 `(bbdb-field-value ((,class (:foreground "steel blue")))) 280 `(bbdb-field-value ((,class (:foreground "steel blue"))))
264 `(bbdb-name ((,class (:underline t :foreground "#FF6633")))) 281 `(bbdb-name ((,class (:underline t :foreground "#FF6633"))))
282 `(bmkp-light-autonamed ((,class (:background "#C2DDFD"))))
283 `(bmkp-light-fringe-autonamed ((,class (:background "#90AFD5"))))
284 `(bmkp-light-fringe-non-autonamed ((,class (:background "#D5FFD5"))))
285 `(bmkp-light-non-autonamed ((,class (:background "#C4FFC4"))))
265 `(browse-kill-ring-separator-face ((,class (:weight bold :foreground "slate gray")))) 286 `(browse-kill-ring-separator-face ((,class (:weight bold :foreground "slate gray"))))
266 `(calendar-today ((,class (:weight bold :foreground "#4F4A3D" :background "#FFFABE")))) 287 `(calendar-today ((,class (:weight bold :foreground "#4F4A3D" :background "#FFFFCC"))))
267 `(cfw:face-annotation ((,class (:foreground "green" :background "red")))) 288 `(cfw:face-annotation ((,class (:foreground "green" :background "red"))))
268 `(cfw:face-day-title ((,class (:foreground "#C9C9C9")))) 289 `(cfw:face-day-title ((,class (:foreground "#C9C9C9"))))
269 `(cfw:face-default-content ((,class (:foreground "#2952A3")))) 290 `(cfw:face-default-content ((,class (:foreground "#2952A3"))))
@@ -277,8 +298,8 @@ Semantic, and Ansi-Color faces are included -- and much more...")
277 `(cfw:face-select ((,class (:foreground "#4A95EB" :background "#EDF1FA")))) 298 `(cfw:face-select ((,class (:foreground "#4A95EB" :background "#EDF1FA"))))
278 `(cfw:face-sunday ((,class (:foreground "#4E4E4E" :background "white" :weight bold)))) 299 `(cfw:face-sunday ((,class (:foreground "#4E4E4E" :background "white" :weight bold))))
279 `(cfw:face-title ((,class (:height 2.0 :foreground "#676767" :weight bold :inherit variable-pitch)))) 300 `(cfw:face-title ((,class (:height 2.0 :foreground "#676767" :weight bold :inherit variable-pitch))))
280 `(cfw:face-today ((,class (:foreground "#4F4A3D" :background "#FFFABE")))) 301 `(cfw:face-today ((,class (:foreground "#4F4A3D" :background "#FFFFCC"))))
281 `(cfw:face-today-title ((,class (:foreground "#4A95EB" :background "#FFFABE")))) 302 `(cfw:face-today-title ((,class (:foreground "#4A95EB" :background "#FFFFCC"))))
282 `(cfw:face-toolbar ((,class (:background "white")))) 303 `(cfw:face-toolbar ((,class (:background "white"))))
283 `(cfw:face-toolbar-button-off ((,class (:foreground "#CFCFCF" :background "white")))) 304 `(cfw:face-toolbar-button-off ((,class (:foreground "#CFCFCF" :background "white"))))
284 `(cfw:face-toolbar-button-on ((,class (:foreground "#5E5E5E" :background "#F6F6F6")))) 305 `(cfw:face-toolbar-button-on ((,class (:foreground "#5E5E5E" :background "#F6F6F6"))))
@@ -290,8 +311,13 @@ Semantic, and Ansi-Color faces are included -- and much more...")
290 `(circe-originator-face ((,class (:foreground "blue")))) 311 `(circe-originator-face ((,class (:foreground "blue"))))
291 `(circe-prompt-face ((,class (:foreground "red")))) 312 `(circe-prompt-face ((,class (:foreground "red"))))
292 `(circe-server-face ((,class (:foreground "#99CAE5")))) 313 `(circe-server-face ((,class (:foreground "#99CAE5"))))
293 `(comint-highlight-input ((,class (:weight bold :foreground "#0000FF")))) 314 `(comint-highlight-input ((,class (:weight bold :foreground "#0000FF" :inherit nil))))
294 `(comint-highlight-prompt ((,class (:weight bold :foreground "black" :background "gold")))) 315 ;; `(comint-highlight-prompt ((,class (:weight bold :foreground "black" :background "gold"))))
316 `(comint-highlight-prompt ((,class (:weight bold :foreground "#0000FF" :inherit nil))))
317 `(company-preview-common ((,class (:foreground "#C0C0C0" :background "#FFFFD7")))) ; same background as highlight-line
318 `(company-tooltip-annotation ((,class (:foreground "#999999" :background "cornsilk"))))
319 `(company-tooltip-common ((,class (:weight bold :inherit company-tooltip))))
320 `(company-tooltip-common-selection ((,class (:weight bold :inherit company-tooltip-selection))))
295 `(compare-windows ((,class (:background "#FFFF00")))) 321 `(compare-windows ((,class (:background "#FFFF00"))))
296 `(compilation-error ((,class (:weight bold :foreground "red")))) 322 `(compilation-error ((,class (:weight bold :foreground "red"))))
297 `(compilation-info ((,class (:weight bold :foreground "#2A489E")))) ; used for grep 323 `(compilation-info ((,class (:weight bold :foreground "#2A489E")))) ; used for grep
@@ -322,25 +348,31 @@ Semantic, and Ansi-Color faces are included -- and much more...")
322 `(custom-variable-button ((,class (:weight bold :underline t)))) 348 `(custom-variable-button ((,class (:weight bold :underline t))))
323 `(custom-variable-tag ((,class (:family "Sans Serif" :height 1.2 :weight bold :foreground "blue1")))) 349 `(custom-variable-tag ((,class (:family "Sans Serif" :height 1.2 :weight bold :foreground "blue1"))))
324 `(custom-visibility ((,class ,link))) 350 `(custom-visibility ((,class ,link)))
351 `(diff-hl-change ((,class (:foreground "blue3" :inherit diff-changed))))
352 `(diff-hl-delete ((,class (:foreground "red3" :inherit diff-removed))))
353 `(diff-hl-dired-change ((,class (:background "#FFA335" :foreground "black" :weight bold))))
354 `(diff-hl-dired-unknown ((,class (:foreground "white" :background "#3F3BB4"))))
355 `(diff-hl-insert ((,class (:foreground "green4" :inherit diff-added))))
356 `(diff-hl-unknown ((,class (:foreground "white" :background "#3F3BB4"))))
325 `(diary-face ((,class (:foreground "#87C9FC")))) 357 `(diary-face ((,class (:foreground "#87C9FC"))))
326 `(dircolors-face-asm ((,class (:foreground "black")))) 358 `(dircolors-face-asm ((,class (:foreground "black"))))
327 `(dircolors-face-backup ((,class (:foreground "black")))) 359 `(dircolors-face-backup ((,class (:foreground "black"))))
328 `(dircolors-face-compress ((,class (:foreground "red")))) 360 `(dircolors-face-compress ((,class (:foreground "red"))))
329 `(dircolors-face-dir ((,class ,directory))) 361 `(dircolors-face-dir ((,class ,directory)))
330 `(dircolors-face-doc ((,class (:foreground "black")))) 362 `(dircolors-face-doc ((,class (:foreground "black"))))
331 `(dircolors-face-dos ((,class (:foreground "green3")))) 363 `(dircolors-face-dos ((,class (:foreground "ForestGreen"))))
332 `(dircolors-face-emacs ((,class (:foreground "black")))) 364 `(dircolors-face-emacs ((,class (:foreground "black"))))
333 `(dircolors-face-exec ((,class (:foreground "green3")))) 365 `(dircolors-face-exec ((,class (:foreground "ForestGreen"))))
334 `(dircolors-face-html ((,class (:foreground "black")))) 366 `(dircolors-face-html ((,class (:foreground "black"))))
335 `(dircolors-face-img ((,class (:foreground "black")))) 367 `(dircolors-face-img ((,class (:foreground "magenta3"))))
336 `(dircolors-face-lang ((,class (:foreground "black")))) 368 `(dircolors-face-lang ((,class (:foreground "black"))))
337 `(dircolors-face-lang-interface ((,class (:foreground "black")))) 369 `(dircolors-face-lang-interface ((,class (:foreground "black"))))
338 `(dircolors-face-make ((,class (:foreground "black")))) 370 `(dircolors-face-make ((,class (:foreground "black"))))
339 `(dircolors-face-objet ((,class (:foreground "black")))) 371 `(dircolors-face-objet ((,class (:foreground "black"))))
340 `(dircolors-face-package ((,class (:foreground "red")))) 372 `(dircolors-face-package ((,class (:foreground "black"))))
341 `(dircolors-face-paddb ((,class (:foreground "black")))) 373 `(dircolors-face-paddb ((,class (:foreground "black"))))
342 `(dircolors-face-ps ((,class (:foreground "black")))) 374 `(dircolors-face-ps ((,class (:foreground "black"))))
343 `(dircolors-face-sound ((,class (:foreground "black")))) 375 `(dircolors-face-sound ((,class (:foreground "DeepSkyBlue"))))
344 `(dircolors-face-tar ((,class (:foreground "red")))) 376 `(dircolors-face-tar ((,class (:foreground "red"))))
345 `(dircolors-face-text ((,class (:foreground "black")))) 377 `(dircolors-face-text ((,class (:foreground "black"))))
346 `(dircolors-face-yacc ((,class (:foreground "black")))) 378 `(dircolors-face-yacc ((,class (:foreground "black"))))
@@ -355,9 +387,9 @@ Semantic, and Ansi-Color faces are included -- and much more...")
355 `(diredp-dir-heading ((,class ,directory))) 387 `(diredp-dir-heading ((,class ,directory)))
356 `(diredp-dir-priv ((,class ,directory))) 388 `(diredp-dir-priv ((,class ,directory)))
357 `(diredp-exec-priv ((,class (:background "#03C03C")))) 389 `(diredp-exec-priv ((,class (:background "#03C03C"))))
358 `(diredp-executable-tag ((,class (:foreground "green3" :background "white")))) 390 `(diredp-executable-tag ((,class (:foreground "ForestGreen" :background "white"))))
359 `(diredp-file-name ((,class (:foreground "black")))) 391 `(diredp-file-name ((,class (:foreground "black"))))
360 `(diredp-file-suffix ((,class (:foreground "#008000")))) 392 `(diredp-file-suffix ((,class (:foreground "#C0C0C0"))))
361 `(diredp-flag-mark-line ((,class ,marked-line))) 393 `(diredp-flag-mark-line ((,class ,marked-line)))
362 `(diredp-ignored-file-name ((,class ,shadow))) 394 `(diredp-ignored-file-name ((,class ,shadow)))
363 `(diredp-read-priv ((,class (:background "#0A99FF")))) 395 `(diredp-read-priv ((,class (:background "#0A99FF"))))
@@ -389,14 +421,18 @@ Semantic, and Ansi-Color faces are included -- and much more...")
389 `(helm-ff-symlink ((,class ,symlink))) 421 `(helm-ff-symlink ((,class ,symlink)))
390 `(helm-file-name ((,class (:foreground "blue")))) 422 `(helm-file-name ((,class (:foreground "blue"))))
391 `(helm-gentoo-match-face ((,class (:foreground "red")))) 423 `(helm-gentoo-match-face ((,class (:foreground "red"))))
424 `(helm-grep-match ((,class ,match)))
392 `(helm-grep-running ((,class (:weight bold :foreground "white")))) 425 `(helm-grep-running ((,class (:weight bold :foreground "white"))))
393 `(helm-grep-lineno ((,class ,shadow))) 426 `(helm-grep-lineno ((,class ,shadow)))
394 `(helm-isearch-match ((,class (:background "#CCFFCC")))) 427 `(helm-isearch-match ((,class (:background "#CCFFCC"))))
395 `(helm-match ((,class ,match))) 428 `(helm-match ((,class ,match)))
396 `(helm-moccur-buffer ((,class (:foreground "#0066CC")))) 429 `(helm-moccur-buffer ((,class (:foreground "#0066CC"))))
397 `(helm-selection ((,class ,highlight-line))) 430 `(helm-selection ((,class ,volatile-highlight)))
398 `(helm-selection-line ((,class ,volatile-highlight))) 431 `(helm-selection-line ((,class ,volatile-highlight)))
399 `(helm-source-header ((,class (:family "Sans Serif" :height 1.3 :weight bold :foreground "white" :background "#2F69BF")))) 432 `(helm-source-header ((,class (:family "Sans Serif" :height 1.3 :weight bold :foreground "white" :background "#2F69BF"))))
433 `(helm-swoop-target-line-face ((,class ,volatile-highlight)))
434 `(helm-swoop-target-line-block-face ((,class (:background "#CCCC00" :foreground "#222222"))))
435 `(helm-swoop-target-word-face ((,class (:weight bold :foreground nil :background "#FDBD33"))))
400 `(helm-visible-mark ((,class ,marked-line))) 436 `(helm-visible-mark ((,class ,marked-line)))
401 `(helm-w3m-bookmarks-face ((,class (:underline t :foreground "cyan1")))) 437 `(helm-w3m-bookmarks-face ((,class (:underline t :foreground "cyan1"))))
402 `(highlight-symbol-face ((,class (:background "#FFFFA0")))) 438 `(highlight-symbol-face ((,class (:background "#FFFFA0"))))
@@ -424,7 +460,7 @@ Semantic, and Ansi-Color faces are included -- and much more...")
424 `(info-xref ((,class (:underline t :foreground "#006DAF")))) ; unvisited cross-references 460 `(info-xref ((,class (:underline t :foreground "#006DAF")))) ; unvisited cross-references
425 `(info-xref-visited ((,class (:underline t :foreground "magenta4")))) ; previously visited cross-references 461 `(info-xref-visited ((,class (:underline t :foreground "magenta4")))) ; previously visited cross-references
426 `(light-symbol-face ((,class (:background "#FFFFA0")))) 462 `(light-symbol-face ((,class (:background "#FFFFA0"))))
427 `(linum ((,class (:foreground "#AFAFAF" :background "white")))) 463 `(linum ((,class (:foreground "#9A9A9A" :background "#EDEDED"))))
428 `(log-view-file ((,class (:foreground "#0000CC" :background "#EAF2F5")))) 464 `(log-view-file ((,class (:foreground "#0000CC" :background "#EAF2F5"))))
429 `(lui-button-face ((,class ,link))) 465 `(lui-button-face ((,class ,link)))
430 `(lui-highlight-face ((,class (:box '(:line-width 1 :color "#CC0000") :foreground "#CC0000" :background "#FFFF88")))) ; my nickname 466 `(lui-highlight-face ((,class (:box '(:line-width 1 :color "#CC0000") :foreground "#CC0000" :background "#FFFF88")))) ; my nickname
@@ -440,7 +476,7 @@ Semantic, and Ansi-Color faces are included -- and much more...")
440 `(magit-item-mark ((,class ,marked-line))) 476 `(magit-item-mark ((,class ,marked-line)))
441 `(magit-log-head-label ((,class (:box (:line-width 1 :color "blue" :style nil))))) 477 `(magit-log-head-label ((,class (:box (:line-width 1 :color "blue" :style nil)))))
442 `(magit-log-tag-label ((,class (:box (:line-width 1 :color "#00CC00" :style nil))))) 478 `(magit-log-tag-label ((,class (:box (:line-width 1 :color "#00CC00" :style nil)))))
443 `(magit-section-title ((,class (:family "Sans Serif" :height 1.8 :weight bold :foreground "cornflower blue")))) 479 `(magit-section-title ((,class (:family "Sans Serif" :height 1.8 :weight bold :foreground "cornflower blue" :inherit nil))))
444 `(makefile-space-face ((,class (:background "hot pink")))) 480 `(makefile-space-face ((,class (:background "hot pink"))))
445 `(makefile-targets ((,class (:weight bold :foreground "blue")))) 481 `(makefile-targets ((,class (:weight bold :foreground "blue"))))
446 `(match ((,class ,match))) 482 `(match ((,class ,match)))
@@ -459,23 +495,22 @@ Semantic, and Ansi-Color faces are included -- and much more...")
459 `(nxml-processing-instruction-target-face ((,class (:foreground "purple1")))) 495 `(nxml-processing-instruction-target-face ((,class (:foreground "purple1"))))
460 `(nxml-tag-delimiter-face ((,class (:foreground "blue")))) 496 `(nxml-tag-delimiter-face ((,class (:foreground "blue"))))
461 `(nxml-tag-slash-face ((,class (:foreground "blue")))) 497 `(nxml-tag-slash-face ((,class (:foreground "blue"))))
462 `(org-agenda-block-count ((,class (:weight bold :foreground "blue")))) 498 `(org-agenda-block-count ((,class (:weight bold :foreground "#A5A5A5"))))
463 `(org-agenda-calendar-event ((,class (:weight bold :foreground "#3774CC" :background "#A8C5EF")))) 499 `(org-agenda-calendar-event ((,class (:weight bold :foreground "#3774CC" :background "#A8C5EF"))))
464 `(org-agenda-calendar-sexp ((,class (:foreground "#777777" :background "#E4EBFE")))) 500 `(org-agenda-calendar-sexp ((,class (:foreground "#777777" :background "#E4EBFE"))))
465 `(org-agenda-clocking ((,class ,clock-line))) 501 `(org-agenda-clocking ((,class (:foreground "black" :background "#EEC900"))))
466 `(org-agenda-column-dateline ((,class ,column))) 502 `(org-agenda-column-dateline ((,class ,column)))
467 `(org-agenda-current-time ((,class (:underline t :foreground "#1662AF")))) 503 `(org-agenda-current-time ((,class (:underline t :foreground "#1662AF"))))
468 `(org-agenda-date ((,class (:height 1.6 :weight bold :foreground "#1662AF")))) 504 `(org-agenda-date ((,class (:height 1.6 :weight bold :foreground "#1662AF"))))
469 `(org-agenda-date-today ((,class (:height 1.6 :weight bold :foreground "#4F4A3D" :background "#FFFABE")))) 505 `(org-agenda-date-today ((,class (:height 1.6 :weight bold :foreground "#4F4A3D" :background "#FFFFCC"))))
470 `(org-agenda-date-weekend ((,class (:height 1.6 :weight bold :foreground "#4E4E4E")))) 506 `(org-agenda-date-weekend ((,class (:height 1.6 :weight bold :foreground "#4E4E4E"))))
471 `(org-agenda-diary ((,class (:weight bold :foreground "green4" :background "light blue")))) 507 `(org-agenda-diary ((,class (:weight bold :foreground "green4" :background "light blue"))))
472 `(org-agenda-dimmed-todo-face ((,class (:foreground "gold2")))) 508 `(org-agenda-dimmed-todo-face ((,class (:foreground "gold2"))))
473 `(org-agenda-done ((,class (:foreground "#555555" :background "#EEEEEE")))) 509 `(org-agenda-done ((,class (:foreground "#555555"))))
474 `(org-agenda-filter-category ((,class (:weight bold :foreground "orange")))) 510 `(org-agenda-filter-category ((,class (:weight bold :foreground "orange"))))
475 `(org-agenda-filter-tags ((,class (:weight bold :foreground "orange")))) 511 `(org-agenda-filter-tags ((,class (:weight bold :foreground "orange"))))
476 `(org-agenda-restriction-lock ((,class (:background "#E77D63")))) 512 `(org-agenda-restriction-lock ((,class (:background "#E77D63"))))
477 ;; `(org-agenda-structure ((,class (:height 1.6 :weight bold :box (:line-width 1 :color "#999999") :foreground "#666666" :background "#CCCCCC")))) 513 `(org-agenda-structure ((,class (:height 1.6 :weight bold :foreground "#1F8DD6"))))
478 `(org-agenda-structure ((,class (:height 1.6 :bold nil :foreground "#999999"))))
479 `(org-archived ((,class (:foreground "gray70")))) 514 `(org-archived ((,class (:foreground "gray70"))))
480 `(org-beamer-tag ((,class (:box (:line-width 1 :color "#FABC18") :foreground "#2C2C2C" :background "#FFF8D0")))) 515 `(org-beamer-tag ((,class (:box (:line-width 1 :color "#FABC18") :foreground "#2C2C2C" :background "#FFF8D0"))))
481 `(org-block ((,class ,code-block))) 516 `(org-block ((,class ,code-block)))
@@ -488,7 +523,7 @@ Semantic, and Ansi-Color faces are included -- and much more...")
488 `(org-column ((,class ,column))) 523 `(org-column ((,class ,column)))
489 `(org-column-title ((,class ,column))) 524 `(org-column-title ((,class ,column)))
490 `(org-date ((,class (:underline t :foreground "#00459E")))) 525 `(org-date ((,class (:underline t :foreground "#00459E"))))
491 `(org-default ((,class (:foreground "#333333")))) 526 `(org-default ((,class (:foreground "#333333" :background "#FFFFFF"))))
492 `(org-dim ((,class (:foreground "#AAAAAA")))) 527 `(org-dim ((,class (:foreground "#AAAAAA"))))
493 `(org-document-info ((,class (:foreground "#484848")))) 528 `(org-document-info ((,class (:foreground "#484848"))))
494 `(org-document-info-keyword ((,class (:foreground "#008ED1" :background "#EAEAFF")))) 529 `(org-document-info-keyword ((,class (:foreground "#008ED1" :background "#EAEAFF"))))
@@ -499,10 +534,10 @@ Semantic, and Ansi-Color faces are included -- and much more...")
499 `(org-example ((,class (:foreground "blue" :background "#EAFFEA")))) 534 `(org-example ((,class (:foreground "blue" :background "#EAFFEA"))))
500 `(org-footnote ((,class (:underline t :foreground "#008ED1")))) 535 `(org-footnote ((,class (:underline t :foreground "#008ED1"))))
501 `(org-formula ((,class (:foreground "chocolate1")))) 536 `(org-formula ((,class (:foreground "chocolate1"))))
502 `(org-headline-done ((,class (:height 1.0 :weight normal :foreground "#999999")))) 537 `(org-headline-done ((,class (:height 1.0 :weight normal :strike-through t :foreground "#ADADAD"))))
503 `(org-hide ((,class (:foreground "#E2E2E2")))) 538 `(org-hide ((,class (:foreground "#E2E2E2"))))
504 `(org-inlinetask ((,class (:box (:line-width 1 :color "#EBEBEB") :foreground "#777777" :background "#FFFFD6")))) 539 `(org-inlinetask ((,class (:box (:line-width 1 :color "#EBEBEB") :foreground "#777777" :background "#FFFFD6"))))
505 `(org-latex-and-related ((,class ,code-block))) 540 `(org-latex-and-related ((,class (:foreground "#336699" :background "white"))))
506 `(org-level-1 ((,class ,ol1))) 541 `(org-level-1 ((,class ,ol1)))
507 `(org-level-2 ((,class ,ol2))) 542 `(org-level-2 ((,class ,ol2)))
508 `(org-level-3 ((,class ,ol3))) 543 `(org-level-3 ((,class ,ol3)))
@@ -513,6 +548,7 @@ Semantic, and Ansi-Color faces are included -- and much more...")
513 `(org-level-8 ((,class ,ol8))) 548 `(org-level-8 ((,class ,ol8)))
514 `(org-link ((,class ,link))) 549 `(org-link ((,class ,link)))
515 `(org-list-dt ((,class (:weight bold :foreground "#335EA8")))) 550 `(org-list-dt ((,class (:weight bold :foreground "#335EA8"))))
551 `(org-macro ((,class (:foreground "white" :background "#EDB802"))))
516 `(org-meta-line ((,class (:slant normal :foreground "#008ED1" :background "#EAEAFF")))) 552 `(org-meta-line ((,class (:slant normal :foreground "#008ED1" :background "#EAEAFF"))))
517 `(org-mode-line-clock ((,class ,clock-line))) 553 `(org-mode-line-clock ((,class ,clock-line)))
518 `(org-mode-line-clock-overrun ((,class (:weight bold :box (:line-width 1 :color "#335EA8") :foreground "white" :background "#FF4040")))) 554 `(org-mode-line-clock-overrun ((,class (:weight bold :box (:line-width 1 :color "#335EA8") :foreground "white" :background "#FF4040"))))
@@ -520,12 +556,12 @@ Semantic, and Ansi-Color faces are included -- and much more...")
520 `(org-property-value ((,class (:foreground "#00A000")))) 556 `(org-property-value ((,class (:foreground "#00A000"))))
521 `(org-quote ((,class (:slant italic :foreground "dim gray" :background "#FFFFE0")))) 557 `(org-quote ((,class (:slant italic :foreground "dim gray" :background "#FFFFE0"))))
522 `(org-scheduled ((,class (:foreground "#333333")))) 558 `(org-scheduled ((,class (:foreground "#333333"))))
523 `(org-scheduled-previously ((,class (:weight bold :foreground "#373737")))) 559 `(org-scheduled-previously ((,class (:foreground "#F22659"))))
524 `(org-scheduled-today ((,class (:foreground "#4F4A3D" :background "#FFFABE")))) 560 `(org-scheduled-today ((,class (:weight bold :foreground "#4F4A3D" :background "#FFFFCC"))))
525 `(org-sexp-date ((,class (:foreground "#3774CC")))) 561 `(org-sexp-date ((,class (:foreground "#3774CC"))))
526 `(org-special-keyword ((,class (:weight bold :foreground "#00BB00" :background "#EAFFEA")))) 562 `(org-special-keyword ((,class (:weight bold :foreground "#00BB00" :background "#EAFFEA"))))
527 `(org-table ((,class (:foreground "dark green" :background "#EAFFEA")))) 563 `(org-table ((,class (:foreground "dark green" :background "#EAFFEA"))))
528 `(org-tag ((,class (:weight normal :slant italic :foreground "#9A9FA4" :background "#F3F3F3")))) 564 `(org-tag ((,class (:weight normal :slant italic :foreground "#9A9FA4" :background "white"))))
529 `(org-target ((,class ,link))) 565 `(org-target ((,class ,link)))
530 `(org-time-grid ((,class (:foreground "#CFCFCF")))) 566 `(org-time-grid ((,class (:foreground "#CFCFCF"))))
531 `(org-todo ((,class (:weight bold :box (:line-width 1 :color "#D8ABA7") :foreground "#D8ABA7" :background "#FFE6E4")))) 567 `(org-todo ((,class (:weight bold :box (:line-width 1 :color "#D8ABA7") :foreground "#D8ABA7" :background "#FFE6E4"))))
@@ -544,9 +580,25 @@ Semantic, and Ansi-Color faces are included -- and much more...")
544 `(pabbrev-debug-display-label-face ((,class (:background "chartreuse")))) 580 `(pabbrev-debug-display-label-face ((,class (:background "chartreuse"))))
545 `(pabbrev-suggestions-face ((,class (:weight bold :foreground "white" :background "red")))) 581 `(pabbrev-suggestions-face ((,class (:weight bold :foreground "white" :background "red"))))
546 `(pabbrev-suggestions-label-face ((,class (:weight bold :foreground "white" :background "purple")))) 582 `(pabbrev-suggestions-label-face ((,class (:weight bold :foreground "white" :background "purple"))))
547 `(paren-face-match ((,class (:foreground "#E2464C" :background "#FFE182")))) 583 `(paren-face-match ((,class ,paren-matched)))
548 `(paren-face-mismatch ((,class (:weight bold :foreground "white" :background "#FF3F3F")))) 584 `(paren-face-mismatch ((,class ,paren-unmatched)))
549 `(paren-face-no-match ((,class (:weight bold :foreground "white" :background "#FF3F3F")))) 585 `(paren-face-no-match ((,class ,paren-unmatched)))
586 `(persp-selected-face ((,class (:weight bold :foreground "#EEF5FE"))))
587 `(powerline-active1 ((,class (:background "grey22" :inherit mode-line))))
588 `(powerline-active2 ((,class (:background "#4070B6" :inherit mode-line))))
589 `(powerline-inactive1 ((,class (:background "#686868" :inherit mode-line-inactive))))
590 `(powerline-inactive2 ((,class (:background "#A9A9A9" :inherit mode-line-inactive))))
591 `(rainbow-delimiters-depth-1-face ((,class (:foreground "#707183"))))
592 `(rainbow-delimiters-depth-2-face ((,class (:foreground "#7388D6"))))
593 `(rainbow-delimiters-depth-3-face ((,class (:foreground "#909183"))))
594 `(rainbow-delimiters-depth-4-face ((,class (:foreground "#709870"))))
595 `(rainbow-delimiters-depth-5-face ((,class (:foreground "#907373"))))
596 `(rainbow-delimiters-depth-6-face ((,class (:foreground "#6276BA"))))
597 `(rainbow-delimiters-depth-7-face ((,class (:foreground "#858580"))))
598 `(rainbow-delimiters-depth-8-face ((,class (:foreground "#80A880"))))
599 `(rainbow-delimiters-depth-9-face ((,class (:foreground "#887070"))))
600 `(rainbow-delimiters-mismatched-face ((,class ,paren-unmatched)))
601 `(rainbow-delimiters-unmatched-face ((,class ,paren-unmatched)))
550 `(recover-this-file ((,class (:weight bold :background "#FF3F3F")))) 602 `(recover-this-file ((,class (:weight bold :background "#FF3F3F"))))
551 `(rng-error ((,class (:weight bold :foreground "red" :background "#FBE3E4")))) 603 `(rng-error ((,class (:weight bold :foreground "red" :background "#FBE3E4"))))
552 `(sh-heredoc ((,class (:foreground "blue" :background "#EEF5FE")))) 604 `(sh-heredoc ((,class (:foreground "blue" :background "#EEF5FE"))))
@@ -556,9 +608,9 @@ Semantic, and Ansi-Color faces are included -- and much more...")
556 `(shell-output-2-face ((,class (:foreground "blue")))) 608 `(shell-output-2-face ((,class (:foreground "blue"))))
557 `(shell-output-3-face ((,class (:foreground "purple")))) 609 `(shell-output-3-face ((,class (:foreground "purple"))))
558 `(shell-output-face ((,class (:foreground "black")))) 610 `(shell-output-face ((,class (:foreground "black"))))
559 `(shell-prompt-face ((,class (:weight bold :foreground "yellow")))) 611 ;; `(shell-prompt-face ((,class (:weight bold :foreground "yellow"))))
560 `(show-paren-match ((,class (:foreground "#E2464C" :background "#FFFF00")))) 612 `(show-paren-match ((,class ,paren-matched)))
561 `(show-paren-mismatch ((,class (:weight bold :foreground "white" :background "#FF3F3F")))) 613 `(show-paren-mismatch ((,class ,paren-unmatched)))
562 `(sml-modeline-end-face ((,class (:background "#6BADF6")))) ; #335EA8 614 `(sml-modeline-end-face ((,class (:background "#6BADF6")))) ; #335EA8
563 `(sml-modeline-vis-face ((,class (:background "#1979CA")))) 615 `(sml-modeline-vis-face ((,class (:background "#1979CA"))))
564 `(speedbar-button-face ((,class (:foreground "green4")))) 616 `(speedbar-button-face ((,class (:foreground "green4"))))
@@ -625,10 +677,13 @@ Semantic, and Ansi-Color faces are included -- and much more...")
625 `(yas/field-highlight-face ((,class (:background "DarkSeaGreen1")))) 677 `(yas/field-highlight-face ((,class (:background "DarkSeaGreen1"))))
626 )) 678 ))
627 679
628(custom-theme-set-variables 680(custom-theme-set-variables 'leuven
629 'leuven 681 '(ansi-color-faces-vector
630 '(ansi-color-names-vector ["#242424" "#E5786D" "#95E454" "#CAE682" 682 [default default default italic underline success warning error])
631 "#8AC6F2" "#333366" "#CCAA8F" "#F6F3E8"])) 683 '(ansi-color-names-vector
684 ["black" "red3" "ForestGreen" "yellow3" "blue" "magenta3" "DeepSkyBlue" "gray50"])
685 ; colors used in Shell mode
686 )
632 687
633;;;###autoload 688;;;###autoload
634(when (and (boundp 'custom-theme-load-path) 689(when (and (boundp 'custom-theme-load-path)
diff --git a/lisp/ChangeLog b/lisp/ChangeLog
index 745346a903a..e9db9891714 100644
--- a/lisp/ChangeLog
+++ b/lisp/ChangeLog
@@ -1,3 +1,15 @@
12014-09-30 Leonardo Nobrega <leonobr@gmail.com> (tiny change)
2
3 * progmodes/python.el (python-fill-paren): Don't inf-loop at EOB
4 (bug#18462).
5
62014-09-30 Stefan Monnier <monnier@iro.umontreal.ca>
7
8 * emacs-lisp/package.el (package-check-signature): Default to nil if
9 GPG is not available.
10 (package-refresh-contents): Don't mess with the keyring if we won't
11 check the signatures anyway.
12
12014-09-30 Stefan Monnier <monnier@iro.umontreal.ca> 132014-09-30 Stefan Monnier <monnier@iro.umontreal.ca>
2 14
3 * ses.el (ses--row, ses--col): New dyn-scoped vars, to replace row&col. 15 * ses.el (ses--row, ses--col): New dyn-scoped vars, to replace row&col.
diff --git a/lisp/emacs-lisp/package.el b/lisp/emacs-lisp/package.el
index 1649ee0ea1a..4832673b95c 100644
--- a/lisp/emacs-lisp/package.el
+++ b/lisp/emacs-lisp/package.el
@@ -289,7 +289,9 @@ contrast, `package-user-dir' contains packages for personal use."
289 :group 'package 289 :group 'package
290 :version "24.1") 290 :version "24.1")
291 291
292(defcustom package-check-signature 'allow-unsigned 292(defcustom package-check-signature
293 (if (progn (require 'epg-config) (executable-find epg-gpg-program))
294 'allow-unsigned)
293 "Non-nil means to check package signatures when installing. 295 "Non-nil means to check package signatures when installing.
294The value `allow-unsigned' means to still install a package even if 296The value `allow-unsigned' means to still install a package even if
295it is unsigned. 297it is unsigned.
@@ -1314,12 +1316,12 @@ makes them available for download."
1314 (make-directory package-user-dir t)) 1316 (make-directory package-user-dir t))
1315 (let ((default-keyring (expand-file-name "package-keyring.gpg" 1317 (let ((default-keyring (expand-file-name "package-keyring.gpg"
1316 data-directory))) 1318 data-directory)))
1317 (if (file-exists-p default-keyring) 1319 (when (and package-check-signature (file-exists-p default-keyring))
1318 (condition-case-unless-debug error 1320 (condition-case-unless-debug error
1319 (progn 1321 (progn
1320 (epg-check-configuration (epg-configuration)) 1322 (epg-check-configuration (epg-configuration))
1321 (package-import-keyring default-keyring)) 1323 (package-import-keyring default-keyring))
1322 (error (message "Cannot import default keyring: %S" (cdr error)))))) 1324 (error (message "Cannot import default keyring: %S" (cdr error))))))
1323 (dolist (archive package-archives) 1325 (dolist (archive package-archives)
1324 (condition-case-unless-debug nil 1326 (condition-case-unless-debug nil
1325 (package--download-one-archive archive "archive-contents") 1327 (package--download-one-archive archive "archive-contents")
diff --git a/lisp/erc/ChangeLog b/lisp/erc/ChangeLog
index b5dd3f2f359..1ea79dbbc1a 100644
--- a/lisp/erc/ChangeLog
+++ b/lisp/erc/ChangeLog
@@ -1,3 +1,11 @@
12014-09-30 Stefan Monnier <monnier@iro.umontreal.ca>
2
3 * erc-track.el (erc-modified-channels-display): Update all mode lines
4 if needed (bug#18510). Remove call to erc-modified-channels-object
5 where we ignored the return value.
6 (erc-modified-channels-update): Don't force-mode-line-update here
7 any more.
8
12014-09-26 Kelvin White <kwhite@gnu.org> 92014-09-26 Kelvin White <kwhite@gnu.org>
2 10
3 * erc.el (erc-format-nick): Fix code regression - Bug #18551 11 * erc.el (erc-format-nick): Fix code regression - Bug #18551
@@ -12,7 +20,7 @@
12 (erc-cmd-SV, erc-ctcp-query-VERSION, erc-version, erc-version-string): 20 (erc-cmd-SV, erc-ctcp-query-VERSION, erc-version, erc-version-string):
13 Change version string. 21 Change version string.
14 22
152014-08-13 Kelvin White <kwhite@gnu.org> 232014-08-13 Kelvin White <kwhite@gnu.org>
16 24
17 * erc.el (erc-send-input): Disable display commands in current buffer 25 * erc.el (erc-send-input): Disable display commands in current buffer
18 (erc-format-target-and/or-network): Fix cases when buffer name is set 26 (erc-format-target-and/or-network): Fix cases when buffer name is set
diff --git a/lisp/erc/erc-track.el b/lisp/erc/erc-track.el
index 3f7b6a7b501..706cce2fefe 100644
--- a/lisp/erc/erc-track.el
+++ b/lisp/erc/erc-track.el
@@ -767,8 +767,7 @@ ARGS are ignored."
767 (erc-modified-channels-remove-buffer buffer)))) 767 (erc-modified-channels-remove-buffer buffer))))
768 erc-modified-channels-alist) 768 erc-modified-channels-alist)
769 (when removed-channel 769 (when removed-channel
770 (erc-modified-channels-display) 770 (erc-modified-channels-display)))
771 (force-mode-line-update t)))
772 (remove-hook 'post-command-hook 'erc-modified-channels-update))) 771 (remove-hook 'post-command-hook 'erc-modified-channels-update)))
773 772
774(defvar erc-track-mouse-face (if (featurep 'xemacs) 773(defvar erc-track-mouse-face (if (featurep 'xemacs)
@@ -825,43 +824,45 @@ Use `erc-make-mode-line-buffer-name' to create buttons."
825 ((eq 'importance erc-track-switch-direction) 824 ((eq 'importance erc-track-switch-direction)
826 (erc-track-sort-by-importance))) 825 (erc-track-sort-by-importance)))
827 (run-hooks 'erc-track-list-changed-hook) 826 (run-hooks 'erc-track-list-changed-hook)
828 (unless (eq erc-track-position-in-mode-line nil) 827 (when erc-track-position-in-mode-line
829 (if (null erc-modified-channels-alist) 828 (let* ((oldobject erc-modified-channels-object)
830 (setq erc-modified-channels-object (erc-modified-channels-object nil)) 829 (strings
831 ;; erc-modified-channels-alist contains all the data we need. To 830 (when erc-modified-channels-alist
832 ;; better understand what is going on, we split things up into 831 ;; erc-modified-channels-alist contains all the data we need. To
833 ;; four lists: BUFFERS, COUNTS, SHORT-NAMES, and FACES. These 832 ;; better understand what is going on, we split things up into
834 ;; four lists we use to create a new 833 ;; four lists: BUFFERS, COUNTS, SHORT-NAMES, and FACES. These
835 ;; `erc-modified-channels-object' using 834 ;; four lists we use to create a new
836 ;; `erc-make-mode-line-buffer-name'. 835 ;; `erc-modified-channels-object' using
837 (let* ((buffers (mapcar 'car erc-modified-channels-alist)) 836 ;; `erc-make-mode-line-buffer-name'.
838 (counts (mapcar 'cadr erc-modified-channels-alist)) 837 (let* ((buffers (mapcar 'car erc-modified-channels-alist))
839 (faces (mapcar 'cddr erc-modified-channels-alist)) 838 (counts (mapcar 'cadr erc-modified-channels-alist))
840 (long-names (mapcar #'(lambda (buf) 839 (faces (mapcar 'cddr erc-modified-channels-alist))
841 (or (buffer-name buf) 840 (long-names (mapcar #'(lambda (buf)
842 "")) 841 (or (buffer-name buf)
843 buffers)) 842 ""))
844 (short-names (if (functionp erc-track-shorten-function) 843 buffers))
845 (funcall erc-track-shorten-function 844 (short-names (if (functionp erc-track-shorten-function)
846 long-names) 845 (funcall erc-track-shorten-function
847 long-names)) 846 long-names)
848 strings) 847 long-names))
849 (while buffers 848 strings)
850 (when (car short-names) 849 (while buffers
851 (setq strings (cons (erc-make-mode-line-buffer-name 850 (when (car short-names)
852 (car short-names) 851 (setq strings (cons (erc-make-mode-line-buffer-name
853 (car buffers) 852 (car short-names)
854 (car faces) 853 (car buffers)
855 (car counts)) 854 (car faces)
856 strings))) 855 (car counts))
857 (setq short-names (cdr short-names) 856 strings)))
858 buffers (cdr buffers) 857 (setq short-names (cdr short-names)
859 counts (cdr counts) 858 buffers (cdr buffers)
860 faces (cdr faces))) 859 counts (cdr counts)
861 (when (featurep 'xemacs) 860 faces (cdr faces)))
862 (erc-modified-channels-object nil)) 861 strings)))
863 (setq erc-modified-channels-object 862 (newobject (erc-modified-channels-object strings)))
864 (erc-modified-channels-object strings)))))) 863 (unless (equal oldobject newobject)
864 (setq erc-modified-channels-object newobject)
865 (force-mode-line-update t)))))
865 866
866(defun erc-modified-channels-remove-buffer (buffer) 867(defun erc-modified-channels-remove-buffer (buffer)
867 "Remove BUFFER from `erc-modified-channels-alist'." 868 "Remove BUFFER from `erc-modified-channels-alist'."
diff --git a/lisp/mh-e/ChangeLog b/lisp/mh-e/ChangeLog
index 6e482280a9f..8008f07c700 100644
--- a/lisp/mh-e/ChangeLog
+++ b/lisp/mh-e/ChangeLog
@@ -9,8 +9,8 @@
9 * mh-comp.el (mh-insert-x-face): Ensure that mh-x-face-file is a 9 * mh-comp.el (mh-insert-x-face): Ensure that mh-x-face-file is a
10 string before trying to use it (closes SF #474). 10 string before trying to use it (closes SF #474).
11 (mh-bare-components): New function to create a temporary initial 11 (mh-bare-components): New function to create a temporary initial
12 components file; replaces mh-find-components. Improve the temp 12 components file; replaces mh-find-components. Improve the temp
13 folder and file names as per a suggestion from Bill Wohler. Also 13 folder and file names as per a suggestion from Bill Wohler. Also
14 address XEmacs compatibility issues: use mm-make-temp-file instead 14 address XEmacs compatibility issues: use mm-make-temp-file instead
15 of make-temp-file, and only pass one argument to delete-directory. 15 of make-temp-file, and only pass one argument to delete-directory.
16 (mh-edit-again, mh-send-sub): Use mh-bare-components instead of 16 (mh-edit-again, mh-send-sub): Use mh-bare-components instead of
diff --git a/lisp/progmodes/python.el b/lisp/progmodes/python.el
index e617e2932d0..6c11a478942 100644
--- a/lisp/progmodes/python.el
+++ b/lisp/progmodes/python.el
@@ -3300,7 +3300,8 @@ JUSTIFY should be used (if applicable) as in `fill-paragraph'."
3300 (end-of-line) 3300 (end-of-line)
3301 (when (not (python-syntax-context 'paren)) 3301 (when (not (python-syntax-context 'paren))
3302 (skip-syntax-backward "^)"))) 3302 (skip-syntax-backward "^)")))
3303 (while (python-syntax-context 'paren) 3303 (while (and (python-syntax-context 'paren)
3304 (not (eobp)))
3304 (goto-char (1+ (point-marker)))) 3305 (goto-char (1+ (point-marker))))
3305 (point-marker))) 3306 (point-marker)))
3306 (let ((paragraph-start "\f\\|[ \t]*$") 3307 (let ((paragraph-start "\f\\|[ \t]*$")
@@ -3311,7 +3312,8 @@ JUSTIFY should be used (if applicable) as in `fill-paragraph'."
3311 (while (not (eobp)) 3312 (while (not (eobp))
3312 (forward-line 1) 3313 (forward-line 1)
3313 (python-indent-line) 3314 (python-indent-line)
3314 (goto-char (line-end-position)))) t) 3315 (goto-char (line-end-position))))
3316 t)
3315 3317
3316 3318
3317;;; Skeletons 3319;;; Skeletons
diff --git a/src/ChangeLog b/src/ChangeLog
index 7dfa2f80775..257cc34c909 100644
--- a/src/ChangeLog
+++ b/src/ChangeLog
@@ -1,3 +1,43 @@
12014-09-30 Eli Zaretskii <eliz@gnu.org>
2
3 * w32fns.c (w32_createwindow): Accept an additional argument, an
4 array of 2 values specifying the coordinates of the frame's
5 top-left corner. Use these values instead of calling x_get_arg,
6 which can cons Lisp objects, and therefore cannot be called except
7 from the main thread. Remove redundant tests for the default
8 values.
9 (my_create_window): Move the calculation of the coordinates of the
10 frame's top-left edge here. Pass them to the input thread via the
11 second parameter of the WM_EMACS_CREATEWINDOW message. See
12 http://lists.gnu.org/archive/html/emacs-devel/2014-09/msg00892.html
13 for the details.
14
152014-09-30 Eli Zaretskii <eliz@gnu.org>
16
17 * xdisp.c (cursor_row_fully_visible_p): Update commentary.
18 (redisplay_window): Treat the frame's frozen_window_starts flag
19 the same way as the optional_new_start flag for the window: only
20 obey it if the glyph row showing point will be fully visible.
21 Likewise when the window start is in a continuation line. If,
22 after trying everything under the 'force_start' label, point is
23 still not fully visible, give up and scroll the window. Add
24 debugging traces. (Bug#18545)
25
26 * window.c (Frecenter): Set the window's redisplay flag.
27
282014-09-30 Eli Zaretskii <eliz@gnu.org>
29
30 * w32term.c (w32_read_socket): Don't use frame dimensions for
31 resizing if GetClientRect returned an empty (0, 0, 0, 0)
32 rectangle. Check the return value of GetClientRect, and don't use
33 the results if it didn't succeed.
34
35 * dispnew.c (change_frame_size_1): Recompute the frame dimensions
36 in columns and lines after correcting the pixel dimensions in
37 check_frame_size.
38 (adjust_decode_mode_spec_buffer): Add assertion to avoid passing
39 negative values to xrealloc. (Bug#18528)
40
12014-09-30 Paul Eggert <eggert@cs.ucla.edu> 412014-09-30 Paul Eggert <eggert@cs.ucla.edu>
2 42
3 * alloc.c: Remove now-unnecessary check. 43 * alloc.c: Remove now-unnecessary check.
diff --git a/src/dispnew.c b/src/dispnew.c
index 078c1ea2164..54657d976ad 100644
--- a/src/dispnew.c
+++ b/src/dispnew.c
@@ -2137,8 +2137,11 @@ adjust_frame_glyphs_for_window_redisplay (struct frame *f)
2137static void 2137static void
2138adjust_decode_mode_spec_buffer (struct frame *f) 2138adjust_decode_mode_spec_buffer (struct frame *f)
2139{ 2139{
2140 ssize_t frame_message_buf_size = FRAME_MESSAGE_BUF_SIZE (f);
2141
2142 eassert (frame_message_buf_size >= 0);
2140 f->decode_mode_spec_buffer = xrealloc (f->decode_mode_spec_buffer, 2143 f->decode_mode_spec_buffer = xrealloc (f->decode_mode_spec_buffer,
2141 FRAME_MESSAGE_BUF_SIZE (f) + 1); 2144 frame_message_buf_size + 1);
2142} 2145}
2143 2146
2144 2147
diff --git a/src/w32fns.c b/src/w32fns.c
index 0a8bde1f661..98eb8e9f97b 100644
--- a/src/w32fns.c
+++ b/src/w32fns.c
@@ -1956,13 +1956,12 @@ w32_createhscrollbar (struct frame *f, struct scroll_bar * bar)
1956} 1956}
1957 1957
1958static void 1958static void
1959w32_createwindow (struct frame *f) 1959w32_createwindow (struct frame *f, int *coords)
1960{ 1960{
1961 HWND hwnd; 1961 HWND hwnd;
1962 RECT rect; 1962 RECT rect;
1963 Lisp_Object top = Qunbound; 1963 int top;
1964 Lisp_Object left = Qunbound; 1964 int left;
1965 struct w32_display_info *dpyinfo = &one_w32_display_info;
1966 1965
1967 rect.left = rect.top = 0; 1966 rect.left = rect.top = 0;
1968 rect.right = FRAME_PIXEL_WIDTH (f); 1967 rect.right = FRAME_PIXEL_WIDTH (f);
@@ -1977,25 +1976,21 @@ w32_createwindow (struct frame *f)
1977 1976
1978 if (f->size_hint_flags & USPosition || f->size_hint_flags & PPosition) 1977 if (f->size_hint_flags & USPosition || f->size_hint_flags & PPosition)
1979 { 1978 {
1980 XSETINT (left, f->left_pos); 1979 left = f->left_pos;
1981 XSETINT (top, f->top_pos); 1980 top = f->top_pos;
1982 } 1981 }
1983 else if (EQ (left, Qunbound) && EQ (top, Qunbound)) 1982 else
1984 { 1983 {
1985 /* When called with RES_TYPE_NUMBER, w32_get_arg will return zero 1984 left = coords[0];
1986 for anything that is not a number and is not Qunbound. */ 1985 top = coords[1];
1987 left = x_get_arg (dpyinfo, Qnil, Qleft, "left", "Left", RES_TYPE_NUMBER);
1988 top = x_get_arg (dpyinfo, Qnil, Qtop, "top", "Top", RES_TYPE_NUMBER);
1989 } 1986 }
1990 1987
1991 FRAME_W32_WINDOW (f) = hwnd 1988 FRAME_W32_WINDOW (f) = hwnd
1992 = CreateWindow (EMACS_CLASS, 1989 = CreateWindow (EMACS_CLASS,
1993 f->namebuf, 1990 f->namebuf,
1994 f->output_data.w32->dwStyle | WS_CLIPCHILDREN, 1991 f->output_data.w32->dwStyle | WS_CLIPCHILDREN,
1995 EQ (left, Qunbound) ? CW_USEDEFAULT : XINT (left), 1992 left, top,
1996 EQ (top, Qunbound) ? CW_USEDEFAULT : XINT (top), 1993 rect.right - rect.left, rect.bottom - rect.top,
1997 rect.right - rect.left,
1998 rect.bottom - rect.top,
1999 NULL, 1994 NULL,
2000 NULL, 1995 NULL,
2001 hinst, 1996 hinst,
@@ -2516,7 +2511,8 @@ w32_msg_pump (deferred_msg * msg_buf)
2516 the patch for XP is not publicly available until XP SP3, 2511 the patch for XP is not publicly available until XP SP3,
2517 and older versions will never be patched. */ 2512 and older versions will never be patched. */
2518 CoInitialize (NULL); 2513 CoInitialize (NULL);
2519 w32_createwindow ((struct frame *) msg.wParam); 2514 w32_createwindow ((struct frame *) msg.wParam,
2515 (int *) msg.lParam);
2520 if (!PostThreadMessage (dwMainThreadId, WM_EMACS_DONE, 0, 0)) 2516 if (!PostThreadMessage (dwMainThreadId, WM_EMACS_DONE, 0, 0))
2521 emacs_abort (); 2517 emacs_abort ();
2522 break; 2518 break;
@@ -4136,8 +4132,25 @@ static void
4136my_create_window (struct frame * f) 4132my_create_window (struct frame * f)
4137{ 4133{
4138 MSG msg; 4134 MSG msg;
4135 static int coords[2];
4136 Lisp_Object left, top;
4137 struct w32_display_info *dpyinfo = &one_w32_display_info;
4138
4139 /* When called with RES_TYPE_NUMBER, x_get_arg will return zero for
4140 anything that is not a number and is not Qunbound. */
4141 left = x_get_arg (dpyinfo, Qnil, Qleft, "left", "Left", RES_TYPE_NUMBER);
4142 top = x_get_arg (dpyinfo, Qnil, Qtop, "top", "Top", RES_TYPE_NUMBER);
4143 if (EQ (left, Qunbound))
4144 coords[0] = CW_USEDEFAULT;
4145 else
4146 coords[0] = XINT (left);
4147 if (EQ (top, Qunbound))
4148 coords[1] = CW_USEDEFAULT;
4149 else
4150 coords[1] = XINT (top);
4139 4151
4140 if (!PostThreadMessage (dwWindowsThreadId, WM_EMACS_CREATEWINDOW, (WPARAM)f, 0)) 4152 if (!PostThreadMessage (dwWindowsThreadId, WM_EMACS_CREATEWINDOW,
4153 (WPARAM)f, (LPARAM)coords))
4141 emacs_abort (); 4154 emacs_abort ();
4142 GetMessage (&msg, NULL, WM_EMACS_DONE, WM_EMACS_DONE); 4155 GetMessage (&msg, NULL, WM_EMACS_DONE, WM_EMACS_DONE);
4143} 4156}
diff --git a/src/w32term.c b/src/w32term.c
index 4f8482736c3..2a4c30af12d 100644
--- a/src/w32term.c
+++ b/src/w32term.c
@@ -5144,30 +5144,38 @@ w32_read_socket (struct terminal *terminal,
5144 RECT rect; 5144 RECT rect;
5145 int rows, columns, width, height, text_width, text_height; 5145 int rows, columns, width, height, text_width, text_height;
5146 5146
5147 GetClientRect (msg.msg.hwnd, &rect); 5147 if (GetClientRect (msg.msg.hwnd, &rect)
5148 5148 /* GetClientRect evidently returns (0, 0, 0, 0) if
5149 height = rect.bottom - rect.top; 5149 called on a minimized frame. Such "dimensions"
5150 width = rect.right - rect.left; 5150 aren't useful anyway. */
5151 text_width = FRAME_PIXEL_TO_TEXT_WIDTH (f, width); 5151 && !(rect.bottom == 0
5152 text_height = FRAME_PIXEL_TO_TEXT_HEIGHT (f, height); 5152 && rect.top == 0
5153 /* rows = FRAME_PIXEL_HEIGHT_TO_TEXT_LINES (f, height); */ 5153 && rect.left == 0
5154 /* columns = FRAME_PIXEL_WIDTH_TO_TEXT_COLS (f, width); */ 5154 && rect.right == 0))
5155
5156 /* TODO: Clip size to the screen dimensions. */
5157
5158 /* Even if the number of character rows and columns has
5159 not changed, the font size may have changed, so we need
5160 to check the pixel dimensions as well. */
5161
5162 if (width != FRAME_PIXEL_WIDTH (f)
5163 || height != FRAME_PIXEL_HEIGHT (f)
5164 || text_width != FRAME_TEXT_WIDTH (f)
5165 || text_height != FRAME_TEXT_HEIGHT (f))
5166 { 5155 {
5167 change_frame_size (f, text_width, text_height, 0, 1, 0, 1); 5156 height = rect.bottom - rect.top;
5168 SET_FRAME_GARBAGED (f); 5157 width = rect.right - rect.left;
5169 cancel_mouse_face (f); 5158 text_width = FRAME_PIXEL_TO_TEXT_WIDTH (f, width);
5170 f->win_gravity = NorthWestGravity; 5159 text_height = FRAME_PIXEL_TO_TEXT_HEIGHT (f, height);
5160 /* rows = FRAME_PIXEL_HEIGHT_TO_TEXT_LINES (f, height); */
5161 /* columns = FRAME_PIXEL_WIDTH_TO_TEXT_COLS (f, width); */
5162
5163 /* TODO: Clip size to the screen dimensions. */
5164
5165 /* Even if the number of character rows and columns
5166 has not changed, the font size may have changed,
5167 so we need to check the pixel dimensions as well. */
5168
5169 if (width != FRAME_PIXEL_WIDTH (f)
5170 || height != FRAME_PIXEL_HEIGHT (f)
5171 || text_width != FRAME_TEXT_WIDTH (f)
5172 || text_height != FRAME_TEXT_HEIGHT (f))
5173 {
5174 change_frame_size (f, text_width, text_height, 0, 1, 0, 1);
5175 SET_FRAME_GARBAGED (f);
5176 cancel_mouse_face (f);
5177 f->win_gravity = NorthWestGravity;
5178 }
5171 } 5179 }
5172 } 5180 }
5173 5181
diff --git a/src/window.c b/src/window.c
index f05ea561263..456a8bce691 100644
--- a/src/window.c
+++ b/src/window.c
@@ -5914,6 +5914,8 @@ and redisplay normally--don't erase and redraw the frame. */)
5914 w->start_at_line_beg = (bytepos == BEGV_BYTE 5914 w->start_at_line_beg = (bytepos == BEGV_BYTE
5915 || FETCH_BYTE (bytepos - 1) == '\n'); 5915 || FETCH_BYTE (bytepos - 1) == '\n');
5916 5916
5917 wset_redisplay (w);
5918
5917 return Qnil; 5919 return Qnil;
5918} 5920}
5919 5921
diff --git a/src/xdisp.c b/src/xdisp.c
index bf620085727..c27f46677bb 100644
--- a/src/xdisp.c
+++ b/src/xdisp.c
@@ -15002,6 +15002,10 @@ run_window_scroll_functions (Lisp_Object window, struct text_pos startp)
15002 If FORCE_P is non-zero, return 0 even if partial visible cursor row 15002 If FORCE_P is non-zero, return 0 even if partial visible cursor row
15003 is higher than window. 15003 is higher than window.
15004 15004
15005 If CURRENT_MATRIX_P is non-zero, use the information from the
15006 window's current glyph matrix; otherwise use the desired glyph
15007 matrix.
15008
15005 A value of 0 means the caller should do scrolling 15009 A value of 0 means the caller should do scrolling
15006 as if point had gone off the screen. */ 15010 as if point had gone off the screen. */
15007 15011
@@ -16175,26 +16179,48 @@ redisplay_window (Lisp_Object window, bool just_this_one_p)
16175 16179
16176 /* If someone specified a new starting point but did not insist, 16180 /* If someone specified a new starting point but did not insist,
16177 check whether it can be used. */ 16181 check whether it can be used. */
16178 if (w->optional_new_start 16182 if ((w->optional_new_start || window_frozen_p (w))
16179 && CHARPOS (startp) >= BEGV 16183 && CHARPOS (startp) >= BEGV
16180 && CHARPOS (startp) <= ZV) 16184 && CHARPOS (startp) <= ZV)
16181 { 16185 {
16186 ptrdiff_t it_charpos;
16187
16182 w->optional_new_start = 0; 16188 w->optional_new_start = 0;
16183 start_display (&it, w, startp); 16189 start_display (&it, w, startp);
16184 move_it_to (&it, PT, 0, it.last_visible_y, -1, 16190 move_it_to (&it, PT, 0, it.last_visible_y, -1,
16185 MOVE_TO_POS | MOVE_TO_X | MOVE_TO_Y); 16191 MOVE_TO_POS | MOVE_TO_X | MOVE_TO_Y);
16186 if (IT_CHARPOS (it) == PT) 16192 /* Record IT's position now, since line_bottom_y might change
16187 w->force_start = 1; 16193 that. */
16188 /* IT may overshoot PT if text at PT is invisible. */ 16194 it_charpos = IT_CHARPOS (it);
16189 else if (IT_CHARPOS (it) > PT && CHARPOS (startp) <= PT) 16195 /* Make sure we set the force_start flag only if the cursor row
16190 w->force_start = 1; 16196 will be fully visible. Otherwise, the code under force_start
16197 label below will try to move point back into view, which is
16198 not what the code which sets optional_new_start wants. */
16199 if ((it.current_y == 0 || line_bottom_y (&it) < it.last_visible_y)
16200 && !w->force_start)
16201 {
16202 if (it_charpos == PT)
16203 w->force_start = 1;
16204 /* IT may overshoot PT if text at PT is invisible. */
16205 else if (it_charpos > PT && CHARPOS (startp) <= PT)
16206 w->force_start = 1;
16207#ifdef GLYPH_DEBUG
16208 if (w->force_start)
16209 {
16210 if (window_frozen_p (w))
16211 debug_method_add (w, "set force_start from frozen window start");
16212 else
16213 debug_method_add (w, "set force_start from optional_new_start");
16214 }
16215#endif
16216 }
16191 } 16217 }
16192 16218
16193 force_start: 16219 force_start:
16194 16220
16195 /* Handle case where place to start displaying has been specified, 16221 /* Handle case where place to start displaying has been specified,
16196 unless the specified location is outside the accessible range. */ 16222 unless the specified location is outside the accessible range. */
16197 if (w->force_start || window_frozen_p (w)) 16223 if (w->force_start)
16198 { 16224 {
16199 /* We set this later on if we have to adjust point. */ 16225 /* We set this later on if we have to adjust point. */
16200 int new_vpos = -1; 16226 int new_vpos = -1;
@@ -16239,7 +16265,7 @@ redisplay_window (Lisp_Object window, bool just_this_one_p)
16239 goto need_larger_matrices; 16265 goto need_larger_matrices;
16240 } 16266 }
16241 16267
16242 if (w->cursor.vpos < 0 && !window_frozen_p (w)) 16268 if (w->cursor.vpos < 0)
16243 { 16269 {
16244 /* If point does not appear, try to move point so it does 16270 /* If point does not appear, try to move point so it does
16245 appear. The desired matrix has been built above, so we 16271 appear. The desired matrix has been built above, so we
@@ -16332,6 +16358,11 @@ redisplay_window (Lisp_Object window, bool just_this_one_p)
16332 } 16358 }
16333 */ 16359 */
16334 } 16360 }
16361 if (w->cursor.vpos < 0 || !cursor_row_fully_visible_p (w, 0, 0))
16362 {
16363 clear_glyph_matrix (w->desired_matrix);
16364 goto try_to_scroll;
16365 }
16335 16366
16336#ifdef GLYPH_DEBUG 16367#ifdef GLYPH_DEBUG
16337 debug_method_add (w, "forced window start"); 16368 debug_method_add (w, "forced window start");
@@ -16396,7 +16427,8 @@ redisplay_window (Lisp_Object window, bool just_this_one_p)
16396 || CHARPOS (startp) == BEGV 16427 || CHARPOS (startp) == BEGV
16397 || !window_outdated (w))) 16428 || !window_outdated (w)))
16398 { 16429 {
16399 int d1, d2, d3, d4, d5, d6; 16430 int d1, d2, d5, d6;
16431 int rtop, rbot;
16400 16432
16401 /* If first window line is a continuation line, and window start 16433 /* If first window line is a continuation line, and window start
16402 is inside the modified region, but the first change is before 16434 is inside the modified region, but the first change is before
@@ -16421,14 +16453,20 @@ redisplay_window (Lisp_Object window, bool just_this_one_p)
16421 && compute_window_start_on_continuation_line (w) 16453 && compute_window_start_on_continuation_line (w)
16422 /* It doesn't make sense to force the window start like we 16454 /* It doesn't make sense to force the window start like we
16423 do at label force_start if it is already known that point 16455 do at label force_start if it is already known that point
16424 will not be visible in the resulting window, because 16456 will not be fully visible in the resulting window, because
16425 doing so will move point from its correct position 16457 doing so will move point from its correct position
16426 instead of scrolling the window to bring point into view. 16458 instead of scrolling the window to bring point into view.
16427 See bug#9324. */ 16459 See bug#9324. */
16428 && pos_visible_p (w, PT, &d1, &d2, &d3, &d4, &d5, &d6)) 16460 && pos_visible_p (w, PT, &d1, &d2, &rtop, &rbot, &d5, &d6)
16461 /* A very tall row could need more than the window height,
16462 in which case we accept that it is partially visible. */
16463 && (rtop != 0) == (rbot != 0))
16429 { 16464 {
16430 w->force_start = 1; 16465 w->force_start = 1;
16431 SET_TEXT_POS_FROM_MARKER (startp, w->start); 16466 SET_TEXT_POS_FROM_MARKER (startp, w->start);
16467#ifdef GLYPH_DEBUG
16468 debug_method_add (w, "recomputed window start in continuation line");
16469#endif
16432 goto force_start; 16470 goto force_start;
16433 } 16471 }
16434 16472