Commit graph

70 commits

Author SHA1 Message Date
emacspace
901f35849a documentation fixes: Tue Oct 23 14:18:21 UTC 2018 2018-10-23 23:38:16 +03:00
JAremko
cd39f80c24 Reformat documentation 2018-10-11 00:13:43 +03:00
Ag Ibragimov
ffc1617dd9 [mu4e] kill mu4e layout on app exit 2018-08-28 23:08:01 +01:00
Miciah Masters
e0b751bee3 Avoid non-idempotent use of push in init code
Replace push with add-to-list in layer init functions and related code.

Modify spacemacs|add-toggle to check for and update an existing toggle in
spacemacs-toggles and only create a new toggle if none already existed.

Replace a conditional push onto erc-packages with use of :toggle.

When initializing which-key, set which-key-replacement-alist to its default
or customized setting before adding all the Spacemacs replacements.  We
want to keep the stock replacements but avoid adding duplicates of the
Spacemacs replacements.

Replace the emacs-lisp-mode-hook lambda with a named function to avoid
adding duplicate hooks (which can add duplicate definitions of the
evil-surround pair).
2018-06-05 22:17:13 -04:00
Simon Altschuler
505c500418 Enable scrolling in mu4e main mode 2018-05-25 01:31:09 +03:00
syl20bnr
ebe4c60264 Revert "Defer packages by default using use-package-always-defer"
This reverts commit 29c78ce841 and all other fixes
that have been made afterwards.

The motivation is that use-package is seen by many as a replacement for
`require`. Is use-package always defer the loading of packages then is breaks
this use case, this does not respect POLA so even if it was making Spacemacs
loading faster (up to 3s faster on some startup on my machine) we just cannot
use it, it would be irresponsible. Spacemacs should be easy to use, loading
performance will come with time but it is not a priority.
2018-03-03 23:40:10 -05:00
syl20bnr
29c78ce841 Defer packages by default using use-package-always-defer
Warning now `:defer t` is implied, to force a package to load `:demand t` is
now necessary.
2018-02-27 23:32:52 -05:00
Miciah Masters
600421eb49 mu4e: Fix major-mode leader-key bindings
Instead of specifying mu4e-foo-mode-hook to
spacemacs/set-leader-keys-for-major-mode,
specify mu4e-foo-mode.
2018-01-22 23:17:03 -05:00
wigust
9c585370e6 mu4e: Create email with attachments from dired
Attachments are mostly handled using the helm baloo interface below,
but sometimes we want to send files from a directory: C-c C-m C-a
2018-01-20 00:06:17 -05:00
syl20bnr
f55b62543b Revert "mu4e: add evil-mu4e package."
This reverts commit 3cb341bf71.

We should be able to dynamically switch between editing styles so evil-mu4e must
be able to revert its changes. For instance you start Emacs in Vim style and
have evil-mu4e activated then when you switch to Emacs style evil-mu4e should
revert its changes. See evil-magit for inspiration on how to do it.

Evilified maps supports hot switching of editing style out of the box.
2018-01-19 23:57:28 -05:00
Joris Engbers
3cb341bf71 mu4e: add evil-mu4e package. 2018-01-19 23:55:40 -05:00
Joris Engbers
ae29f21775 The mu4e maildirs extension is now optional
The extension is not activated by default.
2018-01-19 23:49:44 -05:00
Peter Hoeg
0605476083 mu4e - better defaults, async and utility functions
This PR does a few things:

- supports async mode for sending mails
- registers imagemagick as handler for images if it exists
- sets default downloads directory if it exists
- sets a few (more) sane defaults
- supports format=flowed in messages
2018-01-19 23:47:07 -05:00
syl20bnr
0b484bc6cd mu4e: revert back bindings to SPC a M and change helm-mu bindings
Use major-mode specific key bindings for helm-mu commands.
2018-01-19 23:31:06 -05:00
syl20bnr
7487ca53cb mu4e: use spacemacs/add-to-hooks and fix hook names 2018-01-19 23:29:10 -05:00
Sébastien Bariteau
f192dc957e helm-mu4e intergration + keybindings 2018-01-19 23:12:00 -05:00
syl20bnr
326965d4ce Happy New Year 2018! 2018-01-04 02:00:25 -05:00
Kristoffer Haugsbakk
2cb3bd6e74 mu4e: add “Features:” section
This is based on the description on [mu4e’s homepage], accessed
2017-11-03.

[mu4e’s homepage]: <http://www.djcbsoftware.nl/code/mu/mu4e.html>

See: #9476
2017-11-20 04:15:55 +02:00
Kristoffer Haugsbakk
8d3dadeae7 mu4e: add “Description” section
See: #9476
2017-11-20 04:15:41 +02:00
syl20bnr
211c3f5c1b Prefer to use pre-init instead of post-init whenever possible
This commit does it for org.
2017-08-28 13:34:15 -04:00
JAremko
a1101eb38f fix links 2017-08-18 22:12:17 +03:00
JAremko
06301b2212 Improve exporting/testing 2017-08-18 20:50:21 +03:00
Allen Li
27e4c43c67 Replace mu4e multiple accounts with contexts
mu4e 0.9.16 now comes with a native contexts feature that completely
replaces the old hack for multiple accounts.
2017-07-01 11:05:37 -04:00
nashamri
1f234936c3 Fix a missing package name in mu4e documentation 2017-06-12 12:30:41 +02:00
syl20bnr
fcc8b9a36c org: remove mu4e and notmuch
org-mu4e was already handled in the mu4e layer which is the correct place for
this.
Added notmuch to mu4e layer, maybe not the right place for this but for now
it is OK.
2017-05-24 23:20:23 -04:00
Kristoffer Haugsbakk
6583251ef6 Use proper markup to preserve meaning of code
Mark up code that is mentioned in the documentation of some readmes.

