Commit Graph

5303 Commits

Author SHA1 Message Date
Dirk-Jan C. Binnema 4b6d9a0ce8 utils: add RAII stopwatch
For benchmarking
2020-11-28 10:46:38 +02:00
Dirk-Jan C. Binnema 6bda2a12ff
Merge pull request #1777 from jesusbv/add-new-entry-org
mu4e: Add Org entry when accepting event
2020-11-28 10:45:16 +02:00
Dirk-Jan C. Binnema d7512b1259 mu4e-org: Use derived-mode-p correctly
Fixes: #1840
2020-11-24 00:17:17 +02:00
Dirk-Jan C. Binnema 1f1415c91f
Merge pull request #1839 from thierryvolpiatto/avoid_looping
Avoid looping through buffer-list when not needed
2020-11-19 22:34:01 +02:00
Dirk-Jan C. Binnema a00918ac93 guile: small build cleanups 2020-11-16 10:16:39 +02:00
Thierry Volpiatto c62dbb250c
Avoid looping through buffer-list when not needed 2020-11-16 08:59:45 +01:00
Dirk-Jan C. Binnema df954c82de
Merge pull request #1837 from eklitzke/readdir
Use readdir(3) instead of deprecated readdir_r(3) in mu-maildir.c
2020-11-16 09:52:38 +02:00
Dirk-Jan C. Binnema c82f1a0834
Merge pull request #1838 from thierryvolpiatto/redundant_read_only
No need to call `read-only-mode` when buffer is already read-only
2020-11-16 09:46:00 +02:00
Thierry Volpiatto 0fbe6edc4e
No need to call `read-only-mode` when buffer is already read-only
In mu4e~view-gnus, mu4e-view-mode derive from gnus-article-mode which derive
from gnus-mode which derive from special-mode:
(get 'mu4e-view-mode 'mode-class) => special.
2020-11-16 07:48:33 +01:00
Evan Klitzke bd2fe50a74
use readdir(3) instead of deprecated readdir_r(3) in mu-maildir.c 2020-11-15 12:46:59 -08:00
Dirk-Jan C. Binnema d33d48665f
Merge pull request #1834 from plantarum/ical
Ical documentation
2020-11-15 20:00:15 +02:00
Dirk-Jan C. Binnema 064c68b8b7 configure: improve guile check 2020-11-15 18:15:53 +02:00
Dirk-Jan C. Binnema 7d6475758c scripts: using GUILE_BINARY from configure
I.e., do not hard-code guile-2.2, it may be guile-3.0 instead.
2020-11-15 17:20:52 +02:00
Dirk-Jan C. Binnema c8b507f826 mu: remove obsolete MU_FEATURE_CRYPTO 2020-11-15 17:20:52 +02:00
Dirk-Jan C. Binnema 3f4e0cff62 mu-indexer: clean up state management 2020-11-15 17:20:52 +02:00
Dirk-Jan C. Binnema 558add3843 mu-msg: cosmetic 2020-11-15 17:20:52 +02:00
Dirk-Jan C. Binnema 702a1d8452 utils: add Result / Option types
Add some Rust-style Result/Option types, based on TartanLlama's
expected, optional classes.

There's std::optional of course, but we can't depend on C++17 yet.
2020-11-15 17:20:52 +02:00
Dirk-Jan C. Binnema 13118ae173 mu4e-org: Don't trigger errors outside mu4e
The functions only work when in mu4e-view-mode/mu4e-headers-mode, which
implies that mu4e is already loaded. So no need to check.

Fixes #1829.
2020-11-15 17:20:52 +02:00
Dirk-Jan C. Binnema df0f78d891
Merge pull request #1836 from thierryvolpiatto/disable_mm-verify-option
Disable `mm-verify-option` let-bounded in `mu4e~view-gnus`
2020-11-15 17:20:23 +02:00
Dirk-Jan C. Binnema 8a96a1ef57
Merge pull request #1835 from thierryvolpiatto/no_lambdas_on_hooks
Use functions instead of lambdas in add-hook calls
2020-11-15 17:19:14 +02:00
Dirk-Jan C. Binnema c2e478381a
Merge pull request #1828 from Chris00/master
Add a section about iCalendar to the manual
2020-11-15 17:16:16 +02:00
Thierry Volpiatto 41682af7b1
Disable `mm-verify-option` let-bounded in `mu4e~view-gnus`
When this option is set to 'known and the needed key is not yet in the user's
keyring, mu4e may hangs forever unable to verify email so lets user set this
variable globally to 'never to prevent this issue.
2020-11-15 08:19:15 +01:00
Thierry Volpiatto 0109172ad4
Use functions instead of lambdas in add-hook calls 2020-11-13 11:38:50 +01:00
smithty d54729290d Fixing syntax errors in mu4e.texi 2020-11-12 09:24:24 -05:00
smithty faf11bcd2f Added notes about iCalendar integration to manual 2020-11-12 09:18:18 -05:00
Dirk-Jan C. Binnema 861194f9a1 mu4e-view: insert-file-contents (gnus mode)
It seems the earlier version (using insert-file-contents-literally, then
trying to fix it has some problems)

