在 mutt 中突出显示当前线程,但在线程模式下不突出显示

在 mutt 中突出显示当前线程,但在线程模式下不突出显示

mutt 中的示例邮件结构:

- L1:线程1 邮件1
-L2:线程2邮件1
-L3:线程2邮件2 (光标在这里)
- L4:线程3邮件1
- L5:线程1邮件2
- L6:线程3邮件2
- L7:线程1邮件3
-L8:线程2邮件3
- L9:线程1邮件4
-L10:线程2邮件4

在mutt中,我想设置一些这样的功能:当光标位于线程中的邮件上(线程2中的L3)时,突出显示属于同一线程的邮件。当我将光标移动到不同线程中的邮件时,该线程中的邮件应自动突出显示。

在mutt中可以做到这一点吗?

mutt配色方案参考:

### # index
color index red default "~D(!~p|~p)" # deleted
color index brightred default ~=  # duplicate messages
color index brightgreen default "~A!~N!~T!~p!~Q!~F!~D!~P"  # the rest
color index J_base default "~A~N!~T!~p!~Q!~F!~D"  # the rest, new
color index red default "~A" # all messages
color index brightred default "~E" # expired messages
color index         brightmagenta   default         "~N"                        # new messages
color index         black            default         "~O"                        # old messages
color index         magenta         default         "~Q"                        # messages that have been replied to
color index         brightgreen     default        "~R"                        # read messages
color index         blue            default         "~U"                        # unread messages
color index         blue            default         "~U~$"                      # unread, unreferenced messages
color index         brightyellow    default         "~v"                        # messages part of a collapsed thread
color index         default         default         "~P"                        # messages from me
color index         cyan            default         "~p!~F"                     # messages to me
color index         cyan            default         "~N~p!~F"                   # new messages to me
color index         cyan            default         "~U~p!~F"                   # unread messages to me
color index         brightgreen     default         "~R~p!~F"                   # messages to me
color index brightyellow default "~F(~r <3d)" # flagged
color index brightred default "~F(!~N !~D)" # flagged
color index red default "~F~p" # flagged messages to me
color index red default "~N~F" # new flagged messages
color index red default "~N~F~p" # new flagged messages to me
color index         red             default         "~U~F~p"                    # new flagged messages to me
color index         black           red             "~D"                        # deleted messages
color index         white             default         "~v~(!~N)"                  # collapsed thread with no unread
color index         yellow          default         "~v~(~N)"                   # collapsed thread with some unread
color index         green           default         "~N~v~(~N)"                 # collapsed thread with unread parent

### for collapsed thread
color index red black  "~v~(~F)!~N"  # collapsed thread with flagged, no unread
color index yellow black "~v~(~F~N)" # collapsed thread with some unread & flagged
color index green black "~N~v~(~F~N)" # collapsed thread with unread parent & flagged
color index green black "~N~v~(~F)" # collapsed thread with unread parent, no unread inside, but some flagged
color index cyan black "~v~(~p)" # collapsed thread with unread parent, no unread inside, some to me directly
color index yellow  red "~v~(~D)" # thread with deleted (doesn't differentiate between all or partial)
color index yellow default "~(~N)" # messages in threads with some unread
color index green default "~S" # superseded messages

相关内容