summaryrefslogtreecommitdiff
AgeCommit message (Collapse)Author
2024-06-05store-worker: temporarily revertDirk-Jan C. Binnema
Of course, after merging some problems come up. Let's fix those first. This reverts commit f2f01595a51380ae38aafb4cd11a0d3c17a33a10.
2024-06-04mu4e.texi: fix lisp bookmark examplesDirk-Jan C. Binnema
As per #2711.
2024-06-04Merge commit 'store-worker'Dirk-Jan C. Binnema
This implements some rework of the way mu writes to the database; the update ensures that everything goes through the "store-worker" which maintains a queue, and does all the writes in a single (worker) thread; this attempt to fix come cases of database corruption we say; or at least make those a lot less likely
2024-06-03mu4e: improve update dataDirk-Jan C. Binnema
Update doccount after indexing.
2024-06-03server: support doccount data requestDirk-Jan C. Binnema
So we can update doccount in mu4e after indexing
2024-06-03server: pass sexp-commmands through store workerDirk-Jan C. Binnema
To ensure all Xapian rw commands happen in the same thread.
2024-06-03indexer: use store-workerDirk-Jan C. Binnema
Use the store worker (-thread) to do all database modification. Currently, the "removed" field of Progress is always 0.
2024-06-03store-worker: implementDirk-Jan C. Binnema
store-worker is a thread + async queue to throttle requests to a single thread.
2024-06-03xapian-db: remove locks, transaction levelsDirk-Jan C. Binnema
Simplify xapian-db: locks should go elsewhere; transaction level add too much complication.
2024-06-01mu4e-server: support non-numeric versionsDirk-Jan C. Binnema
For development / testing.
2024-06-01mu-config: cosmeticDirk-Jan C. Binnema
2024-06-01message: add default ctorDirk-Jan C. Binnema
Useful for stuffing messages in async-queues
2024-06-01lib: fix batch-size after db creationDirk-Jan C. Binnema
Ensure we use the user-specified batch-size immediately after db creation.
2024-06-01mu4e: mark mu4e-sent-func as obsoleteDirk-Jan C. Binnema
mu4e-sent-func was used internally (triggered by mu-server), but is no longer in use, so let's remove it and mark as obsolete. Obsolete its callers as well.
2024-05-18mu4e-draft: use message-alternative-emails for repliesDirk-Jan C. Binnema
Set message-alternative-emails to the special `mu4e-personal-or-alternative-address-p' such that it honors both user-specified alternative address as well as the mu personal addresses. Fixes #2708.
2024-05-18mu4e-draft: invoke mu4e-compose-pre-hookDirk-Jan C. Binnema
We should invoke it, as documented.
2024-05-18mu4e: some flycheck fixesDirk-Jan C. Binnema
2024-05-17mu4e-headers: remove duplicate requireDirk-Jan C. Binnema
2024-05-11NEWS.org: updateDirk-Jan C. Binnema
2024-05-11mu4e: add mu4e-save-messageDirk-Jan C. Binnema
Convenience function for saving the message-at-point.
2024-05-08mu-store/indexer: consume messages from workersDirk-Jan C. Binnema
Add store::consume_message, which is like add message but std::move from the caller such that the messages longer has copies (with Xapian::Document) on the caller side; this is to avoid threading issues.
2024-05-08mu-query: minor cleanupsDirk-Jan C. Binnema
2024-05-07IDEAS.org: updateDirk-Jan C. Binnema
2024-05-07logging: rework a bit, maybe support syslogDirk-Jan C. Binnema
Seems journal logging fails on NetBSD (no surprise), but has some unwanted/not-fully-understood side-effects. In any case, outside Linux there's no use in even trying to use journald; so we don't do that anymore. Add conditional support for syslog (requires glib 2.80).
2024-05-03build: bump version to 1.12.5v1.12.5Dirk-Jan C. Binnema
New version 1.12.5 - Rework message composition; split off parts into mu4e-draft.el This tries harder to maintain the current buffer as expected - This fixes e.g. emacs-report-bug handling - New hook mu4e-compose-post-hook for tweaking what mu4e does when we're done with a message (after sending, cancelling, ...). By default, it tries to close the frame if needed, and restore the window configuration. See its docstring. - Better handle forwarding of encoded messages - Don't remove non-mu4e completion in composer - Integrate iCalendar support with message-composition - Handle mu4e-sent-messages-behavior correctly when it's a function - Better support NetBSD - Support some file systems that don't put the file type in d_type - Improve documenation
2024-05-03improve documentationDirk-Jan C. Binnema
2024-05-03Merge pull request #2703 from a3a3el/bugfix/handle-dt_unknownDirk-Jan C. Binnema
scanner: don't skip directory entries with type `DT_UNKNOWN`
2024-05-03Merge pull request #2702 from dkogan/prefix-reply-allDirk-Jan C. Binnema
mu4e-compose-reply with a prefix argument replies to ALL
2024-05-01scanner: don't skip directory entries with type `DT_UNKNOWN`Jeremy Sowden
According to the readdir(2) man-page, not all file-systems support returning the entry's file-type in `d_type`. For example, the reprotest reproducibility tool, uses the disorderfs FUSE file-system to shuffle the order in which directory entries are returned, and this does not set `d_type`. Therefore, in addition to entries with type `DT_DIR` and `DT_LNK`, also process entries with type `DT_UNKNOWN`. Signed-off-by: Jeremy Sowden <azazel@debian.org>
2024-05-01mu4e-compose-reply with a prefix argument replies to ALLDima Kogan
2024-05-01mu4e-compose: use raw message to feed message-forwardDirk-Jan C. Binnema
Seemingly, message-forwarded needs the raw message, not the decode one for proper forwarding when the parent message is encoded in some way. Add a little hack / workaround for that. See #2662.
2024-05-01mu4e-draft: mark m-c-(type|parent-message) as permanent-localDirk-Jan C. Binnema
The variables mu4e-compose-parent-message & mu4e-compose-type are buffer-local as well as permanent-local. That way, they'll survive the mode change to mu4e-compose-mode and we can use them in the corresponding mode-hook.
2024-05-01lib: centralize xapian include, enable move semanticsDirk-Jan C. Binnema
Only include xapian.h in one place, so we can have consistent options. With that in place, we can enable C++ move semantics. We don't do anything with that yet, but we check in the meson.build file to see if we have the required xapian version.
2024-04-30draft: explicitly remove drafts after sendingDirk-Jan C. Binnema
This seems necessary in some cases.
2024-04-30mu4e-draft: don't treat delete as a functionDirk-Jan C. Binnema
In mu4e-sent-messages-behavior. Fixes #2701.
2024-04-28Merge branch 'wip/djcb/composer-rework'Dirk-Jan C. Binnema
2024-04-28mu4e-draft: better handle repliesDirk-Jan C. Binnema
(again) avoid mixing up message-reply-headers.
2024-04-28mu-server: better handle msgid-not-found in moveDirk-Jan C. Binnema
It's opportunistic: messages referred to be msgid may not exist, and that's okay.
2024-04-28mu4e: implement mu4e-compose-post-hookDirk-Jan C. Binnema
A hook for when we're done with message composition. We populate it with a function to kill created frames and one to attempt to restore window configuration.
2024-04-26mu4e-drafts: improve mu4e--fcc-pathDirk-Jan C. Binnema
Reworked from the pull #2698 for the new branch.
2024-04-26mu4e-draft/window: handle buffer display in mu4e-windowDirk-Jan C. Binnema
Handle buffer display where all mu4e's buffer display is done: in mu4e-window.el. Avoid overly long lines in mu4e-window.el.
2024-04-26mu4e-icalendar: integrate with mu4e-composeDirk-Jan C. Binnema
So we use context and display settings.
2024-04-26mu4e-compose: split off parts in mu4e-draft; reworkDirk-Jan C. Binnema
Move draft-creation part of message-composition to a new file mu4e-drafts However, this is more than just some refactoring: rework the message (draft) setup as such to ensure we always get a (non-active, live) buffer back from the composition process. This also fixes (progn (compose-mail "test@example.org" "Test") (insert "TEST")) as mentioned on the mailing list. Fixes #2699
2024-04-26mu4e-compose: prepare for rebaseDirk-Jan C. Binnema
temporarily remove the mu4e-sent-messages-behavior change, it comes back in a slightly different way in the next commits.
2024-04-25Merge pull request #2698 from josephmturner/fix-mu4e--fcc-pathDirk-Jan C. Binnema
Fix: Put sent mail in correct location when `mu4e-sent-messages-behavior` is a function
2024-04-24mu4e-compose: Don't nest pcaseJoseph Turner
2024-04-24mu4e-compose: fix when mu4e-sent-messages-behavior is functionalJoseph Turner
This commits fixes a regression introduced in 85bfe763362b95935a3967f6585e14b3f9890a70 , at which point sent mails ended up in the "cur/" subdirectory of the root maildir when the mu4e-sent-messages-behavior user option was set to a function.
2024-04-23mu4d-contacts: fix typoDirk-Jan C. Binnema
2024-04-23mu4e-compose: don't interfere with non-mu4e completionDirk-Jan C. Binnema
When enabled, attempt mu4e's auto-completion the first in line (in completion-at-point-functions); but don't remove any other completions the user may have set up. Fixes #2697.
2024-04-21compat: include sys/wait.h where neededDirk-Jan C. Binnema
netbsd needs this explicitly, other systems let us get away without it.