diff options
| author | Gnus developers | 2011-07-03 22:17:49 +0000 |
|---|---|---|
| committer | Katsumi Yamaoka | 2011-07-03 22:17:49 +0000 |
| commit | cd865a33698f9414392a009c51abd6d18a1506bf (patch) | |
| tree | 91518c30bcf53e85de5c181853b42164fe12d8ab | |
| parent | 1485f4c03a3e887f8e60fefb96e5e3d9ca484cf7 (diff) | |
| download | emacs-cd865a33698f9414392a009c51abd6d18a1506bf.tar.gz emacs-cd865a33698f9414392a009c51abd6d18a1506bf.zip | |
Merge changes made in Gnus trunk.
gnus.texi (Subscription Methods): Link to "Group Levels" to explain zombies. (Checking New Groups): Ditto (bug#8974).
gnus.texi (Startup Files): Clarify that we're talking about numbered backups, and not actual vc (bug#8975).
gnus-group.el (gnus-read-ephemeral-bug-group): Bind the coding systems to binary before writing and reading the mbox files.
gnus.el (gnus-summary-line-format): Link to the info node for %U instead of trying to list them all (bug#8978).
pop3.el (pop3-open-server): Use :end-of-capability.
gnus-group.el (gnus-read-ephemeral-emacs-bug-group): Make sure that the id is always a number.
gnus-group.el (gnus-read-ephemeral-emacs-bug-group): Hook into debbugs mode, if possible.
| -rw-r--r-- | doc/misc/ChangeLog | 11 | ||||
| -rw-r--r-- | doc/misc/gnus.texi | 31 | ||||
| -rw-r--r-- | lisp/gnus/ChangeLog | 20 | ||||
| -rw-r--r-- | lisp/gnus/gnus-group.el | 15 | ||||
| -rw-r--r-- | lisp/gnus/gnus.el | 4 | ||||
| -rw-r--r-- | lisp/gnus/pop3.el | 3 |
6 files changed, 63 insertions, 21 deletions
diff --git a/doc/misc/ChangeLog b/doc/misc/ChangeLog index 474b7a0efab..e8b183bfe87 100644 --- a/doc/misc/ChangeLog +++ b/doc/misc/ChangeLog | |||
| @@ -1,3 +1,14 @@ | |||
| 1 | 2011-07-03 Lars Magne Ingebrigtsen <larsi@gnus.org> | ||
| 2 | |||
| 3 | * gnus.texi (Subscription Methods): Link to "Group Levels" to explain | ||
| 4 | zombies. | ||
| 5 | (Checking New Groups): Ditto (bug#8974). | ||
| 6 | |||
| 7 | 2011-07-03 Dave Abrahams <dave@boostpro.com> (tiny change) | ||
| 8 | |||
| 9 | * gnus.texi (Startup Files): Clarify that we're talking about numbered | ||
| 10 | backups, and not actual vc (bug#8975). | ||
| 11 | |||
| 1 | 2011-07-03 Kevin Ryde <user42@zip.com.au> | 12 | 2011-07-03 Kevin Ryde <user42@zip.com.au> |
| 2 | 13 | ||
| 3 | * cl.texi (For Clauses): @items for hash-values and key-bindings | 14 | * cl.texi (For Clauses): @items for hash-values and key-bindings |
diff --git a/doc/misc/gnus.texi b/doc/misc/gnus.texi index f98d4df2bde..a214f37817b 100644 --- a/doc/misc/gnus.texi +++ b/doc/misc/gnus.texi | |||
| @@ -1167,16 +1167,17 @@ when you do the @kbd{g} command (@pxref{Scanning New Messages}). | |||
| 1167 | @node Checking New Groups | 1167 | @node Checking New Groups |
| 1168 | @subsection Checking New Groups | 1168 | @subsection Checking New Groups |
| 1169 | 1169 | ||
| 1170 | Gnus normally determines whether a group is new or not by comparing the | 1170 | Gnus normally determines whether a group is new or not by comparing |
| 1171 | list of groups from the active file(s) with the lists of subscribed and | 1171 | the list of groups (@pxref{Group Levels}) from the active file(s) with |
| 1172 | dead groups. This isn't a particularly fast method. If | 1172 | the lists of subscribed and dead groups. This isn't a particularly |
| 1173 | @code{gnus-check-new-newsgroups} is @code{ask-server}, Gnus will ask the | 1173 | fast method. If @code{gnus-check-new-newsgroups} is |
| 1174 | server for new groups since the last time. This is both faster and | 1174 | @code{ask-server}, Gnus will ask the server for new groups since the |
| 1175 | cheaper. This also means that you can get rid of the list of killed | 1175 | last time. This is both faster and cheaper. This also means that you |
| 1176 | groups altogether, so you may set @code{gnus-save-killed-list} to | 1176 | can get rid of the list of killed groups altogether, so you may set |
| 1177 | @code{nil}, which will save time both at startup, at exit, and all over. | 1177 | @code{gnus-save-killed-list} to @code{nil}, which will save time both |
| 1178 | Saves disk space, too. Why isn't this the default, then? | 1178 | at startup, at exit, and all over. Saves disk space, too. Why isn't |
| 1179 | Unfortunately, not all servers support this command. | 1179 | this the default, then? Unfortunately, not all servers support this |
| 1180 | command. | ||
| 1180 | 1181 | ||
| 1181 | I bet I know what you're thinking now: How do I find out whether my | 1182 | I bet I know what you're thinking now: How do I find out whether my |
| 1182 | server supports @code{ask-server}? No? Good, because I don't have a | 1183 | server supports @code{ask-server}? No? Good, because I don't have a |
| @@ -1214,9 +1215,10 @@ Some handy pre-fab functions are: | |||
| 1214 | 1215 | ||
| 1215 | @item gnus-subscribe-zombies | 1216 | @item gnus-subscribe-zombies |
| 1216 | @vindex gnus-subscribe-zombies | 1217 | @vindex gnus-subscribe-zombies |
| 1217 | Make all new groups zombies. This is the default. You can browse the | 1218 | Make all new groups zombies (@pxref{Group Levels}). This is the |
| 1218 | zombies later (with @kbd{A z}) and either kill them all off properly | 1219 | default. You can browse the zombies later (with @kbd{A z}) and either |
| 1219 | (with @kbd{S z}), or subscribe to them (with @kbd{u}). | 1220 | kill them all off properly (with @kbd{S z}), or subscribe to them |
| 1221 | (with @kbd{u}). | ||
| 1220 | 1222 | ||
| 1221 | @item gnus-subscribe-randomly | 1223 | @item gnus-subscribe-randomly |
| 1222 | @vindex gnus-subscribe-randomly | 1224 | @vindex gnus-subscribe-randomly |
| @@ -1430,7 +1432,7 @@ several servers where not all servers support @code{ask-server}. | |||
| 1430 | The @code{gnus-startup-file} variable says where the startup files are. | 1432 | The @code{gnus-startup-file} variable says where the startup files are. |
| 1431 | The default value is @file{~/.newsrc}, with the Gnus (El Dingo) startup | 1433 | The default value is @file{~/.newsrc}, with the Gnus (El Dingo) startup |
| 1432 | file being whatever that one is, with a @samp{.eld} appended. | 1434 | file being whatever that one is, with a @samp{.eld} appended. |
| 1433 | If you want version control for this file, set | 1435 | If you want to keep multiple numbered backups of this file, set |
| 1434 | @code{gnus-backup-startup-file}. It respects the same values as the | 1436 | @code{gnus-backup-startup-file}. It respects the same values as the |
| 1435 | @code{version-control} variable. | 1437 | @code{version-control} variable. |
| 1436 | 1438 | ||
| @@ -2360,6 +2362,7 @@ empty subscribed groups and unsubscribed groups, too. Type @kbd{l} to | |||
| 2360 | go back to showing nonempty subscribed groups again. Thus, unsubscribed | 2362 | go back to showing nonempty subscribed groups again. Thus, unsubscribed |
| 2361 | groups are hidden, in a way. | 2363 | groups are hidden, in a way. |
| 2362 | 2364 | ||
| 2365 | @cindex zombie groups | ||
| 2363 | Zombie and killed groups are similar to unsubscribed groups in that they | 2366 | Zombie and killed groups are similar to unsubscribed groups in that they |
| 2364 | are hidden by default. But they are different from subscribed and | 2367 | are hidden by default. But they are different from subscribed and |
| 2365 | unsubscribed groups in that Gnus doesn't ask the news server for | 2368 | unsubscribed groups in that Gnus doesn't ask the news server for |
diff --git a/lisp/gnus/ChangeLog b/lisp/gnus/ChangeLog index eaf4e8e2383..47b41ffb98b 100644 --- a/lisp/gnus/ChangeLog +++ b/lisp/gnus/ChangeLog | |||
| @@ -1,3 +1,23 @@ | |||
| 1 | 2011-07-03 Lars Magne Ingebrigtsen <larsi@gnus.org> | ||
| 2 | |||
| 3 | * gnus-group.el (gnus-read-ephemeral-bug-group): Bind the coding | ||
| 4 | systems to binary before writing and reading the mbox files. | ||
| 5 | |||
| 6 | * gnus.el (gnus-summary-line-format): Link to the info node for %U | ||
| 7 | instead of trying to list them all (bug#8978). | ||
| 8 | |||
| 9 | 2011-07-03 Wolfgang Jenkner <wjenkner@inode.at> (tiny change) | ||
| 10 | |||
| 11 | * pop3.el (pop3-open-server): Use :end-of-capability. | ||
| 12 | |||
| 13 | 2011-07-03 Lars Magne Ingebrigtsen <larsi@gnus.org> | ||
| 14 | |||
| 15 | * gnus-group.el (gnus-read-ephemeral-emacs-bug-group): Make sure that | ||
| 16 | the id is always a number. | ||
| 17 | |||
| 18 | * gnus-group.el (gnus-read-ephemeral-emacs-bug-group): Hook into | ||
| 19 | debbugs mode, if possible. | ||
| 20 | |||
| 1 | 2011-07-02 Daiki Ueno <ueno@unixuser.org> | 21 | 2011-07-02 Daiki Ueno <ueno@unixuser.org> |
| 2 | 22 | ||
| 3 | * auth-source.el (auth-source-token-passphrase-callback-function): | 23 | * auth-source.el (auth-source-token-passphrase-callback-function): |
diff --git a/lisp/gnus/gnus-group.el b/lisp/gnus/gnus-group.el index 74b1c7042ee..83383186ca9 100644 --- a/lisp/gnus/gnus-group.el +++ b/lisp/gnus/gnus-group.el | |||
| @@ -2437,7 +2437,9 @@ the bug number, and browsing the URL must return mbox output." | |||
| 2437 | (cdr (assoc 'emacs gnus-bug-group-download-format-alist)))) | 2437 | (cdr (assoc 'emacs gnus-bug-group-download-format-alist)))) |
| 2438 | (when (stringp number) | 2438 | (when (stringp number) |
| 2439 | (setq number (string-to-number number))) | 2439 | (setq number (string-to-number number))) |
| 2440 | (let ((tmpfile (mm-make-temp-file "gnus-temp-group-"))) | 2440 | (let ((tmpfile (mm-make-temp-file "gnus-temp-group-")) |
| 2441 | (coding-system-for-write 'binary) | ||
| 2442 | (coding-system-for-read 'binary)) | ||
| 2441 | (with-temp-file tmpfile | 2443 | (with-temp-file tmpfile |
| 2442 | (url-insert-file-contents (format mbox-url number)) | 2444 | (url-insert-file-contents (format mbox-url number)) |
| 2443 | (goto-char (point-min)) | 2445 | (goto-char (point-min)) |
| @@ -2466,12 +2468,17 @@ the bug number, and browsing the URL must return mbox output." | |||
| 2466 | 2468 | ||
| 2467 | (defun gnus-read-ephemeral-emacs-bug-group (number &optional window-conf) | 2469 | (defun gnus-read-ephemeral-emacs-bug-group (number &optional window-conf) |
| 2468 | "Browse Emacs bug NUMBER as ephemeral group." | 2470 | "Browse Emacs bug NUMBER as ephemeral group." |
| 2469 | (interactive (list (read-string "Enter bug number: " | 2471 | (interactive (list (string-to-number |
| 2470 | (thing-at-point 'word) nil))) | 2472 | (read-string "Enter bug number: " |
| 2473 | (thing-at-point 'word) nil)))) | ||
| 2471 | (gnus-read-ephemeral-bug-group | 2474 | (gnus-read-ephemeral-bug-group |
| 2472 | number | 2475 | number |
| 2473 | (cdr (assoc 'emacs gnus-bug-group-download-format-alist)) | 2476 | (cdr (assoc 'emacs gnus-bug-group-download-format-alist)) |
| 2474 | window-conf)) | 2477 | window-conf) |
| 2478 | (when (boundp 'debbugs-summary-mode) | ||
| 2479 | (with-current-buffer (window-buffer (selected-window)) | ||
| 2480 | (debbugs-summary-mode 1) | ||
| 2481 | (set (make-local-variable 'debbugs-bug-number) number)))) | ||
| 2475 | 2482 | ||
| 2476 | (defun gnus-group-jump-to-group (group &optional prompt) | 2483 | (defun gnus-group-jump-to-group (group &optional prompt) |
| 2477 | "Jump to newsgroup GROUP. | 2484 | "Jump to newsgroup GROUP. |
diff --git a/lisp/gnus/gnus.el b/lisp/gnus/gnus.el index e8e3a8955ba..98a2684dd61 100644 --- a/lisp/gnus/gnus.el +++ b/lisp/gnus/gnus.el | |||
| @@ -2966,8 +2966,8 @@ with some simple extensions. | |||
| 2966 | on level one | 2966 | on level one |
| 2967 | %R \"A\" if this article has been replied to, \" \" | 2967 | %R \"A\" if this article has been replied to, \" \" |
| 2968 | otherwise (character) | 2968 | otherwise (character) |
| 2969 | %U Status of this article (character, \"R\", \"K\", | 2969 | %U \"Read\" status of this article. |
| 2970 | \"-\" or \" \") | 2970 | See Info node `(gnus)Read Articles' |
| 2971 | %[ Opening bracket (character, \"[\" or \"<\") | 2971 | %[ Opening bracket (character, \"[\" or \"<\") |
| 2972 | %] Closing bracket (character, \"]\" or \">\") | 2972 | %] Closing bracket (character, \"]\" or \">\") |
| 2973 | %> Spaces of length thread-level (string) | 2973 | %> Spaces of length thread-level (string) |
diff --git a/lisp/gnus/pop3.el b/lisp/gnus/pop3.el index 90e11b3ca8f..b485ac39f60 100644 --- a/lisp/gnus/pop3.el +++ b/lisp/gnus/pop3.el | |||
| @@ -306,7 +306,8 @@ Returns the process associated with the connection." | |||
| 306 | (t | 306 | (t |
| 307 | (or pop3-stream-type 'network))) | 307 | (or pop3-stream-type 'network))) |
| 308 | :capability-command "CAPA\r\n" | 308 | :capability-command "CAPA\r\n" |
| 309 | :end-of-command "^\\.\r?\n\\|^\\(-ERR\\|+OK \\).*\n" | 309 | :end-of-command "^\\(-ERR\\|+OK \\).*\n" |
| 310 | :end-of-capability "^\\.\r?\n" | ||
| 310 | :success "^\\+OK.*\n" | 311 | :success "^\\+OK.*\n" |
| 311 | :return-list t | 312 | :return-list t |
| 312 | :starttls-function | 313 | :starttls-function |