Commit Graph

4339 Commits

Author SHA1 Message Date
John Whitbeck bbd8f55700 mu4e: fix sending emails with no body 2017-03-11 22:17:56 -08:00
Dirk-Jan C. Binnema 8f1f88ce0a Merge pull request #1044 from garaud/doc-org-contact-link
mu4e: update the org-contacts package link in the doc
2017-03-11 15:02:07 +02:00
djcb b04b3bcea9 mu4e: don't require user-agent string 2017-03-09 01:27:44 +02:00
Damien Garaud 5b36656d5d mu4e: update the org-contacts package link in the doc 2017-03-06 10:55:35 +01:00
Dirk-Jan C. Binnema 9798d1fe6a Merge pull request #1036 from wavexx/reply-ignore-regexp
mu4e: Allow to ignore addresses when doing wide replies
2017-03-05 15:57:05 +02:00
Dirk-Jan C. Binnema 2940263aca Merge pull request #1032 from avar/gitignore-build-aux
.gitignore: Update for the change made in ea409398
2017-03-05 15:54:42 +02:00
Dirk-Jan C. Binnema 23cea8b76e Merge pull request #1033 from avar/gitignore-perl
perl: Add a .gitignore file with the MYMETA build assets
2017-03-05 15:54:13 +02:00
Dirk-Jan C. Binnema 47db807d12 Merge pull request #1039 from ian-kelling/docs-mu4e-get-maildirs
mu4e: improve `mu4e-get-maildirs' docstring
2017-03-05 15:53:19 +02:00
Dirk-Jan C. Binnema d4b0b1c3b5 Merge pull request #1031 from avar/add-mu_home-env-variable
Add support for specifying --muhome via MU_HOME in the environment
2017-03-05 15:52:30 +02:00
djcb ce88e76569 cosmetics 2017-03-05 15:32:02 +02:00
djcb 11d0515376 mu: allow for negative first param in sexp date spec
The first parameter xx in a (:date xx yy zz) can be negative in some
cases, e.g. to specify pre-1970 dates.
2017-03-05 15:32:02 +02:00
Ian Kelling c6d297b402 mu4e: improve `mu4e-get-maildirs' docstring 2017-02-28 04:15:27 -08:00
Dirk-Jan C. Binnema ff94595fad Merge pull request #1037 from wavexx/fix-duplicate-header-views
mu4e: Do not duplicate headers views in iconified/hidden frames
2017-02-21 09:46:43 +02:00
Dirk-Jan C. Binnema f3aa51fbc1 Merge pull request #1034 from jschwab/docs-context-maildir
doc: Add example of matching maildir and its sub-directories in contexts
2017-02-21 07:59:31 +02:00
Dirk-Jan C. Binnema 14317a322e Merge pull request #1030 from tmalsburg/master
mu4e: Added menu items for untrash
2017-02-21 07:56:52 +02:00
Yuri D'Elia 34ed757e11 Do not duplicate headers views in iconified/hidden frames
When the frame running mu4e is in another virtual desktop or iconified, but
still contains a visible headers buffer, do not attempt to create a new view.
2017-02-20 18:40:20 +01:00
Yuri D'Elia 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
Josiah Schwab 195b91a3db Add example of matching maildir and its sub-directories in contexts
Inspired by this mu-discuss thread:
https://groups.google.com/d/msg/mu-discuss/rAT2YJPEwsA/eYmoGJbUCgAJ
2017-02-17 14:52:06 -08:00
Ævar Arnfjörð Bjarmason 6523ca6b3c perl: Add a .gitignore file with the MYMETA build assets
These get created by ExtUtils::MakeMaker, so they won't be found by
grepping our own code, but they're created by the build process.
2017-02-17 14:43:16 +01:00
Ævar Arnfjörð Bjarmason 9a480c4339 .gitignore: Update for the change made in ea409398 2017-02-17 14:40:59 +01:00
Ævar Arnfjörð Bjarmason 18b8ce249f Add support for specifying --muhome via MU_HOME in the environment
When you have multiple mu home directories, e.g. for the use case
detailed in my "Changing mu4e-{maildir,mu-home} from a context hook"
post to the mailing list it's quite inconvenient to have to hammer out
"mu --muhome=.. find .." every time you want to run some ad-hoc
command.

This allows me to set up a screen session where I do searches in mu
directory A in some screen panes, and searches in directory B in
others.

I initially called this MU_MUHOME but then I noticed that the perl
plugin has MUP_MU_HOME for analogous functionality, so I'm just
following its example.

