1
0
mirror of https://github.com/djcb/mu.git synced 2024-06-28 07:41:04 +02:00
Commit Graph

3571 Commits

Author SHA1 Message Date
Dirk-Jan C. Binnema
7fea97a831 Merge pull request #551 from leafac/patch-3
mu4e: Fix typo in documentation
2015-01-01 21:29:33 +08:00
Dirk-Jan C. Binnema
87e667aa23 Merge pull request #550 from leafac/patch-2
mu4e: Fix configuration placement
2015-01-01 21:29:02 +08:00
Dirk-Jan C. Binnema
0cb9892091 Merge pull request #549 from leafac/patch-1
mu4e: Fix mistake in documentation
2015-01-01 21:27:57 +08:00
Leandro Facchinetti
83d9fa1b2a Fix typo in documentation 2014-12-29 15:35:58 -05:00
Leandro Facchinetti
32a57602e5 Fix configuration placement
The code and the prose were misplaced.
2014-12-29 15:04:49 -05:00
Leandro Facchinetti
a675186815 Fix mistake in documentation
The function is expected to return plain text, not HTML.
2014-12-29 11:13:37 -05:00
djcb
5ab37ab382 mu4e: mu4e~view-compose-contact takes full address when available 2014-12-13 09:47:17 -08:00
djcb
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
djcb
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
Dirk-Jan C. Binnema
faf7fc7953 Merge pull request #535 from xuhdev/patch-1
mu4e: Add a missing keybinding to doc for previous query
2014-12-08 23:35:33 -08:00
Hong Xu
639db4036e Add a missing keybinding to doc for previous query 2014-12-08 21:27:48 -08:00
Dirk-Jan C. Binnema
8820104229 Merge pull request #534 from che2/fix-msgs-count
guile: Fix build error in msgs-count.scm
2014-12-08 01:56:56 -08:00
Chen He
c6c93234fb Fix build error in msgs-count.scm
mu:run-stats expects the passed-in function to take 3 arguments. The
third argument applies to gnuplot only, which is not applicable to the
count function in msgs-count.scm.
2014-12-07 16:29:14 -05:00
djcb
64ed6e71c1 mu4e: append `substring' to the completion-styles for address-completion 2014-12-06 14:23:55 +02:00
Dirk-Jan C. Binnema
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
Dirk-Jan C. Binnema
25abc7ffa7 Merge pull request #532 from seanfarley/master
mu4e: add another example for using marks to tag a message
2014-12-05 08:26:13 +02:00
Sean Farley
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
Hong Xu
ecc4aca360 Add a key binding for message-view doc. 2014-12-04 13:44:27 -08:00
Dirk-Jan C. Binnema
0364942564 Merge pull request #530 from seanfarley/master
mu4e-view: select next unread message in view buffer
2014-12-04 23:33:30 +02:00
Sean Farley
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
djcb
823d80f075 mu4e: allow lisp expressions for bookmarks
based on an idea by davidcsterratt
2014-12-01 23:29:40 +02:00
djcb
707051827d minor doc fixes 2014-12-01 23:21:10 +02:00
Dirk-Jan C. Binnema
3eb06e2a98 Merge pull request #527 from jyp/master
mu4e: Document the mu4e-marks variable in the manual
2014-12-01 23:10:14 +02:00
Jean-Philippe Bernardy
93214e7018 take a stab at the documentation of mu4e-marks 2014-11-30 23:13:00 +01:00
Jean-Philippe Bernardy
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
Dirk-Jan C. Binnema
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
djcb
fcdb2c1a04 mu4e: clean up address completion 2014-11-30 16:29:10 +02:00
Jean-Philippe Bernardy
28baa5a778 Fixed typo 2014-11-30 13:33:30 +01:00
Jean-Philippe Bernardy
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
Jean-Philippe Bernardy
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
djcb
0b6ab46675 mu4e: add few more header-functions to mu4e-view 2014-11-30 11:49:41 +02:00
djcb
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
djcb
46425c201b Merge branch 'master' of github.com:djcb/mu 2014-11-28 08:56:24 +02:00
djcb
8991490262 mu4e: support jumping to next, previous unread message
mu4e-headers-next-unread
mu4e-view-headers-next-unread

Use key-bindings ] and [ to go to next, previous unread message.
2014-11-28 08:54:08 +02:00
Dirk-Jan C. Binnema
bb902a821b Merge pull request #524 from jyp/master
Clarify the computation of mark targets
2014-11-27 21:37:33 +02:00
Jean-Philippe Bernardy
818eedf59f mu4e: marks: clarify the way targets are obtained.
:get-target is split into:
- :ask-target (run once per bulk operation)
- :dyn-target (run once per message)

A side benefit is that the existence of the target of a move is not
checked for every message when doing bulk moves.
2014-11-27 19:16:05 +01:00
Jean-Philippe Bernardy
3981f5412f documentation fix 2014-11-27 19:16:05 +01:00
Jean-Philippe Bernardy
ad8488368b always recompute the dynamic target for a mark
This is a bug fix. Previously, recomputing was done only for refile,
which is wrong: trash target can also be dynamic, and we want to allow
the user to configure more dynamic targets.
2014-11-27 19:16:05 +01:00
djcb
e434ea7680 mu4e: update documentation 2014-11-27 01:08:54 +02:00
djcb
8f2d4f38d5 configure.ac: bump version to 0.9.11 2014-11-27 01:08:29 +02:00
Dirk-Jan C. Binnema
2eb87daa24 Merge pull request #523 from jyp/master
mu4e: put the definitions of marks in a single structure
2014-11-27 01:05:12 +02:00
Jean-Philippe Bernardy
a1181aa096 Put the definitions of marks in a single structure
This commit puts all what defines a mark (how to display, how to handle
targets, what action to apply, ...) in a single entry of a list. The list
is stored in a variable.
This should allow for customization of marks.
2014-11-26 21:39:17 +01:00
djcb
1022c64dd9 mu4e: add mu4e-headers-find-if-next, mu4e-headers-next-unread
In the headers-view, allow for movig to next and previous
unread/untrashed messages using tab/backtab.

Built on top of the convenience function mu4e-headers-find-if-next.

Update docstrings.
2014-11-25 07:38:07 +02:00
djcb
5cf4ab69d5 Merge branch 'master' of github.com:djcb/mu 2014-11-23 14:53:02 +02: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
Dirk-Jan C. Binnema
5287b151b2 Merge pull request #518 from zakkak/docUpdate
mu4e: Add documentation about mu4e-compose-dont-reply-to-self
2014-11-23 14:27:52 +02:00
Foivos S. Zakkak
c9a14fa096 Add documentation about mu4e-compose-dont-reply-to-self 2014-11-22 19:01:05 +02:00
djcb
8f9499c0c9 mu4e: update mu4e-headers-find-if documentation 2014-11-22 17:27:15 +02:00
djcb
7eac4ac918 mu4e: add mu4e-headers-find-if
This function can be used to jump to some message in the headers list
that matches a certain pattern.
2014-11-22 13:23:29 +02:00
djcb
ddc3297ce9 mu4e: update documentation with some examples 2014-11-22 13:23:01 +02:00