Commit Graph

7317 Commits

Author SHA1 Message Date
d5d57b4327 remove non-single-threaded option
Single-threaded is the build-default, and seems to work well enough for
1.12.7, so remove the option to turn it off.

This is because build-options that influence such low-level/core
behavior are a pain to maintain.
2024-11-26 10:27:52 +02:00
5e340e3b5d mu4e-mime-parts: cosmetics 2024-11-15 18:50:35 +02:00
f68d9a9b40 mu4e.text: minor improvements for compose-related 2024-11-14 21:44:34 +02:00
722c1b8797 Merge pull request #2786 from mstenek/master
mu4e-actions: ensure empty tag removal on message retagging.
2024-11-14 13:24:21 +02:00
f6f389a1eb mu4e-actions: ensure empty tag removal on message retagging. 2024-11-12 23:32:40 -06:00
7e798f50c8 mu4e-mark: handle case when mark line cannot fit
ht: @kpzart.

Fixes #2782.
2024-11-10 14:15:52 +02:00
b0d8d42dd2 indexer: make lazy check even lazier
In lazy-mode, we were skipping directories that did not change; however,
this didn't help for the case were users received new messages in big
maildirs.

So, add another check where we compare the ctime of message files with
the time of the last indexing operation. If it's smaller, ignore the
message-file. This is faster than having to consult the Xapian database
for each message.

Note that this requires in mu4e:
      (setq mu4e-index-lazy-check t)
or
   --lazy-check
as a parameter for 'mu index'.
2024-11-10 13:47:54 +02:00
fa59040ebc message: treat pcks7::smt::Unknown as encrypted
GMime isn't more specific, so let's assume it's encrypted; better than
nothing.

