Dirk-Jan C. Binnema
3e233cba9a
rework logging system
...
reimplement the old mu-log.[ch] into mu-logging.{cc,hh}
If available (and using an appropriately equipped glib), log to the
systemd journal
Only g_criticals have stderr output, all the other g_* go to the log
file / journal.
2020-05-30 13:29:44 +03:00
Dirk-Jan C. Binnema
73be015cd0
fixup: mu4e: some cleanups / bytecomp warning fixes
2020-05-28 10:21:16 +03:00
Dirk-Jan C. Binnema
0a49cead33
build: don't require glib 2.58 for g_canonicalize_file
...
GLib version is probably still a bit too new, so simply lift the
function needed.
Fixes : #1712 .
2020-05-28 00:37:29 +03:00
Dirk-Jan C. Binnema
9192fd71a0
Merge branch 'compose-crypto-policy'
2020-05-27 22:54:40 +03:00
Philip K
29ad71fdf2
Marked mu4e-compose-context-policy type as greedy
2020-05-27 22:54:15 +03:00
Philip K
bd87dcfd9b
Removed default case in mu4e-compose-crypto-message
2020-05-27 22:54:15 +03:00
Dirk-Jan C. Binnema
336cad35e6
Merged crypto-policy configuration into one variable
2020-05-27 22:53:41 +03:00
Dirk-Jan C. Binnema
c9a9d4be95
mu4e: handle compose-mail when mu4e is not yet running
...
We were trying to start mu4e asynchronously, then compose the mail but
this doesn't quite work the way some external packages expected, and
this would fail.
Fixes #1710
Fixes #1698
2020-05-27 22:34:43 +03:00
Dirk-Jan C. Binnema
454e8d9a3a
mu4e: allow for hiding fully read maildirs/bookmarks
...
Add a variable mu4e-main-hide-fully-read to control whether to _not_ show
maildir / bookmark links if they're fully read.
2020-05-27 18:56:23 +03:00
Dirk-Jan C. Binnema
8bfcb7430b
lib/mu-msg-file: Use canonical path instead of real path
...
For the new symlink-support, it's better to use the *canonical* path than
the *realpath(3)* for files, so removing a symlinked maildir will work as
expected.
2020-05-27 18:55:18 +03:00
Dirk-Jan C. Binnema
09c1942187
NEWS.org: Update
2020-05-26 23:16:32 +03:00
Dirk-Jan C. Binnema
7900a4d050
mu4e-vars: update mu4e-maildir-shortcuts docs
...
Document :hide / :hide-unread
2020-05-26 23:12:26 +03:00
Sean Farley
3ea1784aad
mu4e-main: use `string-width' over `length'
...
Better for utf-8 but still difficult to align due to non-monospaced
characters.
2020-05-26 23:12:26 +03:00
Sean Farley
d68c0fd5b5
mu4e-main: decode strings as utf-8
...
This fixes both bookmarks and maildirs with non-ASCII names. Thanks to
@scturtle for pointing this out!
2020-05-26 23:12:26 +03:00
Sean Farley
9f1e231824
mu4e-main: fix off-by-one error in `mu4e~main-action-str'
...
For bookmarks, which specify the key combo instead of using the first
character of the string had an off-by-one error in the mouse
highlighting since it wasn't consuming that first letter.
2020-05-26 23:12:26 +03:00
Sean Farley
5110b02349
mu4e-main: use longest bookmark/mailder count in bookmarks section
2020-05-26 23:12:26 +03:00
Sean Farley
a070cca79d
mu4e-main: add new method for constructing the maildir list
...
This method is exactly like `mu4e~main-bookmarks' but for maildirs
instead of bookmarks.
2020-05-26 23:12:26 +03:00
Sean Farley
41f0c5a92a
mu4e-utils: add method to count the longest name
...
Consolidates the logic for looping over bookmarks and maildirs so that
we can compute the longest name.
2020-05-26 23:12:26 +03:00
Sean Farley
c2b0d2db6e
mu4e-utils: send maildir queries along with bookmarks
...
When `mu4e-main-show-maildirs' is non-nil, we append the list of maildir
queries to the mu server.
2020-05-26 23:12:26 +03:00
Sean Farley
a899dd04f7
mu4e-utils: add new method to transform `mu4e-maildir-shortcuts'
...
This will allow iterating over `mu4e-maildir-shortcuts' the same way as
`mu4e-bookmarks' (i.e. adding :name and :query to the plist).
2020-05-26 20:57:40 +03:00
Dirk-Jan C. Binnema
7ed8d509ee
mu4e-org: support more attributes for capturing
...
item description
-----------------------------------------------------+------------------------
%:date, %:date-timestamp, %d:date-timestamp-inactive | date, org timestamps
%:from, %:fromname, %:fromaddress | sender, name/address
%:to, %:toname, %:toaddress | recipient, name/address
%:maildir | maildir for the message
%:message-id | message-id
%:path | file system path
%:subject | message subject
Fixes #1678
2020-05-26 20:17:50 +03:00
Dirk-Jan C. Binnema
9ffef7bace
configure.ac: require emacs 25.3 at least
...
Probably we were already silently requiring that... but let's make it a
configure-time check.
2020-05-26 20:17:50 +03:00
Dirk-Jan C. Binnema
fdac81e023
lib: follow symlinks in maildirs
...
Until now, mu would _not_ follow symlinks; with these changes, we do.
There were some complications with that ~10 years ago, but I forgot the
details. So let's re-enable. At least one thing is in place now: moving
between file systems.
Fixes #1489
Fixes #1628 (technically, this came with slightly earlier commit)
2020-05-26 19:22:41 +03:00
Dirk-Jan C. Binnema
015fae7b1a
guile: fix readline linking
...
For now, simply link muguile against readline; hopefully, we can make
this transitive.
2020-05-26 00:41:46 +03:00
Dirk-Jan C. Binnema
7e49f83c9f
mu-maildir: attempt to allow moving to different fs
...
Add an EXDEV fallback for moving a file to a different filesystem.
2020-05-25 21:40:02 +03:00
Dirk-Jan C. Binnema
f67b551460
mu-maildir: avoid unnecessarily moving new-name files
...
When calling mu_maildir_move_message with the new_name
options (workaround for mbsync's), do the src=target check *without* first
creating that new name.
This avoids some unnecessary moves.
2020-05-25 21:26:00 +03:00
Dirk-Jan C. Binnema
303e569c0d
README: Use org format, slight updates
2020-05-25 21:09:38 +03:00
Dirk-Jan C. Binnema
286225be8f
Merge pull request #1705 from nickg/windows-file-sep
...
Allow ';' as a Maildir flags seperator
2020-05-25 20:52:30 +03:00
Dirk-Jan C. Binnema
b60cfc7df2
mu-server: restore readline-support
...
Restore readline support for `mu server' (but _only_ when readline is
found and when in tty mode)
2020-05-25 18:34:42 +03:00
Dirk-Jan C. Binnema
57d38aa707
mu4e: honor truncate-string-ellipsis
...
Use truncate-string-to-width and thus honor truncate-string-ellipsis; so
to get 'fancy' ellipsis, one can set:
(setq truncate-string-ellipsis "…")
2020-05-25 18:34:42 +03:00
Dirk-Jan C. Binnema
7e530f265f
bump version to 1.5.1
...
Let's start development once again!
2020-05-25 15:11:11 +03:00
Dirk-Jan C. Binnema
118d9198f6
bump version to 1.4.7
2020-05-24 20:22:42 +03:00
Dirk-Jan C. Binnema
d6e017c19f
update documentation
2020-05-24 20:12:49 +03:00
Nick Gasson
f8fcb55f91
Allow ';' as a Maildir flags seperator
...
Isync uses this by default on Windows where ':' is an invalid character
in file names. Also try to preserve the existing separator character
when generating a new file name.
2020-05-23 09:21:57 +08:00
Dirk-Jan C. Binnema
9030cfc657
mu4e-maildir-shortcuts: update for today's functionality
...
The text:
Optionally, you can add the following:
`:hide' - if t, maildir is hdden from the main-view and speedbar.
`:hide-unread' - do not show the counts of unread/total number
of messages for the maildir in the main-view.
is not true for the current version, so let's remove it.
*
2020-05-20 07:12:04 +03:00
Dirk-Jan C. Binnema
c283cd173d
Merge pull request #1701 from mrvdb/master
...
Missing space between sig verification and signers
2020-05-19 11:29:07 +03:00
Marcel van der Boom
fa5b181e25
Merge remote-tracking branch 'upstream/master'
2020-05-19 09:09:08 +02:00
Marcel van der Boom
01736c9a65
Add missing space between signature verification and signers
2020-05-19 09:08:30 +02:00
Dirk-Jan C. Binnema
1c88651f41
mu4e: remove easy-accounts / no-trash-providers for now
...
The code still has some problems, and the original author has moved
elsewhere (which is fine of course), but it's not ready enough for
1.4.... yet. So let's remove it for now and check again with 1.5+.
2020-05-18 18:56:15 +03:00
Dirk-Jan C. Binnema
5bc63119e1
Merge pull request #1700 from derek-upham/master
...
Strip properties from mu4e-completing-read-function results.
2020-05-18 18:55:37 +03:00
Derek Upham
bb865fd1af
Strip properties from mu4e-completing-read-function results.
...
Some completion engines (like "flx") decorate the strings that they
return. If MU4E passes such a string down to MU, the "format" call
preserves the text properties in the generated S-expression, producing
an invalid query. MU4E itself has no interest in those decorations,
so strip them out as early as possible from all prompts that use
mu4e-completing-read-function.
2020-05-18 08:12:56 -07:00
Dirk-Jan C. Binnema
45bcad1f7e
bump version to 1.4.6
2020-05-17 14:53:18 +03:00
Dirk-Jan C. Binnema
35db0f5906
mu-contacts: cosmetic
2020-05-17 14:53:18 +03:00
Dirk-Jan C. Binnema
53b553124c
Merge pull request #1663 from czan/master
...
mu: always sort descending within threads
2020-05-17 14:45:39 +03:00
Dirk-Jan C. Binnema
f016f257f9
mu4e: support 'no trash flag' for all mark-for-trash
...
Use a non-macro implementation for mu4e-(view|headers)-mark-for-trash,
and honor the no-trash flag.
Fixes #1687 .
2020-05-16 12:43:23 +03:00
Dirk-Jan C. Binnema
a2d315df4c
mu4e-compose: fix external use (`compose-mail')
...
Ensure compose-mail with mu works again, including passing various
parameters.
Fixes #1695 .
2020-05-15 23:42:05 +03:00
Dirk-Jan C. Binnema
59ddfb410c
NEWS.org: small update
...
We don't use readline anymore, for now at least (see #1621 ).
2020-05-14 00:04:59 +03:00
Dirk-Jan C. Binnema
4855004161
Merge pull request #1691 from vqhuy/fix-make-context
...
Fix `make-mu4e-context-account()` set incorrect query for bookmarks
2020-05-13 23:59:43 +03:00
Dirk-Jan C. Binnema
cc9816ba89
Merge pull request #1693 from tarsiiformes/typos
...
Fix typos
2020-05-13 23:56:04 +03:00
Jonas Bernoulli
564d892701
Fix typos
2020-05-12 23:56:55 +02:00