Commit Graph

6155 Commits

Author SHA1 Message Date
Dirk-Jan C. Binnema 6fdc20aeb1 tests: add unit-tests for references with fake message-ids
For #2312.
2022-08-11 23:06:12 +03:00
Dirk-Jan C. Binnema fc88158357 message: update references() implementation
Clean up the implementation at bit, and filter out 'fake' message-ids,
such as the ones from protonmail.

Update documentation.

Add Mu::Message::thread_id().

This fixes #2312.
2022-08-11 23:01:29 +03:00
Dirk-Jan C. Binnema 317fe53ff7 tests: update test helpers and users
Move test-mu-common to mu-test-utils. Use mu_test_init as a wrapper for
g_test_init. Update users.
2022-08-11 22:55:10 +03:00
Dirk-Jan C. Binnema 84cd6942c4 build: bump version to 1.8.8 2022-08-07 12:02:50 +03:00
Dirk-Jan C. Binnema 9aabe74df6 mu4e: add more tests for related/skipdups queries 2022-08-07 12:01:18 +03:00
Dirk-Jan C. Binnema 8a6da6a869 mu4e: be more precise about non-nil in server
As seen in #2310, we should test for non-nil for some parameters rather
then expect them to be literally nil or t.

Also update some docstrings.
2022-08-07 11:47:06 +03:00
Dirk-Jan C. Binnema a4b8471ba6 mu4e: fix mu4e-action-add-org-contact for new format
The sexp address format changed, but mu4e-action-add-org-contact wasn't.

Fixes #2306.
2022-07-28 07:29:31 +03:00
Dirk-Jan C. Binnema c4388b78b6 buld: bump version to 1.8.7 2022-07-24 12:47:47 +03:00
Dirk-Jan C. Binnema 2be36a949d NEWS.org: update 2022-07-24 12:46:19 +03:00
Dirk-Jan C. Binnema 1c57d91e26 mu-find: don't show deleted messages
Filter out messages for which there is no corresponding file.

Fixes #2306.
2022-07-19 21:54:26 +03:00
Dirk-Jan C. Binnema ad7f5cac92 mu4e-message: avoid mu4e-message-at-point misfiring
Belt-and-suspenders fix for already-fixes issue #2299.
2022-07-17 13:57:28 +03:00
Dirk-Jan C. Binnema f77f8f743e mu4e: load mu4e-view earlier
This avoids some setup/configuration problems for some people.

Fixes #2301
2022-07-17 13:53:34 +03:00
Dirk-Jan C. Binnema d62fc66104 mu4e-headers: clear view message when clearing headers
This avoids showing an old message when clicking an empty headers
buffer.

Fixes #2299.
2022-07-16 16:56:55 +03:00
Dirk-Jan C. Binnema b64e0b3194 build: bump version to 1.8.6 2022-07-14 08:16:01 +03:00
Dirk-Jan C. Binnema 9fdcee8c22 test-mu-store-query: add more contact-matching tests 2022-07-14 08:10:15 +03:00
Dirk-Jan C. Binnema 46476fc001 mu4e: add mu4e-copy-thing-at-point
Copy the thing (url or email) at point, similar to the feature in the
pre-gnus view. Bind to 'c' in the message-view.
2022-07-13 23:35:16 +03:00
Dirk-Jan C. Binnema ed93ff4968 message: sanitize maildir
Remove trailing '/' in maildirs, since people have that (like "/foo/"),
and earlier version didn't complain about that.

Fixes #2298
2022-07-13 23:27:54 +03:00
Dirk-Jan C. Binnema 39d7096bba mu4e-main: rewrite mu4e--main-menu
The old one had bit-rotted quite a bit.

Fixes #2296.
2022-07-07 00:52:32 +03:00
Dirk-Jan C. Binnema 2433cf7b89 build: bump version to 1.8.5
So tags / releases link up again.
2022-07-06 01:14:42 +03:00
Dirk-Jan C. Binnema 0521b9e9ea build: bump version to 1.8.4 2022-07-06 01:06:41 +03:00
Dirk-Jan C. Binnema 3dc82e90c3 build: don't install-info with DESTDIR 2022-07-06 01:05:22 +03:00
Dirk-Jan C. Binnema 7bcc676f9f github: update bug template 2022-07-06 01:05:08 +03:00
Dirk-Jan C. Binnema d8bbeb0218 mu-server: more informative error message 2022-07-05 00:11:56 +03:00
Dirk-Jan C. Binnema 4a3069a5b5 mu4e-helpers: fix mu4e-is-mode-or-derived-p 2022-07-05 00:11:34 +03:00
Dirk-Jan C. Binnema dc44165ada mu4e-message: remove dead alias
Fixes #2293
2022-07-05 00:06:53 +03:00
Dirk-Jan C. Binnema cd23debf77 README.org: update
Fix a few typos
2022-07-02 12:22:48 +03:00
Dirk-Jan C. Binnema 8f1d83e4b2 build: add 'lispdir' option
Add lispdir option for installing mu4e in a custom directory, which what
some pre-meson users tended to do with --lispdir.

