Commit Graph

5287 Commits

Author SHA1 Message Date
Dirk-Jan C. Binnema 8405788f27 docs: update documentation
Update the mu-find man-page; update NEWS.org and mu4e.texi for the way
threading works.
2021-02-12 19:14:37 +02:00
Dirk-Jan C. Binnema bf5c93aab6
Merge pull request #1921 from tsdh/make-jump-maildir-query-editable-with-prefix-arg
mu4e-jump-to-maildir: offer editing the query when a prefix arg is given
2021-02-12 00:53:07 +02:00
Dirk-Jan C. Binnema 7a70942e67 build: experimental support for the meson build system 2021-02-12 00:49:35 +02:00
Dirk-Jan C. Binnema a3c6e74869 lib: replace some #define with constexpr
minor cleanup.
2021-02-11 18:54:25 +02:00
Dirk-Jan C. Binnema 2967a2e251 guile: mark guile entry points as extern "C" {}
Otherwise, we can't find them.
2021-02-11 18:53:09 +02:00
Dirk-Jan C. Binnema 936fd3f485 mu-query: sort "related" input by date
When doing 'related' searches, sort the initial (bounded) query results
by date, so we get the newest (or oldest)
2021-02-10 22:04:42 +02:00
Dirk-Jan C. Binnema 6ff9829ce1 lib: improve threaded sorting
Improve threaded sorting:
- rework the recursive algo (which should a crash noted earlier)
- sort by thread key (as in 1.5.7)

