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.
This commit is contained in:
parent
d37f40ed38
commit
af4e5f4c5f
4 changed files with 18 additions and 4 deletions
|
@ -1,5 +1,18 @@
|
|||
2011-02-09 Lars Ingebrigtsen <larsi@gnus.org>
|
||||
|
||||
* nntp.el (nntp-retrieve-group-data-early-disabled): Disable the async
|
||||
code for now, since it doesn't work for all users.
|
||||
|
||||
2011-02-09 Julien Danjou <julien@danjou.info>
|
||||
|
||||
* message.el (message-options): Make message-options really buffer
|
||||
local.
|
||||
|
||||
2011-02-08 Julien Danjou <julien@danjou.info>
|
||||
|
||||
* shr.el (shr-tag-body): Add support for text attribute in body
|
||||
markups.
|
||||
|
||||
* message.el (message-options): Make message-options a local variable.
|
||||
|
||||
2011-02-07 Lars Ingebrigtsen <larsi@gnus.org>
|
||||
|
|
|
@ -1814,7 +1814,7 @@ You must have the \"hashcash\" binary installed, see `hashcash-path'."
|
|||
|
||||
(defvar message-options nil
|
||||
"Some saved answers when sending message.")
|
||||
(make-local-variable 'message-options)
|
||||
(make-variable-buffer-local 'message-options)
|
||||
|
||||
(defvar message-send-mail-real-function nil
|
||||
"Internal send mail function.")
|
||||
|
|
|
@ -774,7 +774,7 @@ command whose response triggered the error."
|
|||
(nntp-copy-to-buffer nntp-server-buffer (point-min) (point-max))
|
||||
'headers)))))
|
||||
|
||||
(deffoo nntp-retrieve-group-data-early (server infos)
|
||||
(deffoo nntp-retrieve-group-data-early-disabled (server infos)
|
||||
"Retrieve group info on INFOS."
|
||||
(nntp-with-open-group nil server
|
||||
(when (nntp-find-connection-buffer nntp-server-buffer)
|
||||
|
@ -793,7 +793,7 @@ command whose response triggered the error."
|
|||
nil command (gnus-group-real-name (gnus-info-group info)))))
|
||||
(length infos)))))
|
||||
|
||||
(deffoo nntp-finish-retrieve-group-infos (server infos count)
|
||||
(deffoo nntp-finish-retrieve-group-infos-disabled (server infos count)
|
||||
(nntp-with-open-group nil server
|
||||
(let ((buf (nntp-find-connection-buffer nntp-server-buffer))
|
||||
(method (gnus-find-method-for-group
|
||||
|
|
|
@ -696,7 +696,8 @@ ones, in case fg and bg are nil."
|
|||
|
||||
(defun shr-tag-body (cont)
|
||||
(let* ((start (point))
|
||||
(fgcolor (cdr (assq :fgcolor cont)))
|
||||
(fgcolor (cdr (or (assq :fgcolor cont)
|
||||
(assq :text cont))))
|
||||
(bgcolor (cdr (assq :bgcolor cont)))
|
||||
(shr-stylesheet (list (cons 'color fgcolor)
|
||||
(cons 'background-color bgcolor))))
|
||||
|
|
Loading…
Add table
Reference in a new issue