Commit Graph

67 Commits

Author SHA1 Message Date
Jonas Bernoulli f31d1b065d Fix typos 2019-11-06 16:13:39 +01: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
Dirk-Jan C. Binnema 26dca831c6 mu4e: automatically rebuild database when possible 2019-07-30 08:51:04 +03:00
djcb 7563b89c9c mu4e: support incremental contacts 2019-05-11 13:41:03 +03:00
djcb 0437edc982 mu4e: mu4e-proc: Fix flymake warnings, whitespace 2019-05-11 13:41:03 +03:00
Alex Branham 2674ca5583
mu4e: Replace cl with cl-lib 2019-01-04 16:03:58 -06:00
djcb 16fa5d9a22 server: maybe mark updates with :maybe-view
Don't updates messages when it's not needed, but don't use :view, since
it confuses mu4e's handlers.
2018-08-18 11:40:16 +03:00
djcb 82e7d7c65d mu: better handle updating mail being viewed
instead of the the 'noupdate', add 'noview', so the headers still get
update but we don't render unread mail twice.
2018-08-14 21:59:41 +03:00
djcb a4398ac93d mu4e/mu: optimize mark-as-read
Since cd649efb6b, opening an unread message first does a proc-move,
then proc-view.

Reason is that while we get the (:update ... ) from the move, that only
contains a skeleton message; we need the full view get images etc. This
means that we render the message _twice_.

