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

929 Commits

Author SHA1 Message Date
djcb
c328d679de Merge branch 'master' of github.com:djcb/mu 2015-12-16 21:39:47 +02:00
djcb
a14b3f0e62 Replace some 'fancy' characters
They showed up as hexboxes when using the Liberation font.
2015-12-16 21:31:17 +02:00
Foivos S. Zakkak
0032ccf73c When mu4e-context-determine fails, prompt user 2015-12-16 16:51:54 +02:00
Foivos S. Zakkak
cf3c52d588 Fix mu4e-context-determine to match documentation 2015-12-16 16:51:54 +02:00
Dirk-Jan C. Binnema
e932399642 Merge pull request #735 from cpitclaudel/customizable-headers
mu4e: Initial implementation of customizable headers
2015-12-15 19:02:01 +02:00
Dirk-Jan C. Binnema
e2a43e9c1f Merge pull request #732 from avar/avar/rfc-2606-compliance
Don't use real (or potentially real) domains in examples
2015-12-15 18:59:09 +02:00
djcb
4d1a9347b5 mu4e: small doc fix
This broke Travis.
2015-12-15 18:52:38 +02:00
djcb
a1d0071dd0 mu4e: contexts: auto select one at startup, document
When contexts have been defined, automatically select one at startup --
either the first whose match-function returns non-nil, or simply the
first one.

Document this, too.
2015-12-15 18:20:31 +02:00
Clément Pit--Claudel
e19658c9aa Initial implementation of customizable headers 2015-12-15 07:57:51 -05:00
Ævar Arnfjörð Bjarmason
51ad75d943 Don't use real (or potentially real) domains in examples
Let's not spam the poor sods who own foo.com and bar.com, or home.com
etc. Went through the various examples and changed them to use
example.com or subdomains of example.com where appropriate, even when
the domain or TLD didn't exist (yet!) for completeness.

See-Also: https://tools.ietf.org/html/rfc2606
2015-12-15 11:57:25 +01:00
Dirk-Jan C. Binnema
d17c2a7012 Merge pull request #731 from zakkak/contexts-doc
mu4e: Extend contexts example
2015-12-15 11:41:50 +02:00
djcb
90d2b8a1fa mu4e: some less fancy fancy chars
Try to find some fancy chars that are more universally available.
2015-12-15 10:42:24 +02:00
Dirk-Jan C. Binnema
5f73b48609 Merge pull request #730 from cpitclaudel/fix-spurious-space
mu4e: Refactor mu4e~headers-header-handler
2015-12-15 09:43:42 +02:00
Foivos S. Zakkak
49fbf693dd Extend contexts example
Signed-off-by: Foivos S. Zakkak <foivos@zakkak.net>
2015-12-15 09:25:44 +02:00
djcb
ddcd2f39b5 mu4e: more support for fancy-chars
Re-simplify `mu4e-use-fancy-chars` to a boolean again; add some extra
mark-chars (big character, so they are easily visible). Document it.
2015-12-15 09:07:17 +02:00
Clément Pit--Claudel
9f104b217b Refactor mu4e~headers-header-handler
Generate the whole line in one call to mapconcat instead of appending to
the string, and remove the spurious final space.
2015-12-15 00:08:34 -05:00
djcb
2d443a953c mu4e: don't use purecopy, it's useless
Don't use `purecopy`, it's useless outside emacs itself, as pointed out
by cpitclaudel. Fixes issue #729.
2015-12-15 07:02:24 +02:00
Dirk-Jan C. Binnema
d8ecc98349 Merge pull request #714 from avar/avar/mu4e-mark-support-mu4e-use-fancy-chars
mu4e: Add support for mu4e-use-fancy-chars to the marking in the headers view
2015-12-13 18:20:30 +02:00
djcb
c2ddfeacfc mu4e: context: tweaks
Don't clear the caches when switch accounts. Fix some typos.
2015-12-13 18:14:24 +02:00
djcb
e54108332a mu4e: context: document the new functionality 2015-12-13 17:46:02 +02:00
djcb
40b8fe138b mu4e: context: auto-detect context using the match function
When composing a new message, attempt to auto-detect the context for
that, using the context's 'match-func'.
2015-12-13 17:46:02 +02:00
djcb
f621003658 mu4e: context: integrate with the views
Show the current context in headers, view and main mode; add
keybindings.
2015-12-13 17:46:02 +02:00
djcb
47f7f1b85a mu4e: define mu4e-context
Define mu4e-context - a structure with settings and enter/leave
functions for contexts, and some functions for switching between
contexts and auto-detecting them.
2015-12-13 17:45:52 +02:00
djcb
3cd1a08e94 mu4e: add note about msg2pdf/nspluginwrapper. Fixes #723.
Seems webkit waits for a long time for nspluginwrapper in some
cases. Add a note to the docs about that.
2015-12-12 11:49:22 +02:00
djcb
8f80bc498f mu4e: fix docstring (mu4e-view-func) 2015-12-11 08:10:29 +02:00
Dirk-Jan C. Binnema
87d60973d9 Merge pull request #721 from avar/avar/speling-error-for-quiting
Correctly spell the word "quitting" in the protocol & documentation
2015-12-10 23:23:01 +02:00
Ævar Arnfjörð Bjarmason
049e182e0c Correctly spell the word "quitting" in the protocol & documentation 2015-12-09 22:40:52 +01:00
Ævar Arnfjörð Bjarmason
dbd9e1d9d8 Fix "the the" in mu4e docstring 2015-12-09 04:51:02 +01:00
Ævar Arnfjörð Bjarmason
4f83ab0f94 mu4e-headers: Add hook executed when we're opening bookmarks
I'm using this for a rather nasty hack. When I open different bookmarks
in the mu4e-main view I want to set options for them, currently just
tweaking:

    * mu4e-headers-show-threads
    * mu4e-headers-include-related
    * mu4e-headers-skip-duplicates
    * mu4e-headers-results-limit