In the case of “long options”, like for example `--with-emacs`, this is not just
cosmetic.  On GitHub, Org files are apparently rendered in such a way that
strings like `--` in non-verbatim text (i.e. not verbatim-quoted nor
code-quoted) is transformed to `–` (EN DASH U+2013).  So the string:

    … --with-emacs option:

Will show up like this:

    … –with-emacs option:

Also mark up nearby not-marked-up code mentions.  But this pattern was what was
searched for, so this mostly changes the abovementioned kind of thing.
2017-05-24 11:59:40 +02:00
Kristoffer Haugsbakk
79ed1a6b4b Use proper markup for code in readmes
By convention, code markup (`~`) is reserved for keybindings in Org-based
documentation in Spacemacs.  Verbatim markup (`=`) is reserved for code and
other code-like things.  So change several readmes to reflect this convention.

Use verbatim markup for things like (non-exhaustive list):

- Emacs Lisp functions, modes, buffers, etc.
- Environment variables
- Directory paths
- Code in general
2017-05-24 11:57:17 +02:00
Eivind Fonn
c7df45a0a9 Properly read dsm-major-mode-leader-key 2017-05-23 15:40:08 +02:00
pnagy
17b25784da mu4e-compose: add some convenient major mode bindings 2017-05-23 15:38:51 +02:00
JAremko
6c5a0b2b14 update docs to the new toc-org format 2017-05-22 18:35:37 +03:00
Benjamin Reynolds
5bd08fbcad mu4e: update documentation
Updates mu4e documentation to include new layout integration.
2017-05-11 11:04:08 -05:00
Benjamin Reynolds
68364b969e Add custom layout for mu4e buffers
This commit adds a custom layout for mu4e related buffers. Four different major
modes are used in mu4e buffers based on their purpose, so a function is used to
add buffers in these modes to the new layout. This setup is largely based on
that of the ERC layers custom layout.
2017-05-04 00:32:35 -04:00
JAremko
f805d0ebd9 Fix spacefmt test on deleted files
Also fix some links
[ci skip]
2017-04-28 23:29:43 -04:00
syl20bnr
fb27ede558 Bump year in copyright headers
Happy New Year 2017!
2017-01-05 23:08:17 -05:00
Kristoffer Haugsbakk
4289a496de mu4e: use proper markup on keybindings
Also fill in missing table borders while I’m here.
2016-11-25 22:44:54 +02:00
Michael Parks
1993e490ef Add mu installation note for OSX/Homebrew users 2016-08-30 16:14:56 +02:00
syl20bnr
3b0c1fd93d Convert org doc files with doc-fmt 2016-03-30 22:59:55 -04:00
Allen Li
de0d7a7881 Simplify completing-read selection 2016-03-03 20:53:41 +01:00
syl20bnr
308fb1118d core: replace package keyword :skip-install by :location site 2016-02-20 23:05:36 -05:00
Alejandro Catalina
90a6fd30e6 fix: mu4e reply
This typo produced a silly symbol's variable is void
2016-02-16 23:04:25 -05:00
syl20bnr
552fb1e1a6 mu4e: slight modifications of README and init function 2016-02-14 11:20:14 -05:00
Foivos S. Zakkak
cbaa9da38b Add mu4-alert Package to emails mu4e Layer
mu4e-alert is an extension that provides desktop notifications and adds
the count of unread messages to the modeline.
2016-02-14 11:09:53 -05:00
syl20bnr
92b2c4b659 mu4e: slight refactor of mu4e/set-account 2016-02-12 18:17:04 -05:00
Wei Tang
4ef5184acf Set account by "to" field in mu4e
Currently, in multi-account mode, the mu4e layer guesses which account
to use to reply a message by its "maildir". However, some messages may
be forwarded and may need to use the original email address to reply.
This commit detects whether such an email address is defined in
"mu4e-account-alist", and uses that to do the replying if possible.
2016-02-12 18:17:04 -05:00
Martin Yrjölä
7cbc2da5f9 mu4e layer: Convenient navigation bindings 2016-02-12 18:17:04 -05:00
Fabien Dubosson
7838ea6521 Add link to mu4e's manual about contexts 2016-02-07 14:43:41 +01:00
Allen Li
604a0cfb43 Document mu4e's contexts feature 2016-02-07 14:42:12 +01:00
Marat Safin
d382f0f45b mu4e: use helm--completing-read-default 2016-02-02 16:54:41 +01:00
Martin Yrjölä
2d7d704c5b mu4e: Add support for ivy 2016-01-26 01:20:59 -05:00
Andreas Hilboll
ef628eb978 [mu4e] update to README.org
Clarify usage for multiple accounts, as discussed by @darkfeline in #4670
2016-01-21 16:26:31 +01:00