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

780 Commits

Author SHA1 Message Date
djcb
eaf56fd533 org-mu4e: default org-mu4e-link-query-in-headers-mode to nil
It's usually more useful to link to a specific message than to a query,
so make that the default.
2015-12-19 13:58:21 +02:00
djcb
d3dbed6c1f mu4e: make global-mode-string buffer-local
Make `global-mode-string' local in all buffers where we use it, so we
don't leak the "context" string outside mu4e.

Also add the context string to the compose buffer's modeline.

This fixes #740.
2015-12-19 10:14:49 +02:00
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
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