Commit graph

31 commits

Author SHA1 Message Date
Henrik Lissner
1a05e2fa64
bump: :tools
NicolasPetton/pass@c721604b3b -> NicolasPetton/pass@ed7031c5c3
Silex/docker.el@6997c86a24 -> Silex/docker.el@d5255a65b7
alphapapa/magit-todos@cadf29d1cc -> alphapapa/magit-todos@debb77b358
andras-simonyi/citeproc-el@290320fc57 -> andras-simonyi/citeproc-el@c61c98b9d2
doomelpa/code-review@26f426e992 -> doomelpa/code-review@c34ff1ee64
editorconfig/editorconfig-emacs@2fed9599bc -> editorconfig/editorconfig-emacs@4b81a59928
emacs-citar/citar-org-roam@761eed6678 -> emacs-citar/citar-org-roam@7d67dccf80
emacs-citar/citar@2c0547db57 -> emacs-citar/citar@885b86f673
emacs-lsp/lsp-mode@02c5ba59ce -> emacs-lsp/lsp-mode@fb88cc6b8b
emacs-straight/eglot@f73594f589 -> emacs-straight/eglot@cd4e45b700
emacs-straight/rainbow-mode@24437ec2c6 -> emacs-straight/rainbow-mode@70ed10d410
emacs-tree-sitter/tree-sitter-langs@5eb24557f5 -> emacs-tree-sitter/tree-sitter-langs@20fbbb8573
emacsorphanage/quickrun@6f96318930 -> emacsorphanage/quickrun@248149b026
hcl-emacs/terraform-mode@39d2fd5bfc -> hcl-emacs/terraform-mode@e8b57df8c2
jacktasia/dumb-jump@d9503c157a -> jacktasia/dumb-jump@ede6a04187
magit/forge@ba35ffc9ba -> magit/forge@b16b6ec4f7
magit/magit@4881835572 -> magit/magit@54d37dc14c
meain/evil-textobj-tree-sitter@9a9edd42a2 -> meain/evil-textobj-tree-sitter@220ceae065
purcell/envrc@33d01388ce -> purcell/envrc@1385e72a73
rejeep/prodigy.el@a3be00d3b9 -> rejeep/prodigy.el@cc68fa9d60
tmalsburg/helm-bibtex@ef07adfeda -> tmalsburg/helm-bibtex@bf184cc311
xuchunyang/osx-dictionary.el@0715e5a3ac -> xuchunyang/osx-dictionary.el@1f5a74f3e5
yoshiki/yaml-mode@3fcb36d603 -> yoshiki/yaml-mode@5b58248ab2
zx2c4/password-store@28cec11f1d -> zx2c4/password-store@b5e965a838
2024-02-04 19:07:25 -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
TEC
5ac2a5258b docs: change link format 2022-10-05 01:01:19 +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
Henrik Lissner
608acd9a3a
bump: :tools
SavchenkoValeriy/emacs-powerthesaurus@810a25056c -> SavchenkoValeriy/emacs-powerthesaurus@88bc5229cb
Silex/docker.el@fbd896e313 -> Silex/docker.el@44f0bbec9b
editorconfig/editorconfig-emacs@1d4acc3ec7 -> editorconfig/editorconfig-emacs@1f6f16c24f
emacs-citar/citar@ee98b94f7f -> emacs-citar/citar@dd028c6a4d
emacs-straight/rainbow-mode@949166cc01 -> emacs-straight/rainbow-mode@55a8c15782
emacsorphanage/quickrun@c680f5137c -> emacsorphanage/quickrun@314beae43c
jacktasia/dumb-jump@dbb915441a -> jacktasia/dumb-jump@1dd583011f
magit/forge@66b3993c98 -> magit/forge@36208c43bf
magit/magit@a4a78d341a -> magit/magit@c1fb53d3de
millejoh/emacs-ipython-notebook@e04e1e19c6 -> millejoh/emacs-ipython-notebook@7b9b14435c
purcell/envrc@57d78f0138 -> purcell/envrc@7f36664fc6
rafalcieslak/emacs-company-terraform@2d11a21fee -> rafalcieslak/emacs-company-terraform@8d5a16d1bb
rejeep/prodigy.el@168f5ace16 -> rejeep/prodigy.el@a3be00d3b9
tkf/emacs-request@c769cf33f2 -> tkf/emacs-request@38ed1d2e64
tmalsburg/helm-bibtex@db73156576 -> tmalsburg/helm-bibtex@ce8c17690d
2022-06-17 21:53:56 +02: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
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
6da20e45bd docs(:tools): update READMEs to new format 2021-11-21 20:04:28 +01: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
Rudi Grinberg
0e9ae176be Set initial state in prodigy to normal
This allows using evil-collection's bindings for this mode.

