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

1701 Commits

Author SHA1 Message Date
Dirk-Jan C. Binnema
0d6bf906fe mu4e: gnus-view: Make sure to clean up gnus mm buffers
After leaving a gnus-view buffer, we should clean up the the mm-*
buffers it creates; we were leaking those.

Fixes issue #1781
2020-08-09 17:12:40 +03:00
Jesus Bermudez Velazquez
a5fbf5af39
Add Org entry when accepting event
When clicking "Accept" event, if the entry is new
it is not added to the Org file, besides having
gnus-icalendar-org-enabled-p set to true.

This modification changes that, so that a new entry
is added or an existing one is modified.
2020-08-03 09:33:09 +01:00
Jerry Snitselaar
3a8fc95bfc mu4e-headers: allow pipe through shell from headers view
Being able to pipe through shell from the headers view is
convenient for some use cases, so wire it up to work.

Resolves #1752

Signed-off-by: Jerry Snitselaar <jsnitsel@redhat.com>
2020-07-29 10:52:17 -07:00
Jonas Bernoulli
b711ad9151 Fix typos 2020-07-25 16:46:47 +02:00
Dirk-Jan C. Binnema
6d73ca8ec3 mu4e: fix mu4e~proc-view-path
Ensure parameters match.
2020-07-25 17:20:39 +03:00
Dirk-Jan C. Binnema
6b32794f0e mu4e-proc: ensure mu4e~call-mu does not truncate
For non-nil settings of print-length, print-level.

(and remove an unused defun).
2020-07-25 17:02:01 +03:00
Dirk-Jan C. Binnema
7aebefe005 mu4e.texi: remove obsolete crypto footnote.
Fixes #1761.
2020-07-25 11:32:15 +03:00
Dirk-Jan C. Binnema
de8f1d3e6a mu4e: Fix issue with mu4e-display-image
We were getting an error when `identify` is nil.
2020-07-11 10:14:57 +03:00
Dirk-Jan C. Binnema
2b5a747fad
Merge pull request #1746 from mrvdb/mu4e-image-scale
Satisfy both max height and width for images in view
2020-07-07 00:14:51 +03:00
Alex Bennée
5040d52b46 mu4e/mu4e-utils: save-excursion before updating the log buffer
If the user is scrolling and searching through the log buffer to see
what went wrong it gets very annoying having an update change things.
To avoid this wrap all buffer updating code in a save-excursion so
point is preserved.
2020-07-06 20:32:27 +01:00
Alex Bennée
8bc622ff09 mu4e/mu4e-utils: refactor mu4e-log buffer creation
Move all the one time setup for mu4e-log into its own private section.
2020-07-06 20:27:13 +01:00
Dato Simó
7efdebce30 NEWS.org, mu4e-vars.e.: fix spelling mu4e-contact-rewrite-function
mu4e-contact-rewrite-function was obsoleted in 1.4, but the entry in
NEWS.org entry, and the make-obsolete-variable call, referred to it as
mu4e-contacts-rewrite-function. (Should be "contact", not "contacts".)
2020-07-03 19:21:18 -03:00
Marcel van der Boom
c698bc3a40 Satisfy both max height and width for images in view
- introduce private function mu4e~image-width-scale:
    determine the width to use for proportional scaling based on the image width, height and the max
    restrictions.
- use it in mu4e-display-image
2020-07-03 16:02:09 +02:00
Alex Bennée
c074e7ea3b mu4e/mu4e-utils: only set so-long-mode once
Ideally we should separate the log buffer creation code so this van be
done a bit more cleanly. For now however only set so-long-mode once
otherwise you end up spamming the messages with constant:

  Changed to so-long-mode (from fundamental-mode) on account of line length.  C-c C-c to revert. [36 times]

As the messages keep rolling in.
2020-06-29 10:26:34 +01:00
Asilata Bapat (ANU)
84c59cef5a Fix org-mode links section documentation 2020-06-27 15:54:48 +10:00
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
Derek Upham
d17abfc324 Make mu4e~view-message available to mu4e-view-mode-hooks.
This requires setting the buffer-local variable before calling the
major mode function, and protecting the variable from the standard
mode-change cleanup.
2020-05-06 20:23:29 -07:00
Dirk-Jan C. Binnema
05dc6333c3 mu4e-format: decode strings to utf8
Thanks to thierryvolpiatto

Fixes #1676.
2020-05-05 22:14:53 +03:00
Dirk-Jan C. Binnema
75c8262a01 mu4e-bookmarks: improve documentation 2020-05-05 21:45:48 +03:00
Dirk-Jan C. Binnema
7ddcc2159f mu4e: better error when mu4e-mu-binary is not set 2020-05-05 21:22:35 +03:00
Dirk-Jan C. Binnema
935232c94d mu4e: Update documentation, vars
Fixes #1675.
2020-05-04 21:03:44 +03:00
Dirk-Jan C. Binnema
0e69ac0f83 mu4e: use :hide-unread in doc 2020-05-04 20:53:12 +03:00
Stephen Eglen
a2a201eef6
Is it :hide-unread or :show-unread
I think the docstring is correct and the variable setting is wrong -- the code elsewhere  (mu4e~start) seems to check hide-unread property.
2020-05-04 09:27:14 +01:00
Dirk-Jan C. Binnema
59ed21b01a mu4e: start mu4e in compose-handler, when necessary 2020-05-01 22:44:45 +03:00
Dirk-Jan C. Binnema
4f113544f7 mu4e: update documentation 2020-05-01 22:44:45 +03:00
Dirk-Jan C. Binnema
1919146b94 mu4e: centralize mode-line context setting code
Add mu4e-context-in-modeline to handle all setting of context in the
mode-line, to address some corner-cases with the current setup.
2020-05-01 22:44:45 +03:00
Stephen Eglen
42f6edb2bf
typo in mu4e.texi
typo
2020-05-01 11:29:51 +01:00
Dirk-Jan C. Binnema
7a47784d78 mu4e-proc: only rename when maildir is set
The restores the old behavior (but with the fix for non-boolean
mu4e-change-filename-when-moving)

