1
0
mirror of https://github.com/djcb/mu.git synced 2024-06-28 07:41:04 +02:00
Commit Graph

5684 Commits

Author SHA1 Message Date
Dirk-Jan C. Binnema
aebec9714b mu4e-headers: save-excursion when updating message
Otherwise, the updated header may end up in the wrong buffer.

Fixes: #2172.
2021-10-31 11:42:50 +02:00
Dirk-Jan C. Binnema
6005cf1b6c mu4e: Update mu4e() docstring
Typos.
2021-10-31 11:27:55 +02:00
Dirk-Jan C. Binnema
5d155841a6 mu4e: Use mu4e-query-rewrite-function
The (new) mu4e-search-query-rewrite-function is a bit too long, let's keep the
old one.
2021-10-31 11:26:58 +02:00
Dirk-Jan C. Binnema
892b9ce1fa mu4e: add note about restarting to mu4e-mu-home 2021-10-30 15:46:03 +03:00
Dirk-Jan C. Binnema
2c432013d1 .github: Remove automated bug report template for now
There were some problems with it, so github didn't even use it. Remove it for
now, so the old template works again.
2021-10-28 09:26:07 +03:00
Dirk-Jan C. Binnema
81133c4022 mu4e: Fix typo 2021-10-28 09:16:44 +03:00
Dirk-Jan C. Binnema
e7d6d340d0
Merge pull request #2165 from yamanq/contact_completion
Add contact completion in search
2021-10-28 07:58:34 +03:00
Yaman Qalieh
f1570dafd4 Add contact completion in search 2021-10-27 14:47:08 -04:00
Dirk-Jan C. Binnema
bd40ffa718 mu4e-headers: fix updated check (for auto-update)
The check for # of updated messages was wrong; fix it.

