Commit graph

72 commits

Author SHA1 Message Date
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