Fixes: #1923
Fixes: #1922
Fixes: #1911
Fixes: #1916
2021-02-10 12:35:19 +02:00
Tassilo Horn 6632e6c7f3 mu4e-jump-to-maildir: offer editing the query when a prefix arg is given
Also refactor the now two usages of the query completion feature into a
separate function `mu4e-read-query'.
2021-02-03 14:49:05 +01:00
Dirk-Jan C. Binnema 58e4046cbd test-mu-query: fix MacOS compilation 2021-01-30 13:10:46 +02:00
Dirk-Jan C. Binnema 7fe8b3fcbf test-mu-query: neuter test on non-linux for now
But warn.
2021-01-30 12:58:33 +02:00
Dirk-Jan C. Binnema 9802ae9dc8 mu4e-headers: jump to message _outside_ save-excursion
Fixes: #1889.
2021-01-30 12:40:00 +02:00
Dirk-Jan C. Binnema ba895bc65e mu-query-result: detect thread-subjects
Ongoing... try to determine the thread-subject, to be used in mu4e
later.
2021-01-29 22:44:45 +02:00
Dirk-Jan C. Binnema fdcbc5257d query-match-deciders: mark as leader / related
So we can use that as metadata later
2021-01-29 22:41:59 +02:00
Dirk-Jan C. Binnema ad86e2c4fc mu-contacts: cosmetic 2021-01-29 22:41:12 +02:00
Dirk-Jan C. Binnema 72fdfec3eb lib: clean up mu_msg_to_sexp API
move out the QueryMatch
2021-01-29 22:39:21 +02:00
Dirk-Jan C. Binnema e5a52e45fd mu-threads: improve sorting, duplicate handling
And add some more tests.
2021-01-27 22:28:58 +02:00
Dirk-Jan C. Binnema 1b3fd722ef test-mu-query: avoid compiler warning 2021-01-27 20:17:20 +02:00
Dirk-Jan C. Binnema c8ab816b37 mu-find: don't pre/post none-message
This gives a runtime-error. Since some tools (like mu4e-alert) merge
stderr & stdout, they get confused.

Fixes: #1914.
2021-01-27 18:58:00 +02:00
Dirk-Jan C. Binnema 7db2e527a8 mu: remove dead test-mu-runtime 2021-01-27 18:57:33 +02:00
Dirk-Jan C. Binnema 7f70149c95 threads: don't assert on remove_child
Investigate this, seems to hit in the wild.
2021-01-25 21:44:02 +02:00
Dirk-Jan C. Binnema 3e64fdfb0f threads: avoid assert
The assert failure was spotted in the wild... we need to investigate,
but we can ignore it now to avoid SIGABRT.
2021-01-25 18:11:50 +02:00
Dirk-Jan C. Binnema 086999c2d1 query: in related/threaded mode, search all
In the related query, search _all_ messages, not just the amount asked;
this increases the chance of full threads.
2021-01-25 10:12:48 +02:00
Dirk-Jan C. Binnema cec25d3166 query: fix some typos 2021-01-25 10:11:46 +02:00
Dirk-Jan C. Binnema 9260e4cbe2 mu: avoid some compiler warnings 2021-01-24 14:43:38 +02:00
Dirk-Jan C. Binnema 01db0a4269
Merge pull request #1910 from rhgg2/contact-less-than-antisymmetric
Make order relation on contacts antisymmetric
2021-01-23 10:57:33 +02:00
Dirk-Jan C. Binnema 451fa65ffb build: fix compiler flags 2021-01-23 01:00:47 +02:00
Dirk-Jan C. Binnema 930adea3b2 test-mu-cmd: turn off unit-test
It breaks the CI test setup.
2021-01-23 00:50:23 +02:00
Richard Garner f65bb4196c Make order relation on contacts antisymmetric 2021-01-23 09:07:35 +11:00
Dirk-Jan C. Binnema a850370d68 bump version to 1.5.8, update NEWS 2021-01-22 23:24:53 +02:00
Dirk-Jan C. Binnema bd9e020ab4 configure.ac: make build flags a bit less magical
Don't set compiler flags based on version numbers.
2021-01-22 23:24:53 +02:00
Dirk-Jan C. Binnema 2b9732c669 mu4e: update documentation 2021-01-22 23:24:53 +02:00
Dirk-Jan C. Binnema 3db19ce92b mu-msg-sexp: Improve list-post regexp
This should catch some more addresses.

Fixes: #1909.
2021-01-22 23:24:53 +02:00
Dirk-Jan C. Binnema 250b26428f update issue template 2021-01-22 23:24:53 +02:00
Dirk-Jan C. Binnema 035a10ab49 remove obsolete threading tests 2021-01-22 23:24:53 +02:00
Dirk-Jan C. Binnema 68a75c2c91 mu4e: make thread indicators a bit lighter
Make the symbols a bit less chunky
2021-01-22 23:24:53 +02:00
Dirk-Jan C. Binnema 98744c66f7 remove some dead code 2021-01-22 23:24:53 +02:00
Dirk-Jan C. Binnema 362c53a7e7 mu4e: headers: fix some compiler warnings 2021-01-22 22:53:35 +02:00
Dirk-Jan C. Binnema 36684c9e97 mu: use sha-1 for fallback msgid
We were using a hash based on the path, but it's better to have
something that's constant even if the path chnages.
2021-01-22 22:53:35 +02:00
Dirk-Jan C. Binnema af386824f2 contacts: remove some dead code 2021-01-22 22:53:35 +02:00
Dirk-Jan C. Binnema fb34824232 contacts: only sort recent contacts by recency
Fixes: #1857
2021-01-22 22:51:33 +02:00
Dirk-Jan C. Binnema 9a1e749cc5 threads: update unit tests 2021-01-22 22:51:33 +02:00
Dirk-Jan C. Binnema 90e35a9732 toys/mug: upgrade for query changes
Mostly, port to c++.
2021-01-22 22:51:33 +02:00
Dirk-Jan C. Binnema 4daa7105d2 guile: update for query changes 2021-01-22 22:51:33 +02:00
Dirk-Jan C. Binnema 01ced9a356 mu: Update for new querying APIs 2021-01-22 22:51:33 +02:00
Dirk-Jan C. Binnema e282d80bc0 lib: Update for new querying machinery
Port to c++ and use new APIs.
2021-01-22 22:51:33 +02:00
Dirk-Jan C. Binnema 95dffb98a6 query: Rework querying/threading machinery
Rewrite the query machinery in c++:
- use an MSet decorator instead of the mu-msg-iter stuff
- use mu-query-decider to mark duplicates/unreadable/related messages
- use mu-query-threader to replace the older container/thread code

Algorithm did not substantially change, but the implementation details
did.
2021-01-20 14:09:04 +02:00
Dirk-Jan C. Binnema 86e1515c71
Merge pull request #1900 from Chris00/master
Fix the decoding of accents in Gnus view
2021-01-18 08:22:30 +02:00
Dirk-Jan C. Binnema 53c9526871 mu4e: add org-mu4e-store-and-capture alias
Let it refer to the new function.

Fixes: #1905.
2021-01-18 08:12:42 +02:00
Christophe Troestler a1664d2189 Fix the decoding of accents in Gnus view
Followup on https://github.com/djcb/mu/issues/1823
Fixes https://github.com/djcb/mu/issues/1886
2021-01-16 12:38:41 +01:00
Dirk-Jan C. Binnema 55fd642b0c
Merge pull request #1868 from tsdh/search-query-completion
Completion for search query keywords and fixed or determinable values
2021-01-15 21:19:55 +02:00