Commit Graph

4380 Commits

Author SHA1 Message Date
djcb d30e0ab2ba mu: fix contacts callback return value
The callbacks for the contacts functions should return TRUE (or be
terminated early), but were void. Seems on Linux this usually still
worked, not so on OpenBSD at least (unit test broke). So, fix this.
2016-11-16 20:20:15 +02:00
djcb c2e4b26cd4 mu: slightly bump up required gmime/glib versions
Let's mildly bump up versions of gmime/glib to the late-2012 versions,
so we can start using newer things. And find out if anyone is still
using those ancient versions.
2016-11-16 20:18:14 +02:00
djcb 01a47effb0 mu: include text-part attachments in body
Include text-like attachments parts in the message-body, too
2016-11-15 23:51:38 +02:00
djcb b2cfc02010 mu4e: mark attachment-actions non-interactive
mu4e-view-pipe-attachment, mu4e-view-open-attachment-with and
mu4e-view-open-attachment-emacs are not interactive, so don't mark them
as such.
2016-11-12 14:00:11 +02:00
djcb 10b3352565 mu: include patch/diff files in plain-text body
Some text/... parts can be show inline as part of the body text; for
instance patches. So, treat those specially.
2016-11-12 13:50:32 +02:00
djcb f7e6d77c9a disable perl for now to unbreak make dist 2016-11-06 10:48:45 +02:00
djcb e295fd0c65 update NEWS.org 2016-11-06 10:24:29 +02:00
djcb 632ae465f4 mu: unbreak travis tests
disable test that seems to fail on travis sometimes, recently; hard to
investigate what goes on there; no changes in the mu code related to
this.
2016-11-05 13:35:26 +02:00
djcb 01fe899c37 mu4e: better error for non-supported header fields
Some fields (eg. :attachments and :user-agent) require a full message
and are not supported in headers-mode. Document this and give a clearer
error message when they are added to `mu4e-headers-fields'.

Fixes issue #933.
2016-11-05 12:42:28 +02:00
djcb e294016e85 mu4e: fix typo in manual
Thanks to Eduardo Mercovich.
2016-11-05 12:03:02 +02:00
Dirk-Jan C. Binnema b981a7804f Merge pull request #934 from antoine-levitt/master
mu4e: Don't erase global-mode-string with context label, but add to it
2016-11-05 10:52:35 +02:00
djcb 986d3a663c Merge commit 'ff4d146357020a0d1799ce118337bee4df6ac77c' into xuchunyang/patch-1 2016-11-05 10:41:26 +02:00
djcb e1092c5f27 mu4e: restore mu4e-compose-type in compose-buffer
Seems the `mu4e-compose-type' is always nil when we enter the
compose (it is set when executing the pre-hooks though). It can be
useful in the compose buffer as well, so restore it.
2016-11-05 10:18:23 +02:00
Antoine Levitt c0726d92a0 do not rename current message buffer if the name has not changed 2016-10-31 16:28:25 +01:00
Chunyang Xu ff4d146357 Support Emacs 26 in configure.ac
The version under development is now 26. I installed Emacs from source
via Git recently, it gives:

emacs-version
     => "26.0.50.2"