Here we change add a flag for move to _not_ send the (:update ..), so
only the (:view ...) will trigger rendering of the message.
2018-08-12 14:00:59 +03:00
djcb 0228f35ec5 simplify mu4e~docid-msgid-param
It was using an ununed `format', which caused trouble when the msgid
contained format characters.
2017-12-27 12:51:44 +02:00
djcb e1c6fa4b95 mu4e: fix typo in mu4e~docid-msgid-param
Fix silly typo. Fixes #1166.
2017-12-10 13:52:11 +02:00
djcb 0d9d8d26d0 mu4e: improve msgid quoting 2017-12-03 22:18:35 +02:00
djcb 5f79535574 proc: ensure query string is utf-8
ensure that the query string is utf-8 before passing it to the backend.
2017-11-08 21:26:00 +02:00
djcb 9ecc610e14 mu4e: some doc fixes 2017-11-04 15:06:45 +02:00
djcb c3aca5b29e mu4e: cosmetic 2017-11-02 08:06:48 +02:00
djcb ea2ffe23ae mu: fix quoting/unquoting parameters 2017-10-30 22:06:36 +02:00
djcb af4f12c696 mu4e: allow longer queries
Tell base64-encode-string not to include newlines.
2017-10-28 20:33:41 +03:00
djcb 4ee8c5e1d6 mu4e: work around quoting issues
Use base-64 for now.
2017-10-28 18:23:08 +03:00
djcb 457a0a17a2 mu4e: update query quoting for new parser 2017-10-27 18:44:19 +03:00
djcb 85a9098962 mu4e: merge proc-mu back into proc.el 2017-10-25 23:50:17 +03:00
djcb 77b8f034e9 cosmetic 2017-09-17 14:02:14 +03:00
djcb f40ffa2464 mu4e: split off mu4e-proc-mu
Move mu-specific backend functions into separate file.
2017-01-03 17:49:31 +02:00
djcb eb7888cdb1 mu4e: support mu indexing performance options
Add two variables mu4e-index-cleanup and mu4e-index-lazy-check, which
correspond to mu index option --lazy-check and --nocleanup.

Extend the mu server protocol a bit to handle this.

The defaults keep things behaving as they done before.
2016-07-23 21:33:10 +03:00
djcb ed16684f45 mu4e: cosmetics 2016-06-08 19:25:52 +03:00
djcb 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
djcb 967b3cb727 mu4e: update copyright years 2016-01-09 21:28:03 +02:00
djcb 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
djcb 8f80bc498f mu4e: fix docstring (mu4e-view-func) 2015-12-11 08:10:29 +02:00
Foivos S. Zakkak c5fd36a67f Fix replying to gpg encrypted mails (#186) 2014-10-15 02:42:57 +03:00
Foivos S. Zakkak 51037be7fb Fix #186 Part 3
This patch fixes the attachment extraction (open, save, temp) when using
`mu4e`.  `mu4e` used to not notify the mu-server about the
mu4e-decryption-policy.  As a result mu-server did not decrypt the
attachments for extract, open, or temp.
2014-10-10 18:34:57 +03:00
Stephen Eglen b430ca11c4 Update mu4e-proc.el
Fix typo.
2013-12-26 13:17:25 +00:00
uu1101 4eea81b57a * mu-proc: Don't rename when moving inside a Maildir
`mbsync' expects messages moving inside a Maildir (from `new' to `cur',
for example) to mantain its basename.
2013-12-01 01:37:51 +01:00
djcb 72e6fb997a * mu4e: make the byte-compiler happy 2013-06-29 13:07:32 +03:00
djcb 3c67aa6591 * mu4e: fix a few compiler warnings / typos 2013-06-03 21:09:20 +03:00
djcb 08748f2e28 * mu4e: add mu4e-change-filenames-when-moving customization 2013-05-28 04:34:49 -07:00
djcb 5af020ec2f * mu4e: make mu4e~proc-extract deal witn non-string params 2013-05-22 21:36:14 +03:00
djcb 222d8c3627 * improve message-composition / draft handling 2013-05-21 08:05:06 +03:00
djcb 5f3393ef83 * mu4e: mu4e-proc: fix ping, quit 2013-05-20 05:59:48 +03:00
djcb 1aec1e2f7c * mu4e: some fixes in mu4e-proc 2013-05-20 05:31:27 +03:00
djcb e2a0e58ae8 * mu4e: use the new server protocol 2013-05-20 05:14:57 +03:00
djcb 0bb56e5558 * mu4e: add some more quoting to commands 2013-05-13 23:02:26 +03:00
djcb ca90c99e85 * mu4e: mu4e~proc: make sure parameters are not treated as format strings 2013-03-22 08:01:50 +02:00
djcb b41e8a6034 * mu4e: handle empty contact lists 2013-03-09 07:38:07 -08:00
djcb b815f61216 * mu4e-proc: inform user when database needs upgrade 2012-12-28 18:53:45 +02:00
djcb 58f5e39d34 * add support for finding related messages to mu-find, mu4e, this does *not*
include the actual implementation though
2012-12-25 11:58:32 +02:00
djcb 7053582dd7 * add skipping-dups support to mu4e 2012-12-17 22:30:26 +02:00
djcb 0e204fece4 * small cleanup of the retagging support 2012-12-09 15:07:21 +02:00
djcb f957a9ca89 * mu4e: cleanup header sorting (and fix the sort-by-human-date case) 2012-11-11 19:27:55 +02:00
Jonas Bernoulli 8a3d4c27de improve doc-strings
The first sentence should summarize the variable's or function's
purpose and it should fit on the first line.  Change existing
doc-string by:

* Move first sentence onto first line even if that makes it _a bit_
  long.
* Move additional notes out of first sentence and add them later,
  possibly as complete sentences.
* If I am uncertain whether doing the above would alter the meaning,
  _don't_ do it.
* If fitting the initial sentence on the first line would require a
  complete rewrite of the doc-string _don't_ do so unless it is very
  easy to do.
* Remove indentation from second and later lines if it is there to
  align them with the first in the source code, instead of in
  `describe-*' output.
* Make "pullet point" lists a bit more consistent.

Obviously this does not fix all problems but it's a start.
2012-11-10 14:01:17 +01:00
djcb 8dfcb2d909 * mu4e: some better escaping for queries with backslashes 2012-11-02 09:26:12 +02:00