e76f894476
Fix Selecting deleted buffer when quitting mu4e
2021-01-03 12:54:13 +01:00
46bd705131
Merge pull request #1874 from thierryvolpiatto/Remove_null_byte
...
Remove null byte added probably by error
2020-12-26 13:54:01 +02:00
4830e7de14
Remove null byte added probably by error
2020-12-26 08:49:19 +01:00
39bb5dd47b
Merge pull request #1871 from juanjosegarciaripoll/readline-fix
...
Make libreadline really optional.
2020-12-24 17:50:01 +02:00
34964509f7
Make libreadline really optional.
2020-12-24 10:19:02 +01:00
78636ba3df
Merge pull request #1859 from tsdh/use-mu4e-query-rewrite-function-for-counts
...
Use mu4e-query-rewrite-function also for computing bookmark counts
2020-12-17 23:27:04 +02:00
fe6cbf5949
Use mu4e-query-rewrite-function also for computing bookmark counts
...
Until now, the bookmark queries were sent to mu in their original form. Thus,
if you have `mu4e-query-rewrite-function` set, the numbers shown next to the
bookmarks didn't reflect the actual number of query results you'd get when
opening a bookmark view.
With this commit, the `mu4e-query-rewrite-function` is applied and the result
is sent to mu for evaluation (in `mu4e~start`) and the likewise the rewritten
queries are used to find the matching one in the last query results (in
`mu4e~main-bookmarks`).
* mu4e/mu4e-utils.el (mu4e~start): Send the rewritten queries for evaluation to
mu.
* mu4e/mu4e-main.el (mu4e~main-bookmarks): Compare last mu query results with
rewritten queries.
2020-12-13 17:06:11 +01:00
3ff8fd165f
cmd-server: use std::fflush
2020-12-07 00:35:58 +02:00
0ef88af34e
cmd-server: fflush before reading next line
...
Seems this is necessary on Windows/MSYS2. HT to juanjosegarciaripoll.
2020-12-06 17:04:10 +02:00
273eb822d5
mu4e: add mu4e-last-query-result[s]
...
This makes the most recent results from the queries (i.e. the numbers)
available using the supported 'mu4e-' API.
Fixes : #1845 .
2020-12-06 14:48:46 +02:00
aba0ab3629
mu4e: cosmetics
2020-12-06 13:20:13 +02:00
0ebf456612
lib: comment out some future unit test
...
Don't break the build!
2020-12-05 12:20:19 +02:00
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
9cab1ae751
mu4e-compose: restrict to headers in before-save-hook-fn
...
Follow up to issue #1846 .
2020-12-05 11:42:54 +02:00
ecafe54c99
parser: restore most unit tests
2020-12-05 11:42:54 +02:00
3010e614a3
parser: using correct field for regexp expansion
...
Fixes : #1848
2020-12-05 11:42:54 +02:00
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
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
4eed85187f
mu4e-compose: Don't auto-update Message-Id/Date
...
Fixes #1846
2020-12-02 08:51:35 +02:00
946bf7571e
mu4e-vars: remove unused face
2020-11-30 20:34:54 +02:00
d0e357c150
utils: Improve option/result types
...
And add the beginnings of unit tests.
2020-11-28 10:46:38 +02:00
4b6d9a0ce8
utils: add RAII stopwatch
...
For benchmarking
2020-11-28 10:46:38 +02:00
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
d7512b1259
mu4e-org: Use derived-mode-p correctly
...
Fixes : #1840
2020-11-24 00:17:17 +02:00
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
a00918ac93
guile: small build cleanups
2020-11-16 10:16:39 +02:00
c62dbb250c
Avoid looping through buffer-list when not needed
2020-11-16 08:59:45 +01:00
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
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
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
bd2fe50a74
use readdir(3) instead of deprecated readdir_r(3) in mu-maildir.c
2020-11-15 12:46:59 -08:00
d33d48665f
Merge pull request #1834 from plantarum/ical
...
Ical documentation
2020-11-15 20:00:15 +02:00
064c68b8b7
configure: improve guile check
2020-11-15 18:15:53 +02:00
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
c8b507f826
mu: remove obsolete MU_FEATURE_CRYPTO
2020-11-15 17:20:52 +02:00
3f4e0cff62
mu-indexer: clean up state management
2020-11-15 17:20:52 +02:00
558add3843
mu-msg: cosmetic
2020-11-15 17:20:52 +02:00
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
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
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
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
c2e478381a
Merge pull request #1828 from Chris00/master
...
Add a section about iCalendar to the manual
2020-11-15 17:16:16 +02:00
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
0109172ad4
Use functions instead of lambdas in add-hook calls
2020-11-13 11:38:50 +01:00
d54729290d
Fixing syntax errors in mu4e.texi
2020-11-12 09:24:24 -05:00
faf11bcd2f
Added notes about iCalendar integration to manual
2020-11-12 09:18:18 -05:00
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
6b4770bc48
mu4e: avoid calendar charset error
...
Fixes #issue #1832 .
HT: tpeacock19.
2020-11-11 21:47:23 +02:00
c28eff66ed
configure.ac: search for emacs sources
2020-11-11 21:42:56 +02:00
47454ad8d4
mu: add some missing files
2020-11-11 21:42:56 +02:00