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

4031 Commits

Author SHA1 Message Date
Dirk-Jan C. Binnema
04d973a9df Merge pull request #861 from remvee/feature/hide-index-messages-customizable
mu4e: Make `mu4e-hide-index-messages' customizable
2016-06-05 18:55:49 +03:00
djcb
5656d3ee18 Merge branch 'master' of github.com:djcb/mu 2016-06-05 18:53:31 +03:00
djcb
ac1bfae196 mu4e: limit # of references to 21
Following the example of `message-shorten-references', only allow up to
21 references, since some mail servers limit them.

Fixes #859.
2016-06-05 18:49:04 +03:00
Dirk-Jan C. Binnema
db3a8c712d Merge pull request #853 from liweitianux/master
Use Unicode characters when cleaning up attachment filename
2016-06-05 17:41:07 +03:00
Remco van 't Veer
4814548318 Make `mu4e-hide-index-messages' customizable 2016-06-03 09:50:52 +02:00
Dirk-Jan C. Binnema
36571518b0 Merge pull request #858 from j-hao/master
mu4e: Make dvipng optional when convert from org to html
2016-06-01 09:07:31 +03:00
Jun Hao
fe52c0e932 mu4e: Make dvipng optional when convert from org to html 2016-05-31 20:28:57 +08:00
Aaron LI
297df938d6 Use Unicode characters when cleaning up attachment filename
Improve the function ``cleanup_filename()`` of ``lib/mu-msg-part.c`` to
use Unicode characters when replacing the control characters, slashes
and colons with ``-``.

Originally, this function just use plain C characters (i.e., assuming
ASCII string) when checking each character is or not a control character,
slash or colon.  However, when the attachment filename contains non-ASCII
(e.g., Chinese characters), all the non-ASCII characters are replaced
with ``-``.

For example:
* Before:
```
> mu view test_chinese_attachment_filename.eml
From: Tester <tester@example.com>
To: Example <example@example.com>
Subject: Test email with attachment of Chinese filename
Date: Mon 23 May 2016 05:22:09 PM CST
Attachments: 'attachment-test.txt', '------------.txt', '-------test.txt'
Hello,

This is a simple test email with three attachments:

1. `attachment:test.txt`: filename is all English;
2. `测试附件.txt`: filename is all Chinese (exclude the extension);
3. `附件-test.txt`: filename mixes Chinese and English.
```

* After:
```
> ./build/mu/mu/mu view test_chinese_attachment_filename.eml
From: Tester <tester@example.com>
To: Example <example@example.com>
Subject: Test email with attachment of Chinese filename
Date: Mon 23 May 2016 05:22:09 PM CST
Attachments: 'attachment-test.txt', '测试附件.txt', '附件-test.txt'
Hello,

This is a simple test email with three attachments:

