Discussion:
collapsed threads that have unread/new mails inside
Yubin Ruan
2017-09-16 20:19:06 UTC
Permalink
Hi,
How to identify collapsed threads that have unread/new mails inside?
I want to assign some color to those that so that it can be distinguished, but
currently I know no expression to express a "collapsed thread that has
unread/new mails inside".

Thanks,
Yubin
Erik Christiansen
2017-09-16 14:22:20 UTC
Permalink
Post by Yubin Ruan
Hi,
How to identify collapsed threads that have unread/new mails inside?
I want to assign some color to those that so that it can be distinguished, but
currently I know no expression to express a "collapsed thread that has
unread/new mails inside".
The 'n' immediately after the message number indicates new mail in a
collapsed thread. If colour is needed too, then a regex detecting that
will probably be required.

However, I have for a long time settled for:

set collapse_unread=no

in .muttrc, keeping such threads uncollapsed. It saves both time and
labour, since it's not necessary to manually uncollapse the thread to
see what is unread in there.

Erik
Yubin Ruan
2017-09-18 08:44:49 UTC
Permalink
Post by Erik Christiansen
Post by Yubin Ruan
Hi,
How to identify collapsed threads that have unread/new mails inside?
I want to assign some color to those that so that it can be distinguished, but
currently I know no expression to express a "collapsed thread that has
unread/new mails inside".
The 'n' immediately after the message number indicates new mail in a
collapsed thread. If colour is needed too, then a regex detecting that
will probably be required.
set collapse_unread=no
in .muttrc, keeping such threads uncollapsed. It saves both time and
labour, since it's not necessary to manually uncollapse the thread to
see what is unread in there.
Is is possible to collapse all unread threads by default at the time of
starting up?

Yubin
Patrick Shanahan
2017-09-18 03:29:41 UTC
Permalink
Post by Yubin Ruan
Post by Erik Christiansen
Post by Yubin Ruan
Hi,
How to identify collapsed threads that have unread/new mails inside?
I want to assign some color to those that so that it can be distinguished, but
currently I know no expression to express a "collapsed thread that has
unread/new mails inside".
The 'n' immediately after the message number indicates new mail in a
collapsed thread. If colour is needed too, then a regex detecting that
will probably be required.
set collapse_unread=no
in .muttrc, keeping such threads uncollapsed. It saves both time and
labour, since it's not necessary to manually uncollapse the thread to
see what is unread in there.
Is is possible to collapse all unread threads by default at the time of
starting up?
did you bother to try? you have been given the command and you have the
fine manual.
--
(paka)Patrick Shanahan Plainfield, Indiana, USA @ptilopteri
http://en.opensuse.org openSUSE Community Member facebook/ptilopteri
Registered Linux User #207535 @ http://linuxcounter.net
Photos: http://wahoo.no-ip.org/piwigo paka @ IRCnet freenode
Yubin Ruan
2017-09-18 11:55:26 UTC
Permalink
Post by Patrick Shanahan
Post by Yubin Ruan
Post by Erik Christiansen
Post by Yubin Ruan
Hi,
How to identify collapsed threads that have unread/new mails inside?
I want to assign some color to those that so that it can be distinguished, but
currently I know no expression to express a "collapsed thread that has
unread/new mails inside".
The 'n' immediately after the message number indicates new mail in a
collapsed thread. If colour is needed too, then a regex detecting that
will probably be required.
set collapse_unread=no
in .muttrc, keeping such threads uncollapsed. It saves both time and
labour, since it's not necessary to manually uncollapse the thread to
see what is unread in there.
Is is possible to collapse all unread threads by default at the time of
starting up?
did you bother to try? you have been given the command and you have the
fine manual.
collapse_unread is not for that purpose and will not collapse all unread
threads by default at the time of starting up.

But now I know I can use a folder-hook.

Yubin

Bastian
2017-09-16 14:26:29 UTC
Permalink
Post by Yubin Ruan
How to identify collapsed threads that have unread/new mails inside?
I want to assign some color to those that so that it can be distinguished, but
currently I know no expression to express a "collapsed thread that has
unread/new mails inside".
From somewhere I have this in colors definitions since a long time:

color index yellow black "~v~(~F~N)" # collapsed thread with some unread & flagged


Cheers,
--
Bastian
Loading...