Commit Graph

7442 Commits

Author SHA1 Message Date
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
075394b35f lib: use time_t_max for empty datetime
In Mu::parse_date_time, when provided with an empty string, return
time_t_max instead of G_MAXINT64. For systems with a 64-bit time_t, there
is no difference. With a 32-bit time_t it caused a test to fail:

    not ok /utils/date-basic - ERROR:../mu-1.12.4/lib/utils/tests/test-utils.cc:92
    void test_date_basic(): assertion failed
    (parse_date_time(std::get<0>(test), std::get<1>(test)).value_or(-1)
      == std::get<2>(test)): (18446744073709551615 == 2147483647)

This edge case probably only affected the test, as when other parts of
the application call parse_date_time (e.g. mu-server.cc and
mu-query-processor.cc), they check if the input string is empty first.
2024-08-26 14:46:54 +00:00
aee76e47a8 mu4e-view: fix epg error handling 2024-08-23 08:19:59 +03:00
1930d4b663 mu4e-view: fallback to raw view for unreadable messages
So users can at least see _something_...
2024-08-22 23:02:15 +03:00
c28bfe04e1 message: detect top-level smime parts + test
Fixes #2745
2024-08-22 22:34:34 +03:00
79dd15424b mu4e-compose: fix mu4e-compose-captured-message from sans-subject
In some but not all cases, a missing subject yielded a description=
without anything else.

Let's avoid that.

Fixes #2746.
2024-08-22 22:12:55 +03:00
687db1aed6 mu-server: cosmetic 2024-08-21 06:19:35 +03:00
407c6ed4d1 xapian-db: improve errors, fix warnings 2024-08-21 06:18:37 +03:00
c58eacc0d5 mu4e: whitespace / typo fixes 2024-08-19 22:13:02 +03:00
6092a26d02 IDEAS.org: move guile revamp 2024-08-18 11:36:52 +03:00
2bf978ea1d github: update issue templates 2024-08-18 11:36:39 +03:00
3de2bc04ab mu4e-draft: handle case where draft was not deleted
Ensure draft is removed also when there's no fcc-path. As suggested by
@malb in #2719.
2024-08-17 11:36:31 +03:00
806033f164 mu4e-query-items: improve documentation
Possibly useful for #2741.
2024-08-16 21:14:00 +02:00
e04d1cf42c mu4e: mention database-caching in FAQ
As a reason for discrepancies between mu and mu4e results; as per #2741.
2024-08-16 21:13:44 +02:00
52e388923f mu4e-view-save-attachments: document limitation
This function assumes that file names are unique; document this
limitation and point users to mu4e-view-mime-part-action.

Fixes #2742
2024-08-16 20:17:03 +02:00
af6ca080a4 mu4e: doc fixes 2024-08-08 12:54:54 +03:00
57a611f1e1 Merge pull request #2740 from eval-exec/patch-1
Update mu-store-worker.hh, remove duplicate `;`
2024-08-08 12:47:14 +03:00
d7426238bd Update mu-store-worker.hh, remove duplicate ;
Fix gcc warning:
```
mu4e                           pre-build              [26/198] Compiling C++ object lib/libmu.a.p/mu-query-parser.cc.o               34.390111
mu4e                           pre-build              In file included from ../lib/mu-store.hh:34,                                   34.390132
mu4e                           pre-build                               from ../lib/mu-query-parser.hh:25,                            34.390140
mu4e                           pre-build                               from ../lib/mu-query-parser.cc:20:                            34.390146
mu4e                           pre-build              ../lib/mu-store-worker.hh:162:23: warning: extra ‘;’ [-Wpedantic]              34.390152
mu4e                           pre-build                162 |         Store& store_;;                                                34.390166
mu4e                           pre-build                    |                       ^                                                34.390172
mu4e                           pre-build                    |                       -                                                34.390177
mu4e                           pre-build              [27/198] Compiling C++ object lib/libmu.a.p/mu-contacts-cache.cc.o             34.538682
```
2024-08-08 15:47:38 +08:00
e6c32f6b02 Merge pull request #2738 from rabuu/canonicalize-maildir
Canonicalize init --maildir argument after expanding
2024-08-06 23:09:35 +03:00
2d7288effa Canonicalize init --maildir argument after expanding
Ensure that `maildir` is an absolute and _canonical_ path when user passes
a custom maildir path using `mu init --maildir PATH`
2024-08-06 16:01:39 +02:00
f01360ae9f lib: commit to disk after indexing 2024-08-04 22:28:13 +03:00
b825e39fdc Merge pull request #2736 from Chris00/master
Make toggling search properties easier to discover
2024-08-03 17:31:51 +03:00
3ec3bedbce Make toggling search properties easier to discover 2024-08-03 13:24:05 +02:00
bf49f72915 mu4e: use mu4e-search-full in doc
mu4e-headers-full-search is obsolete.
2024-08-03 14:02:15 +03:00
208b2c2e04 Merge pull request #2735 from Chris00/master
Minor improvements
2024-08-03 13:59:21 +03:00
9e3c8ba6c2 Doc: Use mu4e-search-toggle-property instead of its obsolete alias 2024-08-02 22:16:21 +02:00