Commit graph

76 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
Henrik Lissner
1abcf913aa
revert: fix(docs): set mode in file-local vars
emacs-straight/org-mode@e22b4eb7aa introduced a breaking change that
made it impossible to rely on .dir-locals.el to change org-mode buffers
in $EMACSDIR to doom-docs-org-mode (without infinite recursion), so we
used file-local variables in 7e400ab.

emacs-straight/org-mode@215de6176b reverted that change, so we can use
.dir-locals.el again, and this is my preference, since it requires less
boilerplate across our hundreds of org files.

Ref: emacs-straight/org-mode@215de6176b
Ref: emacs-straight/org-mode@e22b4eb7aa
Revert: 7e400abdc0
2022-08-07 19:08:07 +02:00
Henrik Lissner
1f8bf7accb
merge: rewrite-docs
I've omitted docs/*.org from this merge, as there is still work left to
do there, but I am pushing the module docs early so folks can benefit
from the new docs sooner.
2022-08-03 03:27:50 +02:00
Henrik Lissner
7e400abdc0
fix(docs): set mode in file-local vars
Due to emacs-straight/org-mode@e22b4eb, a replacement major mode (for
org-mode) can no longer be specified from .dir-locals.el, as it spirals
into infinite recursion. Therefore, a mode: line is needed in all Doom
docs.

Ref: emacs-straight/org-mode@e22b4eb7aa
2022-08-03 02:46:33 +02:00
Henrik Lissner
1255315bfc
refactor(docs): replace nav menus with virtual one
Now that the header is dynamically generated (when doom-docs-mode is
active), a literal header is unnecessary.
2022-08-02 19:37:07 +02:00
Henrik Lissner
e77a45bc22
docs: use lowercase keywords
As per Org's new defaults, which we're adopting elsewhere, so may as
well adopt it here.
2022-08-02 16:23:43 +02:00
Ag Ibragimov
e48dd85e56 tweak(notmuch): bury update buffer instead of killing it
+notmuch/update would create an additional window that outlasts the
update process. Instead, delete the window and bury the buffer, so that
it may be read later.
2022-07-23 16:36:40 +02:00
Henrik Lissner
61a7c54165
bump: :email
https://codeberg.org/jao/consult-notmuch.git@a5133b9e1f19 -> https://codeberg.org/jao/consult-notmuch.git@4138855cddee
https://git.notmuchmail.org/git/notmuch@63413a556345 -> https://git.notmuchmail.org/git/notmuch@bd243b65a970
https://git.sr.ht/~tarsius/ol-notmuch@126fb446d8fa -> https://git.sr.ht/~tarsius/ol-notmuch@1a53d6c70751
jeremy-compostella/org-msg@599e8b056c -> jeremy-compostella/org-msg@60e22e4463
org-mime/org-mime@eb21c02ba8 -> org-mime/org-mime@cf96f585c6
wanderlust/apel@4e3269b6e7 -> wanderlust/apel@6947dc4605
wanderlust/wanderlust@6e189fc944 -> wanderlust/wanderlust@e3cd5e3945
xzz53/mu4e-alert@91f0657c5b -> xzz53/mu4e-alert@b34d0ea7b7

Fix: #6360
Close: #6377
2022-05-27 00:35:38 +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
7246db457c docs: replace doom-source with doom-repo links
I will later use "source" to refer to module sources, so better we avoid
the terminology for now.
2022-02-01 18:55:27 +01:00
Lele Gaifax
e5213f20e5 nit: fix several documentation typos 2022-01-10 02:21:49 +01: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
89fbc3776d refactor(notmuch): unlink ol-notmuch from +org flag
Amend: db94569143
Ref: hlissner/doom-emacs@d522cc347d
2021-11-25 01:25:25 +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
Henrik Lissner
88844e9cec docs: simplify internal docs links
Fewer links means less confusion.

- Merge doom-issue and doom-commit links into doom-ref (for auto-linking
  Issue/PR/commit references).
