aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorGnus developers2011-02-05 00:11:16 +0000
committerKatsumi Yamaoka2011-02-05 00:11:16 +0000
commitec72bf63aea256f08eaab0f09929dbd327a57178 (patch)
treecb8a306ea92b34aa0333fadf2809356ab1221216
parentf90e08f57d06cfbe99afe968c0c8fe9102802624 (diff)
downloademacs-ec72bf63aea256f08eaab0f09929dbd327a57178.tar.gz
emacs-ec72bf63aea256f08eaab0f09929dbd327a57178.zip
Merge changes made in Gnus trunk.
shr.el (shr-render-td): Store the actual background colour used. gnus-sum.el (gnus-user-date): Renamed back from gnus-summary-user-date since user code refers to it. auth-source.el: Rewrite. gnus.texi: Add DEVEL header (suggested by Andreas Schwab). WEBHACKDEVEL work: Makefile.in (webhack, nowebhack): Hacks to produce for-the-web manuals. auth.texi: Use WEBHACKDEVEL. emacs-mime.texi: Use WEBHACKDEVEL. gnus.texi: Use WEBHACKDEVEL. message.texi: Use WEBHACKDEVEL. pgg.texi: Use WEBHACKDEVEL. sasl.texi: Use WEBHACKDEVEL. sieve.texi: Use WEBHACKDEVEL. overrides.texi: New file to set or clear WEBHACKDEVEL. message.el (message-setup-1): Remove the read-only stuff, since it doesn't work under XEmacs, for some reason.
-rw-r--r--doc/misc/ChangeLog25
-rw-r--r--doc/misc/auth.texi8
-rw-r--r--doc/misc/emacs-mime.texi7
-rw-r--r--doc/misc/gnus.texi7
-rw-r--r--doc/misc/message.texi7
-rw-r--r--doc/misc/overrides.texi1
-rw-r--r--doc/misc/pgg.texi8
-rw-r--r--doc/misc/sasl.texi8
-rw-r--r--doc/misc/sieve.texi8
-rw-r--r--lisp/gnus/ChangeLog8
-rw-r--r--lisp/gnus/gnus-sum.el4
-rw-r--r--lisp/gnus/message.el4
-rw-r--r--lisp/gnus/shr.el16
13 files changed, 99 insertions, 12 deletions
diff --git a/doc/misc/ChangeLog b/doc/misc/ChangeLog
index dd7be139b69..56195a907e8 100644
--- a/doc/misc/ChangeLog
+++ b/doc/misc/ChangeLog
@@ -1,3 +1,28 @@
12011-02-04 Teodor Zlatanov <tzz@lifelogs.com>
2
3 * overrides.texi: New file to set or clear WEBHACKDEVEL.
4
5 * sieve.texi: Use WEBHACKDEVEL.
6
7 * sasl.texi: Use WEBHACKDEVEL.
8
9 * pgg.texi: Use WEBHACKDEVEL.
10
11 * message.texi: Use WEBHACKDEVEL.
12
13 * gnus.texi: Use WEBHACKDEVEL.
14
15 * emacs-mime.texi: Use WEBHACKDEVEL.
16
17 * auth.texi: Use WEBHACKDEVEL.
18
19 * Makefile.in (webhack, nowebhack): Hacks to produce for-the-web
20 manuals.
21
222011-02-04 Lars Ingebrigtsen <larsi@gnus.org>
23
24 * gnus.texi: Add DEVEL header (suggested by Andreas Schwab).
25
12011-02-03 Paul Eggert <eggert@cs.ucla.edu> 262011-02-03 Paul Eggert <eggert@cs.ucla.edu>
2 27
3 * texinfo.tex: Update to version 2011-02-01.10 from gnulib, 28 * texinfo.tex: Update to version 2011-02-01.10 from gnulib,
diff --git a/doc/misc/auth.texi b/doc/misc/auth.texi
index f19d6e28ddb..a89018dd00e 100644
--- a/doc/misc/auth.texi
+++ b/doc/misc/auth.texi
@@ -1,4 +1,7 @@
1\input texinfo @c -*-texinfo-*- 1\input texinfo @c -*-texinfo-*-
2
3@include overrides.texi
4
2@setfilename ../../info/auth 5@setfilename ../../info/auth
3@settitle Emacs auth-source Library @value{VERSION} 6@settitle Emacs auth-source Library @value{VERSION}
4 7
@@ -35,7 +38,12 @@ license to the document, as described in section 6 of the license.
35@end direntry 38@end direntry
36 39
37@titlepage 40@titlepage
41@ifset WEBHACKDEVEL
42@title Emacs auth-source Library (DEVELOPMENT VERSION)
43@end ifset
44@ifclear WEBHACKDEVEL
38@title Emacs auth-source Library 45@title Emacs auth-source Library
46@end ifclear
39@author by Ted Zlatanov 47@author by Ted Zlatanov
40@page 48@page
41@vskip 0pt plus 1filll 49@vskip 0pt plus 1filll
diff --git a/doc/misc/emacs-mime.texi b/doc/misc/emacs-mime.texi
index 62a43aa11bc..0acb3187157 100644
--- a/doc/misc/emacs-mime.texi
+++ b/doc/misc/emacs-mime.texi
@@ -1,5 +1,7 @@
1\input texinfo 1\input texinfo
2 2
3@include overrides.texi
4
3@setfilename ../../info/emacs-mime 5@setfilename ../../info/emacs-mime
4@settitle Emacs MIME Manual 6@settitle Emacs MIME Manual
5@synindex fn cp 7@synindex fn cp
@@ -38,7 +40,12 @@ developing GNU and promoting software freedom.''
38@setchapternewpage odd 40@setchapternewpage odd
39 41
40@titlepage 42@titlepage
43@ifset WEBHACKDEVEL
44@title Emacs MIME Manual (DEVELOPMENT VERSION)
45@end ifset
46@ifclear WEBHACKDEVEL
41@title Emacs MIME Manual 47@title Emacs MIME Manual
48@end ifclear
42 49
43@author by Lars Magne Ingebrigtsen 50@author by Lars Magne Ingebrigtsen
44@page 51@page
diff --git a/doc/misc/gnus.texi b/doc/misc/gnus.texi
index 936f140af00..83a689fcbc0 100644
--- a/doc/misc/gnus.texi
+++ b/doc/misc/gnus.texi
@@ -1,5 +1,7 @@
1\input texinfo 1\input texinfo
2 2
3@include overrides.texi
4
3@setfilename ../../info/gnus 5@setfilename ../../info/gnus
4@settitle Gnus Manual 6@settitle Gnus Manual
5@syncodeindex fn cp 7@syncodeindex fn cp
@@ -329,7 +331,12 @@ developing GNU and promoting software freedom.''
329 331
330 332
331@titlepage 333@titlepage
334@ifset WEBHACKDEVEL
335@title Gnus Manual (DEVELOPMENT VERSION)
336@end ifset
337@ifclear WEBHACKDEVEL
332@title Gnus Manual 338@title Gnus Manual
339@end ifclear
333 340
334@author by Lars Magne Ingebrigtsen 341@author by Lars Magne Ingebrigtsen
335@page 342@page
diff --git a/doc/misc/message.texi b/doc/misc/message.texi
index 34bd14f2a82..7a7315d0fa5 100644
--- a/doc/misc/message.texi
+++ b/doc/misc/message.texi
@@ -1,5 +1,7 @@
1\input texinfo @c -*-texinfo-*- 1\input texinfo @c -*-texinfo-*-
2 2
3@include overrides.texi
4
3@setfilename ../../info/message 5@setfilename ../../info/message
4@settitle Message Manual 6@settitle Message Manual
5@synindex fn cp 7@synindex fn cp
@@ -34,7 +36,12 @@ developing GNU and promoting software freedom.''
34@end iftex 36@end iftex
35 37
36@titlepage 38@titlepage
39@ifset WEBHACKDEVEL
40@title Message Manual (DEVELOPMENT VERSION)
41@end ifset
42@ifclear WEBHACKDEVEL
37@title Message Manual 43@title Message Manual
44@end ifclear
38 45
39@author by Lars Magne Ingebrigtsen 46@author by Lars Magne Ingebrigtsen
40@page 47@page
diff --git a/doc/misc/overrides.texi b/doc/misc/overrides.texi
new file mode 100644
index 00000000000..369462b775d
--- /dev/null
+++ b/doc/misc/overrides.texi
@@ -0,0 +1 @@
@clear WEBHACKDEVEL
diff --git a/doc/misc/pgg.texi b/doc/misc/pgg.texi
index 9bdb1eaa216..3ca26af7b0d 100644
--- a/doc/misc/pgg.texi
+++ b/doc/misc/pgg.texi
@@ -1,4 +1,7 @@
1\input texinfo @c -*-texinfo-*- 1\input texinfo @c -*-texinfo-*-
2
3@include overrides.texi
4
2@setfilename ../../info/pgg 5@setfilename ../../info/pgg
3@settitle PGG @value{VERSION} 6@settitle PGG @value{VERSION}
4 7
@@ -30,7 +33,12 @@ developing GNU and promoting software freedom.''
30@end direntry 33@end direntry
31 34
32@titlepage 35@titlepage
36@ifset WEBHACKDEVEL
37@title PGG (DEVELOPMENT VERSION)
38@end ifset
39@ifclear WEBHACKDEVEL
33@title PGG 40@title PGG
41@end ifclear
34 42
35@author by Daiki Ueno 43@author by Daiki Ueno
36@page 44@page
diff --git a/doc/misc/sasl.texi b/doc/misc/sasl.texi
index 99c4c98e439..d87b5acaf44 100644
--- a/doc/misc/sasl.texi
+++ b/doc/misc/sasl.texi
@@ -1,4 +1,7 @@
1\input texinfo @c -*-texinfo-*- 1\input texinfo @c -*-texinfo-*-
2
3@include overrides.texi
4
2@setfilename ../../info/sasl 5@setfilename ../../info/sasl
3 6
4@set VERSION 0.2 7@set VERSION 0.2
@@ -37,7 +40,12 @@ license to the document, as described in section 6 of the license.
37 40
38 41
39@titlepage 42@titlepage
43@ifset WEBHACKDEVEL
44@title Emacs SASL Library @value{VERSION} (DEVELOPMENT VERSION)
45@end ifset
46@ifclear WEBHACKDEVEL
40@title Emacs SASL Library @value{VERSION} 47@title Emacs SASL Library @value{VERSION}
48@end ifclear
41 49
42@author by Daiki Ueno 50@author by Daiki Ueno
43@page 51@page
diff --git a/doc/misc/sieve.texi b/doc/misc/sieve.texi
index 5c069f619ff..52677b57fbe 100644
--- a/doc/misc/sieve.texi
+++ b/doc/misc/sieve.texi
@@ -1,4 +1,7 @@
1\input texinfo @c -*-texinfo-*- 1\input texinfo @c -*-texinfo-*-
2
3@include overrides.texi
4
2@setfilename ../../info/sieve 5@setfilename ../../info/sieve
3@settitle Emacs Sieve Manual 6@settitle Emacs Sieve Manual
4@synindex fn cp 7@synindex fn cp
@@ -34,7 +37,12 @@ developing GNU and promoting software freedom.''
34@setchapternewpage odd 37@setchapternewpage odd
35 38
36@titlepage 39@titlepage
40@ifset WEBHACKDEVEL
41@title Emacs Sieve Manual (DEVELOPMENT VERSION)
42@end ifset
43@ifclear WEBHACKDEVEL
37@title Emacs Sieve Manual 44@title Emacs Sieve Manual
45@end ifclear
38 46
39@author by Simon Josefsson 47@author by Simon Josefsson
40@page 48@page
diff --git a/lisp/gnus/ChangeLog b/lisp/gnus/ChangeLog
index 02ec82d06a0..ceef5e5df2b 100644
--- a/lisp/gnus/ChangeLog
+++ b/lisp/gnus/ChangeLog
@@ -1,5 +1,13 @@
12011-02-04 Lars Ingebrigtsen <larsi@gnus.org> 12011-02-04 Lars Ingebrigtsen <larsi@gnus.org>
2 2
3 * message.el (message-setup-1): Remove the read-only stuff, since it
4 doesn't work under XEmacs, for some reason.
5
6 * gnus-sum.el (gnus-user-date): Renamed back from
7 gnus-summary-user-date since user code refers to it.
8
9 * shr.el (shr-render-td): Store the actual background colour used.
10
3 * message.el (message-setup-1): Don't bind the constant 11 * message.el (message-setup-1): Don't bind the constant
4 -forbidden-properties. 12 -forbidden-properties.
5 (message-setup-1): Revert previous change, since it needs to bind the 13 (message-setup-1): Revert previous change, since it needs to bind the
diff --git a/lisp/gnus/gnus-sum.el b/lisp/gnus/gnus-sum.el
index c40fcc7fe13..8221667ab65 100644
--- a/lisp/gnus/gnus-sum.el
+++ b/lisp/gnus/gnus-sum.el
@@ -1395,7 +1395,7 @@ the normal Gnus MIME machinery."
1395 (?u gnus-tmp-user-defined ?s) 1395 (?u gnus-tmp-user-defined ?s)
1396 (?P (gnus-pick-line-number) ?d) 1396 (?P (gnus-pick-line-number) ?d)
1397 (?B gnus-tmp-thread-tree-header-string ?s) 1397 (?B gnus-tmp-thread-tree-header-string ?s)
1398 (user-date (gnus-summary-user-date 1398 (user-date (gnus-user-date
1399 ,(macroexpand '(mail-header-date gnus-tmp-header))) ?s)) 1399 ,(macroexpand '(mail-header-date gnus-tmp-header))) ?s))
1400 "An alist of format specifications that can appear in summary lines. 1400 "An alist of format specifications that can appear in summary lines.
1401These are paired with what variables they correspond with, along with 1401These are paired with what variables they correspond with, along with
@@ -3882,7 +3882,7 @@ respectively."
3882(make-obsolete-variable 'gnus-user-date-format-alist 3882(make-obsolete-variable 'gnus-user-date-format-alist
3883 'gnus-summary-user-date-format-alist "24.1") 3883 'gnus-summary-user-date-format-alist "24.1")
3884 3884
3885(defun gnus-summary-user-date (messy-date) 3885(defun gnus-user-date (messy-date)
3886 "Format the messy-date according to `gnus-summary-user-date-format-alist'. 3886 "Format the messy-date according to `gnus-summary-user-date-format-alist'.
3887Returns \" ? \" if there's bad input or if another error occurs. 3887Returns \" ? \" if there's bad input or if another error occurs.
3888Input should look like this: \"Sun, 14 Oct 2001 13:34:39 +0200\"." 3888Input should look like this: \"Sun, 14 Oct 2001 13:34:39 +0200\"."
diff --git a/lisp/gnus/message.el b/lisp/gnus/message.el
index 5c24bc886bc..37d64bc5f1b 100644
--- a/lisp/gnus/message.el
+++ b/lisp/gnus/message.el
@@ -6411,9 +6411,7 @@ are not included."
6411 (funcall message-default-headers) 6411 (funcall message-default-headers)
6412 message-default-headers)) 6412 message-default-headers))
6413 (or (bolp) (insert ?\n))) 6413 (or (bolp) (insert ?\n)))
6414 (let ((message-forbidden-properties nil)) 6414 (insert (concat mail-header-separator "\n"))
6415 (insert (propertize (concat mail-header-separator "\n")
6416 'read-only t 'rear-nonsticky t 'intangible t)))
6417 (forward-line -1) 6415 (forward-line -1)
6418 ;; If a crash happens while replying, the auto-save file would *not* have a 6416 ;; If a crash happens while replying, the auto-save file would *not* have a
6419 ;; `References:' header if `message-generate-headers-first' was nil. 6417 ;; `References:' header if `message-generate-headers-first' was nil.
diff --git a/lisp/gnus/shr.el b/lisp/gnus/shr.el
index 10e04a87d93..5b4e6c7389d 100644
--- a/lisp/gnus/shr.el
+++ b/lisp/gnus/shr.el
@@ -601,7 +601,8 @@ ones, in case fg and bg are nil."
601 (when fg 601 (when fg
602 (shr-put-color start end :foreground (cadr new-colors))) 602 (shr-put-color start end :foreground (cadr new-colors)))
603 (when bg 603 (when bg
604 (shr-put-color start end :background (car new-colors))))))) 604 (shr-put-color start end :background (car new-colors))))
605 new-colors)))
605 606
606;; Put a color in the region, but avoid putting colors on on blank 607;; Put a color in the region, but avoid putting colors on on blank
607;; text at the start of the line, and the newline at the end, to avoid 608;; text at the start of the line, and the newline at the end, to avoid
@@ -1126,7 +1127,7 @@ ones, in case fg and bg are nil."
1126 (fgcolor (cdr (assq :fgcolor cont))) 1127 (fgcolor (cdr (assq :fgcolor cont)))
1127 (style (cdr (assq :style cont))) 1128 (style (cdr (assq :style cont)))
1128 (shr-stylesheet shr-stylesheet) 1129 (shr-stylesheet shr-stylesheet)
1129 overlays) 1130 overlays actual-colors)
1130 (when style 1131 (when style
1131 (setq style (and (string-match "color" style) 1132 (setq style (and (string-match "color" style)
1132 (shr-parse-style style)))) 1133 (shr-parse-style style))))
@@ -1178,16 +1179,17 @@ ones, in case fg and bg are nil."
1178 (insert (make-string (- width (current-column)) ? ))) 1179 (insert (make-string (- width (current-column)) ? )))
1179 (forward-line 1))) 1180 (forward-line 1)))
1180 (when style 1181 (when style
1181 (shr-colorize-region 1182 (setq actual-colors
1182 (point-min) (point-max) 1183 (shr-colorize-region
1183 (cdr (assq 'color shr-stylesheet)) 1184 (point-min) (point-max)
1184 (cdr (assq 'background-color shr-stylesheet))))) 1185 (cdr (assq 'color shr-stylesheet))
1186 (cdr (assq 'background-color shr-stylesheet))))))
1185 (if fill 1187 (if fill
1186 (list max 1188 (list max
1187 (count-lines (point-min) (point-max)) 1189 (count-lines (point-min) (point-max))
1188 (split-string (buffer-string) "\n") 1190 (split-string (buffer-string) "\n")
1189 (shr-collect-overlays) 1191 (shr-collect-overlays)
1190 (cdr (assq 'background-color shr-stylesheet))) 1192 (car actual-colors))
1191 (list max 1193 (list max
1192 (shr-natural-width))))))) 1194 (shr-natural-width)))))))
1193 1195