aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorDave Abrahams2013-08-05 14:15:37 +0000
committerKatsumi Yamaoka2013-08-05 14:15:37 +0000
commitb27a1bd53ac62bad378cbafcfb594ac37357bbc6 (patch)
treed6ce8bfa1f8a695d3b4b876e5ec8ab3c8ce0fde3
parent57fedd9fe118489c8dfa3a4d3baee1b9a7a6fad0 (diff)
downloademacs-b27a1bd53ac62bad378cbafcfb594ac37357bbc6.tar.gz
emacs-b27a1bd53ac62bad378cbafcfb594ac37357bbc6.zip
gnus-int.el (gnus-warp-to-article): Allow warping in all groups so that we can create nndoc groups that excerpt other groups
-rw-r--r--lisp/gnus/ChangeLog5
-rw-r--r--lisp/gnus/gnus-int.el22
2 files changed, 16 insertions, 11 deletions
diff --git a/lisp/gnus/ChangeLog b/lisp/gnus/ChangeLog
index 2164fd96b46..2ae70791c16 100644
--- a/lisp/gnus/ChangeLog
+++ b/lisp/gnus/ChangeLog
@@ -1,3 +1,8 @@
12013-08-05 Dave Abrahams <dave@boostpro.com>
2
3 * gnus-int.el (gnus-warp-to-article): Allow warping in all groups so
4 that we can create nndoc groups that excerpt other groups.
5
12013-08-02 Lars Magne Ingebrigtsen <larsi@gnus.org> 62013-08-02 Lars Magne Ingebrigtsen <larsi@gnus.org>
2 7
3 * gnus-delay.el (gnus-delay-article): Fix typo. 8 * gnus-delay.el (gnus-delay-article): Fix typo.
diff --git a/lisp/gnus/gnus-int.el b/lisp/gnus/gnus-int.el
index 6aa874f0347..f0cf0daed01 100644
--- a/lisp/gnus/gnus-int.el
+++ b/lisp/gnus/gnus-int.el
@@ -582,18 +582,18 @@ This is the string that Gnus uses to identify the group."
582 (gnus-group-method group))) 582 (gnus-group-method group)))
583 583
584(defun gnus-warp-to-article () 584(defun gnus-warp-to-article ()
585 "Jump from an article in a virtual group to the article in its real group. 585 "Look up the current article in the group where it originated.
586Does nothing in a real group." 586This command only makes sense for groups shows articles gathered
587from other groups -- for instance, search results and the like."
587 (interactive) 588 (interactive)
588 (when (gnus-virtual-group-p gnus-newsgroup-name) 589 (let ((gnus-command-method
589 (let ((gnus-command-method 590 (gnus-find-method-for-group gnus-newsgroup-name)))
590 (gnus-find-method-for-group gnus-newsgroup-name))) 591 (or
591 (or 592 (when (gnus-check-backend-function
592 (when (gnus-check-backend-function 593 'warp-to-article (car gnus-command-method))
593 'warp-to-article (car gnus-command-method)) 594 (funcall (gnus-get-function gnus-command-method 'warp-to-article)))
594 (funcall (gnus-get-function gnus-command-method 'warp-to-article))) 595 (and (bound-and-true-p gnus-registry-enabled)
595 (and (bound-and-true-p gnus-registry-enabled) 596 (gnus-try-warping-via-registry)))))
596 (gnus-try-warping-via-registry))))))
597 597
598(defun gnus-request-head (article group) 598(defun gnus-request-head (article group)
599 "Request the head of ARTICLE in GROUP." 599 "Request the head of ARTICLE in GROUP."