Commit graph

139 commits

Author SHA1 Message Date
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
JAremko
c130014ff0 fix src lang in notmuch README 2018-02-06 14:25:48 +02:00
JAremko
d2c3b847d8 doc fmt 2018-01-27 16:57:39 +02: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
5865be40bd notmuch: rename variable for deleted tags and add documentation
notmuch-spacemacs-delete-tags -> notmuch-message-deleted-tags
2018-01-14 23:14:30 -05:00
Leonard Lausen
a9f6c1f83c Make tags changed on notmuch delete action configurable 2018-01-14 22:58:45 -05:00
smile13241324
1fb4e0f23d Fix doc for common-lisp, bibtex, cfengine and gnus layer 2018-01-12 00:37:15 -05:00
William Casarin
43143a1fa1 notmuch: fix notmuch layer
Was broken during refactor
2018-01-10 13:23:06 -08:00
syl20bnr
3cb9fea0ff Reset useful and useless buffers to empty lists
I feel like we should start from scratch on this one and carefully choose the
defaults.

Also this settings is a very personal setting so if we make some buffers
useless we must have a consensus on it. Marking all special buffers starting
with `*` as useless is too aggressive and make Spacemacs less POLA since two
consecutive press on SPC TAB may not revert to the original buffer.
2018-01-10 10:59:15 -05:00
syl20bnr
fea035f413 Make custom layout configs consistent
Use a use-package hook and avoid using lambdas.
Use same naming for all config.
2018-01-09 23:01:34 -05:00
Miciah Masters
effdb177de notmuch: Add custom layout for notmuch buffers
Define a new custom layout named "@Notmuch" with binding "n" for notmuch
buffers.  The custom layout's name can be customized using the new
notmuch-spacemacs-layout-name variable. The custom layout's binding can
be customized using the new notmuch-spacemacs-layout-binding variable.
2018-01-09 22:41:13 -05:00
Miciah Masters
8985806943 notmuch: Fix typo ":reuiqres" in notmuch-packages 2018-01-09 01:29:09 -05:00
syl20bnr
d4b931e935 notmuch: refactor layer
- Make the notmuch layer more idiomatic.
- Move org related stuff to a use-package hook for org.
- Simplify configuration of helm and ivy
- Sort package config
- Move sections in README to avoid repetition of Evilified State sections
- Add docstrings to functions and use // convention for private function names
2018-01-06 23:50:52 -05:00
Francesc Elies Henar
7f95dd3984 [notmuch] interactive search with helm & ivy
closes https://github.com/syl20bnr/spacemacs/issues/10012
2018-01-06 22:54:11 -05:00
syl20bnr
326965d4ce Happy New Year 2018! 2018-01-04 02:00:25 -05:00
Francesc Elies Henar
fea2b1e037 add notmuch layer
This patch adds a notmuch[1] layer to Spacemacs!

notmuch is a mail indexing system written in C. It provides an emacs
interface, and this patch adds Spacemacs support for this interface.

Thanks to @FrancescElies for starting this work, and working with me to
get it finished. We have been using the layer for awhile now and are
happy with the initial release!

Closes #2163

[1] https://notmuchmail.org/

