Commit Graph

1221 Commits

Author SHA1 Message Date
6680b364a8 mu4e: remove mu4e-view-url-regexp, use thing-at-point
Don't use our own URL-matching regexp, use the one that emacs provides
(in thing-at-point), which is a bit more general, and seems to better
handle some URLs.
2015-03-21 10:28:01 +02:00
2d78755bd6 Merge pull request #579 from halbtuerke/save-multiple-attachments-without-asking
mu4e: Add option for saving multiple attachments into same directory.
2015-03-17 19:14:46 +02:00
69ef3037a7 Extract mu4e-headers-mark-thread-using-markpair
This allows for a key binding to something like:

(mu4e-headers-mark-thread-using-markpair '(read))
2015-03-17 12:55:17 +02:00
33804f63d8 mu4e: add example for mu4e-contact-rewrite-function 2015-03-15 13:45:28 +02:00
6921c039d0 Merge pull request #580 from DamienCassou/update-mail-in-main-with-same-keys
Make sure C-S-u and C-c C-u work in main view
2015-03-04 06:59:39 +02:00
3239a69fc5 Update mu4e-vars.el
typo
2015-02-25 09:50:55 +00:00
d0890a3b0c Make sure C-S-u and C-c C-u work in main view
These 2 shortcuts update mail index in both the headers and view modes
but not in the main view.
2015-02-13 10:47:25 +01:00
aec66cbf5c Add option for saving multiple attachments into same directory.
This feature was discussed in the `mu-discuss` Google group.
https://groups.google.com/d/topic/mu-discuss/LpwtWZ1WCyg/discussion
2015-02-11 15:46:01 +01:00
783cfae414 Let not be stuck into *mu4e-output* after rendering html. Reduce by one levels of (with-temp-buffer. 2015-02-05 10:42:45 -05:00
f32092210e mu4e: moved 'tmp-file' deletion at the right place. 2015-02-03 16:40:52 -05:00
d63f1b3114 mu4e: Used temporary file instead of region to call the html renderer. (fix encoding issues) 2015-02-03 15:44:21 -05:00
e84f5d307f mu4e: Added action to import attachment in diary. 2015-02-03 12:14:58 -05:00
9c98a7ab21 Merge pull request #566 from cpbotha/fix-org-html-in-text-part
mu4e: Fix org-mu4e bug with HTML in text/plain part
2015-02-01 18:51:42 +02:00
bd805d0fc1 Add FAQ on how to activate format=flowed 2015-02-01 09:25:00 +02:00
6a2db14290 Fix org-mu4e bug with HTML in text/plain part
When sending org mode mail, both the text/html and text/plain parts
contained the HTML version of the mail, instead of just the text/html
part. This patch puts the raw-body (org format) in the text part, and
the html with replaced images in the html part.
2015-01-28 09:09:18 +02:00
da3c43e325 Merge pull request #564 from DamienCassou/reindent
Reindent source code to ease future modifications
2015-01-25 23:43:55 +02:00
fda2db085e Reindent source code to ease future modifications
Only whitespace changes.
2015-01-19 10:53:11 +01:00
8a2c40a4b7 Improve queue-related actions of the main view
- The queue-related actions of `mu4e~main-view-real` have been extracted
  to their own `mu4e~main-view-queue` method.
- The queue toggling action now has the word "currently" to easily.
  distinguish between the current state and the toggle (e.g., "currently
  queued" instead of just "queued").
- The "[f]lush queued emails" is only visible if there is at least 1
  email in the queue.
- The number of emails in the queue is visible in the flushing
  action (e.g., "[f]lush 10 queued emails").
2015-01-19 10:41:51 +01:00
6bde425aa4 mu4e-vars: fix reference to obsolete mu4e-my-email-addresses
This variable has been replaced with mu4e-user-mail-address-list.

Signed-off-by: Alex Bennée <alex.bennee@linaro.org>
2015-01-15 09:23:30 +00:00
6722e59e01 Merge branch 'master' of github.com:djcb/mu 2015-01-03 17:14:24 +02:00
af00ff802f mu4e: fix typo in mu4e~headers-query-navigate 2015-01-03 17:12:26 +02:00
58e0595188 mu4e: specify $MU in sauron script 2015-01-01 21:45:11 +08:00
fd8b13736b Merge pull request #552 from leafac/patch-4
mu4e: Change `longlines-mode` for `visual-line-mode`
2015-01-01 21:30:19 +08:00
7fea97a831 Merge pull request #551 from leafac/patch-3
mu4e: Fix typo in documentation
2015-01-01 21:29:33 +08:00
87e667aa23 Merge pull request #550 from leafac/patch-2
mu4e: Fix configuration placement
2015-01-01 21:29:02 +08:00
74213dea96 Change longlines-mode for visual-line-mode
Emacs has line wrapping build in by default using `visual-line-mode`.

http://www.emacswiki.org/emacs/LongLines
2014-12-29 15:54:26 -05:00
83d9fa1b2a Fix typo in documentation 2014-12-29 15:35:58 -05:00
32a57602e5 Fix configuration placement
The code and the prose were misplaced.
2014-12-29 15:04:49 -05:00
a675186815 Fix mistake in documentation
The function is expected to return plain text, not HTML.
2014-12-29 11:13:37 -05:00
5ab37ab382 mu4e: mu4e~view-compose-contact takes full address when available 2014-12-13 09:47:17 -08:00
c5987700e7 mu4e: org: allow customization of linking in headers mode
Depending on org-mu4e-link-query-in-headers-mode, we can link to the
query or the particular message.
2014-12-10 22:57:54 -08:00
9162e3e68c mu4e: mu4e-headers-find-if-next: move before search
when searching for the next match, go the end of the current line; when
searching for the previous match, go to the beginning of the current
line.
2014-12-10 22:51:13 -08:00
639db4036e Add a missing keybinding to doc for previous query 2014-12-08 21:27:48 -08:00
64ed6e71c1 mu4e: append `substring' to the completion-styles for address-completion 2014-12-06 14:23:55 +02:00
6d4fe6434f Merge pull request #531 from xuhdev/message-view-doc
Add a key binding for message-view doc.
2014-12-05 08:27:35 +02:00
2d74c8e5a6 mu4e: add another example for using marks to tag a message
This example shows how to archive and mark a message as read which emphasizes
the importance of order in tagging a message before anything else due to the
implementation of tagging (since it currently uses 'sed').
2014-12-04 14:36:23 -08:00
ecc4aca360 Add a key binding for message-view doc. 2014-12-04 13:44:27 -08:00
fd949273e0 mu4e-view: select next unread message in view buffer
Previously, the behavior of mu4e-view-headers-next-unread was that the cursor moved in the headers view but did not change the highlight nor the message in the view buffer. This patch updates the function to also select the message in the view buffer which appears to also highlight the message correctly in the header view.
2014-12-01 20:37:50 -08:00
823d80f075 mu4e: allow lisp expressions for bookmarks
based on an idea by davidcsterratt
2014-12-01 23:29:40 +02:00
707051827d minor doc fixes 2014-12-01 23:21:10 +02:00
93214e7018 take a stab at the documentation of mu4e-marks 2014-11-30 23:13:00 +01:00
73b87c16f7 mu4e: Make :show-target be the identity by default
- This is certainly a better default than crashing
- The user is likely to omit this function in a majority of cases.
2014-11-30 23:13:00 +01:00
47fc1b717f Merge pull request #525 from jyp/master
mu4e: Allow to do retagging using marks instead of message actions
2014-11-30 17:23:28 +02:00
fcdb2c1a04 mu4e: clean up address completion 2014-11-30 16:29:10 +02:00
28baa5a778 Fixed typo 2014-11-30 13:33:30 +01:00
f6e5f3df7f pass the message structure to the mark actions
This allows to re-tag a message in a mark action.

Two examples of what one can do with this stuff:

1. G-mail archiving:
(archive
   :char       "a"
   :prompt     "archive"
   :show-target (lambda (target) "archive")
   :action      (lambda (docid msg target)
                  (mu4e~proc-move docid nil "-N")
                  (mu4e-action-retag-message msg "-\\Inbox")))

2. Tagging:
(tag
  :char       "g"
  :prompt     "gtag"
  :ask-target (lambda () (read-string "What tag do you want to add?"))
  :show-target (lambda (target) target)
  :action      (lambda (docid msg target)
                 (mu4e~proc-move docid nil "-N")
                 (mu4e-action-retag-message msg (concat "+" target))))
2014-11-30 13:33:29 +01:00
a6c4785577 fix the target display
show the target when the shown-target is non-nil (not the target).
2014-11-30 13:33:29 +01:00
0b6ab46675 mu4e: add few more header-functions to mu4e-view 2014-11-30 11:49:41 +02:00
664431bf8c mu4e: improve mail-retrieval error handling
Add two new customization variables:
  mu4e-index-update-error-continue
  mu4e-index-update-error-warning

With these, we can configure what happens when the mail-retrieval
program finishes with a non-zero exit code.

Make the default to warn but continue; it seems quite some users got
bitten by the old behavior of not updating after an error (which may
only be a pseudo-error). offlineimap/mbsync do not document their exit
codes very well, unlike fetchmail.

Also update manual for this.
2014-11-30 11:33:31 +02:00
46425c201b Merge branch 'master' of github.com:djcb/mu 2014-11-28 08:56:24 +02:00