1. `attachment:test.txt`: filename is all English;
2. `测试附件.txt`: filename is all Chinese (exclude the extension);
3. `附件-test.txt`: filename mixes Chinese and English.
```
2016-05-23 19:26:04 +08:00
Josiah Schwab
fb45d70d54 Improve behavior of mu4e-action-show-thread
This patch improves the behavior of mu4e-action-show-thread.  This
action now leaves the point on the message where the action was invoked,
which helps prevent losing ones' place in a long thread.  When invoked
in view mode, it continues to display the message that was being viewed,
instead of returning to a header-only view.
2016-05-19 10:05:29 -07:00
djcb
54b6230adf tests: fix unit tests
Some tests weren't yet update for the new test message.
2016-05-16 13:38:10 +03:00
djcb
bd0fd4b8d8 mu4e: ensure filename is valid for removing it later
lexical-let the filename to be removed later, so it's still valid.
2016-05-16 09:22:11 +03:00
djcb
a81270583f Add unit-test for multi-to/cc recipients
To check for the report in Issue #826.
2016-05-15 16:21:20 +03:00
Dirk-Jan C. Binnema
94587ac3ac Merge pull request #850 from Chris00/kill-message-manual
mu4e: Improve the description of C-c C-k in compose mode
2016-05-15 15:56:47 +03:00
Christophe Troestler
e1c946ebd5 Improve the description of C-c C-k in compose mode
Fixes https://github.com/djcb/mu/issues/843
2016-05-15 12:23:23 +02:00
Dirk-Jan C. Binnema
41ff64fabc Merge pull request #848 from j-hao/master
Ignore auto generated mu/mu-help-strings.h
2016-05-15 10:53:32 +03:00
Dirk-Jan C. Binnema
851ab880f0 Merge pull request #847 from Chris00/captured-message
mu4e: Add a menu entry to attach captured messages
2016-05-14 15:15:07 +03:00
Jun Hao
5db97c80de Ignore auto generated mu/mu-help-strings.h 2016-05-11 22:51:34 +08:00
Christophe Troestler
834b0671c8 Add a menu entry to attach captured messages
Without this menu entry, one has to remember the command name which is
not convenient.  This entry also helps to discover the "capture" feature.
2016-05-10 21:55:54 +02:00
djcb
3a7429456c mu4e: parenthesize narrowing term
When narrowing search results, parenthesize the narrowing term, so terms
with AND/OR etc. don't lead to surprising results.

Fixes #846.
2016-05-09 23:14:36 +03:00
Dirk-Jan C. Binnema
070c623286 Merge pull request #844 from Chris00/flowed
mu4e: Compose mails with format=flowed by default
2016-05-09 23:08:44 +03:00
Christophe Troestler
d063889e4c Set mu4e-compose-format-flowed to nil by default
Requested by Dirk-Jan C. Binnema <djcb@djcbsoftware.nl> not to disturb
existing users.
2016-05-07 18:12:10 +02:00
Dirk-Jan C. Binnema
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
Christophe Troestler
af523cd05a Add the menu entry in the function defining the mode
This ensures that `(lookup-key message-mode-map [menu-bar text])'
returns a valid keymap.
2016-05-07 03:28:09 +02:00
Jun Hao
d16957dc97 mu4e: handle attached image when write msg body to html 2016-05-07 09:07:11 +08:00
Jun Hao
f998a0ad1e mu: expose content id to attachment plist 2016-05-07 09:07:11 +08:00
Christophe Troestler
55a95db3f0 Update the manual about composing format=flowed messages 2016-05-07 02:58:17 +02:00
Christophe Troestler
d2ae534ad8 With use-hard-newlines, M-q reformat the paragraph as a single line 2016-05-07 02:58:17 +02:00
Christophe Troestler
b6a1e1cef8 Add a menu entry to toggle format=flowed 2016-05-07 02:58:17 +02:00
Christophe Troestler
0d939f6852 By default, compose messages as format=flowed
Fixes https://github.com/djcb/mu/issues/836
2016-05-07 02:58:17 +02:00
Dirk-Jan C. Binnema
c97591ea0f Merge pull request #841 from liweitianux/patch-1
Only ignore the "/mu/mu" executable
2016-05-06 22:12:19 +03:00
djcb
e06c9ad1dd Merge branch 'master' of github.com:djcb/mu 2016-05-06 22:09:48 +03:00
djcb
c46dda206f mu: fix a few mem leaks 2016-05-06 22:08:12 +03:00
Aaron LI
726a6a54f9 Only ignore the "/mu/mu" executable 2016-05-03 23:06:28 +08:00
Dirk-Jan C. Binnema
455a0731c0 Merge pull request #820 from tmalsburg/master
Mu4e: Added missing menu items.
2016-04-26 20:13:07 +03:00
Dirk-Jan C. Binnema
55fc2c55f9 Merge pull request #832 from jsrjenkins/patch-1
Fix minor typo on line 1486
2016-04-26 20:12:11 +03:00
Dirk-Jan C. Binnema
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
djcb
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
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
jsrjenkins
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
Dirk-Jan C. Binnema
69780d2e02 Create issue_template.md
Give bug / feature request reporters a template to fill out.
2016-03-28 17:54:09 +03:00
djcb
a5dc1f002a Merge branch 'master' of github.com:djcb/mu 2016-03-24 20:29:48 +02:00
djcb
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
djcb
1edeee4764 mu4e: fix typo -> mu4e~headers-msgid-target 2016-03-24 20:26:39 +02:00
Titus von der Malsburg
88df34cd96 Mu4e: Added missing menu items. 2016-03-22 23:33:07 -07:00
djcb
8ca6cc2883 mu4e: cosmetic fix in doc
Align table.
2016-03-23 07:11:48 +02:00
djcb
e1b99e2f12 mu4e: some documentation updates
In particular, update the context example
2016-03-16 01:13:03 +02:00
djcb
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
Dirk-Jan C. Binnema
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
djcb
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