diff options
| author | Gnus developers | 2011-02-09 22:16:29 +0000 |
|---|---|---|
| committer | Katsumi Yamaoka | 2011-02-09 22:16:29 +0000 |
| commit | af4e5f4c5f03cf546e69e33a7103f73381f7c9ea (patch) | |
| tree | e2527d7126117986a21a2bf769bd2ae4481d8ae7 | |
| parent | d37f40ed383c9244d499c3770f9649d2399d40ba (diff) | |
| download | emacs-af4e5f4c5f03cf546e69e33a7103f73381f7c9ea.tar.gz emacs-af4e5f4c5f03cf546e69e33a7103f73381f7c9ea.zip | |
Merge changes made in Gnus trunk.
nntp.el (nntp-retrieve-group-data-early-disabled): Disable the async code for now, since it doesn't work for all users.
message.el (message-options): Make message-options really buffer local.
shr.el (shr-tag-body): Add support for text attribute in body markups.
| -rw-r--r-- | lisp/gnus/ChangeLog | 13 | ||||
| -rw-r--r-- | lisp/gnus/message.el | 2 | ||||
| -rw-r--r-- | lisp/gnus/nntp.el | 4 | ||||
| -rw-r--r-- | lisp/gnus/shr.el | 3 |
4 files changed, 18 insertions, 4 deletions
diff --git a/lisp/gnus/ChangeLog b/lisp/gnus/ChangeLog index 706b8f095b2..ba4d270951b 100644 --- a/lisp/gnus/ChangeLog +++ b/lisp/gnus/ChangeLog | |||
| @@ -1,5 +1,18 @@ | |||
| 1 | 2011-02-09 Lars Ingebrigtsen <larsi@gnus.org> | ||
| 2 | |||
| 3 | * nntp.el (nntp-retrieve-group-data-early-disabled): Disable the async | ||
| 4 | code for now, since it doesn't work for all users. | ||
| 5 | |||
| 6 | 2011-02-09 Julien Danjou <julien@danjou.info> | ||
| 7 | |||
| 8 | * message.el (message-options): Make message-options really buffer | ||
| 9 | local. | ||
| 10 | |||
| 1 | 2011-02-08 Julien Danjou <julien@danjou.info> | 11 | 2011-02-08 Julien Danjou <julien@danjou.info> |
| 2 | 12 | ||
| 13 | * shr.el (shr-tag-body): Add support for text attribute in body | ||
| 14 | markups. | ||
| 15 | |||
| 3 | * message.el (message-options): Make message-options a local variable. | 16 | * message.el (message-options): Make message-options a local variable. |
| 4 | 17 | ||
| 5 | 2011-02-07 Lars Ingebrigtsen <larsi@gnus.org> | 18 | 2011-02-07 Lars Ingebrigtsen <larsi@gnus.org> |
diff --git a/lisp/gnus/message.el b/lisp/gnus/message.el index 6f4f04792fb..e30f7f2c973 100644 --- a/lisp/gnus/message.el +++ b/lisp/gnus/message.el | |||
| @@ -1814,7 +1814,7 @@ You must have the \"hashcash\" binary installed, see `hashcash-path'." | |||
| 1814 | 1814 | ||
| 1815 | (defvar message-options nil | 1815 | (defvar message-options nil |
| 1816 | "Some saved answers when sending message.") | 1816 | "Some saved answers when sending message.") |
| 1817 | (make-local-variable 'message-options) | 1817 | (make-variable-buffer-local 'message-options) |
| 1818 | 1818 | ||
| 1819 | (defvar message-send-mail-real-function nil | 1819 | (defvar message-send-mail-real-function nil |
| 1820 | "Internal send mail function.") | 1820 | "Internal send mail function.") |
diff --git a/lisp/gnus/nntp.el b/lisp/gnus/nntp.el index 0e009b2068b..eb2dd004638 100644 --- a/lisp/gnus/nntp.el +++ b/lisp/gnus/nntp.el | |||
| @@ -774,7 +774,7 @@ command whose response triggered the error." | |||
| 774 | (nntp-copy-to-buffer nntp-server-buffer (point-min) (point-max)) | 774 | (nntp-copy-to-buffer nntp-server-buffer (point-min) (point-max)) |
| 775 | 'headers))))) | 775 | 'headers))))) |
| 776 | 776 | ||
| 777 | (deffoo nntp-retrieve-group-data-early (server infos) | 777 | (deffoo nntp-retrieve-group-data-early-disabled (server infos) |
| 778 | "Retrieve group info on INFOS." | 778 | "Retrieve group info on INFOS." |
| 779 | (nntp-with-open-group nil server | 779 | (nntp-with-open-group nil server |
| 780 | (when (nntp-find-connection-buffer nntp-server-buffer) | 780 | (when (nntp-find-connection-buffer nntp-server-buffer) |
| @@ -793,7 +793,7 @@ command whose response triggered the error." | |||
| 793 | nil command (gnus-group-real-name (gnus-info-group info))))) | 793 | nil command (gnus-group-real-name (gnus-info-group info))))) |
| 794 | (length infos))))) | 794 | (length infos))))) |
| 795 | 795 | ||
| 796 | (deffoo nntp-finish-retrieve-group-infos (server infos count) | 796 | (deffoo nntp-finish-retrieve-group-infos-disabled (server infos count) |
| 797 | (nntp-with-open-group nil server | 797 | (nntp-with-open-group nil server |
| 798 | (let ((buf (nntp-find-connection-buffer nntp-server-buffer)) | 798 | (let ((buf (nntp-find-connection-buffer nntp-server-buffer)) |
| 799 | (method (gnus-find-method-for-group | 799 | (method (gnus-find-method-for-group |
diff --git a/lisp/gnus/shr.el b/lisp/gnus/shr.el index 5b4e6c7389d..bb9695ebb72 100644 --- a/lisp/gnus/shr.el +++ b/lisp/gnus/shr.el | |||
| @@ -696,7 +696,8 @@ ones, in case fg and bg are nil." | |||
| 696 | 696 | ||
| 697 | (defun shr-tag-body (cont) | 697 | (defun shr-tag-body (cont) |
| 698 | (let* ((start (point)) | 698 | (let* ((start (point)) |
| 699 | (fgcolor (cdr (assq :fgcolor cont))) | 699 | (fgcolor (cdr (or (assq :fgcolor cont) |
| 700 | (assq :text cont)))) | ||
| 700 | (bgcolor (cdr (assq :bgcolor cont))) | 701 | (bgcolor (cdr (assq :bgcolor cont))) |
| 701 | (shr-stylesheet (list (cons 'color fgcolor) | 702 | (shr-stylesheet (list (cons 'color fgcolor) |
| 702 | (cons 'background-color bgcolor)))) | 703 | (cons 'background-color bgcolor)))) |