Commit Graph

5261 Commits

Author SHA1 Message Date
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
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
Yuri D'Elia c311dc4d36 Fix 'mu4e-interrupt-update-mail alias definition 2021-01-11 10:23:55 +02:00
Dirk-Jan C. Binnema 5213adeb2c
Merge pull request #1875 from thierryvolpiatto/save_attachment
Fix #1790 by providing mu4e-view-gnus-save-mime-parts
2021-01-11 09:45:12 +02:00
Dirk-Jan C. Binnema 4dbc6ac399 mu4e-view: Use 'mu4e not "mu4e" when extracting
And param is a string.

Fixes: #1869.
Fixes: #1865.
2021-01-03 15:27:16 +02:00
Dirk-Jan C. Binnema b09b3cb2bb mu4e-main: fix hide-personal-addresses typo
Fixes #1879.
2021-01-03 14:58:28 +02:00
Dirk-Jan C. Binnema 6566ced33b
Merge pull request #1885 from tsdh/selecting-deleted-buffer-on-quit
Debugger entered--Lisp error: (error "Selecting deleted buffer") when quitting mu4e
2021-01-03 14:29:27 +02:00
Tassilo Horn e76f894476 Fix Selecting deleted buffer when quitting mu4e 2021-01-03 12:54:13 +01:00
Thierry Volpiatto 00651acaab
Fix #1790 by providing mu4e-view-gnus-save-mime-parts
in replacement of mu4e-view-save-attachment-multi for gnus viewers.

The alias mu4e-view-save-attachment have been replaced by a wrapper function
that calls either mu4e-view-save-attachment-multi or
mu4e-view-gnus-save-mime-parts depending of the context.
2020-12-27 09:46:18 +01:00
Dirk-Jan C. Binnema 46bd705131
Merge pull request #1874 from thierryvolpiatto/Remove_null_byte
Remove null byte added probably by error
2020-12-26 13:54:01 +02:00
Thierry Volpiatto 4830e7de14
Remove null byte added probably by error 2020-12-26 08:49:19 +01:00
Dirk-Jan C. Binnema 39bb5dd47b
Merge pull request #1871 from juanjosegarciaripoll/readline-fix
Make libreadline really optional.
2020-12-24 17:50:01 +02:00
Juan Jose Garcia-Ripoll 34964509f7 Make libreadline really optional. 2020-12-24 10:19:02 +01:00
Dirk-Jan C. Binnema 78636ba3df
Merge pull request #1859 from tsdh/use-mu4e-query-rewrite-function-for-counts
Use mu4e-query-rewrite-function also for computing bookmark counts
2020-12-17 23:27:04 +02:00
Tassilo Horn fe6cbf5949 Use mu4e-query-rewrite-function also for computing bookmark counts
Until now, the bookmark queries were sent to mu in their original form.  Thus,
if you have `mu4e-query-rewrite-function` set, the numbers shown next to the
bookmarks didn't reflect the actual number of query results you'd get when
opening a bookmark view.

With this commit, the `mu4e-query-rewrite-function` is applied and the result
is sent to mu for evaluation (in `mu4e~start`) and the likewise the rewritten
queries are used to find the matching one in the last query results (in
`mu4e~main-bookmarks`).

* mu4e/mu4e-utils.el (mu4e~start): Send the rewritten queries for evaluation to
mu.
* mu4e/mu4e-main.el (mu4e~main-bookmarks): Compare last mu query results with
rewritten queries.
2020-12-13 17:06:11 +01:00
Dirk-Jan C. Binnema 3ff8fd165f cmd-server: use std::fflush 2020-12-07 00:35:58 +02:00
Dirk-Jan C. Binnema 0ef88af34e cmd-server: fflush before reading next line
Seems this is necessary on Windows/MSYS2. HT to juanjosegarciaripoll.
2020-12-06 17:04:10 +02:00
Dirk-Jan C. Binnema 273eb822d5 mu4e: add mu4e-last-query-result[s]
This makes the most recent results from the queries (i.e. the numbers)
available using the supported 'mu4e-' API.

Fixes: #1845.
2020-12-06 14:48:46 +02:00
Dirk-Jan C. Binnema aba0ab3629 mu4e: cosmetics 2020-12-06 13:20:13 +02:00
Dirk-Jan C. Binnema 0ebf456612 lib: comment out some future unit test
Don't break the build!
2020-12-05 12:20:19 +02:00
Dirk-Jan C. Binnema 7182db5b0d ax_lib_readline: only accept the _real_ readline
Seems the other ones are not compatible enough

Fixes: #1852
2020-12-05 11:59:07 +02:00