HT: thierryvolpiatto

Fixes: #1823.
2020-11-11 21:57:29 +02:00
Dirk-Jan C. Binnema 6b4770bc48 mu4e: avoid calendar charset error
Fixes #issue #1832.

HT: tpeacock19.
2020-11-11 21:47:23 +02:00
Dirk-Jan C. Binnema c28eff66ed configure.ac: search for emacs sources 2020-11-11 21:42:56 +02:00
Dirk-Jan C. Binnema 47454ad8d4 mu: add some missing files 2020-11-11 21:42:56 +02:00
Christophe Troestler 156d3567c6 Add a section about iCalendar to the manual
Fixes https://github.com/djcb/mu/issues/1825
2020-11-09 13:36:25 +01:00
Dirk-Jan C. Binnema a1d1619bda use c++ for some more sources
Do a (superficial) port to c++ of some of the c sources. Update
deps. Fix a few compiler warnings.
2020-11-07 14:11:59 +02:00
Dirk-Jan C. Binnema d94f685c89 configure: bump version to 1.5.7 2020-11-07 11:43:11 +02:00
Dirk-Jan C. Binnema f7452761cb index: improve error handling 2020-11-07 11:43:11 +02:00
Dirk-Jan C. Binnema bc1d1a84bd configure: improve guile check 2020-11-07 11:43:11 +02:00
Dirk-Jan C. Binnema 26c1b9b6ad lib: remove unused json conversion
We no longer use the glib-json based impl.
2020-11-07 11:43:11 +02:00
Dirk-Jan C. Binnema c7a874b8d6 lib: convert threader/container to c++
Did change the code much, but it's now compiled as c++
2020-11-07 11:43:11 +02:00
Dirk-Jan C. Binnema 7ce08d0486 toys: use updated Query API 2020-11-07 11:43:11 +02:00
Dirk-Jan C. Binnema 3206b9db23 guile: use updated Query API 2020-11-07 11:43:11 +02:00
Dirk-Jan C. Binnema 2804087b3a mu: use updated Query API 2020-11-04 23:35:30 +02:00
Dirk-Jan C. Binnema ed4a640c39 lib/query: refactor & rework
- Move the lib/query/ stuff up a level into lib/
- Associate directly with the Query object
- Rework the Query object to be C++ rather than mixed with C
- Update all dependencies, tests
2020-11-04 23:35:30 +02:00
Dirk-Jan C. Binnema 2135844e1b fix some compiler warnings 2020-11-01 14:25:25 +02:00
Dirk-Jan C. Binnema 6b8ccff572 guile: avoid need for muldef 2020-11-01 14:04:15 +02:00
Dirk-Jan C. Binnema 72d9dba7cc lib/maildir: log when move-source still exists
Instead of raising an error... it *seems* this could happen with some mail
sync programs.
2020-11-01 14:04:15 +02:00
Dirk-Jan C. Binnema 812b5c3e65 server: improve help output 2020-11-01 14:04:15 +02:00
Dirk-Jan C. Binnema 5e80556251 macos: check for muldef linker flag 2020-10-31 15:07:19 +02:00
Dirk-Jan C. Binnema 0346978df5 build: fix typo 2020-10-31 14:42:50 +02:00
Dirk-Jan C. Binnema 7353c87778 mu: avoid some linker errors on MacOS 2020-10-31 14:36:19 +02:00
Danny O'Brien f4282d9535 guile: Update documentation for version 3.0. 2020-10-31 10:43:49 +02:00
Danny O'Brien 623cf787ad guile: support version 3.0.
Includes an update to the guile m4 package, and tweaks the build so that
both 2.2 and 3.0 should work fine.
2020-10-31 10:43:49 +02:00
Dirk-Jan C. Binnema 69b157a346 lib: improve error handling, cleanups 2020-10-31 09:46:13 +02:00