GNU bug report logs - #9707
[PATCH] `gnus-thread-hide-subtree' interferes with `gnus-summary-refer-thread'

Previous Next

Package: gnus;

Reported by: Dave Abrahams <dave <at> boostpro.com>

Date: Sun, 9 Oct 2011 01:44:02 UTC

Severity: normal

Tags: fixed, patch

Found in version 5.110018

Fixed in version 24.1

Done: Lars Magne Ingebrigtsen <larsi <at> gnus.org>

Bug is archived. No further changes may be made.

Full log


View this message in rfc822 format

From: Dave Abrahams <dave <at> boostpro.com>
To: 9707 <at> debbugs.gnu.org
Subject: bug#9707: [PATCH] `gnus-thread-hide-subtree' interferes with `gnus-summary-refer-thread'
Date: Sat, 08 Oct 2011 21:43:37 -0400
[Message part 1 (text/plain, inline)]
For example, I have `gnus-thread-hide-subtree' set to `(not
gnus-article-unread-p)', so that when I enter a summary, only threads
with unread messages are expanded.  When I do `A T' so I can see a whole
thread, if the other articles in the thread are already read, I don't
see any change in my summary buffer, or my thread might collapse.  I
actually need to `T s' (`gnus-summary-show-thread') to see them.

The enclosed patch fixes the problem.

[gnus-sum.patch (text/x-patch, inline)]
diff --git a/lisp/gnus-sum.el b/lisp/gnus-sum.el
index 207d963..2d2c3be 100644
--- a/lisp/gnus-sum.el
+++ b/lisp/gnus-sum.el
@@ -9032,7 +9032,8 @@ non-numeric or nil fetch the number specified by the
               'gnus-article-sort-by-number)))
       (setq gnus-newsgroup-articles
       	    (gnus-sorted-nunion gnus-newsgroup-articles (nreverse article-ids)))
-      (gnus-summary-limit-include-thread id))))
+      (gnus-summary-limit-include-thread id)))
+  (gnus-summary-show-thread))
 
 (defun gnus-summary-refer-article (message-id)
   "Fetch an article specified by MESSAGE-ID."
[Message part 3 (text/plain, inline)]



No Gnus v0.18
GNU Emacs 23.3.1 (x86_64-apple-darwin10.8.0, Carbon Version 1.6.0 AppKit 1038.36)
 of 2011-09-12 on pluto.luannocracy.com
200 Leafnode NNTP Daemon, version 1.11.8 running at localhost (my fqdn: pluto.boostpro.com)
500 Unknown command

-- 
Dave Abrahams
BoostPro Computing
http://www.boostpro.com


This bug report was last modified 13 years and 198 days ago.

Previous Next


GNU bug tracking system
Copyright (C) 1999 Darren O. Benham, 1997,2003 nCipher Corporation Ltd, 1994-97 Ian Jackson.