Commit Graph

6530 Commits

Author SHA1 Message Date
Dirk-Jan C. Binnema 360cf62ba6 mu4e-view: better error message when we cannot switch text/html
"This is a pseudo article" isn't very helpful.
2023-02-17 16:03:34 +02:00
Dirk-Jan C. Binnema 8b16e5a449 mu4e: add command mu4e-server-repl
This for testing the mu4e server.
2023-02-17 10:32:21 +02:00
Dirk-Jan C. Binnema 3d4805de0c server: small output improvement
For human users.
2023-02-17 10:20:14 +02:00
Dirk-Jan C. Binnema 9a1733e29d mu4e-folder: make mu4e-cache-maildir-list a defcustom, t
turn it on by default; and let mu4e-create-maildir-maybe clear the
cache when a new dir is created.
2023-02-16 21:22:37 +02:00
Dirk-Jan C. Binnema 47f8f8c382 mu4e-search: cosmetic 2023-02-16 21:22:37 +02:00
Dirk-Jan C. Binnema 0c04300f61 mu4e-helpers: support completing-read for mu4e-read-option
Instead of using mu4e's tradional completion UI, allow for delegating to
some implementation of completing-read.

Default
  mu4e-read-option-use-builtin t

means that things work more-or-less as before.
2023-02-16 21:22:37 +02:00
Al Haji-Ali 51ba56cf6e mu4e-helpers: import new/mu4e--read-char-choice
Starting point; see issue #2157.
2023-02-16 21:22:37 +02:00
Dirk-Jan C. Binnema a8c0bbd390 mu4e-folders: use mu4e-read-option 2023-02-16 21:22:37 +02:00
Dirk-Jan C. Binnema edb8cf17a9 mu4e-bookmarks: use mu4e-read-option
Use the generic function.
2023-02-16 21:22:37 +02:00
Dirk-Jan C. Binnema 0354fa4fac mu4e-helpers: rework mu4e-read-option
Rework the mu4e-read-option code to be a bit easier to (re)use.
2023-02-16 21:22:37 +02:00
Dirk-Jan C. Binnema d55cba7237 mu4e: fix quotes in some docstrings
Escape correctly.
2023-02-15 12:29:24 +02:00
Dirk-Jan C. Binnema e4cf881c91 mu4e: install el copies a read-only
To avoid changing the build/ copies rather than the sources.
2023-02-15 12:29:24 +02:00
Dirk-Jan C. Binnema c9fac49584 build: bump version to 1.9.20, update NEWS.org 2023-02-12 13:00:31 +02:00
Dirk-Jan C. Binnema 92ac6de09c mu4e: support jumping to previous/next thread
in headers view, message view with '{' and '}.
Also update documentation.

Fixes #1523
2023-02-12 12:58:05 +02:00
Dirk-Jan C. Binnema 88cb22d178 mu4e: integrate mkdir better into mu4e
When moving to a non-existent folder, offer to create it and proceed from
there (that _almost_ worked earlier).

Fixes #628
Fixes #477
2023-02-12 11:17:59 +02:00
Dirk-Jan C. Binnema 76fedf4d64 mu-server: make :update for mkdir optional
It's useful to do "opportunistic" mkdir form mu4e; don't send updates in
that case (i.e. with :update nil)
2023-02-12 11:16:47 +02:00
Dirk-Jan C. Binnema c70d4b70d2 mu4e-main: better handle :name workaround for maildirs
Distinguish between the lambda and normal activation functions.
2023-02-12 11:07:42 +02:00
Dirk-Jan C. Binnema e1a160a8e5 mu4e-main: just mu4e-search for maildir query
When activated.
2023-02-12 00:34:06 +02:00
Dirk-Jan C. Binnema c3aed7c821 NEWS.org: update 2023-02-11 17:50:58 +02:00
Dirk-Jan C. Binnema 6559f0f86e mu4e: show actual keybindings in main-view
Let the main-screen show a representation of the *actual* keybindings
rather than assuming the defaults.

For that to work, we need to invoke mu4e-main-mode earlier; add a new
hook mu4e-main-mode-rendered-hook which is invoked after rendering is
complete.

Add a few helpers for this to mu4e-helpers.
2023-02-11 17:50:58 +02:00
Dirk-Jan C. Binnema 5df98d57cb
Merge pull request #2428 from leotaku/bug-reference-no-override
Only add bug-reference setup function after the feature was loaded
2023-02-03 19:07:47 +02:00
Leo Gaskin d4cb318bc1 Only add bug-reference setup function after the feature was loaded
This is done so that we do not override the default defvar value of
bug-reference-auto-setup-functions but instead add our own hook to it.
2023-02-03 13:32:34 +01:00
Dirk-Jan C. Binnema 137e800fd0 mu4e-query-items: clear cached bookmarks/maildirs
When refreshing, so they get properly updated.
2023-02-02 23:48:44 +02:00
Dirk-Jan C. Binnema 66d20d04f5 mu4e-main: small cleanups 2023-02-02 23:48:16 +02:00
Dirk-Jan C. Binnema bbea9e5374 mu4e-bookmarks: whitespace fixes 2023-02-02 23:47:18 +02:00
Dirk-Jan C. Binnema 3212a79846 build: bump version to 1.9.19, update NEWS.org 2023-01-31 23:50:38 +02:00
Dirk-Jan C. Binnema 2255769de7 build: bump schema version, update contacts-cache
Bump schema version to trigger update after we added html processing.

