aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorMiles Bader2007-02-19 00:49:13 +0000
committerMiles Bader2007-02-19 00:49:13 +0000
commitaa260d631b3cbe96057a6b5e63cd226d3b03c638 (patch)
treeab987ddf4c973c3cc12fe742eaee69199aeaeeef
parent700b8e66472752e3709bf3cae08cc82be70432a7 (diff)
downloademacs-aa260d631b3cbe96057a6b5e63cd226d3b03c638.tar.gz
emacs-aa260d631b3cbe96057a6b5e63cd226d3b03c638.zip
Merge from gnus--rel--5.10
Patches applied: * gnus--rel--5.10 (patch 202) - Update from CVS 2007-02-15 Andreas Seltenreich <uwi7@rz.uni-karlsruhe.de> * lisp/gnus/nnweb.el (nnweb-google-parse-1): Fix date parsing to also match on articles posted in the last 24 hours. Revision: emacs@sv.gnu.org/emacs--devo--0--patch-642
-rw-r--r--lisp/gnus/ChangeLog5
-rw-r--r--lisp/gnus/nnweb.el14
2 files changed, 13 insertions, 6 deletions
diff --git a/lisp/gnus/ChangeLog b/lisp/gnus/ChangeLog
index 4b205529303..c6205eac0ce 100644
--- a/lisp/gnus/ChangeLog
+++ b/lisp/gnus/ChangeLog
@@ -1,3 +1,8 @@
12007-02-15 Andreas Seltenreich <uwi7@rz.uni-karlsruhe.de>
2
3 * nnweb.el (nnweb-google-parse-1): Fix date parsing to also match on
4 articles posted in the last 24 hours.
5
12007-02-14 Chong Yidong <cyd@stupidchicken.com> 62007-02-14 Chong Yidong <cyd@stupidchicken.com>
2 7
3 * smiley.el (smiley-regexp-alist): Add "dead" smiley. 8 * smiley.el (smiley-regexp-alist): Add "dead" smiley.
diff --git a/lisp/gnus/nnweb.el b/lisp/gnus/nnweb.el
index 0f8df57d591..92d90eb061f 100644
--- a/lisp/gnus/nnweb.el
+++ b/lisp/gnus/nnweb.el
@@ -367,13 +367,15 @@ Valid types include `google', `dejanews', and `gmane'.")
367 (goto-char (point-max)) 367 (goto-char (point-max))
368 (when 368 (when
369 (re-search-backward 369 (re-search-backward
370 "^\\(\\w+\\) \\([0-9]+\\)\\(?: \\([0-9]\\{4\\}\\)\\)? by \\(.*\\)" 370 "^\\(?:\\(\\w+\\) \\([0-9]+\\)\\|\\S-+\\)\\(?: \\([0-9]\\{4\\}\\)\\)? by \\(.*\\)"
371 nil t) 371 nil t)
372 (setq Date (format "%s %s 00:00:00 %s" 372 (setq Date (if (match-string 1)
373 (match-string 1) 373 (format "%s %s 00:00:00 %s"
374 (match-string 2) 374 (match-string 1)
375 (or (match-string 3) 375 (match-string 2)
376 (substring (current-time-string) -4)))) 376 (or (match-string 3)
377 (substring (current-time-string) -4)))
378 (current-time-string)))
377 (setq From (match-string 4))) 379 (setq From (match-string 4)))
378 (widen) 380 (widen)
379 (incf i) 381 (incf i)