Commit graph

140 commits

Author SHA1 Message Date
Ag Ibragimov fe0af4f74b mu4e: require mu4e for mu4e-org-link-support
it looks like it still would throw a message:

"mu4e-org-store-link: Please load mu4e before mu4e-org" if attempted to use
`org-store-link` before loading mu4e. I'm just going to bump the version number until
someone offers a better solution
2021-02-28 21:04:52 +01:00
Hanshen Wang dd29b769c2 edited mu4e-org-link-support, add compatibility to mu4e v. < 1.3.6 2021-01-10 19:53:05 +01:00
Hanshen Wang f75ac7a239 Fix typo found in commit ab4877f218 2021-01-09 07:19:15 +00:00
emacspace ee9201efe7 documentation formatting: Sun Jan 3 07:55:29 UTC 2021 2021-01-03 09:11:18 +01:00
Fan Yang ab4877f218 Improve org-mu4e integration
Changes:

- Added two configuration variables for the mu4e layer to control mu4e-org
  integration.

- Optionally configures mu4e compose mode to support Org-mode syntax.

- Improves lazy-loading of relevant features. E.g. loading org-mode does not
  automatically trigger loading of mu4e.
2021-01-03 08:52:49 +01:00
Maximilian Wolff ac3752ffd7
Add missing prefixes to global application bindings 2020-07-06 23:13:52 +02:00
John Practicalli Stevenson 92c010a207 [applications] refactor key bindings to layer categories
refactor key bindings for applications to provide additional room for
applications and use lower case characters.

Move calc-dispatch to `SPC a *`

Relates to #13503
2020-07-02 23:43:19 +02:00
Maximilian Wolff 2d326cf4f3
[mu4e] Refactor window-purpose config
Refactor window-purpose config to use
extension-configuration rather than
user-configuration to allow reconfiguration
in user-config.
2020-06-27 23:51:03 +02:00
Maximilian Wolff 8ac0edc297
[notmuch] Refactor window-purpose config
Refactor window-purpose config to use
extension-configuration rather than
user-configuration to allow reconfiguration
in user-config.
2020-06-27 23:37:47 +02:00
Maximilian Wolff 1753db7386
[gnus] Refactor window-purpose bindings and fix wrong license header
The purpose config was declared by using user mode purposes
which are reserved for user configuration.

I have also fixed the license header for config.el which did
not mention Sylvain Benner & Contributors.
2020-06-26 01:33:36 +02:00
Ag Ibragimov 7234d61003 fix: org-store-link doesn't work unless you load mu4e
When mu4e layer is present org-store-link doesn't work immediately when you
start Emacs, unless you explicitly load mu4e.

It'd display "Please load mu4e before mu4e-org" message and do nothing.
2020-06-11 00:45:37 +02:00
Christian Hopps 55a8d1fc8e Update mu4e to 1.4.x changes.
From the author of mu4e, org-mu4e.el is not supported anymore. Load the
supported org functionality from mu4e-org.el instead.

mu4e author -- "org-mu4e.el has been obsoleted in mu4e 1.4.x... the supported
parts are in mu4e-org.el now. And there's currently no real expectation you can
load those separately (it might work)."

I believe by separately means loading mu4e-org w/o having loaded mu4e.
2020-05-24 23:41:19 +02:00
Maximilian Wolff 2e0f4acad5
Make view-mode closable with q in evil
View-mode was not properly evilified which prevented evil users
from closing it with q. This is now globally fixed not only for
`notmuch-mode`.
2020-03-17 09:21:02 +01:00
Maximilian Wolff 053f6da6c6
[notmuch] Make help closable with q
notmuch help uses emacs view mode which has never been evilified.
With this I am trying to make it closable with q again.

Known issue: q seems only to work the second time it is used, Q can be used
instead.
2020-03-16 20:48:28 +01:00
Maximilian Wolff 83fbc7a13e
[notmuch] Improve evilification and documentation
notmuch-hello was using an evilified buffer which broke the embedded search
widget in the buffer. I have changed the evilification to using normal mode
with manual bindings instead.

