Commit graph

86 commits

Author SHA1 Message Date
Henrik Lissner
037b018cdd
feat: add .doommodule files
These optional dotfiles indicate the root of a module or module
group (:lang), and will later contain module metadata. They will also
serve as an alternative to packages.el and doctor.el, and will aide the
parts of the v3.0 module API concerned with resolving the current module
from a path (`doom-module-from-path`), which currently rely too heavily
on parsing path strings.

For now, however, they're simply placeholders.
2024-09-14 20:47:39 -04:00
Henrik Lissner
5289861109
refactor(workspaces): +workspace/delete: rename to +workspace/kill
To be more consistent with other uses of the verb in the Emacs
ecosystem. Also done in preparation for a new +workspaces/delete command
for #7869.

Ref: #7869
2024-07-05 18:05:15 -04:00
Henrik Lissner
792c41f638
bump: :email mu4e notmuch
https://git.notmuchmail.org/git/notmuch@b6f144abe1f5 -> https://git.notmuchmail.org/git/notmuch@2f0320c5f24a
jao/consult-notmuch@d0d4129d45 -> jao/consult-notmuch@d8022e2ddc
jeremy-compostella/org-msg@055de4abf6 -> jeremy-compostella/org-msg@0b65f0f77a
org-mime/org-mime@d368bd4119 -> org-mime/org-mime@9d4584651d
tarsius/ol-notmuch@781c3518a5 -> tarsius/ol-notmuch@881991d94a
2024-02-05 17:21:21 -05:00
Henrik Lissner
88bb045388
docs(*): replace all-the-icons with nerd-icons
Also colorizes the leading icon in notices.
2023-09-16 20:19:11 +02:00
Henrik Lissner
7efcbf9208
bump: :email
https://git.notmuchmail.org/git/notmuch@09f2ad8e8533 -> https://git.notmuchmail.org/git/notmuch@b6f144abe1f5
jeremy-compostella/org-msg@7b1dfb96d5 -> jeremy-compostella/org-msg@055de4abf6
org-mime/org-mime@cc00afcf02 -> org-mime/org-mime@d368bd4119
tarsius/ol-notmuch@ee3646627e -> tarsius/ol-notmuch@781c3518a5
wanderlust/flim@2cf5a78910 -> wanderlust/flim@80b8121f05
wanderlust/semi@7d8df0ef2f -> wanderlust/semi@9370961ddc
wanderlust/wanderlust@77662986fd -> wanderlust/wanderlust@8369b2d517
xzz53/mu4e-alert@3c9af8c799 -> xzz53/mu4e-alert@6beda20fc6
2023-08-18 18:53:39 +02:00
Henrik Lissner
8ed81db6b9
bump: :email
https://git.notmuchmail.org/git/notmuch@bd243b65a970 -> https://git.notmuchmail.org/git/notmuch@09f2ad8e8533
jao/consult-notmuch@4138855cdd -> jao/consult-notmuch@d0d4129d45
jeremy-compostella/org-msg@60e22e4463 -> jeremy-compostella/org-msg@7b1dfb96d5
org-mime/org-mime@cf96f585c6 -> org-mime/org-mime@cc00afcf02
tarsius/ol-notmuch@1a53d6c707 -> tarsius/ol-notmuch@ee3646627e
wanderlust/apel@6947dc4605 -> wanderlust/apel@82eb2325bd
wanderlust/flim@289e5bbd66 -> wanderlust/flim@2cf5a78910
wanderlust/semi@b1c245b817 -> wanderlust/semi@7d8df0ef2f
wanderlust/wanderlust@e3cd5e3945 -> wanderlust/wanderlust@77662986fd
xzz53/mu4e-alert@b34d0ea7b7 -> xzz53/mu4e-alert@3c9af8c799
2023-02-20 22:50:01 -05:00
nick de heras
f6602ab27b
docs(notmuch): fix custom sync backend snippet
The method for customizing +notmuch-sync-backend was changed in 19d4126
to accept a string; consequently the current example in the docs results
in an error:

  user-error: Invalid notmuch backend specified: custom

Ref: 19d41262e4
2022-10-29 02:50:08 +02:00
TEC
5ac2a5258b docs: change link format 2022-10-05 01:01:19 +02:00
Antonio Ruiz
fc2682e4ff fix(notmuch): use new workspace name in +notmuch/quit
This change was meant to be included in the first commit where I changed
the default notmuch workspace name.
2022-09-21 01:05:34 +02:00
Antonio Ruiz
3f9e62dab7 feat(notmuch): use a different workspace name
The workspace name *notmuch* is more consistent with Doom's other app
workspace names like *mu4e* and *rss*.
2022-09-21 01:05:34 +02:00
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