2016-10-31 19:28:50 +08:00
djcb d6337ade1c mu4e: index: only clear echo area when asked to
In `mu4e-hide-index-message`-mode, don't clear the echo area.
Fixes #925.
2016-10-29 11:50:33 +03:00
djcb 739013d031 mu4e: allow maildir as sort-field 2016-10-26 22:36:40 +03:00
djcb 7526f118ba mu: some cosmetics / minor cleanup 2016-10-26 22:36:40 +03:00
Dirk-Jan C. Binnema 03dd1d653b Merge pull request #936 from darkfeline/patch-1
mu4e: Fix parentheses grouping typo
2016-10-26 21:03:36 +03:00
Allen 779b50f0f0 Fix parentheses grouping typo 2016-10-25 23:37:34 -07:00
Antoine Levitt bc13cfda35 dont erase global-mode-string with context label, but add to it 2016-10-26 08:20:25 +02:00
djcb 87ab21702e mu4e-mark: remove debug message 2016-10-25 20:19:19 +03:00
djcb 9a3ff05192 mu4e: handle overflow for plaintext-ratio-heuristic
Handle overflow when multiplying
mu4e-view-html-plaintext-ratio-heuristic by most-positive-fixnum.
2016-10-03 21:27:06 +03:00
djcb 82dc1aeb46 mu4e: use mu4e-user-agent in bbdb example 2016-09-30 09:16:07 +03:00
Dirk-Jan C. Binnema 9fd6d36963 Merge pull request #920 from andersjohansson/orglinkfix
mu4e: Only call old org-link API if new unavailable
2016-09-29 10:09:57 +03:00
Dirk-Jan C. Binnema 62370afed9 Merge pull request #913 from StAlphonsos/639-redo
perl: Integrate the mup interface from https://github.com/StAlphonsos/mup
2016-09-27 18:50:08 +03:00
attila 188a559187 Add missing file to pull request: m4/perlmod.m4 2016-09-17 15:52:03 -05:00
Anders Johansson b885dd308e Only call old org-link API if new unavailable 2016-09-13 15:07:27 +02:00
Dirk-Jan C. Binnema 8d345ee17f Merge pull request #917 from kkholst/master
mu4e: For the upcoming org-mode version 9 org-add-link-type is obsolete, so…
2016-09-12 00:02:18 -07:00
djcb c419bca577 mu4e: set mu4e-compose-type earlier
Set mu4e-compose-type before invoking the "pre" hook, so that it can be
used there.
2016-09-06 18:29:05 +03:00
djcb bca649cb32 mu4e: make mu4e-compose-type a public variable
Replace mu4e~compose-type so it can be used in pre-hooks and the like.
2016-09-06 09:15:17 +03:00
djcb f1aedf14ab mu4e: remove some debugging output 2016-09-05 15:07:44 +03:00
Klaus Holst 9f5a2da5b5 For the upcoming org-mode version 9 org-add-link-type is obsolete, so if org-link-set-parameters is bound we will use that instead. 2016-09-04 14:12:53 +02:00
Dirk-Jan C. Binnema a49ccf4ff0 Merge pull request #897 from liweitianux/aly
mu4e: use builtin function "shr-render-region" for simplicity
2016-09-03 11:30:19 +03:00
Dirk-Jan C. Binnema 5097dd8e1b Merge pull request #909 from sachdevaprash/master
mu4e: Adding eshell/mu4e-attach allowing attachments from eshell.
2016-09-03 11:27:49 +03:00
Dirk-Jan C. Binnema db48031024 Merge pull request #911 from aroig/gh/tag-completion
mu4e: add rudimentary completion support for retag action
2016-09-03 11:26:47 +03:00
Dirk-Jan C. Binnema dd1c0325f9 Merge pull request #912 from j-hao/master
mu4e: add mu4e-msg-changed-hook
2016-09-03 11:25:49 +03:00
Dirk-Jan C. Binnema c29ebc6e6d Merge pull request #907 from Chris00/master
mu4e: Compare email addresses case insensitively
2016-08-28 17:58:13 +03:00
Dirk-Jan C. Binnema 79ed1bc463 Merge pull request #914 from j-hao/fold
mu4e: show '...' when header field folded and keep text-properties
2016-08-28 17:55:55 +03:00
Jun Hao 0926ac6867 mu4e: show '...' when header field folded and keep text-properties 2016-08-28 10:39:37 +08:00
Prashant Sachdeva eef00e7263 Removing the dependencies on gnus in eshell/mu4e-attach. 2016-08-28 10:03:02 +09:00
Christophe Troestler dc3bffa186 Compare email addresses case insensitively 2016-08-28 00:30:29 +02:00
djcb 37f11d642f mu4e: improve mu4e-fill-paragraph
Improve mu4e-fill-paragraph for some corner-cases where there is
trailing whitespace. Patch by holtzermann17.
2016-08-27 19:06:10 +03:00
djcb ae7f649a4a mu4e: avoid error return to same message
This avoids a runtime error. Fix by holtzermann17 for Issue #910.
2016-08-27 18:58:55 +03:00
djcb 6a421f4d85 mu: fix C-d handler for mu server 2016-08-27 18:58:31 +03:00
attila 6b366e7d25 perl: Integrate the mup interface from https://github.com/StAlphonsos/mup 2016-08-26 15:32:24 -05:00
Jun Hao 35c6d4ab8b mu4e: add mu4e-msg-changed-hook 2016-08-25 10:03:35 +08:00
Abdo Roig-Maranges cba2e0c21c add rudimentary completion support for retag action
This adds a variable mu4e-action-tags-completion-list, that contains a
list of commonly used tags to suggest as completion terms during a retag
actions.

Along the way, the retag action accepts as argument a comma-separated
list of +tag and -tag keywords, instead of a space-separated one,
removing the need to quote tags with spaces in them, and making it
consistent with the behaviour of completing-read-multiple.
2016-08-22 20:26:35 +02:00
Prashant Sachdeva 9b6a7424df Adding eshell/mu4e-attach allowing attachments from eshell. 2016-08-17 10:45:32 +09:00
Dirk-Jan C. Binnema 2507933176 Merge pull request #893 from j-hao/master
mu4e: Allow header fields with more than one lines to fold to one
2016-08-13 23:01:50 +03:00