Tested-by: Francesc Elies <elies@posteo.net>
Tested-by: William Casarin <jb55@jb55.com>
Signed-off-by: William Casarin <jb55@jb55.com>
2017-12-17 19:35:05 -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
JAremko
106f98497e Update README.org template
Replace some local Org links with GitHub ones
2017-07-23 01:22:20 +03:00
Dominik Schrempf
3c8548d719 Fix Org MIME keybindings in gnus layer help. 2017-07-07 12:50:57 +02: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
07852abad5 Format documenation files with doc-fmt tool 2016-04-12 23:31:38 -04: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
f81af92126 Remove gnus-fetch-old-headers customization
Fix #1331
2016-02-07 15:00:40 +01: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
syl20bnr
e7f26b79b7 mu4e: use :skip-install keyword 2016-01-17 23:27:50 -05:00
syl20bnr
33ead6fc42 Deprecation of extensions and <pkg>-excluded-packages variables
As announced in previous releases, see CHANGELOG.next for more info
in the Breaking Changes section.
2016-01-17 22:06:04 -05:00
syl20bnr
9a7c22152c mu4e: no error if org-mu4e cannot be found 2016-01-12 00:08:51 -05:00
syl20bnr
ac8a4bc7df org-mu4e: use pre-init and post-init functions 2016-01-11 23:20:20 -05:00
syl20bnr
5c3fb7d20e mu4e: remove redundant require of org-mu4e and add a note
about the usage of `:location built-in` for mu4e package
2016-01-11 22:25:03 -05:00
Christian E. Hopps
3cf2eee3b5 load org mu4e functionality when org or mu4e loads 2016-01-11 22:06:59 -05:00
syl20bnr
046d86800c Clean copyrights and update for year 2016 2016-01-11 21:42:17 -05:00
Fabien Dubosson
36f09b1b77 [doc] Change org wrong quoting -> =…= 2016-01-09 21:56:18 +01:00
syl20bnr
dc60667813 squash! mu4e: remove mu4e-use-maildirs and defer loading of package 2016-01-08 22:34:52 -05:00
syl20bnr
bb07eeccad mu4e: remove mu4e-use-maildirs and defer loading of package
To deactivate maildirs extension, simply add the package to
dotspacemacs-excluded-packages
2016-01-08 22:33:26 -05:00
Eivind Fonn
6b80c30839 Fix mu4e installation instructions 2016-01-08 21:13:02 +01:00
Christian E. Hopps
48ab6e57e1 add mu4e-maildirs-extension to mu4e layer 2016-01-08 21:10:36 +01:00
syl20bnr
cddf18ff1e Update install layer section in REAMDE.org files 2016-01-06 00:21:55 -05:00
Eivind Fonn
c893383fe4 Fix some documentation bugs
- CSS links
- GIFS in published version
- Unify layer doc titles
- Change emoji layer emojis to an image
2015-12-03 23:50:29 -05:00
justbur
9befd20a1a layers: Transition to new key bindings functions
Removes dependence on evil-leader centralizing control over the method
of key binding in core-keybindings.el
2015-11-21 18:22:51 +01:00
Eivind Fonn
e7fbc84ff0 Remove package guards for evilified
See discussion in #3879
2015-11-21 11:07:14 +01:00
syl20bnr
e3df025eff evilified-state: fix tests and rename library to evil-evilified-state 2015-11-19 00:24:27 -05:00
justbur
b294461957 evilified-state: Make into local package 2015-11-18 23:35:01 -05:00
Eivind Fonn
c3866382b2 Documentation update
- Add #+HTML_HEAD_EXTRA options to all org files
- HTMLize published documentation via CSS
2015-11-13 14:23:13 +01:00
Nate Wolfe
ea9ce5ef6d (mu4e) Don't require multiple account list
This commit deactivates account selection and switching support if the
account list isn't defined. We also don't need the follow-up action of
undoing the account selection changes, so we can just skip both of the
hooks.

This is useful for users who only have 1 account - they don't need the
helm popup to select which account to use. They can just define the
variables outside of the `mu4e-account-list`.
2015-11-13 13:53:08 +01:00
Eivind Fonn
5f3793a50e Clean up mu4e layer
- Clarify installation instructions
- Bring README in line with conventions
- Create layer variable for installation path
- Move mu4e-account-alist to config.el
- Move extensions.el to packages.el
- Define mu4e as built-in and not local
- Add commands to ensure mu4e is deferred
2015-11-11 21:48:37 +01:00
Allen Li
f8368f9c94 Add mu4e layer 2015-11-11 21:36:59 +01:00
Eivind Fonn
13c5b1d24b Convert documentation to publishable format 2015-11-01 23:40:29 -05:00
Robert O'Connor
b2628fb6b7 gnus layer: fix conflicting key bindings
change:
SPC m h -> SPC m M
SPC m H -> SPC m m
2015-09-23 22:51:09 -04:00
syl20bnr
c0a66452a7 gnus: move org-mime to org layer
org-mime is installed by org-plus-contrib so it makes more sense to
configure in org layer.
2015-09-23 22:04:07 -04:00
justbur
6eab954afe Use + instead of ! for layer categories
Helm seems to treat "!" specially in pattern matching, so having a ! in
the pattern string when traversing directories is problematic. This
change fixes #2737, because as far as I can tell "+" has no special
meaning in a helm pattern.

Of course, we can choose a different character, but I'm fond of "+" as
representing "more layers here".
2015-09-11 00:13:51 -04:00