Commit Graph

3955 Commits

Author SHA1 Message Date
7585506e37 Merge pull request #831 from j-hao/master
Handle attached images when write msg body to html
2016-05-07 12:27:46 +03:00
d16957dc97 mu4e: handle attached image when write msg body to html 2016-05-07 09:07:11 +08:00
f998a0ad1e mu: expose content id to attachment plist 2016-05-07 09:07:11 +08:00
c97591ea0f Merge pull request #841 from liweitianux/patch-1
Only ignore the "/mu/mu" executable
2016-05-06 22:12:19 +03:00
e06c9ad1dd Merge branch 'master' of github.com:djcb/mu 2016-05-06 22:09:48 +03:00
c46dda206f mu: fix a few mem leaks 2016-05-06 22:08:12 +03:00
726a6a54f9 Only ignore the "/mu/mu" executable 2016-05-03 23:06:28 +08:00
455a0731c0 Merge pull request #820 from tmalsburg/master
Mu4e: Added missing menu items.
2016-04-26 20:13:07 +03:00
55fc2c55f9 Merge pull request #832 from jsrjenkins/patch-1
Fix minor typo on line 1486
2016-04-26 20:12:11 +03:00
9556122ec9 Merge pull request #834 from Chris00/master
mu4e: Add spam-filtering functions suitable for the view mode
2016-04-26 20:10:33 +03:00
cef449f1d4 mu4e: doc: update to mu4e-compose-cite-function
We were still using the old name. Fixes #835.
2016-04-26 20:03:52 +03:00
e398f336a0 Add spam-filtering functions suitable for the view mode 2016-04-19 20:27:38 +02:00
75c64e36ab Remove the mention of unsure spam functions that do not exist 2016-04-19 20:25:35 +02:00
9c747f524c Fix minor typo on line 1486
Fixing the small typo which caused cosmetic errors in the Editor View Section.
2016-04-19 08:48:15 +01:00
69780d2e02 Create issue_template.md
Give bug / feature request reporters a template to fill out.
2016-03-28 17:54:09 +03:00
a5dc1f002a Merge branch 'master' of github.com:djcb/mu 2016-03-24 20:29:48 +02:00
975d270dd3 mu4e: don't strip references for fwd messages
Don't remove the references header for forwarded message because there's
no "in-reply-to"
2016-03-24 20:27:47 +02:00
1edeee4764 mu4e: fix typo -> mu4e~headers-msgid-target 2016-03-24 20:26:39 +02:00
88df34cd96 Mu4e: Added missing menu items. 2016-03-22 23:33:07 -07:00
8ca6cc2883 mu4e: cosmetic fix in doc
Align table.
2016-03-23 07:11:48 +02:00
e1b99e2f12 mu4e: some documentation updates
In particular, update the context example
2016-03-16 01:13:03 +02:00
15f857afcc mu4e: try to jump to same message after re-search
After a re-search, perhaps after toggling threading etc., try to move
point to the same message it was before
2016-03-16 01:11:11 +02:00
98c71d24e8 Merge pull request #813 from jsitnicki/guile-fix-get-parts
guile: Update calls to mu:get-parts after name change
2016-03-15 07:42:24 +02:00
66f205f6c5 mu: improve filename escaping
Sanitize attachment-names by replacing all control characters, '/' and
':'' by '-', but leave spaces alone.
2016-03-15 06:59:35 +02:00
c041ca39ed mu4e: mention privacy aspects of browser
Mention the privacy aspects of opening a message in a browser, and what
to do about it.
2016-03-15 06:40:21 +02:00
6dd3d60402 mu4e: minor docstring fix for `mu4e-index-update-in-background' 2016-03-14 23:00:14 +02:00
80e5b85845 Merge branch 'master' of github.com:djcb/mu 2016-03-14 22:56:51 +02:00
acd00a0b3f mu: add user-agent property to msg plist
Add a user-agent property to the full message sexps (i.e., the ones
available in mu4e-view). This property contains either the User-Agent or
X-Mailer string (and is absent otherwise)
2016-03-14 22:53:42 +02:00
6aaf5588c3 mu4e: fix typo in `mu4e-header-info-custom' docstring 2016-03-14 22:48:11 +02:00
8ecafca025 Merge pull request #816 from j-hao/master
mu4e: quote user-full-name according to rfc822 when construct from field
2016-03-14 22:38:12 +02:00
13c4b48920 mu4e: quote user-full-name according to rfc822 when construct from field 2016-03-14 23:08:41 +08:00
68f5dc3973 mu: Change default max msg size to 500 Mb
Seems people are getting really big mails these days, so let's up the
default (which is also what mu4e uses) to 500 Mb (which should be enough
for everyone, always)
2016-03-13 19:07:49 +02:00
1505da640d mu4e: add check for add-face-text-property
add-face-text-property was only introduced in emacs 24.4, so check
before use in mu4e-headers as do in mu4e-view.