Passing '-Dlispdir=/tmp/foo/bar' causes the mu4e files to be installed
in /tmp/foo/bar/mu4e.

Should help for issue #2287.
2022-07-02 12:18:51 +03:00
Dirk-Jan C. Binnema a423a8bbcc build: bump version to 1.8.3 2022-07-01 08:31:00 +03:00
Dirk-Jan C. Binnema 5e3e2cf28e build: use install-info when installing mu4e/guile
So the docs can be found.
2022-07-01 08:31:00 +03:00
Dirk-Jan C. Binnema 99eb3bb674 mu4e-compose: handle message-cite-reply-position later
Can't really repro the problem. Perhaps I don't have hidden heders?
Anyway, can't hurt to move it after that.

Fixes #2283.
2022-07-01 08:31:00 +03:00
Dirk-Jan C. Binnema 40517e8a1e meson: make build-time emacs configurable
I.e., use
   meson build -Demacs=/usr/bin/emacs-27.2

Fixes #2286.
2022-06-30 21:31:44 +03:00
Dirk-Jan C. Binnema 86dd8d2bfb README.org: update for 1.8 2022-06-30 21:30:50 +03:00
Dirk-Jan C. Binnema d139be3df6 mu4e.texi: minor improvements 2022-06-30 21:30:27 +03:00
Dirk-Jan C. Binnema 8d2a805672 config: remove help_enabled flag
We of course still have "mu help <command>" but don't suggest help
options that do not exist.

Fixes #1664.
2022-06-30 07:44:03 +03:00
Dirk-Jan C. Binnema ef9351c831 meson: improve coverage target 2022-06-29 22:20:44 +03:00
Dirk-Jan C. Binnema ca8836b631 document: cosmetic 2022-06-29 22:20:34 +03:00
Dirk-Jan C. Binnema 810b9643f4 query: exclude some test code from coverage 2022-06-29 22:20:09 +03:00
Dirk-Jan C. Binnema 97459beed9 maildir: improve testing coverage
Remove some dead/unused code. Update docs. Add test cases.
2022-06-29 22:19:26 +03:00
Dirk-Jan C. Binnema fc25bb2866 server: commit after indexing
So external users see the changes.
2022-06-29 22:18:15 +03:00
Dirk-Jan C. Binnema c4ed3e6ba7 server: fix read-mark propagation
Whenever a message is flagged as 'read', do the same for all the duplicates as well.
This used to work, make it work again.

Fixes #2277
2022-06-29 08:59:40 +03:00
Dirk-Jan C. Binnema 98b0353c00 build: bump version to 1.8.2/465
Some of the changes require re-indexing, so we bump the database
version, too.
2022-06-29 08:00:43 +03:00
Dirk-Jan C. Binnema df80935c2e document: index some sub-parts as well
1. Also add 'normal' terms for some indexable fields
2. Add terms for e-mail address components

And add some tests.

This helps for some corner-case queries (see tests).

Fixes #2278
Fixes #2281
2022-06-29 08:00:43 +03:00
Dirk-Jan C. Binnema 6cb38c8125 mu4e: include version.texi.in for doc generation
We use it for the mu4e ref docs.
2022-06-29 08:00:43 +03:00
Dirk-Jan C. Binnema c1793e0f6b mu4e: generate version.texi in meson build
So docs get the right version
2022-06-29 07:53:27 +03:00
Dirk-Jan C. Binnema 9987ceb7a7 cmd-find: fix link generation
And some minor cleanups.
2022-06-29 07:50:16 +03:00
Dirk-Jan C. Binnema 23ac71e6a7 maildir: add tests for maildir_link / maildir_clear_links 2022-06-29 07:50:16 +03:00
Dirk-Jan C. Binnema eb790727ed build: bump version to 1.8.1 2022-06-26 11:25:11 +03:00
Dirk-Jan C. Binnema 5347c3701c NEWS.org: update 2022-06-26 11:25:11 +03:00
Dirk-Jan C. Binnema 9f3c80f4dd headers: reduced 'related' face priority
Don't use the 'related' face for messages which are *also* unread etc.
2022-06-26 11:25:11 +03:00
Dirk-Jan C. Binnema bdf5e2a9e5 NEWS.org: fix a few typos 2022-06-26 10:25:50 +03:00