diff options
| author | Miles Bader | 2006-07-19 01:06:00 +0000 |
|---|---|---|
| committer | Miles Bader | 2006-07-19 01:06:00 +0000 |
| commit | 7ce31649a332b78b39c78ef9bc12a377151bacd9 (patch) | |
| tree | 5dc33b86f252e5f9e2a1adb53a6eb1e0a99e8741 | |
| parent | 83676aa2e399363120942ef5ea19f8af6b75e8e8 (diff) | |
| download | emacs-7ce31649a332b78b39c78ef9bc12a377151bacd9.tar.gz emacs-7ce31649a332b78b39c78ef9bc12a377151bacd9.zip | |
Merge from gnus--rel--5.10
Patches applied:
* gnus--rel--5.10 (patch 116-117)
- Update from CVS
2006-07-18 Andreas Seltenreich <uwi7@rz.uni-karlsruhe.de>
[ Backported bug fixes from No Gnus. ]
* lisp/gnus/nnweb.el (nnweb-google-parse-1): Update regexp for author and date.
(nnweb-google-search): Respect nnweb-max-hits as upper bound.
(nnweb-request-article): Do proper xwfu encoding when fetching articles
by message-id.
* lisp/gnus/gnus-srvr.el (gnus-browse-unsubscribe-group): Don't subscribe
unsubscribed groups as if they were killed ones. It causes duplicate
entries in gnus-newsrc-alist.
2006-07-17 Reiner Steib <Reiner.Steib@gmx.de>
* lisp/gnus/gnus-sum.el (gnus-summary-delete-article): Don't use TAB in doc
string.
Revision: emacs@sv.gnu.org/emacs--devo--0--patch-357
| -rw-r--r-- | lisp/gnus/ChangeLog | 18 | ||||
| -rw-r--r-- | lisp/gnus/gnus-srvr.el | 20 | ||||
| -rw-r--r-- | lisp/gnus/gnus-sum.el | 2 | ||||
| -rw-r--r-- | lisp/gnus/nnweb.el | 8 |
4 files changed, 36 insertions, 12 deletions
diff --git a/lisp/gnus/ChangeLog b/lisp/gnus/ChangeLog index e443056e034..f05d0efbf87 100644 --- a/lisp/gnus/ChangeLog +++ b/lisp/gnus/ChangeLog | |||
| @@ -1,3 +1,21 @@ | |||
| 1 | 2006-07-18 Andreas Seltenreich <uwi7@rz.uni-karlsruhe.de> | ||
| 2 | |||
| 3 | [ Backported bug fixes from No Gnus. ] | ||
| 4 | |||
| 5 | * nnweb.el (nnweb-google-parse-1): Update regexp for author and date. | ||
| 6 | (nnweb-google-search): Respect nnweb-max-hits as upper bound. | ||
| 7 | (nnweb-request-article): Do proper xwfu encoding when fetching articles | ||
| 8 | by message-id. | ||
| 9 | |||
| 10 | * gnus-srvr.el (gnus-browse-unsubscribe-group): Don't subscribe | ||
| 11 | unsubscribed groups as if they were killed ones. It causes duplicate | ||
| 12 | entries in gnus-newsrc-alist. | ||
| 13 | |||
| 14 | 2006-07-17 Reiner Steib <Reiner.Steib@gmx.de> | ||
| 15 | |||
| 16 | * gnus-sum.el (gnus-summary-delete-article): Don't use TAB in doc | ||
| 17 | string. | ||
| 18 | |||
| 1 | 2006-07-16 NAKAJI Hiroyuki <nakaji@heimat.jp> (tiny change) | 19 | 2006-07-16 NAKAJI Hiroyuki <nakaji@heimat.jp> (tiny change) |
| 2 | 20 | ||
| 3 | * mm-util.el (mm-charset-synonym-alist): Map windows-31j to cp932. | 21 | * mm-util.el (mm-charset-synonym-alist): Map windows-31j to cp932. |
diff --git a/lisp/gnus/gnus-srvr.el b/lisp/gnus/gnus-srvr.el index 5d4f9c2a3f6..aabf8efbf6b 100644 --- a/lisp/gnus/gnus-srvr.el +++ b/lisp/gnus/gnus-srvr.el | |||
| @@ -943,19 +943,23 @@ If NUMBER, fetch this number of articles." | |||
| 943 | (progn | 943 | (progn |
| 944 | ;; Make sure the group has been properly removed before we | 944 | ;; Make sure the group has been properly removed before we |
| 945 | ;; subscribe to it. | 945 | ;; subscribe to it. |
| 946 | (gnus-kill-ephemeral-group group) | 946 | (if (gnus-ephemeral-group-p group) |
| 947 | (gnus-kill-ephemeral-group group)) | ||
| 948 | ;; We need to discern between killed/zombie groups and | ||
| 949 | ;; just unsubscribed ones. | ||
| 947 | (gnus-group-change-level | 950 | (gnus-group-change-level |
| 948 | (list t group gnus-level-default-subscribed | 951 | (or (gnus-group-entry group) |
| 949 | nil nil (if (gnus-server-equal | 952 | (list t group gnus-level-default-subscribed |
| 950 | gnus-browse-current-method "native") | 953 | nil nil (if (gnus-server-equal |
| 951 | nil | 954 | gnus-browse-current-method "native") |
| 952 | (gnus-method-simplify | 955 | nil |
| 953 | gnus-browse-current-method))) | 956 | (gnus-method-simplify |
| 957 | gnus-browse-current-method)))) | ||
| 954 | gnus-level-default-subscribed (gnus-group-level group) | 958 | gnus-level-default-subscribed (gnus-group-level group) |
| 955 | (and (car (nth 1 gnus-newsrc-alist)) | 959 | (and (car (nth 1 gnus-newsrc-alist)) |
| 956 | (gnus-gethash (car (nth 1 gnus-newsrc-alist)) | 960 | (gnus-gethash (car (nth 1 gnus-newsrc-alist)) |
| 957 | gnus-newsrc-hashtb)) | 961 | gnus-newsrc-hashtb)) |
| 958 | t) | 962 | (null (gnus-group-entry group))) |
| 959 | (delete-char 1) | 963 | (delete-char 1) |
| 960 | (insert ? )) | 964 | (insert ? )) |
| 961 | (gnus-group-change-level | 965 | (gnus-group-change-level |
diff --git a/lisp/gnus/gnus-sum.el b/lisp/gnus/gnus-sum.el index 66ab41950d1..b94d093329a 100644 --- a/lisp/gnus/gnus-sum.el +++ b/lisp/gnus/gnus-sum.el | |||
| @@ -9510,7 +9510,7 @@ deleted forever, right now." | |||
| 9510 | ;; Suggested by Jack Vinson <vinson@unagi.cis.upenn.edu>. | 9510 | ;; Suggested by Jack Vinson <vinson@unagi.cis.upenn.edu>. |
| 9511 | (defun gnus-summary-delete-article (&optional n) | 9511 | (defun gnus-summary-delete-article (&optional n) |
| 9512 | "Delete the N next (mail) articles. | 9512 | "Delete the N next (mail) articles. |
| 9513 | This command actually deletes articles. This is not a marking | 9513 | This command actually deletes articles. This is not a marking |
| 9514 | command. The article will disappear forever from your life, never to | 9514 | command. The article will disappear forever from your life, never to |
| 9515 | return. | 9515 | return. |
| 9516 | 9516 | ||
diff --git a/lisp/gnus/nnweb.el b/lisp/gnus/nnweb.el index a67d5a469f6..b4bba2aba0f 100644 --- a/lisp/gnus/nnweb.el +++ b/lisp/gnus/nnweb.el | |||
| @@ -171,7 +171,8 @@ Valid types include `google', `dejanews', and `gmane'.") | |||
| 171 | (when (string-match "^<\\(.*\\)>$" article) | 171 | (when (string-match "^<\\(.*\\)>$" article) |
| 172 | (setq art (match-string 1 article))) | 172 | (setq art (match-string 1 article))) |
| 173 | (when (and fetch art) | 173 | (when (and fetch art) |
| 174 | (setq url (format fetch art)) | 174 | (setq url (format fetch |
| 175 | (mm-url-form-encode-xwfu art))) | ||
| 175 | (mm-with-unibyte-current-buffer | 176 | (mm-with-unibyte-current-buffer |
| 176 | (mm-url-insert url)) | 177 | (mm-url-insert url)) |
| 177 | (if (nnweb-definition 'reference t) | 178 | (if (nnweb-definition 'reference t) |
| @@ -365,7 +366,7 @@ Valid types include `google', `dejanews', and `gmane'.") | |||
| 365 | (mm-url-decode-entities) | 366 | (mm-url-decode-entities) |
| 366 | (search-backward " - ") | 367 | (search-backward " - ") |
| 367 | (when (looking-at | 368 | (when (looking-at |
| 368 | " - \\([a-zA-Z]+\\) \\([0-9]+\\)\\(?: \\([0-9]\\{4\\}\\)\\)?, [^\n]+by \\([^<\n]+\\)\n") | 369 | " - \\([a-zA-Z]+\\) \\([0-9]+\\)\\(?: \\([0-9]\\{4\\}\\)\\)?[^\n]+by ?\n?\\([^<\n]+\\)\n") |
| 369 | (setq From (match-string 4) | 370 | (setq From (match-string 4) |
| 370 | Date (format "%s %s 00:00:00 %s" | 371 | Date (format "%s %s 00:00:00 %s" |
| 371 | (match-string 1) | 372 | (match-string 1) |
| @@ -437,7 +438,8 @@ Valid types include `google', `dejanews', and `gmane'.") | |||
| 437 | "?" | 438 | "?" |
| 438 | (mm-url-encode-www-form-urlencoded | 439 | (mm-url-encode-www-form-urlencoded |
| 439 | `(("q" . ,search) | 440 | `(("q" . ,search) |
| 440 | ("num" . "100") | 441 | ("num" . ,(number-to-string |
| 442 | (min 100 nnweb-max-hits))) | ||
| 441 | ("hq" . "") | 443 | ("hq" . "") |
| 442 | ("hl" . "en") | 444 | ("hl" . "en") |
| 443 | ("lr" . "") | 445 | ("lr" . "") |