Go to file
Julien Masson c4ccaf0fdb mu: sort childs of thread based on the sortfield only
Today when we query a find cmd with the `--threads` option, all the
childs of each thread are sorted according to their leader based on
the sortfield.

This patch change the way of how the childs of a thread are sorted.
The threads are still sorted according to their leader but all the
childs of each thread are now sorted based on the sortfield only.

Here is an example of what happened with the previous sorting:

Example with random kernel thread sorted by date:

[PATCH 0/4] drm/panel: jh057n0090: Add regulators and drop magic value in init
  ┣━▶[PATCH 1/4] MAINTAINERS: Add Purism mail alias as reviewer for their devkit's panel
  ┣━▶[PATCH 2/4] drm/panel: jh057n0090: Don't use magic constant
  ┣━▶[PATCH 3/4] dt-bindings: display/panel: jh057n0090: Document power supply properties
  ┗━▶[PATCH 4/4] drm/panel: jh057n0090: Add regulator support

If someone reply to one of these emails in the middle, this email
become the leader and the thread is displayed like this:

[PATCH 0/4] drm/panel: jh057n0090: Add regulators and drop magic value in init
  ┣━▶[PATCH 2/4] drm/panel: jh057n0090: Don't use magic constant
  ┃  ┗━▶ Re: [PATCH 2/4] drm/panel: jh057n0090: Don't use magic constant
  ┣━▶[PATCH 1/4] MAINTAINERS: Add Purism mail alias as reviewer for their devkit's panel
  ┣━▶[PATCH 3/4] dt-bindings: display/panel: jh057n0090: Document power supply properties
  ┗━▶[PATCH 4/4] drm/panel: jh057n0090: Add regulator support

With this patch, we will have the following output:

[PATCH 0/4] drm/panel: jh057n0090: Add regulators and drop magic value in init
  ┣━▶[PATCH 1/4] MAINTAINERS: Add Purism mail alias as reviewer for their devkit's panel
  ┣━▶[PATCH 2/4] drm/panel: jh057n0090: Don't use magic constant
  ┃  ┗━▶ Re: [PATCH 2/4] drm/panel: jh057n0090: Don't use magic constant
  ┣━▶[PATCH 3/4] dt-bindings: display/panel: jh057n0090: Document power supply properties
  ┗━▶[PATCH 4/4] drm/panel: jh057n0090: Add regulator support

The tests cases concerning threads have also been updated.

Signed-off-by: Julien Masson <massonju.eseo@gmail.com>
2020-02-10 15:42:39 +01:00
.github Create issue_template.md 2016-03-28 17:54:09 +03:00
build-aux build: add dummy config.rpath 2018-05-29 10:59:20 +03:00
contrib Support gmime 3.0 2017-07-30 16:47:38 +02:00
guile Fix typos 2019-11-06 16:13:39 +01:00
lib mu: sort childs of thread based on the sortfield only 2020-02-10 15:42:39 +01:00
m4 configure.ac: Add (optional) readline support 2020-01-18 13:39:58 +02:00
man mu: implement init, info commands 2020-02-08 14:28:55 +02:00
mu mu: sort childs of thread based on the sortfield only 2020-02-10 15:42:39 +01:00
mu4e mu4e-context: fix some compiler warnings 2020-02-09 18:07:09 +02:00
toys update for lib/utils split 2019-12-22 15:26:45 +02:00
www web: update index.md 2019-04-13 12:08:51 +03:00
.editorconfig editorconfig: update with elisp settings 2019-04-15 07:14:33 +03:00
.gitignore gitignore: update 2019-07-13 13:43:46 +03:00
.travis.yml Travis: use recent autoconf 2.69 and recent autoconf-archive 2016-12-14 01:57:33 +01:00
AUTHORS * initial import of mu - the next generation 2009-11-25 22:55:06 +02:00
COPYING * initial import of mu - the next generation 2009-11-25 22:55:06 +02:00
ChangeLog Fix incorrect ChangeLog. 2015-08-08 08:54:33 +07:00
HACKING Fix typos 2019-11-06 16:13:39 +01:00
Makefile.am mu: use new command-parser 2020-01-22 11:42:15 +02:00
NEWS Add the missing NEWS 2015-06-09 21:08:02 +03:00
NEWS.org NEWS.org: update documentation 2020-02-09 03:53:01 +02:00
README README: remove README.org 2020-01-01 15:56:47 +02:00
TODO * update TODO 2012-12-02 22:57:47 +02:00
autogen.sh Fix typos 2019-11-06 16:13:39 +01:00
c.cfg Fix typos 2019-11-06 16:13:39 +01:00
configure.ac configure.ac: bump version 1.3.8 2020-02-09 00:15:49 +02:00
gtest.mk mu: allow for code-coverage reports 2020-01-01 15:56:48 +02:00

README

Welcome to mu & mu4e!

Given the enormous amounts of e-mail many people gather and the importance of e-mail message in our
work-flows, it's essential to quickly deal with all that mail - in particular, to instantly find
that one important e-mail you need right now, and quickly file away message for later use.

`mu` is a tool for dealing with e-mail messages stored in the Maildir-format. `mu`'s purpose in life
is to help you to quickly find the messages you need; in addition, it allows you to view messages,
extract attachments, create new maildirs, and so on. See the [mu cheatsheet] for some examples. =mu=
is fully documented.

After indexing your messages into a [Xapian](http://www.xapian.org)-database, you can search them
using a custom query language. You can use various message fields or words in the body text to find
the right messages.

Built on top of `mu` are some extensions (included in this package):

  * mu4e: a full-featured e-mail client that runs inside emacs

  * mu-guile: bindings for the Guile/Scheme programming language (version 2.2 and later)

`mu` is written in C and C++; `mu4e` is written in elisp, and `mu-guile` in a mix of C and Scheme.

Note, `mu` is available in Linux distributions (e.g. Debian/Ubuntu and Fedora) under the name
`maildir-utils`; apparently because they don't like short names.