diff options
| author | Gnus developers | 2011-09-05 22:07:34 +0000 |
|---|---|---|
| committer | Katsumi Yamaoka | 2011-09-05 22:07:34 +0000 |
| commit | bbd6590c364daad8ac9f7c3b3a31bc9d32ada3e3 (patch) | |
| tree | c8067abd5f1f4c4ffc9495c4ef9b68cf63ae7ee5 | |
| parent | 697210c4822d4e7be9a81234d2026e5ace724a90 (diff) | |
| download | emacs-bbd6590c364daad8ac9f7c3b3a31bc9d32ada3e3.tar.gz emacs-bbd6590c364daad8ac9f7c3b3a31bc9d32ada3e3.zip | |
Merge changes made in Gnus trunk.
gnus-sum.el (gnus-summary-exit): Ensure we kill the proper original-article-buffer.
nnir.el (nnir-compose-result): Fix matching of server type.
(nnir-run-swish++): Ditto.
(nnir-run-namazu): Ditto.
(nnir-run-notmuch): Ditto.
| -rw-r--r-- | lisp/gnus/ChangeLog | 12 | ||||
| -rw-r--r-- | lisp/gnus/gnus-sum.el | 3 | ||||
| -rw-r--r-- | lisp/gnus/nnir.el | 13 |
3 files changed, 22 insertions, 6 deletions
diff --git a/lisp/gnus/ChangeLog b/lisp/gnus/ChangeLog index 9d719136cc1..2e0cc11279a 100644 --- a/lisp/gnus/ChangeLog +++ b/lisp/gnus/ChangeLog | |||
| @@ -1,3 +1,15 @@ | |||
| 1 | 2011-09-05 Andrew Cohen <cohen@andy.bu.edu> | ||
| 2 | |||
| 3 | * gnus-sum.el (gnus-summary-exit): Ensure we kill the proper | ||
| 4 | original-article-buffer. | ||
| 5 | |||
| 6 | 2011-09-05 Kan-Ru Chen <kanru@kanru.info> | ||
| 7 | |||
| 8 | * nnir.el (nnir-compose-result): Fix matching of server type. | ||
| 9 | (nnir-run-swish++): Ditto. | ||
| 10 | (nnir-run-namazu): Ditto. | ||
| 11 | (nnir-run-notmuch): Ditto. | ||
| 12 | |||
| 1 | 2011-09-04 Lars Magne Ingebrigtsen <larsi@gnus.org> | 13 | 2011-09-04 Lars Magne Ingebrigtsen <larsi@gnus.org> |
| 2 | 14 | ||
| 3 | * gnus.el (gnus-home-directory): Add warning about setting in .gnus.el | 15 | * gnus.el (gnus-home-directory): Add warning about setting in .gnus.el |
diff --git a/lisp/gnus/gnus-sum.el b/lisp/gnus/gnus-sum.el index fd441c46d17..bb8c719a4fd 100644 --- a/lisp/gnus/gnus-sum.el +++ b/lisp/gnus/gnus-sum.el | |||
| @@ -7214,6 +7214,7 @@ If FORCE (the prefix), also save the .newsrc file(s)." | |||
| 7214 | (quit-config (gnus-group-quit-config gnus-newsgroup-name)) | 7214 | (quit-config (gnus-group-quit-config gnus-newsgroup-name)) |
| 7215 | (gnus-group-is-exiting-p t) | 7215 | (gnus-group-is-exiting-p t) |
| 7216 | (article-buffer gnus-article-buffer) | 7216 | (article-buffer gnus-article-buffer) |
| 7217 | (original-article-buffer gnus-original-article-buffer) | ||
| 7217 | (mode major-mode) | 7218 | (mode major-mode) |
| 7218 | (group-point nil) | 7219 | (group-point nil) |
| 7219 | (buf (current-buffer)) | 7220 | (buf (current-buffer)) |
| @@ -7290,7 +7291,7 @@ If FORCE (the prefix), also save the .newsrc file(s)." | |||
| 7290 | (unless (eq major-mode 'gnus-sticky-article-mode) | 7291 | (unless (eq major-mode 'gnus-sticky-article-mode) |
| 7291 | (gnus-kill-buffer article-buffer) | 7292 | (gnus-kill-buffer article-buffer) |
| 7292 | (setq gnus-article-current nil)))) | 7293 | (setq gnus-article-current nil)))) |
| 7293 | (gnus-kill-buffer gnus-original-article-buffer)) | 7294 | (gnus-kill-buffer original-article-buffer)) |
| 7294 | 7295 | ||
| 7295 | ;; Clear the current group name. | 7296 | ;; Clear the current group name. |
| 7296 | (unless quit-config | 7297 | (unless quit-config |
diff --git a/lisp/gnus/nnir.el b/lisp/gnus/nnir.el index 17fc3f3fe81..0be6a17d50e 100644 --- a/lisp/gnus/nnir.el +++ b/lisp/gnus/nnir.el | |||
| @@ -806,7 +806,7 @@ ready to be added to the list of search results." | |||
| 806 | ;; remove trailing slash and, for nnmaildir, cur/new/tmp | 806 | ;; remove trailing slash and, for nnmaildir, cur/new/tmp |
| 807 | (setq dirnam | 807 | (setq dirnam |
| 808 | (substring dirnam 0 | 808 | (substring dirnam 0 |
| 809 | (if (string= (gnus-group-server server) "nnmaildir") | 809 | (if (string-match "^nnmaildir:" (gnus-group-server server)) |
| 810 | -5 -1))) | 810 | -5 -1))) |
| 811 | 811 | ||
| 812 | ;; Set group to dirnam without any leading dots or slashes, | 812 | ;; Set group to dirnam without any leading dots or slashes, |
| @@ -816,7 +816,7 @@ ready to be added to the list of search results." | |||
| 816 | "[/\\]" "." t))) | 816 | "[/\\]" "." t))) |
| 817 | 817 | ||
| 818 | (vector (gnus-group-full-name group server) | 818 | (vector (gnus-group-full-name group server) |
| 819 | (if (string= (gnus-group-server server) "nnmaildir") | 819 | (if (string-match "^nnmaildir:" (gnus-group-server server)) |
| 820 | (nnmaildir-base-name-to-article-number | 820 | (nnmaildir-base-name-to-article-number |
| 821 | (substring article 0 (string-match ":" article)) | 821 | (substring article 0 (string-match ":" article)) |
| 822 | group nil) | 822 | group nil) |
| @@ -1073,7 +1073,8 @@ Windows NT 4.0." | |||
| 1073 | ;; is sufficient. Note that we can't only use the value of | 1073 | ;; is sufficient. Note that we can't only use the value of |
| 1074 | ;; nnml-use-compressed-files because old articles might have been | 1074 | ;; nnml-use-compressed-files because old articles might have been |
| 1075 | ;; saved with a different value. | 1075 | ;; saved with a different value. |
| 1076 | (article-pattern (if (string= (gnus-group-server server) "nnmaildir") | 1076 | (article-pattern (if (string-match "^nnmaildir:" |
| 1077 | (gnus-group-server server)) | ||
| 1077 | ":[0-9]+" | 1078 | ":[0-9]+" |
| 1078 | "^[0-9]+\\(\\.[a-z0-9]+\\)?$")) | 1079 | "^[0-9]+\\(\\.[a-z0-9]+\\)?$")) |
| 1079 | score artno dirnam filenam) | 1080 | score artno dirnam filenam) |
| @@ -1315,7 +1316,8 @@ Tested with Namazu 2.0.6 on a GNU/Linux system." | |||
| 1315 | ;; (when group | 1316 | ;; (when group |
| 1316 | ;; (error "The Namazu backend cannot search specific groups")) | 1317 | ;; (error "The Namazu backend cannot search specific groups")) |
| 1317 | (save-excursion | 1318 | (save-excursion |
| 1318 | (let ((article-pattern (if (string= (gnus-group-server server) "nnmaildir") | 1319 | (let ((article-pattern (if (string-match "^nnmaildir:" |
| 1320 | (gnus-group-server server)) | ||
| 1319 | ":[0-9]+" | 1321 | ":[0-9]+" |
| 1320 | "^[0-9]+$")) | 1322 | "^[0-9]+$")) |
| 1321 | artlist | 1323 | artlist |
| @@ -1388,7 +1390,8 @@ actually)." | |||
| 1388 | (groupspec (cdr (assq 'group query))) | 1390 | (groupspec (cdr (assq 'group query))) |
| 1389 | (prefix (nnir-read-server-parm 'nnir-notmuch-remove-prefix server)) | 1391 | (prefix (nnir-read-server-parm 'nnir-notmuch-remove-prefix server)) |
| 1390 | artlist | 1392 | artlist |
| 1391 | (article-pattern (if (string= (gnus-group-server server) "nnmaildir") | 1393 | (article-pattern (if (string-match "^nnmaildir:" |
| 1394 | (gnus-group-server server)) | ||
| 1392 | ":[0-9]+" | 1395 | ":[0-9]+" |
| 1393 | "^[0-9]+$")) | 1396 | "^[0-9]+$")) |
| 1394 | artno dirnam filenam) | 1397 | artno dirnam filenam) |