Commit Graph

4157 Commits

Author SHA1 Message Date
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
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
d718531312 mu4e: don't use 'node' for the subsection 2017-01-30 08:50:44 +02:00
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
bf2f2ee12a Do not show the electric quote menu if Emacs is too old 2017-01-24 23:21:55 +01:00
a9cbead5af Add a menu entry for electric-quote-local-mode 2017-01-24 23:21:55 +01:00
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
67b499f9ed mu4e: minor doc updating 2017-01-24 23:58:32 +02:00
475fec0d16 mu4e: treat 'traditional as 'above 2017-01-24 18:48:27 +02:00
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
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
014d33d050 mu4e: document `mu4e-headers-hide-predicate'
Add to the FAQ.
2017-01-22 22:12:40 +02:00
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
4859cb802f mu4e: headers: don't clear too soon
Try burying header buffers a bit less aggressively.
2017-01-18 00:13:02 +02:00
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
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
52ef84ccab mu4e: mu4e-main: don't use obsolete function 2017-01-16 23:44:34 +02:00
600955eebc mu4e: rename msg->message in mu4e-message-changed-hook 2017-01-15 15:41:16 +02:00
e9b71af547 mu4e-headers: default to include-related / skip-duplicates
Probably better default options for most users.
2017-01-14 16:51:50 +02:00
786e7c3d1f mu: add 'tickle' command, for renaming messages
The new command 'tickle' renames message files in place, which can be
useful for 3rd-party tools.
2017-01-14 13:09:17 +02:00
f91969e0b7 mu: refactor add/remove commands
Most of their code is shared, so let's combine them.
2017-01-14 12:32:20 +02: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
f40ffa2464 mu4e: split off mu4e-proc-mu
Move mu-specific backend functions into separate file.
2017-01-03 17:49:31 +02:00
ec064c5f9e mu4e: cosmetic
Clear up some overly long lines.
2017-01-03 17:45:03 +02:00
de2329dbde Replace "focus" with "context"
There were a handful places, primarily in the main menu, where the
word "focus" seemed to be used as a synonym for "context".  This
changes all of those instances to "context".
2017-01-03 17:41:21 +02:00
74b2c1de0a mu4e: Improve mu4e manual.
Fix some typos, improve formatting, and move down `@documentencoding`
otherwise causing issues on the PDF cover.
2017-01-03 17:38:23 +02:00
0e9ad847b3 buildsys: don't use -Werror by default
This breaks too many people's compiles.
2017-01-03 00:38:03 +02:00
688507f193 lib: fix a few compiler warnings
WARN_C(XX)FLAGS is really strict.
2017-01-03 00:37:19 +02:00
5a03c115c9 buildsys: remove some stray files
Since we depend on autoconf-archive now, we don't need the copies of
some of the m4 files, esp. since those break the autoconf-archive check
in configure.ac.
2016-12-31 16:55:35 +02:00
72a1da9da8 mu: fix some compiler warnings 2016-12-28 16:32:39 +02:00
0fe41c8690 autogen.sh: enable config-cache 2016-12-28 16:32:03 +02:00
887e75c4ee Child processes should be session leaders.
If not, when the session of mu is killed, these child processes are also
killed. This scenario shows up when using mu4e: a PDF attachment, for
example, is opened by Evince, but as soon as Emacs exits, Evince is also
killed.
2016-12-28 13:51:20 +02:00
f49e808160 Merge pull request #993 from dzop/master
mu4e: Use re-search-forward to find message signatures
2016-12-28 13:40:56 +02:00
9c884ee498 Use re-search-forward to find message signatures 2016-12-27 12:27:39 -06:00
b6a1674522 mu: make 'mu' shortcut for 'mu help' 2016-12-27 17:45:19 +02:00
800cb0e164 mu4e: update documentation on changing sorting params 2016-12-27 17:08:02 +02:00
66f550b210 Merge pull request #985 from thierryvolpiatto/improve_attachments
mu4e: Add some improvements in attachment actions.
2016-12-27 17:01:33 +02:00
b6985e13cb mu4e: killing instead of interrupting update process
Rename mu4e-interrupt-update-mail into mu4e-kill-update-mail, and it
kill rather than update the process.

Add backward-compat alias.
2016-12-27 16:52:20 +02:00
30dab7c312 cfind: uniquify nicks
Ensure uniqueness of nicks by adding a numerical suffix when the root
nicks are not unique (up to 1000).

Fixes issue #987.
2016-12-27 16:21:10 +02:00
ce37086baa Merge pull request #983 from stig/ignore-xua
Ignore xua
2016-12-27 02:20:59 -08:00
40c8e6b2e5 Merge pull request #982 from tychobrailleur/docstring-fix
mu4e: Fix outdated docstring for `mu4e-headers-actions'
2016-12-27 02:19:06 -08:00
c6d9ce4665 Merge pull request #981 from stig/readme-minor-fixes
Two minor fixes to README
2016-12-27 02:17:43 -08:00
cc00650276 Add xua/ to .gitignore 2016-12-21 15:46:09 +00:00
3e865ca71f Add some improvements in attachment actions.
* mu4e/mu4e-view.el (mu4e-view-attachment-action):
Handle multi save in mu4e-view-attachment-action.

* mu4e/mu4e-view.el (mu4e-view-attachment-actions):
Make mu4e-view-attachment-actions a defcustom and add some options.

New user variable mu4e-view-attachment-assoc.

* mu4e/mu4e-view.el (mu4e-view-attachment-assoc): New.
(mu4e-view-open-attachment-with): Use it.
2016-12-19 09:32:17 +01:00
c1c7bf44cf mu4e: Fix outdated docstring for `mu4e-headers-actions' 2016-12-18 10:38:50 +00:00
21d69d74fe Two minor fixes to README 2016-12-17 13:28:05 +00:00
fb8e148878 HACKING: update build instructions 2016-12-15 08:21:25 +02:00
fc70fc6c3b Merge pull request #977 from Chris00/travis
Travis: use recent autoconf 2.69 and recent autoconf-archive
2016-12-14 18:53:18 +02:00
c25a3030fc Travis: use recent autoconf 2.69 and recent autoconf-archive 2016-12-14 01:57:33 +01:00
50ba087b7a update build instructions 2016-12-13 23:03:25 +02:00