Commit Graph

7543 Commits

Author SHA1 Message Date
18fe56a742 mu4e-view: cosmetics 2024-12-09 18:27:28 +02:00
d8d5e4cca5 options: do not canonicalize maildir-path
This doesn't play well with shells that don't expand options (such as
bash) in combination with "ExpandPath".

Fixes #2793.
2024-12-09 18:27:15 +02:00
dee7e5951c utils-file: add unit-test for expand_file 2024-12-09 19:41:58 +02:00
6198732154 NEWS.org: update 2024-12-07 19:42:28 +02:00
5257ebcdf5 mu4e-draft: add some logging to mu4e--set-parent-flags
Also a little refactoring.

This should hopefully help with diagnosing #2478.
2024-12-07 19:40:33 +02:00
0e0d4a0cb6 mu-sexp: add -unix output for json tstamps
The json output (for mu-find etc.) just showed the converted sexp
output, including the clumsy emacs-style tstamps (for changed/date).

Add unix timestamps as well, which are easier to work with outside
emacs.

This handles #2770.
2024-12-07 12:14:55 +02:00
646ad2e840 lib/utils: include fmt/xchar.h
Needed for 'join'
2024-12-06 20:14:11 +02:00
030daeed52 thirdparty/fmt: bump to 11.0.2 2024-12-06 20:09:31 +02:00
6166b435d2 thirdparty/cli11: bump to v2.4.2 2024-12-06 20:01:39 +02:00
49606a76ab mu4e: cosmetics 2024-12-06 19:50:10 +02:00
e14b5a3a48 mu4e: tweak manual for mode-line counts
Fixes #2791.
2024-12-06 19:49:38 +02:00
454cfe3ea6 mu4e: add mu4e-view-mime-parts
Add a special mode for setting the gnus parameters to have images shown
/ buttonized so they can be saved etc.

Fixes #2516.
2024-12-06 19:47:55 +02:00
1b2d9d3847 mu-find: insist on --linksdir for links
Fixes #2790.
2024-12-04 23:18:15 +02:00
ffb3563f11 mu4e: add mu4e-uniquify-save-file-name-function
Make the function to create a new file for saving customizable.
2024-12-04 22:29:12 +02:00
a34a26a5a8 IDEAS.org: include #2787.
Fixes #2787
2024-12-03 22:38:13 +02:00
2341e3d8cb NEWS.org: update 2024-12-03 22:14:30 +02:00
df30f7ed31 mu4e-mime-parts: warn when saving files matching crm-separator
When files contain crm-separator (by default, some comma with option
whitespace), we cannot use mu4e-view-save-attachments since the emacs'
completion mechanism gets confused.

Luckily, we can still use mu4e-view-mime-part-action instead (which uses
numbers for files).
2024-12-03 22:14:30 +02:00
8fefc52eee query: add related: combi-field + test
Add a new combination (pseudo) field "related:", which combines
"message-id" and "references"
2024-12-02 11:43:14 +02:00
05be072676 man: improve mu-query manpage 2024-12-01 23:45:28 +02:00
ed4d0f5e9d tests: add tests for ref: searching 2024-12-01 23:27:32 +02:00
8c7db59972 fields: make combi-fields introspectable
And add the display of combination-fields to 'mu info fields'.
2024-11-30 22:58:15 +02:00
0200cfd647 NEWS.org: update 2024-11-30 11:15:20 +02:00
af87ceaa28 NEWS.org: add note on removal of -st suffix 2024-11-28 23:30:46 +02:00
d1b335f99e doc: update NEWS/mu4e manual 2024-11-28 23:24:42 +02:00
c872efae34 search: make references searchable
Allow searching for message that have the given message-id in
References: or Reply-To:
2024-11-26 11:21:38 +02:00
831deb2364 lib/store-worker: remove
We're not using it.
2024-11-26 11:21:38 +02:00
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