- Merge doom-module-source and doom-docs-source links into doom-source.
- Rename doom-report-issue to doom-report.
- Use '!' as the icon for module issues link.
- Remove doom-repo (replaced with "doom:*" in :lang org module).
- Add doomdir and emacsdir links to :lang org module.
2021-11-21 20:04:28 +01:00
Henrik Lissner
1decc38237 docs: fix module readme CREATED & SINCE attrs
Some were missing PR references, others had incorrect values for SINCE
and CREATED attributes. Also corrects the capitalization in some
SUBTITLEs.
2021-11-21 20:04:28 +01:00
Henrik Lissner
2dcef764f1 docs(:email): update READMEs to new format 2021-11-21 20:04:28 +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
Clément Haëck
59f78dc966 fix(notmuch): incorrect type used for window 2021-11-18 19:12:21 +01:00
Henrik Lissner
473eda795a fix(notmuch): missing notmuch-version.el
Notmuch, like org, uses git describe to build a version string variable
at install time, but Doom preforms shallow clones of its packages, where
git describe does not work.

Notmuch is one of our bigger packages and the variable isn't essential
for normal use, so I've opted to build notmuch-version.el by hand.  It
lacks the commit offset, but it has enough information to work with.

Fix #5581
2021-10-06 01:30:45 +02:00
Hugo Nobrega
f394d9f65b feat(notmuch): allow notmuch module without (:ui workspaces)
Remove the dependency of (:ui workspaces) from the notmuch module
2021-10-03 12:50:36 +02: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
Hyunggyu Jang
7274f73500 fix(notmuch): window is not a valid window error on sync end
Notmuch sync process is done asynchronously, but if the user switch to
other buffer before update process, it complains like

```
error in process sentinel: #<window 98> is not a valid window
```

This commit simplifies cleanup process after mail syncing, and still
maintain its functionality.
2021-09-23 11:37:59 +02:00
Itai Y. Efrat
3112b9a6d6 bump: consult-notmuch
https://codeberg.org/jao/consult-notmuch.git@67cf219fcce2 -> https://codeberg.org/jao/consult-notmuch.git@a5133b9e1f19

Needed for consult-notmuch to work with the new async consult api

Fix: #5369
2021-09-14 20:44:55 +03:00
Itai Y. Efrat
78a75608bd docs(notmuch): fix links in readme 2021-08-06 03:16:52 -04:00
Henrik Lissner
06392a723f refactor: rename orig-fn arg in advice to fn
A minor tweak to our naming conventions for the first argument of an
:around advice.
2021-08-04 01:53:12 -04: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
a8e57438dc Refactor doom-{path,file,dir,glob}
Breaking change: doom-glob would formerly return a string (if only one
match) or a list. Now it always returns a list.
2021-05-23 21:49:02 -04: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
Henrik Lissner
68ba7e0f56
Merge pull request #5026 from rbutoi/setq-default
use setq-default for notmuch-search-oldest-first
2021-05-10 04:57:45 -04:00
Henrik Lissner
e3cae2a5e3
Merge pull request #5007 from nackjicholson/notmuch-dead-code
notmuch: rm dead code
2021-05-10 04:55:28 -04: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
William Vaughn
056880e1df notmuch: rm dead code 2021-05-07 19:25:31 -07:00
William Vaughn
76b9ab18dd notmuch: add links about sending mail 2021-05-06 22:35:17 -07:00
William Vaughn
2bf97211ff notmuch: add lieer links 2021-05-06 22:34:20 -07:00
William Vaughn
4edbe3bd65 notmuch readme: add keymaps features subheaing 2021-05-06 22:27:08 -07:00
William Vaughn
dd950f0985 add "an" to description 2021-05-06 22:25:48 -07:00
Henrik Lissner
ed4b1ef887 Bump :email
https://git.notmuchmail.org/git/notmuch@45193ba -> https://git.notmuchmail.org/git/notmuch@63413a5
jeremy-compostella/org-msg@557d490 -> jeremy-compostella/org-msg@b0765b2
org-mime/org-mime@9bb6351 -> org-mime/org-mime@eb21c02
wanderlust/flim@068b35e -> wanderlust/flim@ddf5b6e
wanderlust/semi@f279ebe -> wanderlust/semi@20d7530
wanderlust/wanderlust@5db307a -> wanderlust/wanderlust@6e189fc

Closes #4976
2021-05-06 04:27:32 -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
Henrik Lissner
494d87d0b4 email/notmuch: update readme
Closes #3933

Co-authored-by: Will Vaughn <nackjicholson@users.noreply.github.com>
2021-03-05 22:17:47 -05:00
Henrik Lissner
1b81337d8d email/notmuch: correct & reformat readme 2021-03-05 20:57:41 -05:00
Will Vaughn
a0b661edac fix arch docs conflict 2020-12-27 22:46:27 -08:00
Will Vaughn
16393e3af1 Update notmuch documentation 2020-12-27 22:46:27 -08:00