Fixes issue #811.
2016-03-09 08:02:57 +02:00
9608be5c9f Merge pull request #810 from j-hao/master
mu4e: add mu4e-index-update-in-background
2016-03-07 19:52:54 +02:00
0bd19fc40c mu4e: add mu4e-index-update-in-background
Give users choice to decide if they want to run automatic
mu4e-index-update in background or not
2016-03-06 22:03:37 +08:00
739f020764 Update calls to mu:get-parts after name change
In commit 8e3fbe380e mu:get-parts was renamed to mu:c:get-parts but
get-parts method was not updated. Fix it.
2016-03-05 18:55:14 +01:00
eab45dc88d Update NEWS 2016-02-23 23:25:52 +02:00
74691afde8 mu4e: update org-mode support
mu4e-view-message-with-message-id is the new name for
mu4e-view-message-with-msgid.
2016-02-23 23:25:18 +02:00
7ac4921902 mu4e: improve mu4e-view-message-with-message-id
Now, when going to a message with certain message-id, do open a headers
buffer as well. This way, message opened this behave just like an other
message, and can be delete, flagged etc.

As a bonus, you get the whole message thread for a given
message (depending on settings)

mu4e-view-message-with-message-id now does a search and
mu4e-headers-search allow for some extra actions to open a specific
message in a hook function.
2016-02-23 23:19:54 +02:00
775eb3f715 mu: write contacts-cache a bit sooner
Write the changes to the cache file after any indexing operation, so `mu
cfind` gets new contacts a bit sooner.
2016-02-21 19:48:21 +02:00
2b0d75b295 mu4e: don't use message-kill-actions for closing frames
Seems it is handled by the other actions already, and kills one-too-many
frames.
2016-02-21 16:33:55 +02:00
24194b4d12 Remove some debug 2016-02-20 12:35:43 +02: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
ace2f2ad2c mu4e: clean up creating html files
Clean up the creation of html files a bit, and automatically clean them
up after a short while, so we don't clutter /tmp.

Refactor the html-generating actions, so we don't repeat ourselves too
much.
2016-02-20 11:21:24 +02:00
392880233f mu4e: rename to mu4e-headers-search-hook
The old name mu4e-headers-search-pre-hook was unnecessarily long.
2016-02-19 07:39:52 +02:00
93a5b70d32 Merge pull request #805 from avar/mu4e-headers-search-bookmark-hook-again
mu4e-headers: Add hook executed when we're opening bookmarks (again)
2016-02-18 23:17:05 +02:00
14af0d28c8 mu4e-headers: Add hook executed when we're opening bookmarks (again)
This was merged in as part of pull request #718 but changed to a more
general facility in 7716e00.

It's fantastic that we have the more general hook facility for any
search, but the primary use-case I had for the bookmark hook can't be
satisfied by the more general mu4e-headers-search-pre-hook.

The reason I added this hook was to emulate the folders I used in
Icedove as mu4e bookmarks. E.g. some folders are threaded, others are
not. By default mu4e only allows you to set this globally via options
like mu4e-headers-show-threads.

So I have a mu4e-headers-search-bookmark-hook which is basically a long
line of cond statements like:

    ((string-equal expr "NOT flag:trashed AND date:365d..now AND (flag:flagged)")
        (setq mu4e-headers-show-threads nil)
        (setq mu4e-headers-include-related nil)
        (setq mu4e-headers-skip-duplicates t)
        (setq mu4e-headers-results-limit 500))

For this to work properly it's critical that the hook doesn't execute on
any search, but *only* those where we enter it via the bookmark.

As an example, I have a "b+" search which finds messages I've flagged,
most of my searches have related & threading turned on, but for that
search I only want to show the specific messages I've flagged, so the
hook turns both of those settings off before executing the search.

But I might still want to change my mind and look at the related
messages as threads by pressing P and then W. This works with the
mu4e-headers-search-bookmark-hook because it only executes when we get
the search via a bookmark.

But it doesn't work with the mu4e-headers-search-pre-hook because when I
toggle the setting my settings hook (which matches the search executed
by the bookmark) will just turn it back off again.

Perhaps there's some clever way to know if we're getting to the
mu4e-headers-search-pre-hook via the bookmark that I've missed. But if
there isn't I need a hook that works like this.
2016-02-18 21:37:21 +01:00
7716e005bf mu4e: add mu4e-headers-search-pre-hook
Just before executing a search, a hook-function
`mu4e-headers-search-pre-hook` is invoked, which receives the search
expression as its parameter.
2016-02-18 20:59:02 +02:00
eca427d3a2 Merge commit '4f83ab0f9430f0af1e6d3adbfc9a9591dddb8867' into avar/avar/mu4e-headers-search-bookmark-hook 2016-02-18 20:24:29 +02:00
961dba6d3e mu4e: by default, don't ignore any address
If set to nil, mu4e-compose-complete-ignore-address-regexp shouldn't
match anything.
2016-02-18 19:28:21 +02:00