Signed-off-by: Rudi Grinberg <me@rgrinberg.com>
2021-05-03 16:12:17 -07:00
Henrik Lissner
a9da1fcdeb Bump :tools
DamienCassou/auth-password-store@aa7f171 -> DamienCassou/auth-password-store@468bba2
NicolasPetton/pass@a095d24 -> NicolasPetton/pass@5651da5
Silex/docker.el@3773112 -> Silex/docker.el@0ca910b
charignon/github-review@db72374 -> charignon/github-review@d0c8234
editorconfig/editorconfig-emacs@d73333c -> editorconfig/editorconfig-emacs@f830b86
emacs-lsp/dap-mode@c52c1a5 -> emacs-lsp/dap-mode@5450af5
emacs-lsp/lsp-mode@62cd1b2 -> emacs-lsp/lsp-mode@3ca25e6
emacs-straight/project@f743ca2 -> emacs-straight/project@2e7afbe
magit/forge@e340c2b -> magit/forge@8683b14
magit/magit@2145477 -> magit/magit@62dfe5a
millejoh/emacs-ipython-notebook@917f2a0 -> millejoh/emacs-ipython-notebook@069e54c
purcell/envrc@18caf51 -> purcell/envrc@a7c6ca8
rejeep/prodigy.el@6ae71f2 -> rejeep/prodigy.el@168f5ac
spotify/dockerfile-mode@6a56c1c -> spotify/dockerfile-mode@58b7380
tmalsburg/helm-bibtex@1bb81d7 -> tmalsburg/helm-bibtex@94807a3
tumashu/posframe@8097276 -> tumashu/posframe@3454a4c
2021-02-11 22:13:22 -05:00
Henrik Lissner
40c185bd70
Bump :tools
Silex/docker.el@a2092b3 -> Silex/docker.el@0874520
emacs-lsp/dap-mode@0b9c8f2 -> emacs-lsp/dap-mode@804e364
emacs-lsp/helm-lsp@db24399 -> emacs-lsp/helm-lsp@6b5ce18
emacs-lsp/lsp-mode@4898d35 -> emacs-lsp/lsp-mode@87ea1df
emacs-straight/rainbow-mode@3ef813d -> emacs-straight/rainbow-mode@f780ddb
emacsorphanage/quickrun@50e07e7 -> emacsorphanage/quickrun@2e37ce9
magit/magit@8de6ecf -> magit/magit@d27d6e4
maxchaos/emacs-powerthesaurus@81a262e -> maxchaos/emacs-powerthesaurus@4a83478
millejoh/emacs-ipython-notebook@1322d8c -> millejoh/emacs-ipython-notebook@42134ad
politza/pdf-tools@0159cb1 -> politza/pdf-tools@d971298
realgud/realgud@b854e04 -> realgud/realgud@e03446f
tumashu/posframe@e62e584 -> tumashu/posframe@093b29a
zx2c4/password-store@88936b1 -> zx2c4/password-store@07b169e

