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

3883 Commits

Author SHA1 Message Date
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
Dirk-Jan C. Binnema
c0015e44b9 Merge pull request #717 from avar/avar/correct-documentation-about-status
mu-server man page: Correct documentation about status reporting
2015-12-09 08:20:06 +02:00
Dirk-Jan C. Binnema
86d309259c Merge pull request #719 from avar/avar/mu4e-doc-fixes
mu4e: Fix "the the" in mu4e docstring
2015-12-09 08:19:27 +02:00
Ævar Arnfjörð Bjarmason
dbd9e1d9d8 Fix "the the" in mu4e docstring 2015-12-09 04:51:02 +01:00
Ævar Arnfjörð Bjarmason
d276b393af mu-server man page: Correct documentation about status reporting
This 500 number was correct in v0.9.7-pre-302-g858552a, but since
v0.9.8.2-41-gc2e3eac it's been hardcoded to 1000 in the server code.

See also issue #715 and issue #716.
2015-12-08 20:54:52 +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
Dirk-Jan C. Binnema
4d85bad069 Merge pull request #708 from prsarv/master
quoted starttls in multiple accounts
2015-11-25 23:14:04 +02:00
prsarv
2289474578 Merge pull request #1 from prsarv/prsarv-patch-1
update mu4e.texi
2015-11-25 15:32:29 -05:00
prsarv
628c3d3386 update mu4e.texi
Added quote against starttls on info page for multiple accounts.
2015-11-25 15:17:49 -05:00
Dirk-Jan C. Binnema
25ebb5abf7 Merge pull request #704 from avar/avar/refactor-lambda-keybinding-into-function
mu4e-{view,headers}: Refactor a (lamba) kbd-bound function into a named function
2015-11-23 05:27:31 +02: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
Dirk-Jan C. Binnema
84e5af4174 Merge pull request #701 from avar/avar/mu-find-doc-fix-mention-body
mu-find(1): Document that you can search through body:*
2015-11-19 12:47:00 +02:00
Dirk-Jan C. Binnema
ff43d9efbe Merge pull request #702 from avar/avar/mu-index-doc-grammar-error
mu-index: Fix a grammar error in the --max-msg-size documentation
2015-11-19 12:43:47 +02:00
Ævar Arnfjörð Bjarmason
5e77927f02 mu-index: Fix a grammar error in the --max-msg-size documentation 2015-11-19 07:28:05 +01:00
Ævar Arnfjörð Bjarmason
600c5bb8e1 mu-find(1): Document that you can search throug body:*
This is a long-standing feature, it works, but there was no mention of
it in the docs.

There's also bodyhtml:* but that doesn't seem to do anything for me,
maybe I just don't have enough HTML mail.

These also exist:

    path,l          ???
    refs,r          ???

But I don't know what they're for. They should probably be documented
too.
2015-11-19 01:38:39 +01:00
Dirk-Jan C. Binnema
528ee56c75 Merge pull request #700 from avar/avar/fix-www
www: Small fixes to the mu webpage
2015-11-18 23:43:56 +02:00
Ævar Arnfjörð Bjarmason
8f2a06b0c0 www/mu4e: Link to external software packages & mention mbsync
Evidently mbsync is quite popular with mu, mention it here. Also link to
the various webpages for these projects.
2015-11-18 17:04:54 +01:00
Ævar Arnfjörð Bjarmason
cd929226f3 www/mu4e: Fix the link to GitHub, it had incorrect Markdown syntax 2015-11-18 16:59:57 +01:00
djcb
c9cf0b88e4 Merge branch 'master' of github.com:djcb/mu 2015-11-18 15:56:03 +02:00
djcb
6df9322257 Fix typo near get_new_basename
And clear op the function a bit.
2015-11-18 15:55:34 +02:00
Dirk-Jan C. Binnema
37d5c12bd2 Merge pull request #695 from hinrik/master
mu4e: Include '-' in example regex
2015-11-18 09:58:32 +02:00
djcb
539bd9be19 Fix message file creation
Make sure we 0-pad the numeric parts in message file names; this was
breaking some unit test.
2015-11-18 09:50:36 +02:00
djcb
dd71cf8003 Merge branch 'master' of github.com:djcb/mu 2015-11-17 11:00:09 +02:00
djcb
3d9563ea4c Update NEWS.org 2015-11-17 10:59:35 +02:00
djcb
fe8b3430c6 mu: optimize indexing (get_uid_term)
Some users were report seeing get_uid_term high in the profiles; so
optimize this:

- make mu_util_get_hash a static inline function (used by get_uid_term)
- don't use 'realpath' in get_uid_term, seem that's the main culprit
- some slight faster string handling there too.
2015-11-17 10:55:56 +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
Dirk-Jan C. Binnema
3c8f031f39 Merge pull request #694 from hinrik/master
mu4e: Mention how to shorten list names with dots
2015-11-15 16:19:50 +02:00
Hinrik Örn Sigurðsson
a257a4fdeb Mention how to shorten list names with dots 2015-11-15 10:37:44 +00:00
Dirk-Jan C. Binnema
dba2e50979 Merge pull request #693 from hinrik/master
mu4e: Allow specifying list shortnames with regexes
2015-11-14 09:19:42 +02: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