This is because some of my searches are *really* expensive when I
include related threads (huge batches of cron-generated E-Mails), but
some aren't. I couldn't find another way to do this. Using
mu4e-headers-mode-hook doesn't work, because we don't have access to the
search (just a variable showing the last search).

Also maybe we should be passing the actual key chord for the bookmark
here. I don't care since I look up the search string that'll be executed
and go from there, but maybe that interface would make more sense.

But whatever, this works for me, and solves a real use-case.
2015-12-09 01:51:29 +01:00
Ævar Arnfjörð Bjarmason
b88cc400e7 mu4e-mark: Add fancy characters for trash / delete
As threatened in my last commit. I found this via
https://en.wikipedia.org/wiki/Miscellaneous_Symbols_and_Pictographs &
http://www.unicode.org/charts/PDF/U1F300.pdf

I could never remember which thing d and D were, this makes it easier to
remember that. I split off this patch because maybe this doesn't belong
in mu4e since some might not like the characters, but I just wanted to
be able to have this customizable.
2015-12-08 20:42:00 +01:00
Ævar Arnfjörð Bjarmason
df77f7cb20 mu4e-mark: Add ability to use mu4e-use-fancy-chars for marking
Right now we have this for showing the status of messages, e.g. whether
it has an attachment etc. But not for the "d", "D" etc. in the leftmost
column of the headers view.

This adds support for that, while bending over backwards to ensure that
anyone who's customized this in the past won't have their customizations
broken, i.e. like `mu4e-headers-trashed-mark` we can set this to a cons
cell of basic/fancy characters, but we also continue to support this
just being a string for existing users.

The next patch in this series adds a couple of non-ASCII characters to
be used for the trash / delete mark.
2015-12-08 20:38:25 +01:00
Ævar Arnfjörð Bjarmason
89eb9ee2d0 mu4e-mark: Make indentation in mu4e-mark-at-point consistent
I don't care for this mixing of tabs and spaces, but this at least makes
it consistent with the rest of the function.
2015-12-08 20:20:37 +01:00
Dirk-Jan C. Binnema
899253359b Merge pull request #697 from j-hao/master
mu4e: Add mu4e-headers-mark-all to execute certain action on all visible msg
2015-12-04 23:23:55 +02:00
djcb
2262e185af mu4e: allow for clearing some cached values
This helpful for various 'change account' actions
2015-12-04 23:20:27 +02:00
djcb
706c9e0ea9 mu4e: fix compiler warning 2015-12-04 23:19:32 +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
Dirk-Jan C. Binnema
0b5b94304e Merge pull request #710 from jjasghar/ws-cleanup
docs: Cleaned up some trailing white space(s)
2015-11-29 16:47:49 +02:00
djcb
9c3c3d3bbf Merge branch 'master' of github.com:djcb/mu 2015-11-29 16:42:58 +02:00
Martin Yrjölä
d37385030f mu4e: Fetch markpair in interactive declaration
This makes it possible to bind mark shortcuts in view-mode for certain
markpairs.
2015-11-29 16:42:30 +02:00
JJ Asghar
5ce58b68f3 Cleaned up some trailing white space(s)
- Walked through the NEWS, README, and about org-pages and removed some
  white spaces that where sticking around.
- 🤘
2015-11-28 17:16:33 -06:00
prsarv
628c3d3386 update mu4e.texi
Added quote against starttls on info page for multiple accounts.
2015-11-25 15:17:49 -05:00
Ævar Arnfjörð Bjarmason
4cffcfa440 mu4e-{view,headers}: Refactor a (lamba) kbd-bound function into a named function
Because this was a lambda C-h m would just show "??" instead of the
function name, and the documentation would be really confusing since it
showed the deparsed lambda function instead of the function name being
called.

Fix this by refactoring both the view & headers [ and ] functions into
named functions, and make their shared logic new internal
mu4u~{headers,view}-* functions.
2015-11-22 22:32:05 +01:00
djcb
a2409b62ca mu4e: when in-reply-to: is removed, remove references: too
When user removes the In-Reply-To header, also remove the (hidden)
References header when sending the message, effectively making the
message appear at the top-level.

Mention in the doc, NEWS.
2015-11-22 12:17:36 +02:00
djcb
b43b701aa9 mu4e: add mu4e-user-agent-string
Add mu4e-user-agent-string, this allows for customizing the user-agent
string.
2015-11-22 11:25:05 +02:00
djcb
cec825eec1 mu4e: fix for split-view
Commit 5708a173fa fixes some behavior for non-split-view, but
inadvertently changed the behavior for split-view as well.

