Skip to content

Instantly share code, notes, and snippets.

@flatcap
Last active July 20, 2021 00:10
Show Gist options
  • Save flatcap/e888d952834e29f49a098076c41fa436 to your computer and use it in GitHub Desktop.
Save flatcap/e888d952834e29f49a098076c41fa436 to your computer and use it in GitHub Desktop.
test for use_threads
Anne 12:01 cover letter for thread 1
Anne 12:02 part 1 of thread 1
Anne 12:03 part 2 of thread 1
Anne 12:04 part 3 of thread 1
Barbara 12:05 thread 2
Claire 12:06 thread 3
Diane 12:07 re: part 2 of thread 1
Erica 12:08 re: thread 2
Anne 12:01 cover letter for thread 1
Anne 12:02 ├─>part 1 of thread 1
Anne 12:03 ├─>part 2 of thread 1
Diane 12:07 │ └─>re: part 2 of thread 1
Anne 12:04 └─>part 3 of thread 1
Barbara 12:05 thread 2
Erica 12:08 └─>re: thread 2
Claire 12:06 thread 3
Anne 12:01 cover letter for thread 1
Anne 12:02 ├─>part 1 of thread 1
Anne 12:03 ├─>part 2 of thread 1
Diane 12:07 │ └─>re: part 2 of thread 1
Anne 12:04 └─>part 3 of thread 1
Barbara 12:05 thread 2
Erica 12:08 └─>re: thread 2
Claire 12:06 thread 3
Claire 12:06 thread 3
Erica 12:08 ┌─>re: thread 2
Barbara 12:05 thread 2
Anne 12:04 ┌─>part 3 of thread 1
Diane 12:07 │ ┌─>re: part 2 of thread 1
Anne 12:03 ├─>part 2 of thread 1
Anne 12:02 ├─>part 1 of thread 1
Anne 12:01 cover letter for thread 1
Claire 12:06 thread 3
Erica 12:08 ┌─>re: thread 2
Barbara 12:05 thread 2
Anne 12:04 ┌─>part 3 of thread 1
Diane 12:07 │ ┌─>re: part 2 of thread 1
Anne 12:03 ├─>part 2 of thread 1
Anne 12:02 ├─>part 1 of thread 1
Anne 12:01 cover letter for thread 1
Anne 12:01 cover letter for thread 1
Anne 12:03 ├─>part 2 of thread 1
Diane 12:07 │ └─>re: part 2 of thread 1
Anne 12:04 ├─>part 3 of thread 1
Anne 12:02 └─>part 1 of thread 1
Barbara 12:05 thread 2
Erica 12:08 └─>re: thread 2
Claire 12:06 thread 3
Barbara 12:05 thread 2
Erica 12:08 └─>re: thread 2
Anne 12:01 cover letter for thread 1
Anne 12:03 ├─>part 2 of thread 1
Diane 12:07 │ └─>re: part 2 of thread 1
Anne 12:04 ├─>part 3 of thread 1
Anne 12:02 └─>part 1 of thread 1
Claire 12:06 thread 3
Claire 12:06 thread 3
Anne 12:01 cover letter for thread 1
Anne 12:02 ├─>part 1 of thread 1
Anne 12:03 ├─>part 2 of thread 1
Diane 12:07 │ └─>re: part 2 of thread 1
Anne 12:04 └─>part 3 of thread 1
Barbara 12:05 thread 2
Erica 12:08 └─>re: thread 2
Anne 12:01 cover letter for thread 1
Anne 12:02 part 1 of thread 1
Anne 12:03 part 2 of thread 1
Anne 12:04 part 3 of thread 1
Barbara 12:05 thread 2
Claire 12:06 thread 3
Diane 12:07 re: part 2 of thread 1
Erica 12:08 re: thread 2
Anne 12:01 cover letter for thread 1
Anne 12:02 |->part 1 of thread 1
Anne 12:03 |->part 2 of thread 1
Diane 12:07 | `->re: part 2 of thread 1
Anne 12:04 `->part 3 of thread 1
Barbara 12:05 thread 2
Erica 12:08 `->re: thread 2
Claire 12:06 thread 3
Anne 12:01 cover letter for thread 1
Anne 12:02 |->part 1 of thread 1
Anne 12:03 |->part 2 of thread 1
Diane 12:07 | `->re: part 2 of thread 1
Anne 12:04 `->part 3 of thread 1
Barbara 12:05 thread 2
Erica 12:08 `->re: thread 2
Claire 12:06 thread 3
Claire 12:06 thread 3
Erica 12:08 ,->re: thread 2
Barbara 12:05 thread 2
Anne 12:04 ,->part 3 of thread 1
Diane 12:07 | ,->re: part 2 of thread 1
Anne 12:03 |->part 2 of thread 1
Anne 12:02 |->part 1 of thread 1
Anne 12:01 cover letter for thread 1
Claire 12:06 thread 3
Erica 12:08 ,->re: thread 2
Barbara 12:05 thread 2
Anne 12:04 ,->part 3 of thread 1
Diane 12:07 | ,->re: part 2 of thread 1
Anne 12:03 |->part 2 of thread 1
Anne 12:02 |->part 1 of thread 1
Anne 12:01 cover letter for thread 1
Anne 12:01 cover letter for thread 1
Anne 12:03 |->part 2 of thread 1
Diane 12:07 | `->re: part 2 of thread 1
Anne 12:04 |->part 3 of thread 1
Anne 12:02 `->part 1 of thread 1
Barbara 12:05 thread 2
Erica 12:08 `->re: thread 2
Claire 12:06 thread 3
Barbara 12:05 thread 2
Erica 12:08 `->re: thread 2
Anne 12:01 cover letter for thread 1
Anne 12:03 |->part 2 of thread 1
Diane 12:07 | `->re: part 2 of thread 1
Anne 12:04 |->part 3 of thread 1
Anne 12:02 `->part 1 of thread 1
Claire 12:06 thread 3
Claire 12:06 thread 3
Anne 12:01 cover letter for thread 1
Anne 12:02 |->part 1 of thread 1
Anne 12:03 |->part 2 of thread 1
Diane 12:07 | `->re: part 2 of thread 1
Anne 12:04 `->part 3 of thread 1
Barbara 12:05 thread 2
Erica 12:08 `->re: thread 2
From [email protected] Thu Jun 1 12:01:01 2021
Date: Thu, 1 Jun 2021 12:01:01 +0000
From: Anne <[email protected]>
To: List <[email protected]>
Subject: cover letter for thread 1
Message-ID: <[email protected]>
Status: RO
Content-Length: 10
Lines: 1
some text
From [email protected] Thu Jun 2 12:02:02 2021
Date: Thu, 2 Jun 2021 12:02:02 +0000
From: Anne <[email protected]>
To: List <[email protected]>
Subject: part 1 of thread 1
Message-ID: <[email protected]>
In-Reply-To: <[email protected]>
Status: RO
Content-Length: 10
Lines: 1
some text
From [email protected] Thu Jun 3 12:03:03 2021
Date: Thu, 3 Jun 2021 12:03:03 +0000
From: Anne <[email protected]>
To: List <[email protected]>
Subject: part 2 of thread 1
Message-ID: <[email protected]>
In-Reply-To: <[email protected]>
Status: RO
Content-Length: 10
Lines: 1
some text
From [email protected] Thu Jun 3 12:04:04 2021
Date: Thu, 3 Jun 2021 12:04:04 +0000
From: Anne <[email protected]>
To: List <[email protected]>
Subject: part 3 of thread 1
Message-ID: <[email protected]>
In-Reply-To: <[email protected]>
Status: RO
Content-Length: 10
Lines: 1
some text
From [email protected] Thu Jun 4 12:05:05 2021
Date: Thu, 4 Jun 2021 12:05:05 +0000
From: Barbara <[email protected]>
To: List <[email protected]>
Subject: thread 2
Message-ID: <[email protected]>
Status: RO
Content-Length: 10
Lines: 1
some text
From [email protected] Thu Jun 5 12:06:06 2021
Date: Thu, 5 Jun 2021 12:06:06 +0000
From: Claire <[email protected]>
To: List <[email protected]>
Subject: thread 3
Message-ID: <[email protected]>
Status: RO
Content-Length: 10
Lines: 1
some text
From [email protected] Thu Jun 6 12:07:07 2021
Date: Thu, 6 Jun 2021 12:07:07 +0000
From: Diane <[email protected]>
To: List <[email protected]>
Message-ID: <[email protected]>
In-Reply-To: <[email protected]>
Subject: re: part 2 of thread 1
Status: RO
Content-Length: 10
Lines: 1
some text
From [email protected] Thu Jun 7 12:08:08 2021
Date: Thu, 7 Jun 2021 12:08:08 +0000
From: Erica <[email protected]>
To: List <[email protected]>
Subject: re: thread 2
Message-ID: <[email protected]>
In-Reply-To: <[email protected]>
Status: RO
Content-Length: 10
Lines: 1
some text
set help = no
set sidebar_visible = no
set hide_thread_subject = no
set strict_threads = yes
set index_format="%2C %-8.8F %{%H:%M} %s"
# Default configuration: flat view sorted by date
macro index <f1> "<enter-command>set use_threads=no sort=date sort_aux=date<enter>"
# Legacy configuration: sorting threads by date started
macro index <f2> "<enter-command>set sort=threads sort_aux=date<enter>"
# Modern configuration for the same
# Latest root message sorts last
macro index <f3> "<enter-command>set use_threads=yes sort=date sort_aux=date<enter>"
# Legacy configuration: display threads upside-down
macro index <f4> "<enter-command>set sort=reverse-threads sort_aux=date<enter>"
# Modern configuration for the same
# Latest root message sorts first
macro index <f5> "<enter-command>set use_threads=reverse sort=date sort_aux=date<enter>"
# Legacy configuration: recently active thread/subthread first
macro index <f6> "<enter-command>set sort=threads sort_aux=reverse-last-date<enter>"
# Modern configuration for the same
# Note that subthreads are also rearranged
macro index <f7> "<enter-command>set use_threads=threads sort=reverse-last-date sort_aux=reverse-last-date<enter>"
# Modern configuration: threads keep date order, recently active thread last
# (not possible with legacy configuration)
macro index <f8> "<enter-command>set use_threads=threads sort=last-date sort_aux=date<enter>"
macro index <f9> "<enter-command>toggle ascii_chars<enter>"
# vim: syn=neomuttrc
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment