Commit Graph

36 Commits

Author SHA1 Message Date
2b2156c4f5 email/notmuch: minor reformatting 2019-12-16 03:54:15 -05:00
b8d4fef93f email/wanderlust: add flim/apel packages
See:
raxod502/straight.el#445
wanderlust/wanderlust#172
2019-12-13 20:07:41 -05:00
7733bfa97c mu4e is only available from the AUR 2019-12-09 10:54:27 +01:00
4ca20438fb Use featurep! in mu4e/autoload/email.el
featurep works a bit different from featurep!, which is required in this
case.
2019-12-08 23:42:46 +01:00
385ff35ad8 Merge pull request #2123 from dsdshcym/fix-mu4e-when-workspace-module-is-not-enabled
email/mu4e: add featurep check for workspaces
2019-12-08 01:02:01 -05:00
f6a10f1268 email/mu4e: avoid delete-other-windows twice
- `+workspace-switch` already does this for us
- see also https://github.com/hlissner/doom-emacs/pull/2123#discussion_r352371828
2019-12-02 08:20:57 +08:00
a7eef56b9d email/mu4e: restore window config when mu4e quit
- see https://github.com/hlissner/doom-emacs/pull/2123#issuecomment-560010891
2019-12-01 09:30:33 +08:00
4126d3be81 email/mu4e: delete other windows when opening mu4e 2019-12-01 09:30:03 +08:00
93205d4401 email/mu4e: fix refile target
- before this change: refile would use mu4e-trash-folder as the target
- after this change: refile would use mu4e-refile-folder as expected
2019-11-30 22:26:27 +08:00
ba2e7836ab email/mu4e: add featurep check for workspaces
- if module workspaces is not used, an error would be raised when calling =mu4e
  `=mu4e: Symbol’s function definition is void: +workspace-switch`
- if module workspaces is not used, an error would be raised when quiting mu4e
  `=mu4e: Symbol’s function definition is void: +workspace/delete`
2019-11-30 22:02:32 +08:00
fb13b902b0 Minor comment/doc revision & refactors 2019-11-21 14:46:45 -05:00
44d5e097c9 shell-command-to-string -> doom-call-process #1887
Minor optimization to remove a layer of indirection when starting
processes.
2019-11-08 16:02:06 -05:00
3a20e09eab fix notmuch keybind typo 2019-10-26 15:42:25 -04:00
e122c55718 add basic bindings for notmuch 2019-10-26 14:05:40 -04:00
a4050a153d generalize notmuch/ivy-compose to notmuch/compose (completing-read) 2019-10-26 14:02:56 -04:00
e279409bbd sharp-quote notmuch-show hook 2019-10-26 13:38:06 -04:00
5b3989f3e1 fix removal of unread hook when filtering messages 2019-10-24 22:39:45 -04:00
00ec885eaa add command to select From email via ivy prior to composing 2019-10-24 22:39:17 -04:00
d73ebf0815 refresh notmuch buffers after sync and add support for custom sync 2019-10-24 22:39:02 -04:00
5324cb2fc8 only show unread messages in notmuch-show threads (fold read msgs) 2019-10-24 22:38:50 -04:00
07d219a300 add support for deleting messages in notmuch-show 2019-10-24 22:38:31 -04:00
c56f0513fa Add some bindings to mu4e-compose-mode (#1918)
email/mu4e: add mu4e-compose-mode localleader keybinds
2019-10-20 20:01:37 -04:00
b7a98cc788 Add openSUSE prerequisite instructions
These instructions were tested on openSUSE Tumbleweed and openSUSE Leap
15.1. There are some modules left that are not documented yet, but this
already improves the sitution for common openSUSE users.
2019-10-03 16:01:35 +02:00
66c50ceb51 Merge pull request #1576 from Emiller88/feature/mu4e-docs
Add NixOS example
2019-07-27 03:27:36 +02:00
a3e262c7ac 💥 Refactor add-hook! macro & change arg order
This update may potentially break your usage of add-hook! if you pass
the :local or :append properties to it. This is how they used to work:

  (add-hook! :append 'some-mode-hook #'do-something)

Thsoe properties must now follow the hooks, e.g.

  (add-hook! 'some-mode-hook :append #'do-something)

Other changes:
- Various add-hook calls have been renamed to add-hook! because I
  incorrectly assumed `defun` always returned its definition's symbol,
  when in fact, its return value is "undefined" (so sayeth the
  documentation). This should fix #1597.
- This update adds the ability to add multiple functions to hooks
  without a list:

    (add-hook! 'some-mode-hook
               #'do-something
               #'do-something-else)

- The indentation logic has been changed so that consecutive function
  symbols at indented at the same level as the first argument, but forms
  are indent like a defun.

    (add-hook! 'some-mode-hook
               #'do-something
               #'do-something-else)

    (add-hook! 'some-mode-hook
      (message "Hello"))
2019-07-26 20:17:29 +02:00
82ae3a73f3 def-advice!->defadvice! & conform to new advice conventions
This commit does two things:

- Renames def-advice! to defadvice!, in the spirit of naming convenience
  macros after the function/macro they enhance or replace.
- Correct the names of advice functions to indicate visibility and
  intent. A public advice function like doom-set-jump-a is meant to be
  used elsewhere. A private one like +dired--cleanup-header-line-a
  shouldn't -- it likely won't work anywhere but the function(s) it was
  made to advise.
2019-07-23 17:24:56 +02:00
76cacb5bfe 💥 Rename def-package! -> use-package!
Calling this pivotal macro "def-package!" has frequently been a source
of confusion. It is a thin wrapper around use-package, and it should be
obvious that it is so. For this reason, and to match the naming
convention used with other convenience macros/wrappers, it is now
use-package!.

Also changes def-package-hook! -> use-package-hook!

The old macros are now marked obsolete and will be removed when straight
integration is merged.
2019-07-23 12:50:45 +02:00
c795a988e6 Conform many modules to new conventions 2019-07-23 12:30:47 +02:00
a01f1e436c Add NixOS example 2019-07-19 13:24:25 -05:00
9a02bd8ac8 Minor refactors across the board
- when-let* -> when-let
- Fix projectile-locate-dominating-file for connected remote files
2019-06-26 14:31:06 +02:00
20720cda61 Remove visual-fill-column package from Doom core
It is not essential enough to keep in Doom core. I'm working on a new
module (or a rewrite for app/write) to replace it.
2019-05-17 01:58:27 -04:00
a247f00a45 email/notmuch: fix invalid-function error
Caused by malformed company backends.
2019-05-16 11:41:46 -04:00
2302ed37e5 email/wanderlust: improve gmail support & refactor 2019-05-05 21:07:14 -04:00
83fa8fed65 email/wanderlust: remove redundant defaults
Removed defaults that match wanderlust's defaults.

And fix potential stringp error arising from non-string
user-mail-address.
2019-05-05 14:20:17 -04:00
7430086de1 email/wanderlust: fix wl-summary-mode hook 2019-05-05 14:16:14 -04:00
84c5da844b Add email/{wanderlust,mu4e,notmuch} modules
Removed app/{email,notmuch}
2019-05-05 14:14:12 -04:00