aboutsummaryrefslogtreecommitdiff
path: root/tests/piem-tests.el
diff options
context:
space:
mode:
authorKyle Meyer <kyle@kyleam.com>2021-12-27 21:20:37 -0500
committerKyle Meyer <kyle@kyleam.com>2021-12-28 12:19:31 -0500
commit8689741dd5a2dbb22ff848fa7993727d834064f0 (patch)
tree398b669f4ef3ba8f6d4683553db4c17a670cc63c /tests/piem-tests.el
parent69201fc7787ea92dbd8afc8b4ce9a40c71981a30 (diff)
downloadpiem-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-tests.el')
0 files changed, 0 insertions, 0 deletions