Commit Graph

7154 Commits

Author SHA1 Message Date
Dirk-Jan C. Binnema ac2515e66c build: bump version to 1.12.4
- query when quitting emacs with unhandled marks in a headers buffer
- fix mime-handling
- update sent handling (simplifying it)
- some internal improvements
- number of small fixes / updates
- documentation updates
- re-enable a specific database lock; this makes indexing a bit slower,
  but hopefully avoids some db corruption.
2024-04-15 19:05:22 +03:00
Dirk-Jan C. Binnema a3e1293c4c mu4e-compose: bring make mu4e--fake-pop-to-buffer
All but the default mu4e-compose-switch depend on this.
2024-04-15 08:34:32 +03:00
Dirk-Jan C. Binnema 48822a3af6 mu4e.texi: add note about bbdb address completion
Fixes #2691
2024-04-14 21:40:30 +03:00
Dirk-Jan C. Binnema 29ce96923a test-mu-utils: update parse_date_time tests
We're using ::time_t now.
2024-04-14 11:30:20 +03:00
Dirk-Jan C. Binnema 9f476295e1 mu4e-compose: rework message-sent-hook
Grab the Fcc in the hook (when available).
2024-04-14 10:41:17 +03:00
Dirk-Jan C. Binnema a6ec43a740 mu-utils: update casting from int64_t -> time_t
Esp. for systems with 32-bit time_t.
2024-04-13 20:06:39 +03:00
Dirk-Jan C. Binnema d3e7b9cf05 mu4e-compose: handle no-fcc-path in sent-hook
Workaround for #2688.
2024-04-13 13:08:05 +03:00
Dirk-Jan C. Binnema 32d73260d3 mu4e.texi: add diary example action 2024-04-12 20:05:20 +03:00
Dirk-Jan C. Binnema adb560d960 mu4e-icalendar: use message-reply to generate the reply
using mu4e--compose-setup is a little too fragile.
2024-04-12 18:20:41 +03:00
Dirk-Jan C. Binnema 21ab73e0d0 update IDEAS.org 2024-04-11 19:41:18 +03:00
Dirk-Jan C. Binnema faade24945 mu4e-compose: kill fcc buffer after sending
There's a buried buffer for the fcc file... not quite sure why, but
let's kill it after we've sent the message.

Fixes #2681.
2024-04-11 20:02:01 +03:00
Dirk-Jan C. Binnema 8c29ed56ce mu4e-compose: use find-file-noselect for edit
Oops! This was missing for #2644
2024-04-10 22:57:10 +03:00
Adam Porter 6a12137506 mu4e--view-render-buffer: Disable Gnus bookmark-make-record-function
The function 'gnus-summary-bookmark-make-record' does not work properly with the
faux "appeasement" summary buffer, causing undesired changes in the window
configuration when the message rendering buffer's bookmark function is
called (which some packages, like Activities, Burly, and Dogears do routinely).

See <https://github.com/alphapapa/activities.el/issues/55>.

Reported-by: Daniel Goldin <https://github.com/danielgoldin>
2024-04-10 21:47:04 +03:00
Dirk-Jan C. Binnema ac08a35c5b mu4e-view: re-appease gnus
Otherwise some saving of MIME-parts does not work properly.
2024-04-10 21:47:04 +03:00
Dirk-Jan C. Binnema 884f8d8f19 mu4e-contacts: add mu4e-personal-or-alternative-address-or-empty-p
This can be used as a workaround for #2680.

Fixes #2680.
2024-04-10 21:47:04 +03:00
Dirk-Jan C. Binnema 4938d98f76 mu-indexer: re-enable database lock
Seeing some db corruption; re-enabling this (old) lock to see if it
helps. It _does_ slow down indexing significantly.
2024-04-10 21:47:04 +03:00
Dirk-Jan C. Binnema 9a1b30b47e mu4e-compose: update message sending
We no longer need the 'sent' handling; we can do it directly in
mu4e-compose, which simplifies things.
2024-04-10 21:47:04 +03:00
Dirk-Jan C. Binnema bc51989e65 mu4e-server: get rid of mu4e--server-sent
It's no longer needed.
2024-04-10 21:47:04 +03:00
Dirk-Jan C. Binnema 5e8c7493d9 mu-server: get rid of the sent-handler
We no longer need it; we can handle mu4e's sending directly in
mu4e-compose.
2024-04-10 21:47:04 +03:00
Dirk-Jan C. Binnema eda8db0c3b mu4e-compose: simplify buffer creation
Seems we can avoid the advising of message-pop-to-buffer.
2024-04-10 21:47:04 +03:00
Dirk-Jan C. Binnema 1aad948293 mu4e-compose: avoid find-file
Use find-file-noselect instead.

Fixes #2644
2024-04-10 21:47:04 +03:00
Dirk-Jan C. Binnema 51163f3e60 mu4e-mark: query using when killing buffer or emacs
Depending on mu4e-headers-leave-behavior, query user when killing a
buffer or emacs when there's a buffer with outstanding marks.

Fixes #2649.
2024-04-10 21:47:04 +03:00
Dirk-Jan C. Binnema 88d794c1da build: bump version to 1.12.3
- improve documentation / manpages
- add --reindex option to 'mu index'
- split off mu4e-complete-contact (for wider use)
- work around some mail rendering issues with some emacs version
- update some dependencies
- fix some build warnings on older emacsen
- fix musl build
2024-04-08 23:22:35 +03:00
Dirk-Jan C. Binnema 4a03a30d04 utils: build test-utils when tests are not disabled
Fixes #2685
2024-04-08 18:29:57 +03:00
Dirk-Jan C. Binnema 5186264852 utils: only build mu-tests-utils when tests are enabled
This fixes a compilation failure.

