1
0
mirror of https://github.com/djcb/mu.git synced 2024-06-21 06:56:48 +02:00
Commit Graph

5212 Commits

Author SHA1 Message Date
Dirk-Jan C. Binnema
7182db5b0d ax_lib_readline: only accept the _real_ readline
Seems the other ones are not compatible enough

Fixes: #1852
2020-12-05 11:59:07 +02:00
Dirk-Jan C. Binnema
9cab1ae751 mu4e-compose: restrict to headers in before-save-hook-fn
Follow up to issue #1846.
2020-12-05 11:42:54 +02:00
Dirk-Jan C. Binnema
ecafe54c99 parser: restore most unit tests 2020-12-05 11:42:54 +02:00
Dirk-Jan C. Binnema
3010e614a3 parser: using correct field for regexp expansion
Fixes: #1848
2020-12-05 11:42:54 +02:00
Dirk-Jan C. Binnema
e9529c246c
Merge pull request #1850 from juanjosegarciaripoll/fix-for-mu4e-proc-start
Do not use shell commands to extract version number
2020-12-04 22:46:13 +02:00
Juan Jose Garcia-Ripoll
03d5640cee Do not use shell commands to extract version number
Avoid using 'head', 'sed' or other POSIX commands to extract the version number when Emacs can do it. This allows installing just 'mu', without the extra unix tools in a Windows environment.
2020-12-04 16:45:09 +01:00
Dirk-Jan C. Binnema
4eed85187f mu4e-compose: Don't auto-update Message-Id/Date
Fixes #1846
2020-12-02 08:51:35 +02:00
Dirk-Jan C. Binnema
946bf7571e mu4e-vars: remove unused face 2020-11-30 20:34:54 +02:00
Dirk-Jan C. Binnema
d0e357c150 utils: Improve option/result types
And add the beginnings of unit tests.
2020-11-28 10:46:38 +02:00
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