1
0
mirror of https://github.com/djcb/mu.git synced 2024-06-20 06:46:50 +02:00
Commit Graph

33 Commits

Author SHA1 Message Date
Dirk-Jan C. Binnema
3a39eff1df mu4e-(actions|control|org|update).el: tidy up
Fix flycheck warnings, and use '--' instead of '~' for private
variables/functions.
2021-08-31 08:46:27 +03:00
Dirk-Jan C. Binnema
9157d9102d mu4e-utils: refactor into mu4e-helpers, separate files
Usurp more of the utils code than can be re-used without further dependencies in
helpers.

Split off specific parts in their own file.

After the helper/utils changes, update the rest of mu4e to take the changes into
account.
2021-08-29 21:40:42 +03:00
Salman Mohammadi
539a946aa4
mu4e/*: fix license notice at the start of source files
At the start of mu4e/* files, the license has been wrongly attributed
to GNU Emacs instead of mu4e.

Fixes https://github.com/djcb/mu/issues/2019
2021-05-29 23:45:10 +02:00
Dirk-Jan C. Binnema
2437dc27c9 mu4e: Replace mu4e-view-use-gnus with mu4e-view-use-old
Make mu4e-view-use-gnus obsolete (it's the default now), and add a
variable mu4e-view-use-old (which must be set before starting mu4e).

Update documentation / mentions.

Load the correct view when starting mu4e, so people can customize
e.g. the keymap.

Add some sanity checking.
2021-03-16 19:57:36 +02:00
Thierry Volpiatto
0109172ad4
Use functions instead of lambdas in add-hook calls 2020-11-13 11:38:50 +01:00
Derek Upham
bb865fd1af Strip properties from mu4e-completing-read-function results.
Some completion engines (like "flx") decorate the strings that they
return.  If MU4E passes such a string down to MU, the "format" call
preserves the text properties in the generated S-expression, producing
an invalid query.  MU4E itself has no interest in those decorations,
so strip them out as early as possible from all prompts that use
mu4e-completing-read-function.
2020-05-18 08:12:56 -07:00
Jonas Bernoulli
74332947a0 mu4e: Split libraries into outline sections 2020-02-18 23:49:50 +02:00
Jonas Bernoulli
040c6578be mu4e: Place provide forms in their own sections
Use "_" as the title of that section so that it is less distracting
when sections are collapsed to get an overview of the library.

Using a separate section is useful because it reduces the risk of
accidentally into the middle of a library.
2020-02-18 23:49:50 +02:00
Jonas Bernoulli
6c58a311d1 mu4e: Add missing mandatory "FILE ends here" library footer 2020-02-18 23:49:50 +02:00
Jonas Bernoulli
15c6680037 mu4e: Add missing mandatory "Code:" section headers 2020-02-18 23:49:50 +02:00
Jonas Bernoulli
83f0c9cea9 mu4e: Remove excess semicolons from library headers
Placing two semicolons on an otherwise empty line helps to logically
"connect" the surrounding "paragraphs", which in (only) some cases
makes sense.

Previously the three paragraphs of the permission statement were not
connected to each other like this, which is perfectly fine.  However
the preceding "This file is not part of GNU Emacs." line was connected
to the first paragraph, which does not make sense considering that the
latter is not connected two the second paragraph, which it relates to
more.

Once those two semicolons are gone, it also makes sense to remove
those from the second line.
2020-02-18 23:49:50 +02:00
Jonas Bernoulli
6790c0d015 mu4e: Fix indentation 2020-02-17 14:28:00 +01:00
Dirk-Jan C. Binnema
e1e26d1da2 mu4e: update to use server maildir/database/addresses
Mkae mu4e-maildir and mu4e-personal-addresses obsolete, we get those
from the server.
2020-02-09 00:15:49 +02:00
Thierry Volpiatto
846428cfd4
Unquote lambda's
* mu4e/mu4e-context.el (mu4e-context-switch):         Do it.
* mu4e/mu4e-contrib.el (mu4e-view-mode-hook):         Do it.
(mu4e-headers-mode-hook):                             Do it.
* mu4e/mu4e-icalendar.el (mu4e-icalendar-reply-ical): Do it.
* mu4e/mu4e-utils.el (mu4e~start):                    Do it.
(mu4e-split-ranges-to-numbers):                       Do it.
2020-01-27 08:41:24 +01:00
Dirk-Jan C. Binnema
0bc2e605a4 mu4e: clean up org-handling
Load org support by default, unless mu4e-org-support is set to nil.

Turn off speedbar support by default (set mu4e-speedbar-support to t to
re-enable it).

Move the non-obsolete org stuff to mu4e-org. Rename some things from
org-mu4e to mu4e-org.

Remove org-old-mu4e.el
2019-12-10 18:09:03 +02:00
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
Prashant Sachdeva
eef00e7263 Removing the dependencies on gnus in eshell/mu4e-attach. 2016-08-28 10:03:02 +09:00
Prashant Sachdeva
9b6a7424df Adding eshell/mu4e-attach allowing attachments from eshell. 2016-08-17 10:45:32 +09:00
djcb
b5345851ee mu4e: documentation 2016-07-31 11:23:38 +03:00
Christophe Troestler
e398f336a0 Add spam-filtering functions suitable for the view mode 2016-04-19 20:27:38 +02:00
Christophe Troestler
75c64e36ab Remove the mention of unsure spam functions that do not exist 2016-04-19 20:25:35 +02:00
djcb
41455fe524 mu4e: default to mu4e-shr2text when available
Make shr the default renderer for rich-text emails, if shr is
available. Update the documentation.
2016-02-07 14:33:24 +02:00
djcb
967b3cb727 mu4e: update copyright years 2016-01-09 21:28:03 +02:00
Jun Hao
2a75c652c2 Add mu4e-headers-mark-all to execute certain action on all msgs from current query 2015-12-03 19:32:15 +08:00
Gour
3c22af2bb8 mu4e-contrib: add some spam-handling functions
Add some basic spam-handling functionality to mu4e-contrib
2015-06-09 21:08:02 +03:00
Titus von der Malsburg
ab9a7c3a6d mu4e-shr2text does not anymore retrieve images.
When HTML emails contain references to remote images, retrieving these images
leaks informationo.  For example, the sender can see when I openend the email
and from which computer (IP address).  For this reason, it is preferrable to
not retrieve images.
2014-11-23 14:52:31 +02:00
djcb
80b4c17edc mu4e: make it easy to use shr for viewing rich text message
new emacs versions have the shr html renderer; we can use it to render
rich text messages. And some snippet to do so, and document it.
2014-11-01 12:41:55 +02:00
Thierry Volpiatto
f6fb12262a * mu4e/mu4e-contrib.el (mu4e-view-bookmark-make-record): Fix, using last-query doesn't work when the query contain a date query. 2014-03-25 07:30:35 +01:00
Thierry Volpiatto
057a804e6c * mu4e/mu4e-contrib.el: Add bookmark handlers for mu4e. 2014-03-21 20:27:33 +01:00
djcb
3c67aa6591 * mu4e: fix a few compiler warnings / typos 2013-06-03 21:09:20 +03:00
djcb
aef607c5c1 * cosmetics 2013-04-29 23:52:55 +03:00
djcb
e7d52bc09e * mu4e: add mu4e-contrib, with sabof's mu4e-headers-mark-all-unread-read, mu4e-headers-flag-all-read 2013-04-29 23:52:17 +03:00