We're also transitioning from abbreviated SHA1 hashes to full ones. See
45cdfb125 for why.
2020-04-30 01:27:58 -04:00
Henrik Lissner
a9402cfb55
Fix #2373: bring back package pinning
This needs some serious refactoring...
2020-01-25 19:02:00 -05:00
Henrik Lissner
4cc14389e8
PIN ALL THE PACKAGES 2020-01-14 22:32:11 -05:00
Henrik Lissner
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
Henrik Lissner
0ab14efce2
tools/prodigy: conform to new conventions 2019-07-22 23:59:25 +02:00
Henrik Lissner
ff5769f117
Remove reference to removed cache library 2019-07-22 02:37:44 +02:00
Henrik Lissner
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
Henrik Lissner
b56639e31b
Remove deprecated set! & def-setting! macros 2019-01-05 17:48:46 -05:00
Henrik Lissner
53fe7a1f04 Refactor Project API to reflect changes upstream
projectile-project-root no longer returns `default-directory` if not in
a project (it returns nil). As such, doom-project-* functions (and their
uses) have been refactored.

+ doom-project-p & doom-project-root are aliases for
  projectile-project-p & projectile-project-root.
+ doom-project-{p,root,name,expand} now has a DIR argument (for
  consistency, since projectile-project-name and
  projectile-project-expand do not).
+ The nocache parameter is no longer necessary, as projectile's caching
  behavior is now more sane.
+ Removed some projectile advice/hacks that are no longer necessary.
+ Updated unit tests
2018-09-28 21:13:27 -04:00
Henrik Lissner
14dfc9fad9
Add FIXMEs to def-setting!'s
They will be removed on the 2.1.1 release.
2018-06-24 17:13:23 +02:00
Henrik Lissner
d8b1e469bc
Introduce autodefs to replace some settings
+ :popup -> set-popup-rule!
+ :popups -> set-popup-rules!
+ :company-backend -> set-company-backend!
+ :evil-state -> set-evil-initial-state!

I am slowly phasing out the setting system (def-setting! and set!),
starting with these.

What are autodefs? These are functions that are always defined, whether
or not their respective modules are enabled. However, when their modules
are disabled, they are replaced with macros that no-op and don't
waste time evaluating their arguments.

The old set! function will still work, for a while.
2018-06-15 03:42:01 +02:00
Henrik Lissner
1e81a35461
Minimize dependence on map!
This is in preparation for general.el integration coming in 2.1.1. It is
very likely that map! will change (and even more, be split into several
macros). Not much, but change none-the-less. Specifically, the state
keywords (e.g. :nvi, :n, :i) will be removed in favor of a :state
property that takes a list, e.g. (normal visual insert).

In any case, both map! and general are also relatively expensive
compared to define-key and evil-define-key* (and the new define-key!
macro), so use that when we can.

This also means changes to either API won't affect Doom's modules in the
long term.
2018-06-03 15:46:00 +02:00
Henrik Lissner
09cb4f6716
Major refactor & optimization of how modules load their packages
Now that we are loading package autoloads files (as part of the
generated doom-package-autoload-file when running make autoloads), many
:commands properties are redundant. In fact, many def-package! blocks
are redundant.

In some cases, we can do without a config.el file entirely, and can move
into the autoloads file or rely entirely on package autoloads.

Also, many settings have been moved in their module's autoloads files,
which makes them available ASAP; their use no longer depends on module
load order.

This gained me a modest ~10% boost in startup speed.
2018-05-25 00:46:16 +02:00
Henrik Lissner
45c21a5a83
Move :feature services => :tools prodigy 2018-05-16 22:41:21 +02:00
Henrik Lissner
842f957a76
Replace tools/prodigy with feature/services 2017-09-23 14:52:06 +02:00
Benjamin Andresen
58881ac9e1 Add: tools/prodigy: initial commit 2017-07-02 14:32:38 +02:00