Fixes: #2163.
2021-10-26 14:13:34 +03:00
Dirk-Jan C. Binnema
3422bf9da2
Merge pull request #2162 from thierryvolpiatto/mu4e_bug_report
Mu4e bug report as yaml (fixes #2135)
2021-10-23 11:16:19 +03:00
Dirk-Jan C. Binnema
b64d58e7e4 build: bump version to 1.7.4
The server <-> mu4e protocol changed, so we need to bump the version.
2021-10-23 11:06:45 +03:00
Dirk-Jan C. Binnema
9a2fd441c5 mu-query: honor maxnum in threaded queries 2021-10-23 11:06:45 +03:00
Dirk-Jan C. Binnema
759a88687f NEWS.org: Update 2021-10-23 11:06:45 +03:00
Dirk-Jan C. Binnema
90114fd349 .clang-format: tweak a bit more 2021-10-23 11:06:45 +03:00
Thierry Volpiatto
3e7c1c3412
Merge branch 'djcb:master' into mu4e_bug_report 2021-10-22 17:17:51 +02:00
Dirk-Jan C. Binnema
0303f5d931 mu4e: compose/draft: remove some mostly obsolete things
Avoid some compiler warnings.
2021-10-22 08:33:51 +03:00
Dirk-Jan C. Binnema
c63acd14a4 mu4e: meson hack to appease emacs native compilation
It doesn't really support srcdir != builddir, so copy the sources to the
builddir and all are happy.
2021-10-22 08:33:51 +03:00
Dirk-Jan C. Binnema
8ad5fd49c9 mu4e: support batched query results
Support the new batched query results from the mu server; these are much faster
to render (2-3x it seems).

Rearrange the code a bit to avoid byte-compiler warnings.

Obsolete mu4e-header-func, to be replaced by mu4e-headers-append-func.
2021-10-22 08:33:51 +03:00
Dirk-Jan C. Binnema
f17995b113 lib/server: send query results in batches
Instead of one message (header) at a time, send batches of them; this allows for
much faster handling in mu4e.
2021-10-22 08:33:51 +03:00
Dirk-Jan C. Binnema
e46347aa54 lib/index/scanner: tidy up a bit
Use strcmp instead of hand-optimized. Avoid tmp/ directories.
2021-10-22 08:33:51 +03:00
Dirk-Jan C. Binnema
f3e3cc9ca2 mu4e: always run mu4e-index-updated-hook after index
Fire mu4e-index-updated-hook after any index operations, where anything changed
or not. Add a new variable `mu4e-index-update-status' which can be used to see
what changed (if anything) in the last indexing operation.

Keep mu4e-message-changed-hook in place; it only fires when a message
changed (and when it is update).

Remove the long-obsolete `mu4e-msg-changed-hook'.
2021-10-22 08:33:51 +03:00
Dirk-Jan C. Binnema
4adee3c1f0
Merge pull request #2161 from tsdh/re-enable-search-query-maildir-completion
Re-enable maildir completion in search query
2021-10-22 08:32:32 +03:00
Tassilo Horn
aa59f9ce08 Re-enable maildir completion in search query
This has been commented out in 3cd127d8a for no apparent reason.
2021-10-21 22:13:10 +02:00
Dirk-Jan C. Binnema
428dddd74e lib/mu: fix a few leaks
Thanks to valgrind
2021-10-20 23:06:28 +03:00
Dirk-Jan C. Binnema
928fd82f02 Makefile.meson: add test-valgrind target
For valgrinding unit-tests
2021-10-20 23:05:48 +03:00
Dirk-Jan C. Binnema
0e0361fb5c build: bump version to 1.7.3
The previous (mu4e <-> mu protocol update) changes require a version update.
2021-10-20 22:43:42 +03:00
Dirk-Jan C. Binnema
701ca75536 mu4e/server: split message / metadata
Split message and metadata, so we can use pristine (possibly pre-cached)
messages. Update dependencies.
2021-10-20 22:41:48 +03:00
Dirk-Jan C. Binnema
7fe1076471 bump version to 1.7.2 2021-10-20 20:14:25 +03:00
Dirk-Jan C. Binnema
89014ecd06 index/store: simplify transaction handling
only have transactions for indexing, and make it opportunistic. All other ops do
not use transactions.
2021-10-20 20:14:25 +03:00
Dirk-Jan C. Binnema
3dd721d5a3 clang-format: update c/cc coding style
Update all cc code using .clang-format; please do so as well for future PRs
etc.; emacs has a handy 'clang-format' mode to make this automatic.

For comparing old changes with git blame, we can disregard this one using
--ignore-rev

(see https://www.moxio.com/blog/43/ignoring-bulk-change-commits-with-git-blame )
2021-10-20 12:26:16 +03:00
Dirk-Jan C. Binnema
09935cc4b3 build: bump version to 1.7.1 2021-10-20 12:02:26 +03:00
Dirk-Jan C. Binnema
3e4771ad1c mu-options: avoid clang warning 2021-10-18 22:32:46 +03:00
Dirk-Jan C. Binnema
88f5f92b72 build: fix macos/clang build (disable guile)
error: invalid argument '-std=gnu11' not allowed with 'C++'
2021-10-18 22:31:44 +03:00
Dirk-Jan C. Binnema
8699123684 .clang-format: update 2021-10-18 21:52:37 +03:00
Dirk-Jan C. Binnema
49637dbc3a lib: replace CATCH_BLOCK macros with template magic 2021-10-18 21:52:37 +03:00
Dirk-Jan C. Binnema
7156ff7fac mu4e: fix some compiler warnings 2021-10-18 21:52:37 +03:00
Dirk-Jan C. Binnema
5dfd6afdf0 guile: fix user script path detection
Fixes: #2159.
2021-10-18 21:52:37 +03:00
Dirk-Jan C. Binnema
672d0c7238 store: don't try to commit when there's no transaction
Avoids some error warning.
2021-10-16 11:15:19 +03:00
Dirk-Jan C. Binnema
1a449dd885 meson.build: Improve guile detection 2021-10-16 11:15:12 +03:00
Dirk-Jan C. Binnema
4a0490acbf
Merge pull request #2152 from progfolio/fix/osbolete-fn
mu4e-search-edit: Fix obsolete alias; update documentation
2021-10-13 14:47:48 +03:00
Dirk-Jan C. Binnema
aae5dfaec4
Merge pull request #2156 from corderophi678/patch-1
Add Emacs v29 support for enabling mu4e
2021-10-13 14:45:20 +03:00
Thierry Volpiatto
e564796ec9
Try to fix issue #2135 2021-10-13 11:16:48 +02:00
Dr. Rich Cordero
632a54b556
Add Emacs v29 support for enabling mu4e 2021-10-11 08:38:01 -04:00
Dirk-Jan C. Binnema
5db8fdc49d mu4e: Do not defvar abbrev tables
I'm not quite sure why it was done in the first place, and it seems to have
unwanted side-effects. So let's turn it off and see if anything breaks.

Fixes: #2146.
2021-10-06 08:11:30 +03:00
Nicholas Vollmer
baae737674 mu4e-search-edit: Fix obsolete alias; update documentation
Replace obsolete variable alias with obsolete function alias for mu4e-headers-search-edit.
Update docstring for mu4e-view-search-edit to reference the new function.
2021-10-03 10:33:49 -04:00
Dirk-Jan C. Binnema
11d41bd18f
Merge pull request #2150 from thierryvolpiatto/Fix_gnus-article-buffer_clash_with_gnus
Reset `gnus-article-buffer` in mu4e-view (#2139)
2021-09-30 18:50:38 +03:00
Thierry Volpiatto
a6207d6d08
Reset gnus-article-buffer in mu4e-view
This is needed when gnus is used along mu4e for other purpose like
reading News, in this case gnus rename `gnus-article-buffer` and we
end up with an unrelated buffer-name in mu4e.
2021-09-30 16:56:46 +02:00
Dirk-Jan C. Binnema
91cf2dcec7 mu-find: unbreak json output
Fixes: #2149

Needs backporting to 1.6.x
2021-09-30 15:41:38 +03:00
Dirk-Jan C. Binnema
4dc15334a6 mu4e-compose: fix some overly long lines 2021-09-30 15:41:38 +03:00
Dirk-Jan C. Binnema
a8ddc1728d
Merge pull request #2147 from tsdh/mu4e--update-buffer-fix
Fix refs to mu4e~update-buffer which has been renamed to mu4e--update-buffer
2021-09-30 15:39:17 +03:00