Announcements and discussions for Gnus, the GNU Emacs Usenet newsreader
 help / color / mirror / Atom feed
From: Enze Li <enze.li@hotmail.com>
To: info-gnus-english@gnu.org
Subject: How to unfold the thread by default when there are unread emails
Date: Fri, 23 Sep 2022 22:14:39 +0800	[thread overview]
Message-ID: <OS3P286MB21524398FE87AAAA91118286F0519@OS3P286MB2152.JPNP286.PROD.OUTLOOK.COM> (raw)

Hi all,

This is my cofiguration,
...
(setq gnus-thread-hide-subtree
      '(not gnus-article-unread-p))
...
However, it doesn't work well.  Here's what I got,

+ root email
 +-> subthread-1
 |    \-> email-1
 +-> subthread-2
      \-> email-2

This is a thread tree, all the emails are unread.  If I read the
"email-1", the thread will not hide when I restart the gnus and enter
the group; If I read the "subthread-1", the thread will hide.

My question is that can Gnus hide the subtree only when *all* emails
have been read?

Thanks,
Enze


                 reply	other threads:[~2022-09-23 14:41 UTC|newest]

Thread overview: [no followups] expand[flat|nested]  mbox.gz  Atom feed

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=OS3P286MB21524398FE87AAAA91118286F0519@OS3P286MB2152.JPNP286.PROD.OUTLOOK.COM \
    --to=enze.li@hotmail.com \
    --cc=info-gnus-english@gnu.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).