Commit Graph

1486 Commits

Author SHA1 Message Date
Dirk-Jan C. Binnema 5ca0b6e148 mu4e-utils: use so-long-mode for logs when available 2020-06-26 19:25:45 +03:00
Dirk-Jan C. Binnema 3715bb0c5e mu4e-headers: optimize header writing a bit
Try to make writing out the headers in the headers buffer slightly
faster.
2020-06-26 19:24:40 +03:00
Dirk-Jan C. Binnema 7db921c69d
Merge pull request #1731 from cireu/require-desktop-on-use
mu4e: Delay the execution of workaround for desktop.el
2020-06-21 17:50:40 +03:00
Zhu Zihao f239616fb8 mu4e: Delay the execution of workaround for desktop.el
Some Emacs user may never use desktop.el, We don't need to require desktop.el
for them.
2020-06-20 13:45:33 +08:00
Christophe Troestler d49634245d ical: Don't insert a multipart/alternative with textual event
It seems that tha multipart/alternative confuses Outlook.

Fixes https://github.com/djcb/mu/issues/1729
2020-06-18 23:21:51 +02:00
Christophe Troestler 6ced62685a ical: save the citation in the kill-ring 2020-06-18 23:21:51 +02:00
Christophe Troestler 75bd856f50 ical: Add instructions to add events to a diary file 2020-06-18 23:21:51 +02:00
Christophe Troestler c8f91d365f ical: respect the 80 chars width limit 2020-06-18 23:21:51 +02:00
Dirk-Jan C. Binnema 3dc4b93989 mu4e/server: implement mark-as-read for (view ...)
Instead of a multi-step process to display an unread message (ie. get
the original, notice it's unread, then update it, replace the message
with update one etc.), we now handle that in the (view /./..) command on
the server side.

Simplifies things, and is faster (which could be noticeable, esp. if
e.g. signature verification is part of the process)
2020-06-13 16:56:41 +03:00
Dirk-Jan C. Binnema 2ee65f5b1a mu4e: add mu4e-mu-debug for verbosely logging the server
With mu4e-mu-debug set to t, the mu server will be more verbose in its
logging (mu.log or the journal)
2020-06-13 16:56:41 +03:00
Dirk-Jan C. Binnema e37486fb5a mu4e: auto-enable logging when pressing '$' 2020-06-13 16:56:41 +03:00
Dirk-Jan C. Binnema ee99176fce mu4e: mu4e-info is not interactive 2020-06-08 19:52:19 +03:00
Dirk-Jan C. Binnema b8a2d1fd6c mu4e-headers: require mule-util for truncate-string-ellipsis
Seems this is needed in some setups. Not fully clear why, but harmless.

Fixes #1717.
2020-06-07 18:40:48 +03:00
Dirk-Jan C. Binnema 5fdb205b8b mu4e: Update for sexp format changes 2020-06-06 14:27:25 +03:00
Dirk-Jan C. Binnema b672f6bc1d mu4e: avoid trouble with truncate-string-to-width
Treatment of the 'ellipsis' parameter is a bit unclear, gave errors in
some cases.

Fixes #1716
2020-06-03 21:24:14 +03:00
Dirk-Jan C. Binnema cfb59e36b0 mu4e-org: add missing defs when linking query
Fixes: #1714.
2020-06-01 09:55:24 +03:00
Dirk-Jan C. Binnema 73be015cd0 fixup: mu4e: some cleanups / bytecomp warning fixes 2020-05-28 10:21:16 +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 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 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 d6e017c19f update documentation 2020-05-24 20:12:49 +03: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
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 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 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
Jonas Bernoulli 564d892701 Fix typos 2020-05-12 23:56:55 +02:00
Vu Quoc Huy 1b0d06f706 Fix make-mu4e-context-account
set the correct query for bookmarks when no-trash-flag is used
2020-05-12 00:38:16 +02:00
Giuseppe Fierro 08318af76c Fix mu4e-headers-mark-or-move-to-trash()
Fix mu4e-headers-mark-or-move-to-trash() to pick right trash folder when
:no-trash-flag option is used in a context.
2020-05-10 08:25:41 +02:00
Dirk-Jan C. Binnema 2b105009aa mu4e.texi: Add note about s/mime 2020-05-09 23:14:01 +03:00
Dirk-Jan C. Binnema 30bad6a6ff
Merge pull request #1683 from manuel-arguelles/change-info-spacing
mu4e: change spacing in main view for info section
2020-05-09 23:13:31 +03:00
Dirk-Jan C. Binnema f4ac9d2538
Merge pull request #1685 from derek-upham/mu4e-view-hook-fix
Make mu4e~view-message available to mu4e-view-mode-hooks.
2020-05-09 23:12:20 +03:00
Manuel Argüelles 36701c9336 mu4e: change spacing in main view for info section
Change the spaces to tab to be consistent with the other entries in the
main view.
2020-05-08 11:24:31 -05:00