Fix this.
2015-11-21 13:26:56 +02:00
Dirk-Jan C. Binnema
5708a173fa Merge pull request #691 from tmalsburg/master
mu4e: Moving in headers should only change view if mu4e-split-view is non-nil.
2015-11-19 12:48:27 +02:00
Hinrik Örn Sigurðsson
be0a99ab35 Include '-' and '_' in example regex
These are common in mailing list names.
2015-11-16 13:59:42 +00:00
Hinrik Örn Sigurðsson
a257a4fdeb Mention how to shorten list names with dots 2015-11-15 10:37:44 +00:00
Hinrik Örn Sigurðsson
77529b105e Allow specifying list shortnames with regexes
This way mu4e will intelligently shorten mailing list names which
contain dots:

    (setq mu4e-mailing-list-patterns
          '("\\([a-z0-9.]+\\)\.lists\.company\.com"))
2015-11-14 00:04:26 +00:00
Dima Kogan
781f0782f5 mu4e: added action to show the current thread only
Add an action for view and headers buffer to show only the messages in
the current thread.
2015-11-12 12:57:26 +02:00
djcb
66a082a6ad mu4e: mention org-mime in doc 2015-11-12 12:42:51 +02:00
Titus von der Malsburg
bf1325f7c4 mu4e: Moving in headers should only change view if mu4e-split-view is non-nil. 2015-11-11 11:41:14 -08:00
Bar Shirtcliff
22b7022798 mu4e: allow cc, bcc, mailing-list in mu4e-headers-mark-pattern
Based on patch by cinayakoshka, allow for matching more fields
2015-11-02 09:05:42 +02:00
Foivos S. Zakkak
9b3cc41d11 Remove outdated mu4e.org 2015-11-02 09:05:42 +02:00
djcb
105809cd8e mu4e: Use length, not string-width when fontifying body
The latter does not what we want and gives errors (esp. on OSX it seems)
2015-10-19 12:13:21 +03:00
djcb
a822c93ad0 Merge branch 'master' of github.com:djcb/mu 2015-10-16 11:22:17 +03:00
djcb
aa871ee4da mu4e: don't insist of message-signature being a string
Better not to ignore message-signature, even when it's not a string.
2015-10-16 11:20:48 +03:00
djcb
ff06d5fb4d mu4e: don't include '--' if no signature set
This fixes issue #434.
2015-10-16 11:18:50 +03:00
Thierry Volpiatto
819959d2cb Fix propertizing body with mu4e-view-body-face.
* mu4e/mu4e-view.el (mu4e-view-message-text):
When using `propertize' all properties added by `mu4e-html2text-command'
in html message are overwrited by `mu4e-view-body-face', so use here
`add-face-text-property' if available, otherwise behave as before and return
body unchanged.
2015-10-14 17:39:09 +02:00
djcb
0956c096de mu4e: don't be too eager to open view
When there's no view yet, don't automatically open one when moving.
2015-10-13 16:16:10 +03:00
djcb
1a33a710db Add mu4e-view-body-face
This allows setting a custom face for the message body, e.g., if you
prefer a proportional font for the body:

    (set-face-attribute 'mu4e-view-body-face nil :font "Liberation Serif-10")
2015-10-13 08:03:56 +03:00
djcb
a7d611c902 Fix moving when not in split-view mode
Don't insist on having a window (which caused an error), and don't
refuse to move in that case.
2015-10-13 07:39:24 +03:00
djcb
ada193c8fd Don't raise 'Update process is already running' error
Only issue a message. Refactor a bit.

This is for the use-case where the time to update is longer than the
period between updates -- e.g. you return from suspension/hibernation
and an old update process is still running.
2015-10-13 07:05:55 +03:00
djcb
85716b7990 Merge branch 'master' of github.com:djcb/mu 2015-10-09 12:03:15 +03:00
Jonas Bernoulli
a924985803 Fix issues reported by the byte-compiler. 2015-10-09 01:02:58 +02:00
djcb
f6b596d292 Documentation: e-mail address are case-sensitive 2015-10-07 11:45:06 +03:00
djcb
a350e2047d Change format for filenames
It seems some tools try to interpret the filename of message files,
even though they shouldn't:
   "Do not try to extract information from unique names."

In particular, they seem to interpret the first part of the name (before
the first dot) as the # of seconds since the Unix epoch (ie.,
time(NULL)). That's not what mu/mu4e put there.

So, let's conform a bit more to the expected filename (as per the
maildir spec), so we're not confusing those tools.
2015-10-02 17:43:38 +03:00
Daniele Pizzolli
db65c824d0 Fix typo from higl.* to highl.* 2015-09-22 10:10:47 +02:00
Dirk-Jan C. Binnema
c339e99652 Merge pull request #642 from eikek/master
* mu4e-draft.el: fix adding User-agent header
2015-09-20 11:32:47 +03:00
djcb
90293f6d98 mu4e: show sort arrows for fields / derived fields
We weren't showing the sort-arrows in all cases; we need to get
calculate the current sortfield, compare that to the current sortfield.
2015-09-19 12:11:17 +03:00
Florian Lindner
9780f076f1 Make usage of fancy chars configurable. 2015-09-10 12:32:49 +02:00
djcb
7981845daa Merge branch 'master' of github.com:djcb/mu 2015-08-12 20:54:37 +03:00
djcb
4209eeef8c mu4e: don't use obsolete faces
Fixes #645.