In addition I have made the notmuch message buffer closable using "q"
and added the missing notmuch-hello keybindings to the docs.
2020-03-16 00:21:47 +01:00
Koray Al b7910ae40b [#1598] Fix missing mu4e-modes error
The previous PR failed to handle everywhere `mu4e-modes` list is being used so
this will bring it back, but still use the added lists for `purpose` setup.
2020-03-04 23:30:05 +01:00
duianto 12558b0ac2 [gnus] Fix gnus/init-gnus :init section indentation 2020-03-04 23:28:07 +01:00
duianto 728ee6c2b8 [gnus] Make the gnus variables user configurable
The gnus variables were set in the `gnus/init-gnus`
functions `:config` section, that made them override
any user configurations.

Moving the variable declarations to the `:init`
section made them user configurable.
2020-03-04 23:28:07 +01:00
Koray Al 0c51514b56
[#1598] [mu4e] Fix purpose labels for mu4e buffers
When purpose mode is enabled, Spacemacs fails to assign correct mu4e buffers to
correct windows when we're in headers view and select an e-mail from the list.

Since `*mu4e-headers*` and `*mu4e-view*` buffers have the same purpose
name (`mail`), and `*mu4e-loading*` buffer is either `fundamental` (or with a
recent version of upstream mu4e `mu4e-loading-mode`) which has the purpose
`general`.

So what happens is, when we select an e-mail from the list, e-mail opens up at
the headers' window, and loading opens up in the lower window which should have
displayed the actual email content.

With this commit, there will be two purpose names which will prevent this issue
from happening.
2020-03-01 00:11:34 +01:00
Loys Ollivier 96ef7b23a2 [notmuch] rename require to 'ol-notmuch
org has changed its file naming for the notmuch add-on from
org-notmuch to ol-notmuch.
org-mode commit 499c0a50cc4b11e37b91374af23cb27ab8fc20d2.

Fix the require to reflect this change.

Signed-off-by: Loys Ollivier <loys.ollivier@gmail.com>
2020-01-09 14:03:33 +01:00
Dominik Schrempf b29f72b43a
Mu4e add 'gu' key binding to go to urls. 2019-12-15 21:46:48 +00:00
emacspace 76245081d6 documentation formatting: Mon Dec 9 21:44:48 UTC 2019 2019-12-09 23:52:24 +02:00
JAremko e1eb157c63 Testing if .org fmt still works 2019-12-09 22:16:13 +02:00
William Casarin 6e57bdc5c6
[notmuch] restore original movement keybindings
not sure why these we rebound...

Signed-off-by: William Casarin <jb55@jb55.com>
2019-11-24 21:25:34 +00:00
William Casarin 2c86f701c5
[notmuch] add next/prev matching message binding
These were lost in the evilfied map when in notmuch-tree mode

Signed-off-by: William Casarin <jb55@jb55.com>
2019-11-24 21:25:34 +00:00
William Casarin 117b6823db
[notmuch] open github patches fullscreen
It's a bit annoying when you have to maximize it each time

Signed-off-by: William Casarin <jb55@jb55.com>
2019-11-24 21:25:33 +00:00
Spenser Truex 5d1cf35e48 [gnus] Add bindings for slave/unplugged startup. FLAME ON.
Co-Authored-By: duianto <otnaiud@gmail.com>
2019-11-24 17:08:22 +01:00
Miciah Masters 97ba556142 Various documentation copy-edits
Follow up the changes in the previous commit with some minor improvements
to formatting, grammar, spelling, and wording.

* layers/+distributions/spacemacs-docker/README.org: Replace "+" with
"and".
* layers/+email/mu4e/README.org: Use full sentences in the comments in the
mu4e-alert example.
* layers/+intl/japanese/README.org: Use verbatim markers for names of
files, functions, packages, and variables.  Capitalize "Linux".
* layers/+os/osx/README.org: Capitalize "Emacs", "Vim", and "Evil".
* layers/+os/osx/config.el (osx-command-as, osx-use-dictionary-app):
* layers/+os/osx/keybindings.el (spacemacs/system-is-mac): Improve
docstrings.
* layers/+readers/dash/README.org: Capitalize "API", "Helm", and "Ivy".
* layers/+spacemacs/spacemacs-defaults/config.el
(delete-by-moving-to-trash): Use full sentences in comment.
* layers/+spacemacs/spacemacs-defaults/funcs.el
(spacemacs/toggle-frame-fullscreen-non-native): Improve docstrings.
2019-10-13 12:04:59 +02:00
Miciah Masters 552fd5953c Update references to macOS
Apple renamed "Mac OS X" to "OS X" in 2012 and then to "macOS" in 2016.
Update references to use the current name.
2019-10-13 12:04:40 +02:00
Matthew Leach d3cb959e36 [gnus] add gnus perspective
Configure the gnus layer to add a gnus perspective, similar to the erc layout.
2019-10-06 17:09:15 +02:00
duianto f3650b6d2e [mu4e][doc] Fix a typo and org verbatim emphasis
Add emphasis to mentions of `mu` and `mu4e`.
Fix typo in a link description.
Add a missing key binding emphasis.
Change markdown surrounding backticks to org verbatim equal signs.
2019-09-01 23:11:10 +02:00
Matthew Leach 4914df0108 add O prefix for gnus-group-group-map
Since the `O` key is not used in the `group-group-mode-map` use it as a prefix
for the `group-group-group-map`.
2019-09-01 22:15:40 +02:00
duianto 424d029190 Revert "[gnus] Add G prefix to evil state"
This reverts commit 7ec33ba974.
2019-08-30 01:07:13 +02:00
duianto 7ec33ba974 [gnus] Add G prefix to evil state 2019-08-29 17:29:04 +02:00
Matthew Leach f088eb077c map gnus-group-get-new-news' to g r'
Since the `g' key is remapped in an evilified state, use the combination `g r'
to refresh the group buffer. This is similarly done in magit.
2019-08-29 17:10:03 +02:00
Miciah Masters 461a36b981 purpose: Add chat and mail purposes
Map erc, jabber, rcirc, and slack buffers to the "chat" purpose.

Map gnus, mu4e, and notmuch buffers to the "mail" purpose.
2019-06-09 21:47:21 +02:00
duianto 3868a5364f [doc] Fix typos and add missing/remove extra ~
Add missing ~ (tilde) around key bindings.
Remove an extra ~.
2019-06-01 20:40:22 +02:00
emacspace c7c348a676 documentation formatting: Sun May 26 20:58:52 UTC 2019 2019-05-27 01:23:35 +03:00
Anton-Latukha f6660f82d4
Switch to the new layers generator 2019-05-15 21:08:21 +03:00
Miciah Masters 0d6c56889d notmuch: Try harder to find GitHub patch URL
Make spacemacs//notmuch-open-github-patch try harder to find a patch for
the pull request.
2019-05-05 21:22:50 +02:00
JAremko 5d02b1c4bb Add more tags 2019-05-03 03:44:19 +03:00
Loïc Estève 7dcfa742bb Fix typo in mu4e documentation 2019-04-18 23:10:51 +02:00
emacspace 45276bd96f documentation formatting: Wed Dec 5 03:03:03 UTC 2018 2018-12-04 22:06:14 -05:00
duianto ee811f7b13 Unify packages list parentheses style
problem:
some layer packages lists have the open and closing parentheses on the same line
as the first and last listed package, but most seem to have them on a separate
lines.

solution:
put the open and close parentheses on separate lines, except for lists with only
a single package, they are written on the same line as the variable name and
parentheses.

fix the lists indentation
2018-11-21 21:35:38 +00:00
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
Kalle Lindqvist 67165df30c notmuch: use melpa for counsel-notmuch 2018-09-11 00:18:27 +03:00
Ag Ibragimov ffc1617dd9 [mu4e] kill mu4e layout on app exit 2018-08-28 23:08:01 +01:00
JAremko 6946e255e6 Reformat docs 2018-07-20 02:45:21 +03: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