Commit Graph

61 Commits

Author SHA1 Message Date
72db436a63 Merge pull request #1046 from jwhitbeck/master
mu4e: fix sending emails with no body
2017-06-17 12:10:24 +03:00
abe732111a mu4e: cosmetics 2017-04-09 11:33:21 +03:00
bbd8f55700 mu4e: fix sending emails with no body 2017-03-11 22:17:56 -08:00
b04b3bcea9 mu4e: don't require user-agent string 2017-03-09 01:27:44 +02:00
0a5224c4c8 Allow to ignore addresses when doing wide replies
Introduce a new variable, mu4e-compose-reply-ignore-address, which matches
addresses to be skipped when doing wide replies.

This is identical in behavior to messages-dont-reply-to-names from message.el
(which we default on).
2017-02-20 00:37:44 +01:00
f060cb8196 mu4e: Add possibility to forward messages as attachments
This commit adds a global variable
mu4e-compose-forward-as-attachment. To enable choosing forwarding
method on a per-message basis would probably require either:

• changing the mu server backend so that it distinguishes between
  inline forwarding and forwarding as attachment;
• changing the mu server backend so that it doesn’t return attachments
  at all and making both inline and as attachment forwarding via
  MIME (and also making mu4e actually display MIME-enclosed inline
  emails).
2017-01-13 16:30:25 +01:00
0d9cac49d3 mu4e: mu4e-draft: fix "typo" in face name 2016-07-27 13:08:35 +03:00
1e963c1779 mu4e: update font-locking for mu4e-compose-mode
mu4e was making a vain attempt to fontify the compose buffer; this
doesn't work because message (from which mu4e-compose-mode derives) uses
font-locking for that.

So, instead, remap the message-mode faces to the ones used for mu4e.
2016-07-09 23:42:58 +03:00
6a42000997 Merge pull request #871 from arthurl/arthur/PR/refences-header-bug
mu4e: [FIX] references header dropped bug
2016-07-03 10:17:04 +03:00
ddf4adc30f mu4e: try a bit harder to find the draft folder
If we can't guess the draft folder when re-editing a message, fallback
to the default.
2016-07-03 10:00:27 +03:00
8a62bc172d mu4e: [FIX] references header dropped bug 2016-06-22 01:43:59 +08:00
ac1bfae196 mu4e: limit # of references to 21
Following the example of `message-shorten-references', only allow up to
21 references, since some mail servers limit them.

Fixes #859.
2016-06-05 18:49:04 +03:00
13c4b48920 mu4e: quote user-full-name according to rfc822 when construct from field 2016-03-14 23:08:41 +08:00
a0f0e95344 mu4e: better handling of closing compose frames
Use message-mode actions to close the compose
frame (`mu4e-compose-in-new-frame') whenever we're finished editing a
message.
2016-02-20 12:25:21 +02:00
b72db626f3 mu4e: implement resending
Implement the special compose type 'resend', for resending existing
messages, possibly with changes.
2016-02-16 08:29:06 +02:00
8f5df6cca0 mu4e: fix compose cancel orphaning a buffer
Create buffer contents _before_ creating the file.
2016-02-02 20:21:37 +02:00
d9ca330f2b mu4e: tiny doc improvement 2016-01-15 21:02:35 +02:00
967b3cb727 mu4e: update copyright years 2016-01-09 21:28:03 +02:00
b373f8e5f0 mu4e: context policy tweaking
As discussed in issue #751, mu4e should tried to accommodate some
different ways of choosing the context.

We add a new policy `ask-if-none', that will only query the user if
there is no context yet; this is the new default for
mu4e-context-policy, i.e. what happens when entering the main view.

The default policy for mu4e-compose-context-policy is now `ask',
i.e. ask if none of the contexts match.

The idea is for the defaults to ask when we don't know a context, and we
can't determine one using the match functions; this is probably the
least confusing. When user gets annoyed by too many question, they can
tweak the behavior to their liking. I.e. 'ask questions first, shoot
later'

Document all of this.
2016-01-03 13:29:19 +02:00
2d443a953c mu4e: don't use purecopy, it's useless
Don't use `purecopy`, it's useless outside emacs itself, as pointed out
by cpitclaudel. Fixes issue #729.
2015-12-15 07:02:24 +02:00
b43b701aa9 mu4e: add mu4e-user-agent-string
Add mu4e-user-agent-string, this allows for customizing the user-agent
string.
2015-11-22 11:25:05 +02:00
aa871ee4da mu4e: don't insist of message-signature being a string
Better not to ignore message-signature, even when it's not a string.
2015-10-16 11:20:48 +03:00
ff06d5fb4d mu4e: don't include '--' if no signature set
This fixes issue #434.
2015-10-16 11:18:50 +03:00
a924985803 Fix issues reported by the byte-compiler. 2015-10-09 01:02:58 +02:00
a350e2047d Change format for filenames
It seems some tools try to interpret the filename of message files,
even though they shouldn't:
   "Do not try to extract information from unique names."

