aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorLars Ingebrigtsen2012-12-24 22:56:47 +0000
committerKatsumi Yamaoka2012-12-24 22:56:47 +0000
commit61bbede67cdcfde1fc6ae8fcb3d5146c7980353d (patch)
treeceea945d39b8d2d87ec0e7a376b5d50235acc38f
parentdc646358274fbfdab6ef3dfb7717bc4a52f607f3 (diff)
downloademacs-61bbede67cdcfde1fc6ae8fcb3d5146c7980353d.tar.gz
emacs-61bbede67cdcfde1fc6ae8fcb3d5146c7980353d.zip
Merge changes made in Gnus master
gnus-srvr.el (gnus-browse-delete-group): Fix syntax error. message.el (message-ignored-news-headers): Always remove X-Message-SMTP-Method to avoid information leakage if the user mistakenly inserts the header into news messages. gnus-srvr.el (gnus-browse-delete-group): New command and keystroke. gnus-sum.el (gnus-summary-hide-thread): If point were further to the right than four characters, this command would move point to `point-max'. Don't do that. gnus-group.el (gnus-group-read-ephemeral-group): Set the active data to nil to allow re-selecting groups that gain articles. (gnus-bug-group-download-format-alist): Update the URL. gnus.texi (Browse Foreign Server): Document `gnus-browse-delete-group'.
-rw-r--r--doc/misc/ChangeLog5
-rw-r--r--doc/misc/gnus.texi9
-rw-r--r--lisp/gnus/ChangeLog18
-rw-r--r--lisp/gnus/gnus-group.el3
-rw-r--r--lisp/gnus/gnus-srvr.el11
-rw-r--r--lisp/gnus/gnus-sum.el2
-rw-r--r--lisp/gnus/message.el2
7 files changed, 47 insertions, 3 deletions
diff --git a/doc/misc/ChangeLog b/doc/misc/ChangeLog
index 19501d78ca0..18db253a714 100644
--- a/doc/misc/ChangeLog
+++ b/doc/misc/ChangeLog
@@ -1,3 +1,8 @@
12012-12-24 Lars Ingebrigtsen <larsi@gnus.org>
2
3 * gnus.texi (Browse Foreign Server): Document
4 `gnus-browse-delete-group'.
5
12012-12-22 Glenn Morris <rgm@gnu.org> 62012-12-22 Glenn Morris <rgm@gnu.org>
2 7
3 * ada-mode.texi, ebrowse.texi, ediff.texi, ert.texi, eshell.texi: 8 * ada-mode.texi, ebrowse.texi, ediff.texi, ert.texi, eshell.texi:
diff --git a/doc/misc/gnus.texi b/doc/misc/gnus.texi
index 957009e4b34..a41a2023a45 100644
--- a/doc/misc/gnus.texi
+++ b/doc/misc/gnus.texi
@@ -3645,6 +3645,15 @@ Describe the current group (@code{gnus-browse-describe-group}).
3645@findex gnus-browse-describe-briefly 3645@findex gnus-browse-describe-briefly
3646Describe browse mode briefly (well, there's not much to describe, is 3646Describe browse mode briefly (well, there's not much to describe, is
3647there) (@code{gnus-browse-describe-briefly}). 3647there) (@code{gnus-browse-describe-briefly}).
3648
3649@item DEL
3650@kindex DEL (Browse)
3651@findex gnus-browse-delete-group
3652This function will delete the current group
3653(@code{gnus-browse-delete-group}). If given a prefix, this function
3654will actually delete all the articles in the group, and forcibly
3655remove the group itself from the face of the Earth. Use a prefix only
3656if you are absolutely sure of what you are doing.
3648@end table 3657@end table
3649 3658
3650 3659
diff --git a/lisp/gnus/ChangeLog b/lisp/gnus/ChangeLog
index 1ade749427f..9f0e17924d4 100644
--- a/lisp/gnus/ChangeLog
+++ b/lisp/gnus/ChangeLog
@@ -1,3 +1,21 @@
12012-12-24 Lars Ingebrigtsen <larsi@gnus.org>
2
3 * gnus-srvr.el (gnus-browse-delete-group): Fix syntax error.
4
5 * message.el (message-ignored-news-headers): Always remove
6 X-Message-SMTP-Method to avoid information leakage if the user
7 mistakenly inserts the header into news messages.
8
9 * gnus-srvr.el (gnus-browse-delete-group): New command and keystroke.
10
11 * gnus-sum.el (gnus-summary-hide-thread): If point were further to the
12 right than four characters, this command would move point to
13 `point-max'. Don't do that.
14
15 * gnus-group.el (gnus-group-read-ephemeral-group): Set the active data
16 to nil to allow re-selecting groups that gain articles.
17 (gnus-bug-group-download-format-alist): Update the URL.
18
12012-12-23 Andreas Schwab <schwab@suse.de> 192012-12-23 Andreas Schwab <schwab@suse.de>
2 20
3 * shr.el (shr-tag-em): Render em as italic, not bold. 21 * shr.el (shr-tag-em): Render em as italic, not bold.
diff --git a/lisp/gnus/gnus-group.el b/lisp/gnus/gnus-group.el
index 8c7d0165976..2fc87f097f9 100644
--- a/lisp/gnus/gnus-group.el
+++ b/lisp/gnus/gnus-group.el
@@ -2310,6 +2310,7 @@ Return the name of the group if selection was successful."
2310 (let ((group (if (gnus-group-foreign-p group) group 2310 (let ((group (if (gnus-group-foreign-p group) group
2311 (gnus-group-prefixed-name (gnus-group-real-name group) 2311 (gnus-group-prefixed-name (gnus-group-real-name group)
2312 method)))) 2312 method))))
2313 (gnus-set-active group nil)
2313 (gnus-sethash 2314 (gnus-sethash
2314 group 2315 group
2315 `(-1 nil (,group 2316 `(-1 nil (,group
@@ -2441,7 +2442,7 @@ Valid input formats include:
2441 (gnus-read-ephemeral-gmane-group group start range))) 2442 (gnus-read-ephemeral-gmane-group group start range)))
2442 2443
2443(defcustom gnus-bug-group-download-format-alist 2444(defcustom gnus-bug-group-download-format-alist
2444 '((emacs . "http://debbugs.gnu.org/%s;mboxmaint=yes;mboxstat=yes") 2445 '((emacs . "http://debbugs.gnu.org/cgi/bugreport.cgi?bug=%s;mboxmaint=yes;mboxstat=yes")
2445 (debian 2446 (debian
2446 . "http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=%s&mbox=yes;mboxmaint=yes")) 2447 . "http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=%s&mbox=yes;mboxmaint=yes"))
2447 "Alist of symbols for bug trackers and the corresponding URL format string. 2448 "Alist of symbols for bug trackers and the corresponding URL format string.
diff --git a/lisp/gnus/gnus-srvr.el b/lisp/gnus/gnus-srvr.el
index f58cb80311a..ad86ef2c634 100644
--- a/lisp/gnus/gnus-srvr.el
+++ b/lisp/gnus/gnus-srvr.el
@@ -713,6 +713,7 @@ claim them."
713 "q" gnus-browse-exit 713 "q" gnus-browse-exit
714 "Q" gnus-browse-exit 714 "Q" gnus-browse-exit
715 "d" gnus-browse-describe-group 715 "d" gnus-browse-describe-group
716 [delete] gnus-browse-delete-group
716 "\C-c\C-c" gnus-browse-exit 717 "\C-c\C-c" gnus-browse-exit
717 "?" gnus-browse-describe-briefly 718 "?" gnus-browse-describe-briefly
718 719
@@ -964,6 +965,16 @@ how new groups will be entered into the group buffer."
964 (interactive (list (gnus-browse-group-name))) 965 (interactive (list (gnus-browse-group-name)))
965 (gnus-group-describe-group nil group)) 966 (gnus-group-describe-group nil group))
966 967
968(defun gnus-browse-delete-group (group force)
969 "Delete the current group. Only meaningful with editable groups.
970If FORCE (the prefix) is non-nil, all the articles in the group will
971be deleted. This is \"deleted\" as in \"removed forever from the face
972of the Earth\". There is no undo. The user will be prompted before
973doing the deletion."
974 (interactive (list (gnus-browse-group-name)
975 current-prefix-arg))
976 (gnus-group-delete-group group force))
977
967(defun gnus-browse-unsubscribe-group () 978(defun gnus-browse-unsubscribe-group ()
968 "Toggle subscription of the current group in the browse buffer." 979 "Toggle subscription of the current group in the browse buffer."
969 (let ((sub nil) 980 (let ((sub nil)
diff --git a/lisp/gnus/gnus-sum.el b/lisp/gnus/gnus-sum.el
index 1d4f470aea2..d8cdd16dedb 100644
--- a/lisp/gnus/gnus-sum.el
+++ b/lisp/gnus/gnus-sum.el
@@ -11647,10 +11647,10 @@ If PREDICATE is supplied, threads that satisfy this predicate
11647will not be hidden. 11647will not be hidden.
11648Returns nil if no threads were there to be hidden." 11648Returns nil if no threads were there to be hidden."
11649 (interactive) 11649 (interactive)
11650 (beginning-of-line)
11650 (let ((start (point)) 11651 (let ((start (point))
11651 (starteol (line-end-position)) 11652 (starteol (line-end-position))
11652 (article (gnus-summary-article-number))) 11653 (article (gnus-summary-article-number)))
11653 (goto-char start)
11654 ;; Go forward until either the buffer ends or the subthread ends. 11654 ;; Go forward until either the buffer ends or the subthread ends.
11655 (when (and (not (eobp)) 11655 (when (and (not (eobp))
11656 (or (zerop (gnus-summary-next-thread 1 t)) 11656 (or (zerop (gnus-summary-next-thread 1 t))
diff --git a/lisp/gnus/message.el b/lisp/gnus/message.el
index 0e2c5debe4d..24159d4c2a3 100644
--- a/lisp/gnus/message.el
+++ b/lisp/gnus/message.el
@@ -264,7 +264,7 @@ This is a list of regexps and regexp matches."
264 :type 'sexp) 264 :type 'sexp)
265 265
266(defcustom message-ignored-news-headers 266(defcustom message-ignored-news-headers
267 "^NNTP-Posting-Host:\\|^Xref:\\|^[BGF]cc:\\|^Resent-Fcc:\\|^X-Draft-From:\\|^X-Gnus-Agent-Meta-Information:" 267 "^NNTP-Posting-Host:\\|^Xref:\\|^[BGF]cc:\\|^Resent-Fcc:\\|^X-Draft-From:\\|^X-Gnus-Agent-Meta-Information:\\|^X-Message-SMTP-Method:"
268 "*Regexp of headers to be removed unconditionally before posting." 268 "*Regexp of headers to be removed unconditionally before posting."
269 :group 'message-news 269 :group 'message-news
270 :group 'message-headers 270 :group 'message-headers