Commit Graph

6698 Commits

Author SHA1 Message Date
Dirk-Jan C. Binnema 9004363aa5 cli: merge 'fields' with 'info' command
Update the 'info' command to handle 'fields' as well; remove
fields.
2023-07-05 20:39:47 +03:00
Dirk-Jan C. Binnema 5e184a581f README.org: don't show WSL2 badge
Avoid false advertising
2023-07-02 11:51:13 +03:00
Dirk-Jan C. Binnema f01e572f75 README.org: mark WSL2 as experimental 2023-07-02 11:49:43 +03:00
Dirk-Jan C. Binnema f74de792b2 README.org: make a bit more readable 2023-07-02 11:47:29 +03:00
Dirk-Jan C. Binnema f4183065c3 Makefile: improvements 2023-07-02 11:18:14 +03:00
Dirk-Jan C. Binnema 8fdbe95527 man: small improvements 2023-07-02 11:17:55 +03:00
Dirk-Jan C. Binnema 60b1a5dff7 mu4e/search: clarify sortable fields (threading)
When threads are enabled, only sorting by date is possible; make this
clearer in the UI.

Fixes #2507.
2023-07-02 10:26:09 +03:00
Dirk-Jan C. Binnema 867f3205e2 lib/xapian-db: add missing include unordered_map 2023-07-02 10:08:58 +03:00
Dirk-Jan C. Binnema d6416fca5e cli: add mu-cmd-{add,mkdir-remove}.cc
Missing from previous.
2023-07-02 10:04:01 +03:00
Dirk-Jan C. Binnema c4b5795328 cli: support --ignored-address for init command
Allow for skipping unwanted addresses (such as 'noreply') from the
contacts cache.
2023-07-02 10:00:40 +03:00
Dirk-Jan C. Binnema 5dc41ed811 lib: support ignoring addresses for contacts-cache
Skip annoying 'noreply' & friends.
2023-07-02 00:06:56 +03:00
Dirk-Jan C. Binnema 960a436e77 cli: split off commands into their own .cc files
Smaller files are easier to manage
2023-07-02 00:06:56 +03:00
Dirk-Jan C. Binnema c6fff6a281 all: update for API changes (config etc.)
Use the new & improved APIs.
2023-07-02 00:06:56 +03:00
Dirk-Jan C. Binnema 2acc1c2271 lib/contacts-cache: rework using config
Use the new config class to pass information and serialization.
2023-07-02 00:06:56 +03:00
Dirk-Jan C. Binnema 3791d0c375 lib/store: rework to use xapian-db / config
Simplifies the implementation.
2023-07-02 00:06:56 +03:00
Dirk-Jan C. Binnema c28fde9155 lib: create mu-xapian-db, mu-config
XapianDb is a fairly thing wrapper around Xapian, which handles locking,
exception handling and some tracking.