Fixes #2784.
2024-11-10 11:07:15 +02:00
9d960d092f NEWS.org: update 2024-11-03 17:12:47 +02:00
33c09c5722 mu4e-server: demote 'Cannot handle command ...' to message
It was a warning, but seems some users got it a lot (which is a sign
they're spending too much time indexing!); so let's demote it to a mere
message.

Issue #2778.
2024-11-03 17:12:09 +02:00
bbf3482881 mu4e-search: try harder to update baseline
Try to update the query baseline if we're search for the favorite-query,
whether as a bookmark or an "organic" query, through a new function
mu4e--search-maybe-reset-baseline

Note that the query must string-match _exactly_, equivalence is not
enough.

Some cosmetic updates.

Fixes #2775.
2024-10-30 23:12:56 +02:00
ae29b2dd0f mu4e: fix mu4e~headers-maybe-auto-update
The check for # of marked message was flawed since mu4e-mark-marks-num
should we called from the headers buffer (and wasn't, necessarily).

Fixes #2779.
2024-10-29 19:08:34 +02:00
7e6ab29f12 mu4e-view-mime-part-action: unbreak prefix arg
As proposed by user @foudfou on Github.

Fixes #2776.
2024-10-28 21:56:56 +02:00
b4adf328f4 mu4e: use if-let*, when-let*
Avoid the silly byte-compilation warning
2024-10-28 21:50:49 +02:00
0f16b22bf7 build: bump version to 1.12.7 2024-10-27 21:57:05 +02:00
ae3307209a Merge pull request #2773 from zuphinx/doc/mu4e--server-move
doc(mu4e--server-move): typos
2024-10-24 09:46:06 +03:00
36cb0b9f58 doc(mu4e--server-move): typos 2024-10-20 08:46:33 -07:00
954040fa51 IDEAS.org: update for file-name with comma
Closes #2768
2024-10-20 16:56:42 +03:00
7776e2b798 mu4e-mark-at-point: update docstring for 'trash'
Fixes #2767.
2024-10-16 23:51:16 +03:00
814ecc9882 mu4e.texi: document thread-mark behavior when there are no threads
Fixes #2771.
2024-10-16 22:45:22 +03:00
96506300cf mu4e-view-save-attachments: document limitation with crm-separator
As discussed in #2768.
2024-10-09 19:58:20 +03:00
aa4946cfe5 mu4e-mime-parts: don't try to open non-files
When completion fails, don't try to open any files in
mu4e-view-save-attachments.
2024-10-08 23:32:25 +03:00
f9af40adee Merge branch 'wip/djcb/xapian-single-thread'
This makes mu (/mu4e) use only single-threaded access to Xapian((*),
to avoid the problems with #2601 that some people are seeing.

In the mu4e UI, you'll see an '-st' suffix to the version, and
occasionally (hopefully not too often!) you get a warning from mu4e when
trying to talk to mu4e while indexing is underway,

  "Cannot handle command while indexing, please retry later."

which means just what is says.

(*) unless you pass `-Dxapian-single-threaded=false` to meson.
2024-10-08 22:14:02 +03:00
0da33b3d7f mu4e-server: fix some flycheck warnings 2024-10-08 11:23:04 +03:00
e36d1554de mu4e: handle xapian single-threaded operation
Provide user feedback when we need to wait for the indexing to finish.

Suffix the version with "-st" when this is the case.
2024-10-08 11:23:04 +03:00
d2343c6d62 mu-server: try avoiding xapian multi-threaded access
Try to avoid multi-threaded operations with Xapian.

This remove the thread workers during indexing, and avoids the indexing
background thread. So, mu4e has to wait once again during indexing.

We can improve upon that, but first we need to know if it avoids the
problem of issue #2756.
2024-10-08 11:23:04 +03:00
8176663002 IDEAS.org: update
Fixes #2759
2024-09-28 19:18:15 +03:00
27ba0a0d02 Merge pull request #2760 from markk/mk/query-man-page
Correct mu-query man page
2024-09-25 19:32:56 +03:00
fbc2f38dbc Merge pull request #2761 from falsifian/falsifian/typos
Fix typos.
2024-09-25 19:32:23 +03:00
9e0d0b8355 mu-init: fix typo in manpage, improve 2024-09-25 19:27:14 +03:00
262353996a mu-info: fix typo 2024-09-25 19:27:14 +03:00
413c03ea1c mu4e-draft: always save before sending
This ensures fields (like Date:) are updated.
2024-09-25 19:27:14 +03:00
23b39759e0 man: update description of logging
Fixes #2762.
2024-09-24 23:33:00 +03:00
29dc1cea0c Fix typos. 2024-09-22 17:27:18 +00:00
18a9bd4a19 mu4e-org: ensure mu4e is started if not already
In order to show stored messages/queries, load mu4e if needed, since it
may not have been loaded already.
2024-09-17 11:06:44 +03:00
6426363e01 Correct mu-query man page
Update mu-query man page to point to the mu info fields command.
2024-09-15 09:46:34 +01:00
61ba9296b2 man: attempt to avoid \u escape in man building
This may help for #2756
2024-09-15 10:59:44 +03:00
8ac97acb7e Merge pull request #2755 from quaepoena/zero-width-spaces
Replace zero-width spaces in man pages with an empty string.
2024-09-05 05:46:09 +03:00
QP
0282c8551d Replace zero-width spaces in man pages with an empty string.
The zero-width spaces are added by the `man-link` macro to ensure bold text
formatting when exporting from org, but they interfere with man page
functionality in Emacs.
2024-09-04 12:34:53 +02:00
37bb5fe8c0 mu4e-headers: fix elisp docstring warnings 2024-09-03 23:02:35 +03:00
89f2162729 mu4e-draft/helpers: use newer message-hide-headers
It seems the older (<= emacs 28 at least) message-hide-headers caused
trouble when editing drafts with mu4e in some cases.

So use the _newer_ version of this function, imported as
mu4e--message-hide-headers.

Fixes #2661.
2024-09-03 23:02:35 +03:00
b9cf667be9 mu4e-helpers: cosmetics
Whitespace etc. fixes
2024-09-03 23:02:35 +03:00
e9ca3ad9f6 scanner: ignore emacs auto-saves
It's better to _not_ have auto-saves for your draft directory, but if
you do, ignore them at least in mu.

It may still trip up mbsync and friends, but not much we can do about
that.

Clean up the implementation a bit as well.
2024-09-03 23:02:35 +03:00
db28b15f99 Merge pull request #2752 from quaepoena/mu4e-context-policy-help
Fix typo in mu4e-context.el
2024-09-02 17:49:57 +03:00
4397c03049 Fix typo in mu4e-context.el 2024-09-02 08:36:58 +02:00
797ca3e37f mu4e-draft: move the user-agent setting
This updates commit 411407f03e and moves
the check to where we set the special headers.
2024-08-28 23:08:15 +03:00
fbe8c24cef Merge pull request #2751 from manphiz/issue-2750
Ensure `User-Agent' is set
2024-08-28 23:03:41 +03:00
411407f03e Ensure `User-Agent' is set
* Set `message-newsreader' before calling `mu4e--prepare-draft-buffer' so that
`User-Agent' is properly set.

* Fixes #2750.
2024-08-28 12:40:53 -07:00
f101e0d4ca mu4e: cosmetics 2024-08-26 22:55:05 +03:00
e63110fad9 Merge pull request #2749 from MatthewGentoo/utils-datetime-max
lib: use time_t_max for empty datetime
2024-08-26 22:26:30 +03:00