Since we're updating the database schema version, let's use the
opportunity to remove outdated data from the contacts-cache.
2023-01-31 23:41:57 +02:00
Dirk-Jan C. Binnema abfa6f277c mu: index html text as if it were plain text
This is a bit of hack to include html text in results.

Of course, html text is not really plain text, so this is a bit of a
hack until we introduce some html parsing step.
2023-01-31 23:41:57 +02:00
Dirk-Jan C. Binnema ea08378ce6 mu4e-server: sync up error code with backend 2023-01-31 23:41:57 +02:00
Dirk-Jan C. Binnema 7610e86e97 mu4e: move some defcustoms to mu4e-vars.el 2023-01-31 19:50:07 +02:00
Dirk-Jan C. Binnema 0ee86ac923 mu4e: make eldoc support configurable
Add new defcustom, mu4e-eldoc-support, turn it off by default.
2023-01-31 19:50:07 +02:00
Dirk-Jan C. Binnema 4f4568a39a
Merge pull request #2426 from metaspace/master
mu4e: Allow completion for symbolic links in maildir
2023-01-31 19:42:31 +02:00
Andreas Hindborg b3614fd3c2 mu4e: Allow completion for symbolic links in maildir
This patch allows mu4e to autocomplete when `mu4e-root-maildor` contains
symbolic links to other maildirs. Without this patch mu4e can still work when
directories under `mu4e-root-maildor` are symlinks, but it will not autocomplete
properly when using `mu4e-search-maildir`.

Signed-off-by: Andreas Hindborg <nmi@metaspace.dk>
2023-01-31 16:02:30 +01:00
Dirk-Jan C. Binnema b71fe1ef95 NEWS.org: update 2023-01-29 16:40:21 +02:00
Dirk-Jan C. Binnema 86edc7d5fc mu4e: improve server error display
Fixes #2328
2023-01-29 16:37:08 +02:00
Dirk-Jan C. Binnema 3ec960c609 mu: improve mu-error
Add specific error-code for SchemaMismatch

Combine find/cfind no-matches
2023-01-29 15:38:40 +02:00
Dirk-Jan C. Binnema 4449ac9d29 man: improve exit code descriptions 2023-01-29 15:38:06 +02:00
Dirk-Jan C. Binnema e21d59e346 mu init: implement --reinit option
Create new mu database from an existing one.
2023-01-29 13:40:40 +02:00
Dirk-Jan C. Binnema cc664b8128 utils: add missing mu-regex.cc
Fixes #2425
2023-01-29 12:49:52 +02:00
Dirk-Jan C. Binnema c902e296f4 build: bump version to 1.9.18 2023-01-29 12:03:13 +02:00
Dirk-Jan C. Binnema 7db93fb0a7 mu-server: cosmetic 2023-01-29 12:03:13 +02:00
Dirk-Jan C. Binnema 6b4857b189 mu-scanner: ignore some more unusable files 2023-01-29 12:03:13 +02:00
Dirk-Jan C. Binnema 40c3d3568e utils: improve xapian exception handling / reporting 2023-01-29 11:25:02 +02:00
Dirk-Jan C. Binnema 29dc90486b server: find_handler: better handle sort-field-id
Handle invalid sort-fields correctly.
2023-01-29 10:13:29 +02:00
Dirk-Jan C. Binnema a8daec9598 lib: use join_paths
Convert some manual concatenation to the new join_paths helper.
2023-01-29 10:13:29 +02:00
Dirk-Jan C. Binnema 25635c5cfe utils: add join_paths + tests 2023-01-29 10:13:29 +02:00
Dirk-Jan C. Binnema daef904ca1 utils: add Regex::replace + unit tests 2023-01-29 10:13:29 +02:00
Dirk-Jan C. Binnema ba69e2104a utils: remove some dead test code 2023-01-29 10:13:29 +02:00
Dirk-Jan C. Binnema 81a0a4fc41 build: enable readline in MU_HACKER build 2023-01-29 10:13:29 +02:00
Dirk-Jan C. Binnema 3e0c7ecdd9 build: symlink to compile_commands.json to topdir
This allows eg. rmsbolt to work OOB
2023-01-29 10:13:29 +02:00