In particular, they seem to interpret the first part of the name (before
the first dot) as the # of seconds since the Unix epoch (ie.,
time(NULL)). That's not what mu/mu4e put there.

So, let's conform a bit more to the expected filename (as per the
maildir spec), so we're not confusing those tools.
2015-10-02 17:43:38 +03:00
0f167270a6 * mu4e-draft.el: fix adding User-agent header 2015-07-24 08:24:45 +02:00
64959382b9 Mu4e: add support for composing in a new frame
Adds the variable mu4e-compose-in-new-frame and when set to t, message
are composed in a new frame rather than the current one.
2015-05-24 11:48:37 +03:00
46934a9167 mu4e: Use save-excursion to leave point before signature
Based on the patch by janisteunissen.
  7f8b598e00
2014-10-12 16:18:07 +03:00
9bd65560a5 mu4e: make including dates in drafts optional (and disabled by default)
Add new configuration variable `mu4e-compose-auto-include-date'.
2014-09-02 06:10:38 -07:00
a4da062845 Merge pull request #430 from taurgal/master
* mu4e: Add revert-buffer support to the mu4e main buffer
2014-06-05 22:01:52 +03:00
a36d4bd72f * mu4e: make sure there's always an ending newline 2014-06-02 08:42:05 +03:00
fe53c5a0f8 Added a missing ";; New" comment. 2014-05-24 19:38:14 +02:00
fdbc1d6f9a Automatically insert a date field in the new drafts headers.
So that one can see when a draft was composed when browsing the
draft maildir (instead of getting "None" in the Date column). Then one
can sort the drafts by date.
2014-05-24 19:30:13 +02:00
5ab30cbc09 * mu4e: don't add rogue \n where re-editing 2014-05-04 10:51:44 -07:00
5cf67c6ea9 * don't mark the mail-header-separator as read-only
this seems to cause problems in some cases, where message-mode
  apparently requires the text to be writable.
2014-04-27 11:28:58 +03:00
e3274461db * mu4e: applied Michael Strey's patch for the date in citations
What was going wrong?

  Using the function `mu4e-view-message-text',
  mu4e~draft-cite-original created a temporary buffer. Based on this
  buffer the function message-cite-original-without-signature,
  borrowed from Gnus, had to extract the date for the citation
  line. The problem was, that this function depends on a standardized
  date in ISO format whilst mu4e-view-message-text formatted the date
  according to the setting of mu4e-view-date-format.

  This patch hopefully solves this problem by setting
  mu4e-view-date-format in function mu4e~draft-cite-original.
2014-03-09 20:08:55 +02:00
9b5c841602 * mu4e: make sure the signature gets insert at the right places (Fixes #381) 2014-03-03 19:54:36 +02:00
a860d61b98 * fix mu4e-compose-signature 2013-12-26 18:51:02 +02:00
5232c9ca5d * mu4e: check that message-signature is a string 2013-12-21 11:10:15 -08:00
5f6c274b3c * mu4e: add mu4e-compose-signature-auto-include and document it 2013-12-21 10:58:55 -08:00
9c8101d949 * mu4e: centralize some of the fontification code; cleanup signature support 2013-10-20 15:41:47 +03:00
b6dee495f4 * mu4e-draft: small faces update 2013-10-19 12:07:37 +03:00
8656f6721e * mu4e: complete the new reply-to-your-own-messages behavior + documentation 2013-07-17 21:13:42 +03:00
5ecbb40557 * mu4e: when replying to messages written by self, keep the same to:/cc: 2013-07-07 18:30:30 +03:00
7fe37334b5 * cosmetics 2013-06-24 22:44:36 +03:00
3d385325ea * mu4e-draft: fix typo in patch 2013-06-08 17:36:09 +03:00
c511ae7f1f also try to avoid unnecessary quotes when replying (see issue #217) 2013-06-05 10:26:22 +02:00
3c67aa6591 * mu4e: fix a few compiler warnings / typos 2013-06-03 21:09:20 +03:00
f6035fd5db * mu4e-drafts: make the draft file the same as the mu-maildir function generates 2013-05-22 00:22:20 +03:00
83667fbe83 * fix typo 2013-05-22 00:06:32 +03:00