The code I'm adding in mu-util.c is just a copy/paste & adjustment of
the same sort of already tested functionality in
mu_util_guess_maildir() just a few lines earlier.
2017-02-17 11:28:45 +01:00
Titus von der Malsburg 79ad110737 mu4e: Added menu items for untrash 2017-02-14 12:02:56 +01:00
djcb ea40939810 configure.ac: improve autoconf-archive warning
Mention which version is needed.
2017-02-12 12:00:59 +02:00
djcb 4c9a8ea112 mu4e: filter out body parts as attachments
Make the attachment heuristic yet a bit more complicated... filter out
most body parts.
2017-02-12 11:33:01 +02:00
djcb 1c4dbe580c mu4e: show inline text/plain as attachment
Show inline text parts as attachments too, so we can save them; however,
filter outer really small ones (ie. footers)
2017-02-12 11:11:16 +02:00
djcb 235dc75a1a mu4e: mu4e-message: allow for bodyless messages
Seems the code didn't handle the no-body case. Do so now.
2017-02-07 07:45:59 +02:00
djcb 7c6c3b63f8 mu4e: remove some debugging 2017-02-07 07:09:05 +02:00
Dirk-Jan C. Binnema ad1a372b5f Merge pull request #986 from stig/format-flowed-alt
POC: Respect format=flowed and delsp=yes for viewing plain-text messages
2017-02-05 15:52:16 +02:00
djcb b0c618c3e5 mu4e: fix typo mu4e~html2text-wrapper 2017-02-05 15:49:02 +02:00
djcb 06e848a448 mu4e: fix type (-> mu4e~html2text-shell) 2017-02-05 13:23:19 +02:00
Stig Brautaset cdc2fa1bd8 Respect format=flowed and delsp=yes for viewing plain-text messages 2017-01-31 11:28:55 +00:00
djcb 05faceeb49 mu4e: some whitespace cleanup 2017-01-30 21:07:00 +02:00
djcb 5a09733048 mu4e: msg2pdf: don't require builddir for default
Try to find msg2pdf in addition to builddir, since it seems some people
/ distros are actually installing it.
2017-01-30 21:05:04 +02:00
Dirk-Jan C. Binnema 430f17af65 Merge pull request #1003 from Chris00/elec-quote
mu4e: Make electric-quote-(local-)mode work when composing emails
2017-01-30 20:49:56 +02:00
djcb d718531312 mu4e: don't use 'node' for the subsection 2017-01-30 08:50:44 +02:00
djcb 08f2bb2ef4 mu4e: allow for message body rewriting
Add `mu4e-message-body-rewrite-functions', a list of functions to
transform the message body text. Add a small example to the
documentation.
2017-01-29 13:21:53 +02:00
Christophe Troestler bf2f2ee12a Do not show the electric quote menu if Emacs is too old 2017-01-24 23:21:55 +01:00
Christophe Troestler a9cbead5af Add a menu entry for electric-quote-local-mode 2017-01-24 23:21:55 +01:00
Christophe Troestler 9cb0772993 Make electric-quote-(local-)mode work when composing emails
electric-quote-(local-)mode used to have no effect because
`comment-use-syntax' was left to `undecided' so the electric mode was
not enabled for paragraphs.

Fixes https://github.com/djcb/mu/issues/997
2017-01-24 23:21:55 +01:00
djcb 67b499f9ed mu4e: minor doc updating 2017-01-24 23:58:32 +02:00
djcb 475fec0d16 mu4e: treat 'traditional as 'above 2017-01-24 18:48:27 +02:00
djcb 02e651a8fc mu4e: rework html2text conversion
Rework the conversion from html to text; the functions doing that now
expect to receive one parameter, the message, and return the converted
message.

In the old way, the function got invoked in a buffer with html text, and
were expected to modify it to text. This old way is still supported for
backward compatibility.
2017-01-24 08:27:21 +02:00
djcb edcae719e4 mu4e: pass msg to html2text functions
Add a `msg' parameter to html2text functions, but for backward
compatibility, introspect the functions, and if they don't support it,
use the old ways of running the function in the context of a buffer with
the html text.
2017-01-22 22:20:08 +02:00
djcb 014d33d050 mu4e: document `mu4e-headers-hide-predicate'
Add to the FAQ.
2017-01-22 22:12:40 +02:00
djcb 1c4caf198d mu4e: try to honor `message-cite-reply-position'
Try to respect gnu's `message-cite-reply-position' by placing the cursor
in the right position.
2017-01-22 22:11:30 +02:00
djcb 4859cb802f mu4e: headers: don't clear too soon
Try burying header buffers a bit less aggressively.
2017-01-18 00:13:02 +02:00
Dirk-Jan C. Binnema 6446d62c15 Merge pull request #1008 from KrzysiekJ/forward-as-attachment
mu4e: Add possibility to forward messages as attachments
2017-01-16 23:54:11 +02:00
djcb e0c21252c9 mu4e: clean up update handling
When we have a mu4e-headers window open and there's an update, try to
refresh it. If there's no open window, don't.
2017-01-16 23:45:14 +02:00
djcb 52ef84ccab mu4e: mu4e-main: don't use obsolete function 2017-01-16 23:44:34 +02:00
djcb 600955eebc mu4e: rename msg->message in mu4e-message-changed-hook 2017-01-15 15:41:16 +02:00