Commit Graph

12 Commits

Author SHA1 Message Date
Henrik Lissner
2b2156c4f5
email/notmuch: minor reformatting 2019-12-16 03:54:15 -05:00
Max Nickel
3a20e09eab fix notmuch keybind typo 2019-10-26 15:42:25 -04:00
Max Nickel
e122c55718 add basic bindings for notmuch 2019-10-26 14:05:40 -04:00
Max Nickel
e279409bbd sharp-quote notmuch-show hook 2019-10-26 13:38:06 -04:00
Max Nickel
5b3989f3e1 fix removal of unread hook when filtering messages 2019-10-24 22:39:45 -04:00
Max Nickel
d73ebf0815 refresh notmuch buffers after sync and add support for custom sync 2019-10-24 22:39:02 -04:00
Max Nickel
5324cb2fc8 only show unread messages in notmuch-show threads (fold read msgs) 2019-10-24 22:38:50 -04:00
Henrik Lissner
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
Henrik Lissner
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
Henrik Lissner
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
Henrik Lissner
a247f00a45
email/notmuch: fix invalid-function error
Caused by malformed company backends.
2019-05-16 11:41:46 -04:00
Henrik Lissner
84c5da844b
Add email/{wanderlust,mu4e,notmuch} modules
Removed app/{email,notmuch}
2019-05-05 14:14:12 -04:00