Commit Graph

7216 Commits

Author SHA1 Message Date
a9872fc536 mu-1: remove extra '~' 2024-07-16 11:02:25 +09:00
a23fc80e37 mu-1: add missing word 2024-07-16 11:01:54 +09:00
8419c85f63 Merge pull request #2721 from Tristan02d/info-typos-fix
Mu4e info manual typos fix
2024-06-28 06:46:21 +03:00
f1132ec7d2 Correct period misplacement 2024-06-28 10:48:57 +09:00
c5ff7abbb1 Add a missing verb 2024-06-28 10:47:05 +09:00
a5a58975df mu4e-view.el: set bookmark-make-record-function later
Otherwise, seems it's overridden. Fixes #2718.
2024-06-27 22:53:01 +03:00
67ea98e36e mu4e-draft: fix mu4e-compose-pre-hook
Run the hook earlier, and ensure mu4e-compose-type &
mu4e-compose-parent-message are set.

As noted in #2715.
2024-06-17 22:13:20 +03:00
e6fd83d00d logging: reduce debug logging a bit 2024-06-17 21:40:58 +03:00
5bd439271d store-worker: temporarily revert
Of course, after merging some problems come up.
Let's fix those first.

This reverts commit f2f01595a5.
2024-06-05 12:21:24 +03:00
853fa32ace mu4e.texi: fix lisp bookmark examples
As per #2711.
2024-06-04 22:30:11 +03:00
4b2d128c93 Merge commit 'store-worker'
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-04 22:27:31 +03:00
525d110f7c mu4e: improve update data
Update doccount after indexing.
2024-06-03 21:01:17 +03:00
b4ff8d62af server: support doccount data request
So we can update doccount in mu4e after indexing
2024-06-03 21:01:17 +03:00
697d6b6b4f server: pass sexp-commmands through store worker
To ensure all Xapian rw commands happen in the same thread.
2024-06-03 21:01:17 +03:00
f2f01595a5 indexer: use store-worker
Use the store worker (-thread) to do all database modification.

Currently, the "removed" field of Progress is always 0.
2024-06-03 21:01:17 +03:00
cf9c09867f store-worker: implement
store-worker is a thread + async queue to throttle requests to a single thread.
2024-06-03 21:01:11 +03:00
c05b28e761 xapian-db: remove locks, transaction levels
Simplify xapian-db: locks should go elsewhere; transaction level add
too much complication.
2024-06-03 21:01:07 +03:00
e978a58400 mu4e-server: support non-numeric versions
For development / testing.
2024-06-01 17:30:16 +03:00
626b16a8f1 mu-config: cosmetic 2024-06-01 17:30:16 +03:00
e3ab780413 message: add default ctor
Useful for stuffing messages in async-queues
2024-06-01 17:30:16 +03:00
1e9f772e0a lib: fix batch-size after db creation
Ensure we use the user-specified batch-size immediately after db creation.
2024-06-01 17:30:16 +03:00
7c22e95b5e mu4e: mark mu4e-sent-func as obsolete
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-06-01 17:30:16 +03:00
a9495f7be5 mu4e-draft: use message-alternative-emails for replies
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-18 00:14:51 +03:00
3ff2f9f1ac mu4e-draft: invoke mu4e-compose-pre-hook
We should invoke it, as documented.
2024-05-18 00:14:07 +03:00
142d91f218 mu4e: some flycheck fixes 2024-05-18 00:10:23 +03:00
66001c9148 mu4e-headers: remove duplicate require 2024-05-17 21:11:39 +03:00
b105fad181 NEWS.org: update 2024-05-11 12:46:27 +03:00
a6208efd50 mu4e: add mu4e-save-message
Convenience function for saving the message-at-point.
2024-05-11 12:46:27 +03:00
aeb6d44172 mu-store/indexer: consume messages from workers
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-08 19:11:40 +03:00
ceed832cb9 mu-query: minor cleanups 2024-05-08 00:06:28 +03:00
c3283dc5ae IDEAS.org: update 2024-05-07 23:53:43 +03:00
23941735df logging: rework a bit, maybe support syslog
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-07 09:27:50 +03:00
b36e492d29 build: bump version to 1.12.5
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-03 18:42:57 +03:00
a2273b69e7 improve documentation 2024-05-03 08:03:39 +03:00
aaf8fbf339 Merge pull request #2703 from a3a3el/bugfix/handle-dt_unknown
scanner: don't skip directory entries with type `DT_UNKNOWN`
2024-05-03 08:02:02 +03:00
332cf249b8 Merge pull request #2702 from dkogan/prefix-reply-all
mu4e-compose-reply with a prefix argument replies to ALL
2024-05-03 08:00:32 +03:00
5a1ca77b47 scanner: don't skip directory entries with type DT_UNKNOWN
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-01 20:43:18 +01:00
c5a0dda9ea mu4e-compose-reply with a prefix argument replies to ALL 2024-05-01 09:50:33 -07:00
808d725254 mu4e-compose: use raw message to feed message-forward
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-01 18:37:48 +03:00
e2bf38298d mu4e-draft: mark m-c-(type|parent-message) as permanent-local
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-01 18:22:53 +03:00
5a48664033 lib: centralize xapian include, enable move semantics
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-05-01 17:02:24 +03:00
32bb79b316 draft: explicitly remove drafts after sending
This seems necessary in some cases.
2024-04-30 18:10:26 +03:00
c56f8e2f06 mu4e-draft: don't treat delete as a function
In mu4e-sent-messages-behavior.

Fixes #2701.
2024-04-30 18:10:26 +03:00
14a882f912 Merge branch 'wip/djcb/composer-rework' 2024-04-28 22:08:58 +03:00
c8bf57955d mu4e-draft: better handle replies
(again) avoid mixing up message-reply-headers.
2024-04-28 22:07:02 +03:00
6e8418bc64 mu-server: better handle msgid-not-found in move
It's opportunistic: messages referred to be msgid may not exist, and
that's okay.
2024-04-28 22:06:07 +03:00
4440594066 mu4e: implement mu4e-compose-post-hook
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-28 10:04:27 +03:00
a49cd03f6b mu4e-drafts: improve mu4e--fcc-path
Reworked from the pull #2698 for the new branch.
2024-04-26 23:36:28 +03:00
a9b78718b2 mu4e-draft/window: handle buffer display in mu4e-window
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-26 23:36:28 +03:00
813ce795ff mu4e-icalendar: integrate with mu4e-compose
So we use context and display settings.
2024-04-26 22:59:48 +03:00