1
0
mirror of https://github.com/djcb/mu.git synced 2024-06-23 07:16:48 +02:00
Commit Graph

5280 Commits

Author SHA1 Message Date
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
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
Dirk-Jan C. Binnema
5ca25e9e89
Merge pull request #1898 from Chris00/describe-binding
Restore C-h b default behavior
2021-01-15 21:16:26 +02:00
Dirk-Jan C. Binnema
a3865d6ba9 index: wait with cleanup until work-queue is empty 2021-01-15 21:07:38 +02:00
Dirk-Jan C. Binnema
bcd96d8a1e mu4e-view: use mm-insert-file-contents
Which should avoid some encoding troubles.
2021-01-15 21:07:38 +02:00
Dirk-Jan C. Binnema
c1a5a690e4 mu4e-proc: update docstring for 'extract' 2021-01-15 21:07:07 +02:00
Christophe Troestler
4acfce6e2c Restore C-h b default behavior
Fixes https://github.com/djcb/mu/issues/1842
2021-01-13 11:49:32 +01:00
Tassilo Horn
03dc7c06fd Add paragraph for query completion to texinfo docs 2021-01-11 15:41:42 +01:00
Tassilo Horn
25beafbdd4 Implement completion for search query keywords and fixed values 2021-01-11 15:41:42 +01:00