Commit Graph

99 Commits

Author SHA1 Message Date
Nathanael Schweers 1435c95a79 Fix a previous attempted fix loading mu4e.
mu version 1.8.2 renamed mu-meta to mu-config.  As the variable mu4e-mu-version
is defined in said file the easiest fix seems to be to simply attempt to load
the new one, and only if that fails to load the old version.

Maybe this can be reworked or better yet removed in the future.
2022-07-02 18:41:54 +02:00
Nathanael Schweers 0ce1201a3e Use a different require on newer mu versions. 2022-07-01 15:58:11 +02:00
Arif Er 00f9ab19ac chore: update copyright headers to 2022
The script used to identify and update the change is added into the GitHub
workflows script directory. A workflow action can be created to trigger the
script to update the headers on the first of every new year. Possibly a task for
a consequent PR.
2022-06-03 17:32:20 +02:00
J. Zhao 2c3bca670f Revert "Fix void variable `mu4e-view-mode-map`" to fix bug #14548
This reverts commit f5d121599b.
2021-03-31 18:55:42 +02:00
syl20bnr 97cd83e169 Apply GPLv3 terms explicitly to all elisp files 2021-03-25 22:59:32 -04:00
syl20bnr d55a9e2e67 Update header for year 2021 2021-03-25 22:59:32 -04:00
Ray 5fac9a26c6 Provide a switch to auto run mu4e at emacs startup 2021-03-20 22:04:05 +01:00
ClarityStorm f5d121599b Fix void variable `mu4e-view-mode-map` 2021-03-20 00:30:58 +01:00
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
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
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
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
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
Dominik Schrempf b29f72b43a
Mu4e add 'gu' key binding to go to urls. 2019-12-15 21:46:48 +00: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
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
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
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 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