Keep the ones that are still in use though.
2015-08-12 20:52:55 +03:00
David C Sterratt
b459041126 Follow-up to commit #630: Clarify bbdb setup comes after mu4e setup 2015-08-12 17:06:18 +01:00
Eike Kettner
0f167270a6 * mu4e-draft.el: fix adding User-agent header 2015-07-24 08:24:45 +02:00
djcb
1820289c96 mu4e: note about encrypting outgoing msgs (fixes #576) 2015-07-05 20:45:11 +03:00
djcb
5b8dc80bd1 mu4e: small updates to manual 2015-07-05 13:04:57 +03:00
djcb
f0cbf1dd7c mu4e-view: small cleanup 2015-07-04 12:24:40 +03:00
Titus von der Malsburg
ccfdf02a23 mu4e: Avoid if-let.
For compatibility with pre-25 Emacs.
2015-07-03 10:10:15 -07:00
Titus von der Malsburg
d9e0bf7c6f mu4e: Added workaround for #417. 2015-07-02 18:01:47 -07:00
David C Sterratt
f5f1977f96 #621 BBDB documentation 2015-06-23 11:08:07 +01:00
djcb
cc4bb1abcd mu4e: fix typo 2015-06-14 11:40:43 +03:00
djcb
d7c1f19ea7 Merge branch 'master' of github.com:djcb/mu 2015-06-09 21:10:07 +03: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
djcb
041a79fdb5 mu4e: add NEWS(.org) as a main menu item 2015-06-09 21:08:02 +03:00
djcb
29230a787b Install NEWS.org, mu4e-about.org 2015-06-09 21:08:02 +03:00
thdox
e845147565 fix typo 2015-06-09 21:08:02 +03:00
Dirk-Jan C. Binnema
e054a81bbb Merge pull request #626 from zakkak/mu4e-compose-in-new-frame
Make `mu4e-compose-in-new-frame` always kill frame
2015-06-07 21:09:37 +03:00
djcb
f0a34599d0 mu4e: add NEWS(.org) as a main menu item 2015-06-07 21:07:59 +03:00
djcb
f69ced2339 Install NEWS.org, mu4e-about.org 2015-06-07 21:07:41 +03:00
Foivos S. Zakkak
2cf741e996 Make mu4e-compose-in-new-frame always kill frame
When `message-kill-buffer-on-exit` was set to nil mu4e would not close
the new frame.  Closing the new frame should be independent of killing
the buffer.  This patch corrects this.

(relates to #615)
2015-06-07 14:00:20 +03:00
thdox
67bfd1fdf8 fix typo 2015-05-27 20:49:18 +02:00
Foivos S. Zakkak
51628e2229 Fix else case in if statement of #615 2015-05-25 16:50:33 +03:00
Dirk-Jan C. Binnema
d13dc7a1bc Merge pull request #614 from emon/fix-mu4e-org-capture-templates
* mu4e/mu4e-actions.el: modify org-capture-templates
2015-05-24 11:53:01 +03:00
djcb
87341ec01b Merge branch 'pull-615' 2015-05-24 11:50:28 +03:00
Pan Jie
64959382b9 Mu4e: add support for composing in a new frame
Adds the variable mu4e-compose-in-new-frame and when set to t, message
are composed in a new frame rather than the current one.
2015-05-24 11:48:37 +03:00
djcb
b6baea3b21 mu4e: fix mixed-up lines in faq example 2015-05-24 11:32:07 +03:00
KOMURA Takaaki
0901af847a * mu4e/mu4e-actions.el: modify org-capture-templates
add " " between :EMAIL: and 'mail'
move the cursor to the left of 'name'
2015-05-20 23:44:41 +09:00
djcb
976711c16c mu4e: support message-action when marking 'deferred'
When marking headers as 'deferred' (with '*'), and executing them ('x'),
you can now also apply arbitrary header actions to them.
2015-04-26 17:09:06 +03:00
Tiago Saboga
a57228b724 mu4e: avoid error when splitting headers window 2015-03-28 09:07:50 -04:00
djcb
646b06563f mu4e: fix :thread-subject for the non-threaded case 2015-03-23 20:57:29 +02:00
djcb
910e41e2fe mu4e: experimental :thread-subject field (one subject per thread)
with :thread-subject field, we attempt to only show one subject per
thread, somewhat like mutt does it.

the current implementation is straightforward, but does not take into
account whether the thread-subject is currently visible on the screen,
which is a bit tricky to implement
2015-03-22 11:49:57 +02:00
djcb
f160ad95f1 mu4e: custom prompts for visiting / saving uris 2015-03-22 11:49:28 +02:00
djcb
52176dabfc mu4e: make mu4e-headers-sort-field, mu4e-headers-sort-direction public 2015-03-22 10:57:07 +02:00
djcb
6ecef77b1f mu4e: fix some more typos in the reference doc 2015-03-21 18:28:20 +02:00
djcb
7ca574934c mu4e: fix typo 2015-03-21 16:11:44 +02:00
djcb
097b4232e2 mu4e: compose: tells us what you saved when saving a message
Provide the number of lines saved in a draft message
2015-03-21 15:23:35 +02:00
djcb
7de65b91bc mu4e: rework uri-handling in view, add mu4e-view-save-url
Rework the handling of URIs in the view a bit; add a functionto save
URLs to the kill ring. Also add mu4e-view-for-each-uri to iterate over
them.
2015-03-21 15:22:12 +02:00
djcb
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
Dirk-Jan C. Binnema
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
Danie Roux
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
djcb
33804f63d8 mu4e: add example for mu4e-contact-rewrite-function 2015-03-15 13:45:28 +02:00
Dirk-Jan C. Binnema
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
Stephen Eglen
3239a69fc5 Update mu4e-vars.el
typo
2015-02-25 09:50:55 +00:00
Damien Cassou
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
Patrick Mosby
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
Jean Schurger
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
Jean Schurger
f32092210e mu4e: moved 'tmp-file' deletion at the right place. 2015-02-03 16:40:52 -05:00
Jean Schurger
d63f1b3114 mu4e: Used temporary file instead of region to call the html renderer. (fix encoding issues) 2015-02-03 15:44:21 -05:00
Jean Schurger
e84f5d307f mu4e: Added action to import attachment in diary. 2015-02-03 12:14:58 -05:00
Dirk-Jan C. Binnema
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
Charl Botha
bd805d0fc1 Add FAQ on how to activate format=flowed 2015-02-01 09:25:00 +02:00
Charl Botha
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
Dirk-Jan C. Binnema
da3c43e325 Merge pull request #564 from DamienCassou/reindent
Reindent source code to ease future modifications
2015-01-25 23:43:55 +02:00
Damien Cassou
fda2db085e Reindent source code to ease future modifications
Only whitespace changes.
2015-01-19 10:53:11 +01:00
Damien Cassou
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
Alex Bennée
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
djcb
6722e59e01 Merge branch 'master' of github.com:djcb/mu 2015-01-03 17:14:24 +02:00
djcb
af00ff802f mu4e: fix typo in mu4e~headers-query-navigate 2015-01-03 17:12:26 +02:00
djcb
58e0595188 mu4e: specify $MU in sauron script 2015-01-01 21:45:11 +08:00
Dirk-Jan C. Binnema
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
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
Leandro Facchinetti
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
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
Hong Xu
639db4036e Add a missing keybinding to doc for previous query 2014-12-08 21:27:48 -08: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
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
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
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
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
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
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
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
djcb
64738b8d4f mu4e: goto point-min after showing main screen 2014-10-30 21:02:18 +02:00
djcb
fd6df0848c mu4e.texi: /bin/sh does not like sauron-msg
Use sauron_msg instead
2014-10-30 08:16:13 +02:00
djcb
8305c2e147 mu4e: add note about overly long header lines 2014-10-26 21:21:51 +02:00
djcb
d368c0c3f3 mu4e: some documentation updates 2014-10-19 12:04:11 +03:00
Dirk-Jan C. Binnema
260fdb8123 Merge pull request #500 from zakkak/decryption_field
Add decryption field
2014-10-19 11:19:35 +03:00
Foivos S. Zakkak
aaef9493cd Fix signatures' detail box for encrypted messages
In the case of encrypted and signed messages the signature field's
details box did not work due to missing flags to the mu verify command.
This commit fixes this issue.
2014-10-19 03:53:32 +03:00
Foivos S. Zakkak
2d843ca887 Add Decryption field
Add a decryption field of the form

Decryption: 2 part(s) decrypted 1 part(s) failed

Meaning that 2 encrypted mime parts where successfully decrypted and 1
part failed.  Note that the number 2 refers to the number of
successfully decrypted mime parts and not the number of successfully
decrypted encryptes multiparts, i.e., if an encrypted multipart
contains 4 parts and decryption is successful the field will be

Decryption: 4 part(s) decrypted

TODO: Add details button listing the names and indexes of the
decrypted (or not) mime-parts
2014-10-19 03:27:58 +03:00
Kyle Marek-Spartz
ce9b831772 Extra quote in mu4e smtp example configuration. 2014-10-18 11:53:53 -05:00
Foivos S. Zakkak
0b52878920 Fix save for attachments
Bug introduced with 51037be7fb
2014-10-15 14:32:20 +03:00
Foivos S. Zakkak
c5fd36a67f Fix replying to gpg encrypted mails (#186) 2014-10-15 02:42:57 +03:00
djcb
46934a9167 mu4e: Use save-excursion to leave point before signature
Based on the patch by janisteunissen.
  7f8b598e00
2014-10-12 16:18:07 +03:00
Dirk-Jan C. Binnema
0faeceb46a Merge pull request #478 from odi/master
mu4e: Add different face attribute for the mode-line
2014-10-12 12:14:15 +03:00
Oliver Dunkl
4964fc721d Update mu4e-vars.el 2014-10-12 10:39:07 +02:00
Oliver Dunkl
ad48860101 Update mu4e-headers.el 2014-10-12 10:38:38 +02:00
djcb
34f42e799b mu4e: unbreak sending mail when gnus-agents is unplugged in gnus (#462) 2014-10-12 10:36:33 +03:00
Dirk-Jan C. Binnema
168610b719 Merge pull request #365 from jschwab/add-capture-template-keywords
* mu4e/org-mu4e.el (org-mu4e-store-link): Add capture template keywords
2014-10-12 10:18:21 +03:00
Jesse Johnson
bdf160dabe mu4e: Mention need for multiple account SMTP credentials in manual. 2014-10-11 14:47:51 -04:00
Dirk-Jan C. Binnema
bd334a5d02 Merge pull request #480 from jonEbird/master
mu4e: updated html export to org v8 standards
2014-10-11 16:10:40 +03:00
djcb
be6170d357 split off `org-old-mu4e.el' for backward compatibility
For now this is just a copy of org-mu4e.el (which requires org-mode
8.x), but the expectancy is that they will diverge.
2014-10-11 16:08:21 +03:00
djcb
7035882c78 mu4e: add note about completing-read / helm to the FAQ (#286) 2014-10-11 14:33:36 +03:00
Foivos S. Zakkak
51037be7fb Fix #186 Part 3
This patch fixes the attachment extraction (open, save, temp) when using
`mu4e`.  `mu4e` used to not notify the mu-server about the
mu4e-decryption-policy.  As a result mu-server did not decrypt the
attachments for extract, open, or temp.
2014-10-10 18:34:57 +03:00
Jon Miller
ea5e9b6b3b Updated html export to org v8 standards
Replaced use of org-export-string with org-export-string-as to match
updated org coding standards.

This specifically addresses issue #391
2014-10-02 18:40:33 -07:00
Oliver Dunkl
ce0006721a Add different face attribute for the mode-line
There is an additional face attribute for the mode-line.
2014-10-02 06:31:10 +02:00
djcb
7ef2deffeb Allow delete keybinding in console view-mode
Or, fix typo
2014-09-24 23:47:46 +03:00
djcb
d042d8be89 Document that mu4e-maildir must not be a symlink ('fixes' #453)
mu doesn't support symlinks; document this. You can use hardlinks
instead of course.
2014-09-23 07:52:15 +03:00
djcb
54a6ef7401 Some documentation fixes
(Thanks to Joe Corneli)
2014-09-23 02:40:35 +03:00
djcb
efb40abaa1 Guard against nil in mu4e~guess-maildir (Fixes #472)
Add a guard so we don't error out if string-match evaluates to nil
2014-09-23 00:36:31 +03:00
djcb
9bd65560a5 mu4e: make including dates in drafts optional (and disabled by default)
Add new configuration variable `mu4e-compose-auto-include-date'.
2014-09-02 06:10:38 -07:00