Commit graph

32 commits

Author SHA1 Message Date
Henrik Lissner
ad6a3d0f33
refactor: deprecate featurep! for modulep!
featurep! will be renamed modulep! in the future, so it's been
deprecated. They have identical interfaces, and can be replaced without
issue.

featurep! was never quite the right name for this macro. It implied that
it had some connection to featurep, which it doesn't (only that it was
similar in purpose; still, Doom modules are not features). To undo such
implications and be consistent with its namespace (and since we're
heading into a storm of breaking changes with the v3 release anyway),
now was the best opportunity to begin the transition.
2022-08-14 20:43:35 +02:00
Itai Y. Efrat
c13b59395c bump: :completion vertico
minad/consult@d30213aa20 -> minad/consult@822928a860
minad/marginalia@dbc37b373e -> minad/marginalia@26f2bd9ee7
minad/vertico@46e8e05650 -> minad/vertico@cc5f5421c6
oantolin/embark@2890e535f5 -> oantolin/embark@d88478b45f
oantolin/orderless@8f64537f55 -> oantolin/orderless@75eeae2197

- Remove everything related to `consult-completing-read-multiple` since
the function has been deprecated upstream due to implementation issues

Ref: minad/consult#567
Close: #6352
2022-05-26 01:18:02 +03:00
Henrik Lissner
dabca5d24e refactor(notmuch): remove redundant ol-notmuch config
ol-notmuch autoloads itself, so we don't need to do anything.

Amend: db94569143
Ref: hlissner/doom-emacs@db94569143
Ref: https://git.sr.ht/~tarsius/ol-notmuch/tree/main/item/ol-notmuch.el#L93-97
2021-11-25 01:33:39 +01:00
Henrik Lissner
db94569143 refactor(notmuch): remove redundant config
Ref: hlissner/doom-emacs@d522cc347d
2021-11-25 01:04:23 +01:00
Leonard Lausen
d522cc347d fix(notmuch): ol-notmuch missing
ol-notmuch.el was moved out of org-contrib into its own repo.

Ref: e14dfea5/item/lisp/ol-notmuch.el (L8)
2021-11-24 13:10:40 +01:00
Thomas Friese
54c4ae4853 feat(notmuch): only tag new messages w/ afew
Indexing all messages can be very expensive, so some time can be saved
by only indexing new messages.
2021-11-21 19:04:14 +01:00
Leonard Lausen
196ea03281
refactor(notmuch): parameterize delete/spam tags 2021-11-21 19:02:18 +01:00
Henrik Lissner
d29a2fd865 fix(notmuch): messages open in tiny popup
We couldn't write a popup rule for message buffers because they were
named *X*, where X was the email's subject line. There was no distinct
pattern to target via regex, and the buffer is display before its mode
is initialized, so a more sophisticated popup rule wouldn't work either.

By renaming message buffers *subject:X*, we now have a chance to target
it.
2021-09-30 01:26:25 +02:00
Itai Y. Efrat
173e0f3cc0 fix(notmuch): notmuch-read-tag-changes error
Due to notmuch abusing the completing-read-multiple api,
notmuch-read-tags-changes errors out without this fix. A bug report has
been filed about this upstream, so hopefully this is a strictly
temporary measure.

Ref https://yhetil.org/notmuch/87h7efuv6i.fsf@tethera.net/T/
Ref minad/vertico#119
2021-09-23 14:55:58 +02:00
Itai Y. Efrat
24eaa1317c completion/selectrum -> completion/vertico, part 2
- Rename module from `:completion selectrum` to `:completion vertico`
- Rename all files involved
- Do *not* yet rename all the functions, as that messes up git's rename
  detection.
2021-07-25 02:51:15 +03:00
Itai Y. Efrat
7ec7134947 selectrum: improve ivy parity
- add `:pg` bindings
- add `selectrum-minibuffer-map` to `+default-minibuffer-maps`
- add `consult-notmuch`
- add selectrum option for `mu4e-completing-read-function`
- document more parity failings
2021-07-25 02:49:41 +03:00
Henrik Lissner
53d438d467
Merge pull request #5008 from nackjicholson/notmuch-rm-org-mime
notmuch: remove org-mime
2021-05-15 16:57:59 -04:00
William Vaughn
513e05e856
notmuch: put org-mime behind +org flag 2021-05-10 21:24:03 -07:00
Radu Butoi
b2f19c4bd7 use setq-default for notmuch-search-oldest-first
It was made buffer-local upstream [1] and included in the latest version
bump [2].

[1]: https://git.notmuchmail.org/git?p=notmuch;a=commit;h=42d32713be9a23346de09b84983e1dd3b44b3400
[2]: ed4b1ef887
2021-05-10 02:59:27 -04:00
Henrik Lissner
19d41262e4 email/notmuch: remove mbsync & mbsync-xdg backends
Also merges the +notmuch-sync-command variable into
+notmuch-sync-backend, which now accepts a string.

Mentioned in #4838
2021-04-14 23:43:45 -04:00
William Vaughn
ef3ad06032
align key map item whitespace 2021-04-14 08:15:23 -07:00
Will Vaughn
96dcb4c0d9
respect +afew feature flag + fix sync buffer kill 2021-04-03 23:14:24 -07:00
William Vaughn
d3eaad8f1c rm notmuch-hello customization
Seeking to make this notmuch module behave more like vanilla notmuch to
be less disorienting for users who are familiar with notmuch. The
customizations of the notmuch-hello screen can easily be done in user
configs by users that want those customizations.
2020-12-27 22:46:27 -08:00
Henrik Lissner
f102063f93
Fix #3908: separate company-ispell from notmuch-company 2020-10-15 18:13:42 -04:00
Henrik Lissner
c6fadf4776
Enable ol-notmuch if notmuch module is enabled
Closes #3161
2020-05-18 14:10:24 -04:00
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
Renamed from modules/app/notmuch/config.el (Browse further)