And some cleanups as suggested by Jonas Bernoulli.
2020-04-30 11:34:59 +03:00
Dirk-Jan C. Binnema
0f5f6c4e13 mu4e: ask for context in mu4e~start
This is a little risky, but it avoids the case where the
context-question is hidden by the response from the server ("blabla
contacts" etc.)
2020-04-27 21:51:23 +03:00
Dirk-Jan C. Binnema
a5dccffcdf mu4e-proc: ensure some booleans are nil/t
Some are described as 'non-nil', but the backend only accepts symbols,
not e.g. a literal '1'.
2020-04-27 20:51:09 +03:00
Dirk-Jan C. Binnema
4fcef3c2eb update documentation 2020-04-27 11:56:35 +03:00
Dennis Ogbe
a153e08edb fix `mu4e-main-buffer-hide-personal-addresses' 2020-04-22 16:55:27 -04:00
Dirk-Jan C. Binnema
263e5a160d mu4e: Don't use (mu4e-root-maildir) with easy-accounts
Use an older version, and update the docs.
2020-04-22 09:53:49 +03:00
Dirk-Jan C. Binnema
b37569964a mu4e-view: fix gnus-button click for emacs 26
There are some behavioral differences causing the RET binding in emacs
26.3 (an possibly others) to be active even in gnus mode; this breaks
clicking URLs.

Attempt to work around that.
2020-04-21 00:09:45 +03:00
Dominik Schrempf
ccbd81f6ef ~/.mu -> ~/.cache/mu 2020-04-19 13:02:48 +02:00
Dirk-Jan C. Binnema
7ac7e746cf mu4e: allow for build fancy html docs
This is for local use only, for now.
2020-04-18 13:27:00 +03:00
Dirk-Jan C. Binnema
70d1c05ecf mu4e: update docstring
mu4e-personal-addresses
2020-04-13 11:34:31 +03:00
Dirk-Jan C. Binnema
e9fb70e50c mu4e: update documentation
Remove mentions of mu4e-user-mail-address-list.
2020-04-11 22:21:48 +03:00
Dirk-Jan C. Binnema
86bfa8fc88 mu4e: update documentation 2020-04-09 22:07:58 +03:00
Dirk-Jan C. Binnema
4584b61ea1 mu4e.texi: minor update 2020-04-08 11:26:12 +03:00
Dirk-Jan C. Binnema
26fb011026 mu4e: main: don't use string-join, it's too new
Fixes #1636
2020-04-08 11:26:12 +03:00
Alex Murray
43dd60e523
Fix displaying ical attachments after PR #1633 2020-04-08 13:29:16 +09:30
Dirk-Jan C. Binnema
abafd658d4 mu4e: show mu4e-personal-addresses, add check
Show the personal addresses in the main screen (allow hiding them with
mu4e-main-view-hide-addresses), as well as a check for the case where
user's user-email-address is not part of the personal addresses.
2020-04-06 20:52:24 +03:00
Dirk-Jan C. Binnema
edd47ced71 mu4e: use mu4e-attachment-dir for attaching, too
Use mu4e-attachment-dir also for attaching (and not just for extracting)
attachments; the default (current draft message dir) is not very useful.
2020-04-06 20:52:24 +03:00
Dirk-Jan C. Binnema
51f5ee829d
Merge pull request #1633 from Chris00/master
mu4e: Fix displaying ical attachments with no charset
2020-04-06 00:09:01 +03:00
Christophe Troestler
ed123431db Fix displaying ical attachments with no charset
Fixes https://github.com/djcb/mu/issues/1625
2020-04-05 22:58:20 +02:00
Dirk-Jan C. Binnema
6a294da2a1 mu4e-main: avoid calling mu4e-main-mode multiple times
once is enough
2020-04-05 23:53:55 +03:00
Dirk-Jan C. Binnema
cdddb816e4 mu4e: increase max log size, use ms timestamps 2020-04-04 15:40:45 +03:00
Dirk-Jan C. Binnema
89ab9f7351
Merge pull request #1627 from haji-ali/misc-fixes
mu4e: updater info-handler and compose
2020-04-04 12:11:58 +03:00
Dirk-Jan C. Binnema
9ef1a3c0cf update documentation 2020-03-31 21:19:03 +03:00
Abdo Haji-Ali
33694814fc Save window selection after updating the index 2020-03-29 22:07:25 +01:00
Abdo Haji-Ali
c335914caa (widen) should be called before hiding the headers
Was also causing a corrupted header in some cases.
2020-03-29 22:06:29 +01:00
Dirk-Jan C. Binnema
935874dfc3 mu4e: make logging a bit faster 2020-03-28 11:06:37 +02:00
Dirk-Jan C. Binnema
faef1792cc mu4e: improve documentation 2020-03-28 11:06:37 +02:00
Jonas Bernoulli
36d0b0602e mu4e: extend mu4e-header-highlight-face to edge of window
Due to a breaking change we have to request this explicitly in
Emacs 27.  Earlier Emacs versions do the right thing by default.

If the effect of a face does not extend to the edge of the window,
then attributes such as the background color or underline cease to
be used for more that the width of a single character, which is not
appropriate for a face intended to highlight a complete line.

See https://debbugs.gnu.org/cgi/bugreport.cgi?bug=37774.
2020-03-20 22:17:02 +01:00
Dirk-Jan C. Binnema
c3bb04150f mu4e: mu4e.texi: use an @anchor, not a @node
Latter breaks on some (older?) texinfo releases.

Fixes #1617
2020-03-16 23:04:18 +02:00
Dirk-Jan C. Binnema
83558be663 mu4e: set mu4e-compose-type earlier
So it can be used in hooks.

Fixes #1616.
2020-03-16 22:42:35 +02:00
Dirk-Jan C. Binnema
3ac71ecfbe mu4e: restore mu4e-index-cleanup t
Let's go back to the old default.
2020-03-15 01:23:01 +02:00
Dirk-Jan C. Binnema
46ae663937 mu4e: use faster count queries, document differences
Use faster queries for counting read/unread messages; document why the
results might differ from what you get doing a normal search.
2020-03-15 01:23:01 +02:00
Dirk-Jan C. Binnema
c4953a4310 mu4e-utils: select mu4e-main-window when refreshing
Fixes #1613.
2020-03-11 20:47:25 +02:00
Dirk-Jan C. Binnema
f8774ff98c mu4e: support prefix arguments with mu4e~native-def
Fixes #1611.
2020-03-11 20:47:25 +02:00
Dirk-Jan C. Binnema
e19c6f0cae mu4e: default to mu4e-index-cleanup nil
By default, do _not_ run the clean up phase after indexing; that should be
safe and make indexing a lot faster for some users.
2020-03-11 20:47:25 +02:00
Dirk-Jan C. Binnema
59fb743851
Merge pull request #1607 from yellowmoneybank/typo
Fix Gnus typos
2020-03-06 21:16:19 +02:00
Philip K
d4b40ac202 Unquoted mu4e-view-use-gnus in unless form 2020-03-06 15:31:20 +01:00
Philip K
5b570cee20 Fix Gnus typos 2020-03-06 15:30:36 +01:00
Dirk-Jan C. Binnema
c3771cba3e Merge branch 'gpg' 2020-03-05 22:40:16 +02:00
Moritz Müller
090ff42c50 mu4e: Add a mime-type-check when importing a pgp-key from an attachment 2020-03-05 22:39:45 +02:00
Moritz Müller
81e0c49084 mu4e: Add option to attachment-options to import gpg public key
This pull request adds an option to the attachment-options that allows
to import pgp-public-keys.
2020-03-05 22:39:33 +02:00
Dirk-Jan C. Binnema
0ee20c0294 mu4e: update manual 2020-03-05 22:25:28 +02:00
Dirk-Jan C. Binnema
d31dc8e69c mu4e: update menus
Avoid some gnus things we do not support. Rename View/Headers menu into Mu4e.
2020-03-05 20:50:51 +02:00
Dirk-Jan C. Binnema
5ffe878d30
Merge pull request #1605 from yellowmoneybank/mm
mu4e: Fix of the attachment actions
2020-03-04 21:18:25 +02:00
Moritz Müller
4cc057ee0a Fix of the attachment actions
With the current version of the mu server, it is not possible open
attachments, because the server expects symbols as parameters, but
mu4e sends strings.
This change fixes this.
2020-03-04 10:55:35 +01:00
Dirk-Jan C. Binnema
58b462d4c3 mu4e-view: fix typo 2020-03-02 23:20:12 +02:00
Dirk-Jan C. Binnema
2fd8058443 mu4e: update documentation 2020-03-01 17:34:16 +02:00
Dirk-Jan C. Binnema
1c1dbaf882 mu4e: make mu4e-main-buffer-name a defvar
(and rename from mu4e~main-buffer-name)
2020-02-28 12:17:13 +02:00
Dirk-Jan C. Binnema
1738f9d6d1 mu4e: Mark mu4e-auto-retrieve-keys as obsolete
It's not used anymore
2020-02-28 12:16:33 +02:00
Dirk-Jan C. Binnema
0465b273d3 mu4e: avoid mu-side crypto in gnus-mode
No need to decrypt/verify when we don't use the results.
2020-02-28 00:43:08 +02:00
Dirk-Jan C. Binnema
36a5d291d9 server/mu4e: update decrypt/verify options
"extract-encrypted" -> "decrypt"

and a separate option for "verify"
2020-02-28 00:43:08 +02:00
Dirk-Jan C. Binnema
6b2bdf4f6d mu4e: avoid some errors when flipping through messages
Use special-mode for the loading buffer, and explicitly ignore n/p.

Fixes #1443.
Fixes #1217.
2020-02-27 23:15:04 +02:00
Dirk-Jan C. Binnema
81d47bf21f mu4e-view/gnus: do not load external images
Avoid tracking. Fixes #1434.
2020-02-27 00:44:49 +02:00
Dirk-Jan C. Binnema
b33fb85020 mu4e-org: warn if mu4e is not loaded
Fixes #1420.
2020-02-26 22:44:49 +02:00
Dirk-Jan C. Binnema
fa7518ab60 mu4e-compose: don't touch default-directory
we probably shouldn't touch that.
2020-02-26 21:56:26 +02:00
Dirk-Jan C. Binnema
7e58f21f48 mu4e-utils: add mu4e-copy-message-path helper 2020-02-26 21:56:01 +02:00
Dirk-Jan C. Binnema
d4c959ea90 mu4e-compose: clear undo-list after entering compose mode
Fixes #1525.
2020-02-26 21:11:06 +02:00
Dirk-Jan C. Binnema
3fe437985f utils: explicitly decode contacts string
Seems emacs doesn't know yet they're utf-8.

Fixes #1589.
2020-02-25 23:57:50 +02:00
Dirk-Jan C. Binnema
f33b0d6d84 mu4e: Improve reference manual
Describe the new mu4e-maildir-shortcuts format

Add some FAQ about opening messages / speed.
2020-02-25 21:22:24 +02:00
Dirk-Jan C. Binnema
74d40f4d20 mu4e: make mu4e-maildir-shortcuts a plist
Similar to mu4e-bookmarks.
2020-02-25 21:20:51 +02:00
Dirk-Jan C. Binnema
c251a22d65 mu4e: update documentation 2020-02-24 21:58:45 +02:00
Hans-Peter Deifel
333067d47b mu4e: Fix quoting in M-q keybinding definition
In the keybinding defintions for mu4e-view-mode-map, the variable
mu4e-view-use-gnus was used quoted in an if condition, which means that the
condition always evaluated to true. Therefore, M-q would always be bound to
article-fill-long lines and never to mu4e-view-fill-long-lines.
2020-02-22 10:50:22 +01:00
Dirk-Jan C. Binnema
24ecceb10e
Merge pull request #1578 from Chris00/maildir
mu4e-view: (gnus) Remove duplicate bound variable
2020-02-21 19:28:44 +02:00
Dirk-Jan C. Binnema
62bc45aaa7
Merge pull request #1581 from thierryvolpiatto/Fix_revert_buffer
mu4e-main: Fix revert buffer
2020-02-21 19:28:09 +02:00
Dirk-Jan C. Binnema
837ab0b703 headers: require proc-view even for gnus
Temporary measure, so e.g. view-in-browser works

Fixes #1579.
2020-02-21 19:26:39 +02:00
Thierry Volpiatto
ec684cc99c
Update mode-line when changing context
* mu4e/mu4e-context.el (mu4e-context-switch): Do it.
2020-02-21 09:08:48 +01:00
Thierry Volpiatto
b301b7663b
Don't use mu4e-index-updated-hook in mu4e~start
Using mu4e-index-updated-hook in mu4e~start with a lambda is just like
adding the call to mu4e-info-handler so do it explicitely which is
much cleaner.

* mu4e/mu4e-utils.el (mu4e-info-handler): Always refresh main buffer.
(mu4e~start): Remove insertion of mu4e-index-updated-hook.
2020-02-21 08:54:16 +01:00
Thierry Volpiatto
b1369b6ad9
Fix mu4e-main revert-buffer-function and use it
* mu4e/mu4e-headers.el (mu4e~headers-quit-buffer): Refresh main buffer
when done.
* mu4e/mu4e-main.el (mu4e-main-mode-map): Don't bind "g" to mu4e, "g"
should be bound to revert-buffer (special-mode).
(mu4e-main-mode): No need to specify map.
(mu4e~main-view-real-1): New.
(mu4e~main-redraw-buffer): New.
(mu4e~main-view-real): Use them.
(mu4e~main-view): Take one more arg REFRESH.
(mu4e~main-toggle-mail-sending-mode): revert-buffer when done.
2020-02-21 08:33:07 +01:00
Christophe Troestler
e1db731f7d mu4e-view: (gnus) Remove duplicate bound variable
Fixes https://github.com/djcb/mu/issues/1269
2020-02-21 08:28:01 +01:00
Christophe Troestler
a132f5c21f mu4e-view: (gnus) enable displaying custom headers
insert custom headers / mu4e specific headers when in gnus mode
2020-02-19 20:55:22 +02:00
Dirk-Jan C. Binnema
c4f46966e7 mu4e-vars: add note about message fields / gnus view 2020-02-19 20:55:22 +02:00
Dirk-Jan C. Binnema
e10fc21a9b mu4e: Rename 'Unnamed' sections 2020-02-18 23:49:50 +02:00
Jonas Bernoulli
fe7a0e4da2 mu4e: Move various definitions into a better location 2020-02-18 23:49:50 +02:00
Jonas Bernoulli
74332947a0 mu4e: Split libraries into outline sections 2020-02-18 23:49:50 +02:00
Jonas Bernoulli
040c6578be mu4e: Place provide forms in their own sections
Use "_" as the title of that section so that it is less distracting
when sections are collapsed to get an overview of the library.

Using a separate section is useful because it reduces the risk of
accidentally into the middle of a library.
2020-02-18 23:49:50 +02:00
Jonas Bernoulli
6c58a311d1 mu4e: Add missing mandatory "FILE ends here" library footer 2020-02-18 23:49:50 +02:00
Jonas Bernoulli
15c6680037 mu4e: Add missing mandatory "Code:" section headers 2020-02-18 23:49:50 +02:00
Jonas Bernoulli
83f0c9cea9 mu4e: Remove excess semicolons from library headers
Placing two semicolons on an otherwise empty line helps to logically
"connect" the surrounding "paragraphs", which in (only) some cases
makes sense.

Previously the three paragraphs of the permission statement were not
connected to each other like this, which is perfectly fine.  However
the preceding "This file is not part of GNU Emacs." line was connected
to the first paragraph, which does not make sense considering that the
latter is not connected two the second paragraph, which it relates to
more.

Once those two semicolons are gone, it also makes sense to remove
those from the second line.
2020-02-18 23:49:50 +02:00
Dirk-Jan C. Binnema
19cfa008f0 mu4e-proc: fix mu4e~proc-extract / decrypt
Needs update for new protocol.
2020-02-18 22:38:40 +02:00
Dirk-Jan C. Binnema
c09a9c4372 mu4e: update context handling
Make mu4e-context-autoswitch works a before we updated the pong-handler

Avoid unnecessary mu4e~start int he composer.
2020-02-18 22:38:40 +02:00
Dirk-Jan C. Binnema
6b07819d9a mu4e/mu-server: use :descending, :no-view parameters
There was some confusion between mu4e and mu-server.
2020-02-18 12:03:42 +02:00
Jonas Bernoulli
6d581c4ca0 mu4e~view-define-mode: Place doc-string in correct position 2020-02-17 14:28:00 +01:00
Jonas Bernoulli
9f26819efb mu4e: Demote a few broken commands to functions
It would was not possible to interactively invoke these functions
because their `interactive' form does not provide all the mandatory
arguments.
2020-02-17 14:28:00 +01:00
Jonas Bernoulli
30e005d574 Fix a few typos 2020-02-17 14:28:00 +01:00
Jonas Bernoulli
32066ae433 mu4e~contains-line-matching: Cosmetics 2020-02-17 14:28:00 +01:00
Jonas Bernoulli
f66be19121 mu4e~proc-running-p: Cosmetics 2020-02-17 14:28:00 +01:00
Jonas Bernoulli
832d32ef23 mu4e-proc.el: Remove duplicated variable declarations 2020-02-17 14:28:00 +01:00
Jonas Bernoulli
4ce296d6b2 manual: Deal with annoying misfeature of texinfo
Texinfo is of the opinion that every hyperlink has to be prefixed
by either "see" or "in".  If neither of these words appears there,
then it inserts "see" and it cannot be told not to do that.

This turns a correct sentence like:
  > Mu4e lets you define custom actions for messages in the <Headers view>.
into:
  > Mu4e lets you define custom actions for messages in the see <Headers view>.
The best compromise is
  > Mu4e lets you define custom actions for messages in <Headers view>.
which isn't correct but at least less messed up.

Alternatively one could rephrase every sentence that contains a link
to circumvent Texinfo's speech impairment.  Or one could replace each
link with a footnote and place the actual link in the footnote.
2020-02-17 14:28:00 +01:00
Jonas Bernoulli
440ea3fe6f manual: Fix indentation in code blocks 2020-02-17 14:28:00 +01:00
Jonas Bernoulli
5f0013d797 org-mu4e.el: Place summary on a single line
Use the previous summary as commentary instead.
2020-02-17 14:28:00 +01:00
Jonas Bernoulli
96cd0632f9 mu4e: Improve consistency of library headers 2020-02-17 14:28:00 +01:00
Jonas Bernoulli
c2ef02f57c mu4e: Begin each elisp summary line with three semicolons 2020-02-17 14:28:00 +01:00
Jonas Bernoulli
4c9be1d062 mu4e-header-info: Fix indentation 2020-02-17 14:28:00 +01:00
Jonas Bernoulli
6790c0d015 mu4e: Fix indentation 2020-02-17 14:28:00 +01:00
Dirk-Jan C. Binnema
0dced59cb9 mu4e: set better default for mu4e-compose-reply-ignore-address
... and some small cleanup
2020-02-15 22:36:00 +02:00
Dirk-Jan C. Binnema
dd057b11aa mu4e: fix compose-func
Use 'extract-encrypted'
2020-02-14 00:35:52 +02:00
Dirk-Jan C. Binnema
ef4fa46a1d mu4e-proc: fix a few typos in 'view' handler
Fixes #1572.
2020-02-13 00:17:03 +02:00
Dirk-Jan C. Binnema
8ff7306d90 mu4e: set context before check requirements
So we won't ask about creating default maildirs
2020-02-10 18:08:34 +02:00
Dirk-Jan C. Binnema
d90d2ce8ef mu/mu4e: pass muhome to server (and provide some better error info) 2020-02-10 18:07:54 +02:00
Dirk-Jan C. Binnema
0b1e6b623e mu4e-context: fix some compiler warnings 2020-02-09 18:07:09 +02:00
Dirk-Jan C. Binnema
dd140cb98a mu4e-headers: With gnus-view, avoid server calls
We can do it directly, since we only need the path to the message.
2020-02-09 18:06:04 +02:00
Dirk-Jan C. Binnema
00df8ce471 mu4e: headers: Fix some compiler warnings 2020-02-09 03:53:01 +02:00
Dirk-Jan C. Binnema
0c6719eb96 NEWS.org: update documentation 2020-02-09 03:53:01 +02:00
Dirk-Jan C. Binnema
0d9d99df99 Merge pull request #1328 from pitti/fix-whitespace-deletion
mu4e: restrict deleting trailing whitespace to region
2020-02-09 00:24:32 +02:00
Dirk-Jan C. Binnema
be706fdfdd Merge pull request #1567 from Chris00/master
Allow icalendar replies to automatically be signed
2020-02-09 00:18:03 +02:00
Dirk-Jan C. Binnema
e1e26d1da2 mu4e: update to use server maildir/database/addresses
Mkae mu4e-maildir and mu4e-personal-addresses obsolete, we get those
from the server.
2020-02-09 00:15:49 +02:00
Christophe Troestler
2b1f6ab148 Allow icalendar replies to automatically be signed 2020-02-08 14:12:51 +01:00
Dirk-Jan C. Binnema
3fc2a5f3f8 server: re-introduce signal handler
This still needed to be ported from the old server code.
2020-02-04 01:05:35 +02:00
Dirk-Jan C. Binnema
029a4c245e mu/mu4e: handle personal addresses as server cmdline params
So we don't need to pass them to index; they can't change anyway.
2020-02-04 01:05:35 +02:00
Dirk-Jan C. Binnema
ac4f5f754a mu4e: remove maildir arg from proc-add/proc-sent calls
The server doesn't want that parameter anymore, so we can simplify
things a bit.
2020-02-02 00:23:34 +02:00
Dirk-Jan C. Binnema
c707feb30f mu4e-utils: update main-view when index changed
When the main-view is visible, update it when the index changed (e.g.
for the read/unread numbers).

Clean up the info handler a bit.
2020-01-31 21:16:13 +02:00
Dirk-Jan C. Binnema
ad5f7d8dad mu4e: make mu4e refresh itself
update using the 'ping' function, so read/unread counts get updated.

add a 'g' binding for the main-view.
2020-01-31 00:17:19 +02:00
Dirk-Jan C. Binnema
9ba28bc4c5 mu4e-draft: Fix over-eager reply-all (typo)
Fixes #1559.
2020-01-28 20:57:45 +02:00
Dirk-Jan C. Binnema
a7c4fdd029 mu4e/mu4e~start: remove some debugging leftover 2020-01-28 10:01:39 +02:00
Dirk-Jan C. Binnema
dd98203d42 mu4e: fix some compiler warnings 2020-01-28 01:03:40 +02:00
Dirk-Jan C. Binnema
e968f46963
Merge pull request #1556 from thierryvolpiatto/align_mu4e_main
mu4e: Rewrite mu4e~main-bookmarks to have bookmarks aligned
2020-01-28 00:39:11 +02:00
Dirk-Jan C. Binnema
2371847240
Merge pull request #1554 from pedrormjunior/mu4e-update-name
mu4e: use `mu4e~update-name` de facto
2020-01-28 00:37:51 +02:00
Dirk-Jan C. Binnema
0b12d0e568
Merge pull request #1555 from thierryvolpiatto/Unquote_lambda
mu4e: Unquote lambda's
2020-01-28 00:36:24 +02:00
Christophe Troestler
8e3f7ba64a Load gnus-art when compiling
Commit edce635416 only loads it
dynamically when executing the function mu4e~view-gnus but as a
consequence many variables are undefined at compile time and, more
importantly, it is no longer possible to override the variable
gnus-display-mime-function with a let binding before calling
gnus-article-prepare-display
2020-01-27 15:24:39 +01:00
Thierry Volpiatto
846428cfd4
Unquote lambda's
* mu4e/mu4e-context.el (mu4e-context-switch):         Do it.
* mu4e/mu4e-contrib.el (mu4e-view-mode-hook):         Do it.
(mu4e-headers-mode-hook):                             Do it.
* mu4e/mu4e-icalendar.el (mu4e-icalendar-reply-ical): Do it.
* mu4e/mu4e-utils.el (mu4e~start):                    Do it.
(mu4e-split-ranges-to-numbers):                       Do it.
2020-01-27 08:41:24 +01:00
Thierry Volpiatto
b51246d645
Rewrite mu4e~main-bookmarks to have bookmarks aligned
* mu4e/mu4e-main.el (mu4e~main-bookmarks): Do it.
2020-01-27 08:20:58 +01:00
Dirk-Jan C. Binnema
17e1dc2b17 mu4e: include From: in cc-list for mailing, even with reply-to
Many mailing lists override reply-to.
2020-01-25 22:21:56 +02:00
Dirk-Jan C. Binnema
6f1513d187 mu4e: only show unread counts for stringp bookmarks
We can't generally do it for non-constant bookmarks.
2020-01-25 21:42:14 +02:00
Dirk-Jan C. Binnema
eb3cac39ee mu4e: implement mu4e-compose-complete-only-after
We weren't supporting that yet after moving to the new command-parser;
let's do so now.

We now pass the time_t as a string, since the parser does not support
floats (and emacs doesn't generally support big ints).
2020-01-25 19:36:31 +02:00
Pedro Ribeiro Mendes Júnior
11590a1cf8 mu4e: use mu4e~update-name de facto
Instead of hard coding the buffer name " *mu4e-update*", use the
buffer name defined in `mu4e~update-name`.  Also, the default name
defined in `mu4e~update-name` were changed to match the previously
hard-coded invisible buffer name.
2020-01-25 10:57:15 -03:00
Dirk-Jan C. Binnema
9f72bd9703 mu4e: convert bookmarks from old format
When creating the 'ping' queries.
2020-01-24 14:21:25 +02:00
Dirk-Jan C. Binnema
d564157cac mu4e: document bookmark query limitation
They don't use mu4e-query-rewrite-function
2020-01-24 14:21:25 +02:00
Dirk-Jan C. Binnema
72e67ca389 mu4e: pass sortdir to server 2020-01-23 23:28:30 +02:00
Dirk-Jan C. Binnema
2e07fcf591 mu/mu4e: add sorting for 'find'.
Was missing after the parser changes.
2020-01-23 23:09:19 +02:00
Dirk-Jan C. Binnema
a4265bb8e9 mu4e: include unread/all counts for bookmarks
Show the unread/all matches counts in the main-view.
2020-01-22 11:42:15 +02:00
Dirk-Jan C. Binnema
232f370936 mu-server: update documentation 2020-01-22 11:42:15 +02:00
Dirk-Jan C. Binnema
d2ec85f01c mu4e: use the new command-parser
Update mu4e-proc to use the new mu4e <-> mu protocol
2020-01-22 11:42:15 +02:00
Dirk-Jan C. Binnema
b2bdb8b30c
Merge pull request #1526 from seanfarley/smf/esc
mu4e-util: allow ESC to exit a choice selection
2020-01-21 20:30:56 +02:00
Dirk-Jan C. Binnema
5071ed5012
Merge pull request #1548 from thierryvolpiatto/dont_require_gnus
mu4e: Avoid loading all gnus package
2020-01-21 20:28:31 +02:00
Thierry Volpiatto
edce635416
Avoid loading all gnus package
when not necessary.

* mu4e/mu4e-view.el (mu4e~view-gnus): Require gnus-art here instead on
top of file.
2020-01-21 09:49:40 +01:00
Pedro Ribeiro Mendes Júnior
5d087a130b Merge branch 'master' of https://github.com/djcb/mu 2020-01-16 08:28:08 -03:00
Dirk-Jan C. Binnema
cf594413e2 mu4e: utils: fix indentation 2020-01-13 23:40:23 +02:00
Dirk-Jan C. Binnema
1631d98b9e mu4e: support hiding bookmarks from main-screen/bookmarks
Using the :hide t property on a bookmark plist. The bookmark is still
available throught the completion mechanism.
2020-01-13 23:40:23 +02:00
Dirk-Jan C. Binnema
c95cd3c1aa mu4e-main: fix indentation 2020-01-13 23:40:23 +02:00
Dirk-Jan C. Binnema
54c2a15ed0 mu4e: make mu4e-bookmarks items simple plists
We don't need cl-defstruct; simplify things a bit.
2020-01-13 23:40:23 +02:00
Dirk-Jan C. Binnema
760b6a14de mu4e: fix typo in cc-creation
Thanks to stsquad.
2020-01-13 23:40:23 +02:00
Pedro Ribeiro Mendes Júnior
fe2c6d5078 mu4e: inform alternative for getting confirmation before sending
The `message-send' command already uses the variable
`message-confirm-send' to check if a confirmation should be asked
before sending.  Then, setting this variable is a more straightforward
alternative for getting those confirmations before sending.
2020-01-12 17:44:56 -03:00
Dirk-Jan C. Binnema
25d421068e
Merge pull request #1535 from pedrormjunior/master
mu4e: define mu4e-view-actions with defcustom instead of defvar
2020-01-11 16:59:15 +02:00
Dirk-Jan C. Binnema
f6b5fff83e mu4e: add special handling for mailing-list replies 2020-01-11 15:10:37 +02:00
Dirk-Jan C. Binnema
763ae799c8 mu4e-draft: fix indentation 2020-01-08 23:25:37 +02:00
Pedro Ribeiro Mendes Júnior
7b5195da89 mu4e: define mu4e-view-actions with defcustom instead of defvar
It allows the customization directly from Emacs Custom mode.  It is
done in a similar way as for `mu4e-view-attachment-actions'.
2019-12-31 13:20:15 -03:00
Dirk-Jan C. Binnema
24a6b71bd0 mu4e: move mu4e-bookmark defstruct to vars
Avoid compilation problem.
2019-12-22 15:26:45 +02:00
Dirk-Jan C. Binnema
3e2acda310
Merge pull request #1531 from Vonfry/fix/mu4e-remove-duplicate-mu4e-bookmarks
mu4e: remove duplicated mu4e-bookmarks define
2019-12-22 14:55:35 +02:00
Vonfry
5c51419f57
mu4e: remove duplicated mu4e-bookmarks define
let custom-set-variables work.
2019-12-22 18:10:43 +08:00
Vonfry
40d4abc8fb
mu4e: switch mu4e-contexts from defvar to defcustom 2019-12-22 14:54:08 +08:00
Sean Farley
02b5bc805c mu4e-util: allow ESC to exit a choice selection
I occasionally find myself pressing escape to exit a menu choice in mu4e
and it's a bit unfortunate that nothing happens. As best I could tell,
since this is a C call, none of the keymaps are checked for
`(keyboard-quit)' so we need to explicitly check for ESC here.
2019-12-13 16:26:05 -08:00
Dirk-Jan C. Binnema
384fcc5df3 mu4e: add missing file 2019-12-10 23:36:35 +02:00
Dirk-Jan C. Binnema
0bc2e605a4 mu4e: clean up org-handling
Load org support by default, unless mu4e-org-support is set to nil.

Turn off speedbar support by default (set mu4e-speedbar-support to t to
re-enable it).

Move the non-obsolete org stuff to mu4e-org. Rename some things from
org-mu4e to mu4e-org.

Remove org-old-mu4e.el
2019-12-10 18:09:03 +02:00
Antoine Levitt
dcb3025d1d revert indentation 2019-12-10 11:07:01 +01:00
Antoine Levitt
006c3399cb Push mark on beginning/end of buffer 2019-12-05 21:36:38 +01:00
Dirk-Jan C. Binnema
e18c86900c mu4e: remove debug message from -proc
Fixes #1514
2019-11-25 23:16:10 +02:00
Jonas Bernoulli
f31d1b065d Fix typos 2019-11-06 16:13:39 +01:00
Dirk-Jan C. Binnema
ed6842e5bd mu4e: inherit mu4e-header-highlight-face from hl-line
...instead of `region'.

Fixes: #1500.
2019-10-27 14:48:01 +02:00
Dirk-Jan C. Binnema
d7a5349a74 mu4e-comnpose: avoid jumping to headers when saving
Wrap the before-save-hook function in a save-excursion.

(HT: Joost Kremers)
2019-10-23 20:21:24 +03:00
Dirk-Jan C. Binnema
798aa12a34 mu4e-compose: Generate message-id for drafts
Ensure even drafts have a message-id, since the querying machinery wants
that.
2019-10-20 16:13:32 +03:00
Dirk-Jan C. Binnema
548dc16f67 mu4e-draft: Include a date in draft
Unconditionally include a date in draft messages; update it whenever
we're saving or sending.
2019-10-20 16:12:11 +03:00
Dirk-Jan C. Binnema
4cb3ca3585 mu4e-headers: Improve docstring for 'mu4e-headers-results-limit'
Add a few notes on how the limit is used.
2019-10-20 14:28:41 +03:00
Dirk-Jan C. Binnema
3a8ceeea92 mu4e: disable K bindings in view
We don't support the K- bindings in the gnus-view, so let's avoid the
error.
2019-10-14 20:39:23 +03:00
Dirk-Jan C. Binnema
30865c9d2c mu4e: add mu4e-contacts-info
Add an interactive function mu4e-contacts-info, to display some
information about the contacts cache.
2019-09-26 00:35:23 +03:00
Dirk-Jan C. Binnema
9457f2f591
Merge pull request #1486 from thierryvolpiatto/more_lexical-binding
Add lexical-binding to all files and fix warnings
2019-09-26 00:29:31 +03:00
Dirk-Jan C. Binnema
581785abe9 mu4e: view: disable some bindings for the gnus-based view
Disable some of the key-binding that don't quite work for the gnus-based
view. We'll probably want a gnus-view specific set of bindings, but at
least for now avoid the errors.
2019-09-16 22:02:16 +03:00
Thierry Volpiatto
e4f5576cfc
Add lexical-binding to all files and fix warnings
about free variables (declare) and unused lexical vars (prefix with "_").
2019-09-16 19:54:59 +02:00
Thierry Volpiatto
9ddd035a1e
Completely use cl-lib and lexical-binding
Previously both cl-lib.el and cl.el were used, now use only cl-lib.el.
Use lexical-binding where needed instead of requiring cl just for
`lexical-let`.
Replace some add-to-list with cl-pushnew as add-to-list is not
recommended in lisp program and anyway doesn't work properly with
lexical binding.
2019-09-14 12:39:51 +02:00
Dirk-Jan C. Binnema
ca699324a3 mu4e: mu4e-compose: Fix configuration choices
End the choice group in the right place.
2019-08-10 10:53:52 +03:00
Paul W. Rankin
ca7449c575
Balance parens in mu4e-compose-context-policy
Fixes unbalanced parens in mu4e-compose-context-policy, which prevents Custom mode UI working.

Using standard indentation helps prevent missing these little issues.
2019-08-09 18:20:33 +10:00
Nathanael Gentry
b710e47d58
mu4e: fix make-mu4e-context-account to see name keyword arg 2019-07-30 16:47:09 -04:00
Dirk-Jan C. Binnema
5c5716d3f0 bump version to 1.3.4
plus some build tweaks.
2019-07-30 19:36:04 +03:00
Dirk-Jan C. Binnema
26dca831c6 mu4e: automatically rebuild database when possible 2019-07-30 08:51:04 +03:00
Dirk-Jan C. Binnema
632f383c38 mu: Default to XDG Base Directory Specification
Instead of using ~/.mu, use the XDG Base Directory Specification, typically:
  ~/.cache/xapian
  ~/.cache/mu.log
  ~/.cache/parts
  ~/.config/bookmarks

Update dependencies, documentation.
2019-07-13 16:00:28 +03:00