diff options
| author | Miles Bader | 2006-11-02 23:10:57 +0000 |
|---|---|---|
| committer | Miles Bader | 2006-11-02 23:10:57 +0000 |
| commit | b193caa336c5d0b495933f149abe3407734a455f (patch) | |
| tree | 37e554d858180f965849047355cc04eec7d9a110 | |
| parent | 8917392a520c6790e51c0febc084738c7db29d62 (diff) | |
| download | emacs-b193caa336c5d0b495933f149abe3407734a455f.tar.gz emacs-b193caa336c5d0b495933f149abe3407734a455f.zip | |
Merge from gnus--rel--5.10
Patches applied:
* gnus--rel--5.10 (patch 161-162)
- Update from CVS
2006-11-01 Reiner Steib <Reiner.Steib@gmx.de>
* lisp/gnus/gnus-art.el (article-hide-boring-headers): Fetch date from
gnus-original-article-buffer to avoid problems with localized date
strings.
2006-10-30 Katsumi Yamaoka <yamaoka@jpl.org>
* lisp/gnus/html2text.el (html2text-format-tags): Avoid infloop on open tags.
Revision: emacs@sv.gnu.org/emacs--devo--0--patch-495
| -rw-r--r-- | lisp/gnus/ChangeLog | 10 | ||||
| -rw-r--r-- | lisp/gnus/gnus-art.el | 6 | ||||
| -rw-r--r-- | lisp/gnus/html2text.el | 4 |
3 files changed, 18 insertions, 2 deletions
diff --git a/lisp/gnus/ChangeLog b/lisp/gnus/ChangeLog index fd9de602fb0..87b1d39f2a9 100644 --- a/lisp/gnus/ChangeLog +++ b/lisp/gnus/ChangeLog | |||
| @@ -1,3 +1,13 @@ | |||
| 1 | 2006-11-01 Reiner Steib <Reiner.Steib@gmx.de> | ||
| 2 | |||
| 3 | * gnus-art.el (article-hide-boring-headers): Fetch date from | ||
| 4 | gnus-original-article-buffer to avoid problems with localized date | ||
| 5 | strings. | ||
| 6 | |||
| 7 | 2006-10-30 Katsumi Yamaoka <yamaoka@jpl.org> | ||
| 8 | |||
| 9 | * html2text.el (html2text-format-tags): Avoid infloop on open tags. | ||
| 10 | |||
| 1 | 2006-10-29 Reiner Steib <Reiner.Steib@gmx.de> | 11 | 2006-10-29 Reiner Steib <Reiner.Steib@gmx.de> |
| 2 | 12 | ||
| 3 | * mm-util.el (mm-codepage-iso-8859-list, mm-codepage-ibm-list): New | 13 | * mm-util.el (mm-codepage-iso-8859-list, mm-codepage-ibm-list): New |
diff --git a/lisp/gnus/gnus-art.el b/lisp/gnus/gnus-art.el index ecee7ff6847..bc7f27c97c8 100644 --- a/lisp/gnus/gnus-art.el +++ b/lisp/gnus/gnus-art.el | |||
| @@ -1917,7 +1917,11 @@ always hide." | |||
| 1917 | 'string<)))) | 1917 | 'string<)))) |
| 1918 | (gnus-article-hide-header "reply-to"))))) | 1918 | (gnus-article-hide-header "reply-to"))))) |
| 1919 | ((eq elem 'date) | 1919 | ((eq elem 'date) |
| 1920 | (let ((date (message-fetch-field "date"))) | 1920 | (let ((date (with-current-buffer gnus-original-article-buffer |
| 1921 | ;; If date in `gnus-article-buffer' is localized | ||
| 1922 | ;; (`gnus-treat-date-user-defined'), | ||
| 1923 | ;; `days-between' might fail. | ||
| 1924 | (message-fetch-field "date")))) | ||
| 1921 | (when (and date | 1925 | (when (and date |
| 1922 | (< (days-between (current-time-string) date) | 1926 | (< (days-between (current-time-string) date) |
| 1923 | 4)) | 1927 | 4)) |
diff --git a/lisp/gnus/html2text.el b/lisp/gnus/html2text.el index 68934c909e9..08044225ab4 100644 --- a/lisp/gnus/html2text.el +++ b/lisp/gnus/html2text.el | |||
| @@ -423,7 +423,9 @@ See the documentation for that variable." | |||
| 423 | (p3) (p4)) | 423 | (p3) (p4)) |
| 424 | (search-backward "<" (point-min) t) | 424 | (search-backward "<" (point-min) t) |
| 425 | (setq p1 (point)) | 425 | (setq p1 (point)) |
| 426 | (re-search-forward (format "</%s>" tag) (point-max) t) | 426 | (unless (search-forward (format "</%s>" tag) (point-max) t) |
| 427 | (goto-char p2) | ||
| 428 | (insert (format "</%s>" tag))) | ||
| 427 | (setq p4 (point)) | 429 | (setq p4 (point)) |
| 428 | (search-backward "</" (point-min) t) | 430 | (search-backward "</" (point-min) t) |
| 429 | (setq p3 (point)) | 431 | (setq p3 (point)) |