diff options
| author | Miles Bader | 2007-07-15 01:50:59 +0000 |
|---|---|---|
| committer | Miles Bader | 2007-07-15 01:50:59 +0000 |
| commit | 6f8a87c027ebd6f9cfdac5c0df97d651227bec62 (patch) | |
| tree | 59b69dc267d2fcdd8809f7134e7680ea7bb21ac8 /lisp | |
| parent | 36ae4ff74e439d0624dc06969b1f9f542eb19671 (diff) | |
| parent | 82fe1aeda6647e15874f7c7c5299f82abd2cbb5c (diff) | |
| download | emacs-6f8a87c027ebd6f9cfdac5c0df97d651227bec62.tar.gz emacs-6f8a87c027ebd6f9cfdac5c0df97d651227bec62.zip | |
Merge from emacs--rel--22
Patches applied:
* emacs--rel--22 (patch 55-58)
- Update from CVS
- Merge from gnus--rel--5.10
* gnus--rel--5.10 (patch 235-236)
- Update from CVS
2007-07-13 Dan Nicolaescu <dann@ics.uci.edu>
* lisp/replace.el (match): Use yellow1 instead of yellow.
* lisp/progmodes/gdb-ui.el (breakpoint-enabled): Use red1 instead of
red.
* lisp/pcvs-info.el (cvs-unknown): Likewise.
2007-07-10 Richard M. Stallman <rms@gnu.org>
* lisp/emacs-lisp/lisp-mode.el (eval-defun):
Explain special handling of `defface'.
2007-07-13 Katsumi Yamaoka <yamaoka@jpl.org>
* lisp/gnus/gnus-srvr.el (gnus-server-agent-face, gnus-server-opened-face)
(gnus-server-closed-face, gnus-server-denied-face)
(gnus-server-offline-face): Remove variable.
(gnus-server-font-lock-keywords): Use faces that are not aliases.
* lisp/gnus/mm-util.el (mm-decode-coding-string, mm-encode-coding-string)
(mm-decode-coding-region, mm-encode-coding-region): Don't modify string
if the coding-system argument is nil for XEmacs.
* lisp/gnus/nnrss.el (nnrss-compatible-encoding-alist): Inherit the value of
mm-charset-override-alist.
* lisp/gnus/rfc2047.el: Don't require base64; require rfc2045 for the function
rfc2045-encode-string.
(rfc2047-encode-parameter): Use rfc2045-encode-string to quote or not
to quote the parameter value.
2007-07-10 Richard M. Stallman <rms@gnu.org>
* lispref/display.texi (Defining Faces): Explain C-M-x feature for defface.
2007-07-11 Jason Rumney <jasonr@gnu.org>
* nt/gmake.defs (OLE32): New library to link.
* nt/nmake.defs (OLE32): Likewise.
2007-07-11 Jason Rumney <jasonr@gnu.org>
* src/makefile.w32-in (LIBS): Include OLE32.
* src/w32fns.c (w32_msg_pump) <WM_EMACS_CREATEWINDOW>: Initialize COM.
(w32_msg_pump) <WM_DESTROY>: Uninitialize COM.
Revision: emacs@sv.gnu.org/emacs--devo--0--patch-812
Diffstat (limited to 'lisp')
| -rw-r--r-- | lisp/ChangeLog | 14 | ||||
| -rw-r--r-- | lisp/emacs-lisp/lisp-mode.el | 4 | ||||
| -rw-r--r-- | lisp/gnus/ChangeLog | 19 | ||||
| -rw-r--r-- | lisp/gnus/gnus-srvr.el | 41 | ||||
| -rw-r--r-- | lisp/gnus/mm-util.el | 34 | ||||
| -rw-r--r-- | lisp/gnus/nnrss.el | 7 | ||||
| -rw-r--r-- | lisp/gnus/rfc2047.el | 11 | ||||
| -rw-r--r-- | lisp/pcvs-info.el | 4 | ||||
| -rw-r--r-- | lisp/progmodes/gdb-ui.el | 2 | ||||
| -rw-r--r-- | lisp/replace.el | 2 |
10 files changed, 84 insertions, 54 deletions
diff --git a/lisp/ChangeLog b/lisp/ChangeLog index 526d7d021e8..6a568afe055 100644 --- a/lisp/ChangeLog +++ b/lisp/ChangeLog | |||
| @@ -31,6 +31,15 @@ | |||
| 31 | 31 | ||
| 32 | * subr.el (when, unless): Doc fix. | 32 | * subr.el (when, unless): Doc fix. |
| 33 | 33 | ||
| 34 | 2007-07-13 Dan Nicolaescu <dann@ics.uci.edu> | ||
| 35 | |||
| 36 | * replace.el (match): Use yellow1 instead of yellow. | ||
| 37 | |||
| 38 | * progmodes/gdb-ui.el (breakpoint-enabled): Use red1 instead of | ||
| 39 | red. | ||
| 40 | |||
| 41 | * pcvs-info.el (cvs-unknown): Likewise. | ||
| 42 | |||
| 34 | 2007-07-13 Eli Zaretskii <eliz@gnu.org> | 43 | 2007-07-13 Eli Zaretskii <eliz@gnu.org> |
| 35 | 44 | ||
| 36 | * makefile.w32-in (install-lisp-SH, install-lisp-CMD): New targets. | 45 | * makefile.w32-in (install-lisp-SH, install-lisp-CMD): New targets. |
| @@ -140,6 +149,11 @@ | |||
| 140 | 149 | ||
| 141 | * menu-bar.el (vc-menu-map): New defalias. | 150 | * menu-bar.el (vc-menu-map): New defalias. |
| 142 | 151 | ||
| 152 | 2007-07-10 Richard Stallman <rms@gnu.org> | ||
| 153 | |||
| 154 | * emacs-lisp/lisp-mode.el (eval-defun): | ||
| 155 | Explain special handling of `defface'. | ||
| 156 | |||
| 143 | 2007-07-10 Jim Meyering <jim@meyering.net> (tiny change) | 157 | 2007-07-10 Jim Meyering <jim@meyering.net> (tiny change) |
| 144 | 158 | ||
| 145 | * emacs-lisp/copyright.el (copyright-current-gpl-version): Set to 3. | 159 | * emacs-lisp/copyright.el (copyright-current-gpl-version): Set to 3. |
diff --git a/lisp/emacs-lisp/lisp-mode.el b/lisp/emacs-lisp/lisp-mode.el index 73379a816d7..374d3ae2327 100644 --- a/lisp/emacs-lisp/lisp-mode.el +++ b/lisp/emacs-lisp/lisp-mode.el | |||
| @@ -730,7 +730,9 @@ If the current defun is actually a call to `defvar' or `defcustom', | |||
| 730 | evaluating it this way resets the variable using its initial value | 730 | evaluating it this way resets the variable using its initial value |
| 731 | expression even if the variable already has some other value. | 731 | expression even if the variable already has some other value. |
| 732 | \(Normally `defvar' and `defcustom' do not alter the value if there | 732 | \(Normally `defvar' and `defcustom' do not alter the value if there |
| 733 | already is one.) | 733 | already is one.) In an analogous way, evaluating a `defface' |
| 734 | overrides any customizations of the face, so that it becomes | ||
| 735 | defined exactly as the `defface' expression says. | ||
| 734 | 736 | ||
| 735 | If `eval-expression-debug-on-error' is non-nil, which is the default, | 737 | If `eval-expression-debug-on-error' is non-nil, which is the default, |
| 736 | this command arranges for all errors to enter the debugger. | 738 | this command arranges for all errors to enter the debugger. |
diff --git a/lisp/gnus/ChangeLog b/lisp/gnus/ChangeLog index 30b787acf41..6a66ebbf756 100644 --- a/lisp/gnus/ChangeLog +++ b/lisp/gnus/ChangeLog | |||
| @@ -3,6 +3,25 @@ | |||
| 3 | * gnus-art.el (gnus-mime-delete-part): Don't go through article-edit | 3 | * gnus-art.el (gnus-mime-delete-part): Don't go through article-edit |
| 4 | finishing actions if we did not edit the article. | 4 | finishing actions if we did not edit the article. |
| 5 | 5 | ||
| 6 | 2007-07-13 Katsumi Yamaoka <yamaoka@jpl.org> | ||
| 7 | |||
| 8 | * gnus-srvr.el (gnus-server-agent-face, gnus-server-opened-face) | ||
| 9 | (gnus-server-closed-face, gnus-server-denied-face) | ||
| 10 | (gnus-server-offline-face): Remove variable. | ||
| 11 | (gnus-server-font-lock-keywords): Use faces that are not aliases. | ||
| 12 | |||
| 13 | * mm-util.el (mm-decode-coding-string, mm-encode-coding-string) | ||
| 14 | (mm-decode-coding-region, mm-encode-coding-region): Don't modify string | ||
| 15 | if the coding-system argument is nil for XEmacs. | ||
| 16 | |||
| 17 | * nnrss.el (nnrss-compatible-encoding-alist): Inherit the value of | ||
| 18 | mm-charset-override-alist. | ||
| 19 | |||
| 20 | * rfc2047.el: Don't require base64; require rfc2045 for the function | ||
| 21 | rfc2045-encode-string. | ||
| 22 | (rfc2047-encode-parameter): Use rfc2045-encode-string to quote or not | ||
| 23 | to quote the parameter value. | ||
| 24 | |||
| 6 | 2007-07-04 Katsumi Yamaoka <yamaoka@jpl.org> | 25 | 2007-07-04 Katsumi Yamaoka <yamaoka@jpl.org> |
| 7 | 26 | ||
| 8 | * gnus-sum.el (gnus-summary-catchup): Don't recognize cached articles | 27 | * gnus-sum.el (gnus-summary-catchup): Don't recognize cached articles |
diff --git a/lisp/gnus/gnus-srvr.el b/lisp/gnus/gnus-srvr.el index f6804f3b114..0d5443f576c 100644 --- a/lisp/gnus/gnus-srvr.el +++ b/lisp/gnus/gnus-srvr.el | |||
| @@ -214,43 +214,12 @@ If nil, a faster, but more primitive, buffer is used instead." | |||
| 214 | ;; backward-compatibility alias | 214 | ;; backward-compatibility alias |
| 215 | (put 'gnus-server-offline-face 'face-alias 'gnus-server-offline) | 215 | (put 'gnus-server-offline-face 'face-alias 'gnus-server-offline) |
| 216 | 216 | ||
| 217 | (defcustom gnus-server-agent-face 'gnus-server-agent | ||
| 218 | "Face name to use on AGENTIZED servers." | ||
| 219 | :version "22.1" | ||
| 220 | :group 'gnus-server-visual | ||
| 221 | :type 'face) | ||
| 222 | |||
| 223 | (defcustom gnus-server-opened-face 'gnus-server-opened | ||
| 224 | "Face name to use on OPENED servers." | ||
| 225 | :version "22.1" | ||
| 226 | :group 'gnus-server-visual | ||
| 227 | :type 'face) | ||
| 228 | |||
| 229 | (defcustom gnus-server-closed-face 'gnus-server-closed | ||
| 230 | "Face name to use on CLOSED servers." | ||
| 231 | :version "22.1" | ||
| 232 | :group 'gnus-server-visual | ||
| 233 | :type 'face) | ||
| 234 | |||
| 235 | (defcustom gnus-server-denied-face 'gnus-server-denied | ||
| 236 | "Face name to use on DENIED servers." | ||
| 237 | :version "22.1" | ||
| 238 | :group 'gnus-server-visual | ||
| 239 | :type 'face) | ||
| 240 | |||
| 241 | (defcustom gnus-server-offline-face 'gnus-server-offline | ||
| 242 | "Face name to use on OFFLINE servers." | ||
| 243 | :version "22.1" | ||
| 244 | :group 'gnus-server-visual | ||
| 245 | :type 'face) | ||
| 246 | |||
| 247 | (defvar gnus-server-font-lock-keywords | 217 | (defvar gnus-server-font-lock-keywords |
| 248 | (list | 218 | '(("(\\(agent\\))" 1 gnus-server-agent) |
| 249 | '("(\\(agent\\))" 1 gnus-server-agent-face) | 219 | ("(\\(opened\\))" 1 gnus-server-opened) |
| 250 | '("(\\(opened\\))" 1 gnus-server-opened-face) | 220 | ("(\\(closed\\))" 1 gnus-server-closed) |
| 251 | '("(\\(closed\\))" 1 gnus-server-closed-face) | 221 | ("(\\(offline\\))" 1 gnus-server-offline) |
| 252 | '("(\\(offline\\))" 1 gnus-server-offline-face) | 222 | ("(\\(denied\\))" 1 gnus-server-denied))) |
| 253 | '("(\\(denied\\))" 1 gnus-server-denied-face))) | ||
| 254 | 223 | ||
| 255 | (defun gnus-server-mode () | 224 | (defun gnus-server-mode () |
| 256 | "Major mode for listing and editing servers. | 225 | "Major mode for listing and editing servers. |
diff --git a/lisp/gnus/mm-util.el b/lisp/gnus/mm-util.el index 742bbc223ae..8933edaf42c 100644 --- a/lisp/gnus/mm-util.el +++ b/lisp/gnus/mm-util.el | |||
| @@ -36,11 +36,7 @@ | |||
| 36 | (if (fboundp (car elem)) | 36 | (if (fboundp (car elem)) |
| 37 | (defalias nfunc (car elem)) | 37 | (defalias nfunc (car elem)) |
| 38 | (defalias nfunc (cdr elem))))) | 38 | (defalias nfunc (cdr elem))))) |
| 39 | '((decode-coding-string . (lambda (s a) s)) | 39 | '((coding-system-list . ignore) |
| 40 | (encode-coding-string . (lambda (s a) s)) | ||
| 41 | (encode-coding-region . ignore) | ||
| 42 | (coding-system-list . ignore) | ||
| 43 | (decode-coding-region . ignore) | ||
| 44 | (char-int . identity) | 40 | (char-int . identity) |
| 45 | (coding-system-equal . equal) | 41 | (coding-system-equal . equal) |
| 46 | (annotationp . ignore) | 42 | (annotationp . ignore) |
| @@ -97,6 +93,34 @@ | |||
| 97 | (multibyte-char-to-unibyte . identity)))) | 93 | (multibyte-char-to-unibyte . identity)))) |
| 98 | 94 | ||
| 99 | (eval-and-compile | 95 | (eval-and-compile |
| 96 | (if (featurep 'xemacs) | ||
| 97 | (if (featurep 'file-coding) | ||
| 98 | ;; Don't modify string if CODING-SYSTEM is nil. | ||
| 99 | (progn | ||
| 100 | (defun mm-decode-coding-string (str coding-system) | ||
| 101 | (if coding-system | ||
| 102 | (decode-coding-string str coding-system) | ||
| 103 | str)) | ||
| 104 | (defun mm-encode-coding-string (str coding-system) | ||
| 105 | (if coding-system | ||
| 106 | (encode-coding-string str coding-system) | ||
| 107 | str)) | ||
| 108 | (defun mm-decode-coding-region (start end coding-system) | ||
| 109 | (if coding-system | ||
| 110 | (decode-coding-region start end coding-system))) | ||
| 111 | (defun mm-encode-coding-region (start end coding-system) | ||
| 112 | (if coding-system | ||
| 113 | (encode-coding-region start end coding-system)))) | ||
| 114 | (defun mm-decode-coding-string (str coding-system) str) | ||
| 115 | (defun mm-encode-coding-string (str coding-system) str) | ||
| 116 | (defalias 'mm-decode-coding-region 'ignore) | ||
| 117 | (defalias 'mm-encode-coding-region 'ignore)) | ||
| 118 | (defalias 'mm-decode-coding-string 'decode-coding-string) | ||
| 119 | (defalias 'mm-encode-coding-string 'encode-coding-string) | ||
| 120 | (defalias 'mm-decode-coding-region 'decode-coding-region) | ||
| 121 | (defalias 'mm-encode-coding-region 'encode-coding-region))) | ||
| 122 | |||
| 123 | (eval-and-compile | ||
| 100 | (cond | 124 | (cond |
| 101 | ((fboundp 'replace-in-string) | 125 | ((fboundp 'replace-in-string) |
| 102 | (defalias 'mm-replace-in-string 'replace-in-string)) | 126 | (defalias 'mm-replace-in-string 'replace-in-string)) |
diff --git a/lisp/gnus/nnrss.el b/lisp/gnus/nnrss.el index 996783e69b6..1f7e5ba1de9 100644 --- a/lisp/gnus/nnrss.el +++ b/lisp/gnus/nnrss.el | |||
| @@ -85,7 +85,12 @@ ARTICLE is the article number of the current headline.") | |||
| 85 | (defvar nnrss-file-coding-system mm-universal-coding-system | 85 | (defvar nnrss-file-coding-system mm-universal-coding-system |
| 86 | "Coding system used when reading and writing files.") | 86 | "Coding system used when reading and writing files.") |
| 87 | 87 | ||
| 88 | (defvar nnrss-compatible-encoding-alist '((iso-8859-1 . windows-1252)) | 88 | (defvar nnrss-compatible-encoding-alist |
| 89 | (delq nil (mapcar (lambda (elem) | ||
| 90 | (if (and (mm-coding-system-p (car elem)) | ||
| 91 | (mm-coding-system-p (cdr elem))) | ||
| 92 | elem)) | ||
| 93 | mm-charset-override-alist)) | ||
| 89 | "Alist of encodings and those supersets. | 94 | "Alist of encodings and those supersets. |
| 90 | The cdr of each element is used to decode data if it is available when | 95 | The cdr of each element is used to decode data if it is available when |
| 91 | the car is what the data specify as the encoding. Or, the car is used | 96 | the car is what the data specify as the encoding. Or, the car is used |
diff --git a/lisp/gnus/rfc2047.el b/lisp/gnus/rfc2047.el index 6dc432daf79..3cf2940e031 100644 --- a/lisp/gnus/rfc2047.el +++ b/lisp/gnus/rfc2047.el | |||
| @@ -55,7 +55,7 @@ Value is what BODY returns." | |||
| 55 | (require 'ietf-drums) | 55 | (require 'ietf-drums) |
| 56 | ;; Fixme: Avoid this (used for mail-parse-charset) mm dependence on gnus. | 56 | ;; Fixme: Avoid this (used for mail-parse-charset) mm dependence on gnus. |
| 57 | (require 'mail-prsvr) | 57 | (require 'mail-prsvr) |
| 58 | (require 'base64) | 58 | (require 'rfc2045) ;; rfc2045-encode-string |
| 59 | (autoload 'mm-body-7-or-8 "mm-bodies") | 59 | (autoload 'mm-body-7-or-8 "mm-bodies") |
| 60 | 60 | ||
| 61 | (eval-and-compile | 61 | (eval-and-compile |
| @@ -832,12 +832,9 @@ it, put the following line in your ~/.gnus.el file: | |||
| 832 | 832 | ||
| 833 | \(defalias 'mail-header-encode-parameter 'rfc2047-encode-parameter) | 833 | \(defalias 'mail-header-encode-parameter 'rfc2047-encode-parameter) |
| 834 | " | 834 | " |
| 835 | (let* ((rfc2047-encoding-type 'mime) | 835 | (let ((rfc2047-encoding-type 'mime) |
| 836 | (rfc2047-encode-max-chars nil) | 836 | (rfc2047-encode-max-chars nil)) |
| 837 | (string (rfc2047-encode-string value))) | 837 | (rfc2045-encode-string param (rfc2047-encode-string value)))) |
| 838 | (if (string-match (concat "[" ietf-drums-tspecials "]") string) | ||
| 839 | (format "%s=%S" param string) | ||
| 840 | (concat param "=" string)))) | ||
| 841 | 838 | ||
| 842 | ;;; | 839 | ;;; |
| 843 | ;;; Functions for decoding RFC2047 messages | 840 | ;;; Functions for decoding RFC2047 messages |
diff --git a/lisp/pcvs-info.el b/lisp/pcvs-info.el index 6e36b5a93e3..880972bff9d 100644 --- a/lisp/pcvs-info.el +++ b/lisp/pcvs-info.el | |||
| @@ -85,9 +85,9 @@ to confuse some users sometimes." | |||
| 85 | 85 | ||
| 86 | (defface cvs-unknown | 86 | (defface cvs-unknown |
| 87 | '((((class color) (background dark)) | 87 | '((((class color) (background dark)) |
| 88 | (:foreground "red")) | 88 | (:foreground "red1")) |
| 89 | (((class color) (background light)) | 89 | (((class color) (background light)) |
| 90 | (:foreground "red")) | 90 | (:foreground "red1")) |
| 91 | (t (:slant italic))) | 91 | (t (:slant italic))) |
| 92 | "PCL-CVS face used to highlight unknown file status." | 92 | "PCL-CVS face used to highlight unknown file status." |
| 93 | :group 'pcl-cvs) | 93 | :group 'pcl-cvs) |
diff --git a/lisp/progmodes/gdb-ui.el b/lisp/progmodes/gdb-ui.el index 4dbc9893f61..7bc904f8319 100644 --- a/lisp/progmodes/gdb-ui.el +++ b/lisp/progmodes/gdb-ui.el | |||
| @@ -1765,7 +1765,7 @@ static char *magick[] = { | |||
| 1765 | 1765 | ||
| 1766 | (defface breakpoint-enabled | 1766 | (defface breakpoint-enabled |
| 1767 | '((t | 1767 | '((t |
| 1768 | :foreground "red" | 1768 | :foreground "red1" |
| 1769 | :weight bold)) | 1769 | :weight bold)) |
| 1770 | "Face for enabled breakpoint icon in fringe." | 1770 | "Face for enabled breakpoint icon in fringe." |
| 1771 | :group 'gud) | 1771 | :group 'gud) |
diff --git a/lisp/replace.el b/lisp/replace.el index ed1fa9a6b59..5d4c2a2eba6 100644 --- a/lisp/replace.el +++ b/lisp/replace.el | |||
| @@ -860,7 +860,7 @@ Compatibility function for \\[next-error] invocations." | |||
| 860 | 860 | ||
| 861 | (defface match | 861 | (defface match |
| 862 | '((((class color) (min-colors 88) (background light)) | 862 | '((((class color) (min-colors 88) (background light)) |
| 863 | :background "yellow") | 863 | :background "yellow1") |
| 864 | (((class color) (min-colors 88) (background dark)) | 864 | (((class color) (min-colors 88) (background dark)) |
| 865 | :background "RoyalBlue3") | 865 | :background "RoyalBlue3") |
| 866 | (((class color) (min-colors 8) (background light)) | 866 | (((class color) (min-colors 8) (background light)) |