diff options
author | Kyle Meyer <kyle@kyleam.com> | 2021-12-27 21:20:37 -0500 |
---|---|---|
committer | Kyle Meyer <kyle@kyleam.com> | 2021-12-28 12:19:31 -0500 |
commit | 8689741dd5a2dbb22ff848fa7993727d834064f0 (patch) | |
tree | 398b669f4ef3ba8f6d4683553db4c17a670cc63c /tests/piem-lei-tests.el | |
parent | 69201fc7787ea92dbd8afc8b4ce9a40c71981a30 (diff) | |
download | piem-8689741dd5a2dbb22ff848fa7993727d834064f0.tar.gz |
lei q: Sort threads by date of initial message
Now that there is a command for displaying multiple threads, the order
that piem-lei-query--thread returns the threads matters. When lei-q
is given the --threads option, the threads don't have a clear order,
and --sort and --reverse don't have an effect, so
piem-lei-query--thread must handle the sorting.
Teach piem-lei-query--thread to sort by the date of the root message
in a thread, adding a option to control the direction of this sorting.
It may be better to sort by the latest date within the entire thread.
However, doing so is more expensive, so don't bother until a clear
case is made that it's the better option.
Message-Id: <20211228022037.206597-7-kyle@kyleam.com>
Diffstat (limited to 'tests/piem-lei-tests.el')
0 files changed, 0 insertions, 0 deletions