On top of that, Config add a configuration database for type /
introspectable configuration info.
2023-07-02 00:06:56 +03:00
Dirk-Jan C. Binnema 426c1d35d0 thirdparty: bump tl::expected version 2023-06-27 22:43:29 +03:00
Dirk-Jan C. Binnema fd7c011195 lib: update for api changes, update tests
With the new Sexp. And expand unit tests.
2023-06-27 00:53:23 +03:00
Dirk-Jan C. Binnema ae9607530f utils/sexp: extend and improve tests
Extend functionality for parsing; update documentation, tests.
2023-06-27 00:52:07 +03:00
Dirk-Jan C. Binnema 73f0691662 mu4e-view: restore point in single-window headers buffer
In single-window mode, after quitting the view, explicitly restore the
point in the headers view to the last viewed message (just like in split
view mode).
2023-06-25 11:07:45 +03:00
Dirk-Jan C. Binnema f8fa108090 build: bump version to 1.11.7 2023-06-22 23:52:52 +03:00
Dirk-Jan C. Binnema 32cdc0ce43
Merge pull request #2506 from seanfarley/smf/esc
mu4e-util: allow ESC to exit a choice selection
2023-06-22 23:40:20 +03:00
Sean Farley 91464002b8 mu4e-util: allow ESC to exit a choice selection
I occasionally find myself pressing escape to exit a menu choice in mu4e
and it's a bit unfortunate that nothing happens. As best I could tell,
since this is a C call, none of the keymaps are checked for
`(keyboard-quit)' so we need to explicitly check for ESC here

This was previously fixed in 02b5bc805c
but was inadvertently removed in
0354fa4fac, so more detail was added to
the comment.
2023-06-22 13:17:53 -07:00
Dirk-Jan C. Binnema 0bdab5ae06 contact/display-name: quote "names" with '@'
Apparently, some mail servers want this, and gnus doesn't handle it
automatically.
2023-06-12 23:37:39 +03:00
Dirk-Jan C. Binnema ecf87c5d82 gmime-test: fix leak 2023-06-11 12:23:23 +03:00
Dirk-Jan C. Binnema 713bb4e9e1 mu4e: run mu4e-view-rendered-hook non-read-only
Non-read-only is likely the expected behavior.

Fixes #2500.
2023-06-09 00:30:01 +03:00
Dirk-Jan C. Binnema 616282c4ad mu4e: add mu4e-listp for backward compat
The listp function was only added to emacs 29.

Fixes #2499.
2023-06-08 18:51:22 +03:00
Dirk-Jan C. Binnema b9026c5042 message/fields: add some helpers for combination-fields
such as "recip" and "contacts".
2023-06-04 14:56:40 +03:00
Dirk-Jan C. Binnema 9bab2a4050 utils/sexp: add some convenience
Add some convenience function for dealing the head/tail
Some whitespace / cosmetics
Add operators ==
Add operator !=
Update command handler for this.
2023-06-04 14:56:40 +03:00
Dirk-Jan C. Binnema 3624fdd5f3 mu4e: fix documentation for adding custom marks 2023-06-04 14:56:40 +03:00
Dirk-Jan C. Binnema 00fbcfb39f
Merge pull request #2489 from RuijieYu/fix-type-mu4e-compose-complete-max
* mu4e/mu4e-contacts.el (mu4e-compose-complete-max): fix type
2023-05-29 23:51:58 +03:00
Dirk-Jan C. Binnema d9795f5874
Merge pull request #2494 from stardiviner/patch-1
Fix asking maildir reading completing candidate is text-property
2023-05-28 08:39:34 +03:00
stardiviner 9729e2bba8 Fix asking maildir reading completing candidate is text-property
Some packages like `vertico-prescient` adding text-property to vertico
candidates will break `mu4e-ask-maildir` response.
2023-05-27 07:51:37 +08:00
Dirk-Jan C. Binnema cd3c7b4c61 mu4e-headers: found-handler: set up threads-mode in headers buffer
Ensure we're in headers-mode when setting up thread-mode.
2023-05-23 22:25:06 +03:00
Dirk-Jan C. Binnema eafc81f168 utils: fix non-cld2 build 2023-05-12 21:52:32 +03:00
Dirk-Jan C. Binnema 4a6185bfc3
Merge pull request #2492 from RuijieYu/fix-more-defcustom-types
Fix more defcustom type errors and reworded docs
2023-05-12 21:46:21 +03:00
Dirk-Jan C. Binnema 832d255381 build: bump version to 1.10.6 and update NEWS.org 2023-05-12 21:44:28 +03:00
Ruijie Yu 8f6895b966 Fix more defcustom type errors and reworded docs
* mu4e/mu4e-draft.el
(mu4e-compose-reply-recipients): (mu4e-compose-reply-to-address):
* mu4e/mu4e-thread.el (mu4e-thread-fold-single-children): Clarify
docstrings and fixed type definitions.
2023-05-12 10:56:33 +08:00
Dirk-Jan C. Binnema fee95e1010 man: update documentation (language detection) 2023-05-11 23:29:05 +03:00
Dirk-Jan C. Binnema 7f2eeb1010 message: try to detect body text language
Try to detect the language of the e-mail body and make it searchable.
2023-05-11 23:23:52 +03:00
Dirk-Jan C. Binnema ad64093183 utils: implement language-detector
A thing wrapper around CLD2 with which we can detect the language of an
e-mail message.
2023-05-11 23:23:52 +03:00
Ruijie Yu aee0f72600 * mu4e/mu4e-contacts.el (mu4e-compose-complete-max): update type+doc 2023-05-11 10:52:07 +08:00
Dirk-Jan C. Binnema 0ed7dc2102 mu4e: don't error out in mu4e-view-quit
Fixes #2487.
2023-05-10 23:49:10 +03:00
Dirk-Jan C. Binnema 3756938b82
Merge pull request #2488 from RuijieYu/fix-docstring-mu4e-personal-address-p
Updates to mu4e-contacts.el
2023-05-10 19:07:04 +03:00
Dirk-Jan C. Binnema 91eeed2a27 build: bump version to 1.11.5 + NEWS.org 2023-05-10 18:52:15 +03:00
Dirk-Jan C. Binnema fbb68b80ee mu4e: add actions for archive-url in view/headers 2023-05-10 18:52:15 +03:00
Dirk-Jan C. Binnema d07247b2dd mu4e: add function to get archive-url for mailing list
This is a bit simplified version of the one in mu4e-list-archives.el.
2023-05-10 18:52:15 +03:00
Dirk-Jan C. Binnema 624458caa4 mu4e: add mu4e-fetch-field 2023-05-10 18:52:15 +03:00
Dirk-Jan C. Binnema 0e26634c56 mu4e: remove mu4e-list-archives.el for now
We don't need it (yet)
2023-05-10 18:48:15 +03:00
Ruijie Yu 1ed1e486d4 Updates to mu4e-contacts.el
* mu4e/mu4e-contacts.el (mu4e-personal-address-p): Fix docstring
error (return nil *only if* the address does not match any of the
personal addresses, not the other way around).  Unwrap
unnecessary (if COND t nil) to just COND because its caller
`seq-find' only distinguishes between nil and non-nil.
(mu4e-personal-address): Add space in defun between name and args.
Ensure double space after a sentence ends.  Convert a duplicated
call of (mu4e-server-properties) into using when-let and reusing
its result.
2023-05-10 12:10:13 +08:00