Fixes #2684.
2024-04-06 10:36:18 +03:00
Dirk-Jan C. Binnema be63bf2f80 mu4e-compose: use narrow-to-header before fetch 2024-04-05 23:47:25 +03:00
Dirk-Jan C. Binnema 9557ba43a0 mu4e-view: explicitly scroll after rendering
This seems necessary in some cases; for some reason _this week_ that came
up a few time, although the code is old. Could repro with a bare emacs.

Fixes #2683.
2024-04-05 20:04:24 +03:00
Dirk-Jan C. Binnema f813498f4d mu: add --reindex option for mu index
I.e. without having to reinit explicitly.
2024-04-05 19:03:42 +03:00
Dirk-Jan C. Binnema 4ddbac5d5f lib/xapian-db: improve error message 2024-04-05 19:03:42 +03:00
Dirk-Jan C. Binnema dfc179036c mu4e.texi: add example subject-is-empty check
Fixes #2679.
2024-04-05 19:03:42 +03:00
Dirk-Jan C. Binnema 7771a56026 mu4e: fix some warnings on older emacsen 2024-04-04 21:30:08 +03:00
Dirk-Jan C. Binnema 7688a2b548 mu4e-view: appease gnus no longer
Seems it's not necessary anymore.
2024-04-04 21:30:08 +03:00
Dirk-Jan C. Binnema 2ebdf23dd0 mu4e-compose: explicitly remove Date: before update
Seems older emacsen require that or they won't update the Date, see
issue #2502.
2024-04-04 21:30:08 +03:00
Dirk-Jan C. Binnema 9316d8955b
Merge pull request #2678 from arthurgleckler/master
Fix typos.
2024-04-05 02:29:32 +08:00
Arthur A. Gleckler 270a58ae8e Fix typos. 2024-04-04 11:17:33 -07:00
Dirk-Jan C. Binnema b25f1130de build: rationalize emacs dep checking 2024-04-02 18:39:51 +03:00
Dirk-Jan C. Binnema 15c9a3ea51 build: avoid some test-only declarations
Only when we actually need them.
2024-04-02 07:40:20 +03:00
Dirk-Jan C. Binnema d13feb2d99 mu-contact: move email validation to contacts cache
So we can be sure the regexp is initialized. This _may_ help for
 https://bugzilla.opensuse.org/show_bug.cgi?id=1221861
though it is very hard to tell!
2024-04-02 07:40:20 +03:00
Dirk-Jan C. Binnema 2e40852abc mu4e-compose: turn off message-completion-function
It interferes with mu4e's completion.
2024-04-02 07:39:28 +03:00
Dirk-Jan C. Binnema 5bd0750bce mu4e-compose: split out mu4e-complete-contact
Add a separate public function mu4e-complete-contact which can be used
anywhere (with completion-at-point-functions); and use
mu4e-compose-complete-contact-field in mu4e composition buffers.

Document this as well.
2024-04-02 07:24:56 +03:00
Dirk-Jan C. Binnema 8e981e3f46 thirdparty: use CLI11 v2.4.1 2024-04-01 16:11:30 +03:00
Dirk-Jan C. Binnema f31684bfa6 thirdparty: use libfmt 10.2.1
Mostly to avoid the gcc 14 compilation warnings
2024-04-01 16:01:08 +03:00
Dirk-Jan C. Binnema e2be29fde6
Merge pull request #2677 from MatthewGentoo/bug-928361
mu-utils: Fix build with musl
2024-04-01 20:05:52 +08:00
Matthew Smith 45b4f60348 mu-utils: Fix build with musl
In musl, `stdout` is a macro that expands to `(stdout)`, and
`::(stdout)` is not valid C++.

../mu-1.12.2/lib/utils/mu-utils.hh:268:32: error: expected
  id-expression before '(' token
 268 |                              ::stdout);
     |                                ^~~~~~

Nothing in the Mu namespace is named stdout, so it is safe to drop
the `::`.

Bug: https://bugs.gentoo.org/928361
2024-04-01 11:23:39 +00:00
Dirk-Jan C. Binnema 770a2396de mu4e-obsolete: add alias for mu4e-clear-caches
The function was already marked as obsolete, but did not have
an alias yet; add it now.
2024-04-01 00:01:51 +03:00
Dirk-Jan C. Binnema 5a07364071 mu4e.texi: fix typo 2024-04-01 00:01:39 +03:00
Dirk-Jan C. Binnema d29cf468ff
Merge pull request #2674 from alphapapa/fix/man-page
man: Escape Org heading-like lines in example
2024-03-29 09:53:08 +07:00
Adam Porter 9275068204 man: Escape Org heading-like lines in example 2024-03-28 11:04:05 -05:00
Dirk-Jan C. Binnema 3caa04fc2b
Merge pull request #2668 from Chris00/master
Update install instructions for icalendar
2024-03-19 21:54:27 +02:00
Dirk-Jan C. Binnema fba0828e49 mu4e: set gnus-icalendar-setup as alias for mu4e-icalendar-setup 2024-03-19 21:53:39 +02:00