1
0
mirror of https://github.com/djcb/mu.git synced 2024-06-26 07:29:17 +02:00
Commit Graph

7120 Commits

Author SHA1 Message Date
Dirk-Jan C. Binnema
4cac4a415c
Merge pull request #2657 from rrudakov/fix/2656-cite-reply-position
Respect `message-cite-reply-position` customization
2024-03-04 16:58:36 +02:00
Dirk-Jan C. Binnema
e9c8ab9c9d
Merge pull request #2655 from rrudakov/master
Fix typo
2024-03-04 16:57:18 +02:00
Roman Rudakov
f779e30dda
[#2656] Respect message-cite-reply-position customization 2024-03-04 15:15:50 +01:00
Roman Rudakov
8c8abe5a23
Fix typo 2024-03-04 11:09:56 +01:00
Dirk-Jan C. Binnema
1e5a807b69 build: bump version to 1.12.1 2024-03-03 09:44:30 +02:00
Dirk-Jan C. Binnema
e28c2487d3 mu4e-compose: return new buffer from mu4e--compose-setup
I.e, and this applies to all mu4e-compose-* composition functions as
well.

Fixes #2653.
2024-03-03 09:44:30 +02:00
Dirk-Jan C. Binnema
131f084677 mu4e.texi: remove reference to context-switch while editing 2024-03-03 09:31:26 +02:00
Dirk-Jan C. Binnema
20878c8725 mu4e-compose: tweak buffer handler, add display-buffer
Add 'display-buffer as an option for mu4e-compose-switch, which lets you
use the display-buffer function for display.

Remove the mu4e-message-kill-buffer, simply use message-kill-buffer.
2024-03-02 23:23:52 +02:00
Dirk-Jan C. Binnema
7af9cb205e update IDEAS.org
And refer to it in the RFE issue template.
2024-03-02 19:31:04 +02:00
Dirk-Jan C. Binnema
8afe3e11a2 mu4e-view: use <mouse-2> for links
Only <mouse-2>, to be consistent with eww.
2024-03-01 23:24:37 +02:00
Dirk-Jan C. Binnema
bb5c36c658 tests: add some very basic CLD2_TEST
just to check if it works at all; no need to check cld2 at all.
2024-03-01 23:05:33 +02:00
Dirk-Jan C. Binnema
e859bd376e NEWS.org: update 2024-03-01 16:46:37 +02:00
Dirk-Jan C. Binnema
df0a33b97c message: make sure HAVE_CLD2 is found
This broke the language detection code
2024-03-01 16:43:13 +02:00
Dirk-Jan C. Binnema
68822006c8 guile-tests: fix some typos 2024-02-26 18:31:10 +02:00
Dirk-Jan C. Binnema
acc4b28eeb mu4e-helpers: fix some typos 2024-02-26 18:30:54 +02:00
Xiyue Deng
db6191e796 Fix guile_load_path to include build path
When meson is run in a build path that is different from source root, the
generated shared library cannot be found under "<source_root>/guile".  This
patch adds the corresponding path under build root to guile_root_path so that
they continue to work.

This should fix https://github.com/djcb/mu/issues/2631.
2024-02-25 17:24:43 -08:00
Dirk-Jan C. Binnema
dcbcd697f4 mu-init: insist that --maildir is absolute 2024-02-26 01:08:44 +02:00
Dirk-Jan C. Binnema
915335fd76 tests: check setlocale return value
It might fail while nl_langinfo does not.
2024-02-25 17:11:29 +02:00
Dirk-Jan C. Binnema
5b65717ce8 build: fix doc generation 2024-02-25 17:11:29 +02:00
Dirk-Jan C. Binnema
5a763af970 lib/mu-store: don't assume non-empty in remove_slash
HT: Arsen Arsenović

Fixes #2633.
2024-02-25 17:11:29 +02:00
Dirk-Jan C. Binnema
f103e19a5a
Merge pull request #2632 from MatthewGentoo/build-cld2
build: add cld2 option
2024-02-25 17:02:20 +02:00
Matthew Smith
f88acc0446 build: add cld2 option
Add an option for builders to explicitly disable cld2, instead of
relying on the automatic detection.
2024-02-25 10:42:22 +00:00
Dirk-Jan C. Binnema
9d7f3f17d8 build: bump version to 1.12.0
This is a new stable release, and everyone is encouraged to upgrade.

See NEWS.org for the many changes.
2024-02-24 16:07:10 +02:00
Dirk-Jan C. Binnema
6b3411bde4 NEWS.org: update for 1.12 2024-02-24 16:07:10 +02:00
Dirk-Jan C. Binnema
f7ba00ec08 mu4e-view: update docstring for header customization 2024-02-24 13:47:55 +02:00
Dirk-Jan C. Binnema
91eb777946 mu4e-compose: try to avoid buffer/frame mishaps
... when closing a message. Should hopefully be a bit less bad than
before.
2024-02-18 18:02:54 +02:00
Dirk-Jan C. Binnema
309df647b8 build: bump version to 1.11.28 2024-02-06 23:51:36 +02:00
Dirk-Jan C. Binnema
a91fe2d7e9 add IDEAS.org with some ideas for implementation
Keep them there to track; no need to clutter up the issue list (it is
rare / never happened?) were someone implemented an RFE-ticket.
2024-02-06 23:29:58 +02:00
Dirk-Jan C. Binnema
62f0a9a902 lib/mu-xapian-db: handle exception with dec_transaction_level
I.e., do our book-keeping beforehand.
2024-01-23 19:15:30 +02:00
Dirk-Jan C. Binnema
ffac8409a3 mu4e-message: handle 'first' parameter to message-fetch-field
May as well support it.
2024-01-23 19:14:19 +02:00
Dirk-Jan C. Binnema
91ce40a8bd mu4e-org: fix typo 2024-01-23 18:26:48 +02:00
Dirk-Jan C. Binnema
30b8238522 tests: move to tests/, make optional
While not recommended, sometimes it can be useful to disable building
the unit tests. This can be done now with
    meson -Dtests=disabled build
2024-01-06 18:35:22 +02:00
Dirk-Jan C. Binnema
8db0c4e3d8 NEWS.org: update 2024-01-04 23:45:15 +02:00
Dirk-Jan C. Binnema
300ab2b0e1 mu4e-message: improve mu4e-fetch-field
Decode the message, so that encoded fields get decoded as expected.
Also add an example to the doc for using mu4e-fetch-field.
2024-01-04 23:41:46 +02:00
Dirk-Jan C. Binnema
b19f136700
Merge pull request #2617 from Chris00/master
mu4e-icalendar: Fix getting the organizer from the message
2024-01-04 23:08:11 +02:00
Christophe Troestler
7257b3fa3c mu4e-icalendar: Fix getting the organizer from the message 2024-01-03 12:13:40 +01:00
Dirk-Jan C. Binnema
ad04f16b09 mu4e: allow sorting by _first_ tag
Fixes #2611
2024-01-02 00:24:03 +02:00
Dirk-Jan C. Binnema
8edddae977 mu4e-server: remove obsolete compose code 2024-01-02 00:15:59 +02:00
Dirk-Jan C. Binnema
bffefc846f build: bump version to 1.11.27 2024-01-01 10:33:12 +02:00
Dirk-Jan C. Binnema
b4c768e6d0 mu-init: guess maildir when --maildir is missing
Re-instate the guessing that's in the manpage. Add unit tests.
Update documentation.

Fixes #2616.
2024-01-01 10:33:03 +02:00
Dirk-Jan C. Binnema
8366e009cb xapian-db: handle doc-not-found error in catch handler 2023-12-31 07:50:54 +02:00
Dirk-Jan C. Binnema
bae290e718 server: perform_move: throw when message not found
Warning & continuing is not the right thing...
2023-12-31 07:49:56 +02:00
Dirk-Jan C. Binnema
1999d9e6ef compose: remove server-side handling
It's no longer needed: composition happens on the mu4e side only (until
a message is saved).
2023-12-29 23:23:13 +02:00
Dirk-Jan C. Binnema
0a5845fe8b mu-index: add unit tests 2023-12-29 22:28:10 +02:00
Dirk-Jan C. Binnema
ae4f49cfc0 init: interpret batch-size 0 as 'default'
This makes writing tests easier.
2023-12-29 22:28:10 +02:00
Dirk-Jan C. Binnema
f3f4ea65ab xapian-db: improve some error messages
Correctly handle re-opening a transaction after one has finished.

Recognize some database opening errors and give some better user hints.

Fixes #2615.
2023-12-29 22:28:10 +02:00
Sean Farley
b222a8a3f5 mu4e: add support for macos notifications
The current order in this patch is

1) macos notification
2) built-in dbus notification
3) fallback text notification

because macOS emacs can actually have dbus enabled (for emacs daemon
mode) but that doesn't support notifications. This is a built-in way to
send a simple notification for macs, too. Yay!
2023-12-22 21:34:52 +02:00
Dirk-Jan C. Binnema
dd51f5aa12 mu4e-view: handle links with new composer 2023-12-22 21:25:12 +02:00
Dirk-Jan C. Binnema
4b199e8bed mu-server: modernize sig handling
Update some old code.
2023-12-22 21:24:41 +02:00
Dirk-Jan C. Binnema
146b80113f lib: move transaction handling to mu-xapian
Instead of handling transactions in the store, handle it in xapian-db.
Make the code a bit more natural / cleaner-out

Handle transaction automatically (with a batch-size) and add some RAII
Transaction object, which makes all database interaction transactable
for the duration. So, no more need for explicit parameters to
add_message while indexing.
2023-12-22 21:24:41 +02:00