Commit graph

42 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
Oscar Marshall
d87c181aea
fix(upload): ssh-deploy-on-explicit-save = 1
#7513 changed the expected value of `ssh-deploy-on-explicit-save` to be
#an integer, but the default value was still `t`. This commit changes it
#to be `1`.

Amend: #7513
2024-01-27 03:17:57 -05:00
Henrik Lissner
e133da7435
docs(upload): append slash to ssh-deploy-root-local
Suffix ssh-deploy-root-local's path with a trailing slash (to be
consistent with upstream documentation and the example value for
ssh-deploy-root-remote right below it).

Co-authored-by: visika <visika@users.noreply.github.com>
Ref: #7513
2023-11-24 10:54:36 -05:00
Henrik Lissner
5100ab121d
fix(upload): ssh-deploy-on-explicit-save: incorrect type
According to upstream package emacs-ssh-deploy, the value 0 should
disable the auto-save behavior. As the ssh-deploy-on-explicit-save is
considered true if its value is 0, it triggers the after-save-hook
anyway. This commit fixes the hook so it conforms to upstream
definition:

  ssh-deploy-on-explicit-save Enabled automatic uploads on save (integer)

Co-authored-by: visika <visika@users.noreply.github.com>
Close: #7513
Fix: #7512
2023-11-24 10:51:19 -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
261f94c768
bump: :tools
NicolasPetton/pass@5651da5313 -> NicolasPetton/pass@c721604b3b
Olivia5k/makefile-executor.el@170d14d834 -> Olivia5k/makefile-executor.el@d1d98eaf52
Silex/docker.el@cc0046e6a5 -> Silex/docker.el@6997c86a24
cjohansson/emacs-ssh-deploy@94b56c0428 -> cjohansson/emacs-ssh-deploy@95fb076c9b
editorconfig/editorconfig-emacs@6f6b5c1a95 -> editorconfig/editorconfig-emacs@2fed9599bc
emacs-lsp/dap-mode@de41d62fc4 -> emacs-lsp/dap-mode@096070aacf
emacs-lsp/lsp-mode@0dfe214573 -> emacs-lsp/lsp-mode@266945b3e4
emacs-pe/docker-tramp.el@930d7b46c1 -> emacs-pe/docker-tramp.el@19d0771db4
emacs-straight/eglot@a399fc0d03 -> emacs-straight/eglot@8ccec6532e
emacs-straight/rainbow-mode@8e96388fb4 -> emacs-straight/rainbow-mode@24437ec2c6
emacs-tree-sitter/tree-sitter-langs@944a734b7c -> emacs-tree-sitter/tree-sitter-langs@2f0f97abbd
emacsfodder/kurecolor@ac67ceba85 -> emacsfodder/kurecolor@fbf98e1e38
emacsorphanage/quickrun@7a89313c07 -> emacsorphanage/quickrun@6f96318930
meain/evil-textobj-tree-sitter@e8bb9d63de -> meain/evil-textobj-tree-sitter@19979843f5
millejoh/emacs-ipython-notebook@b2410dc96f -> millejoh/emacs-ipython-notebook@998ba22660
nicolaisingh/saveplace-pdf-view@54ed966b84 -> nicolaisingh/saveplace-pdf-view@abfb5e1f46
purcell/envrc@1954e8c0b5 -> purcell/envrc@33d01388ce
vedang/pdf-tools@bc2ba117e8 -> vedang/pdf-tools@c69e7656a4
xiongtx/eros@dd89102792 -> xiongtx/eros@a9a92bdc6b
zx2c4/password-store@26d2dae04b -> zx2c4/password-store@28cec11f1d

I've intentionally omitted magit from this list while I resolve
incompatibilities between code-review and later versions of
closql (emacsql).

I've also omitted treemacs b/c of #7410.
2023-09-12 21:30:56 +02:00
Henrik Lissner
34b89c79ed
bump: :tools
Olivia5k/makefile-executor.el@d0a34c355f -> Olivia5k/makefile-executor.el@170d14d834
andras-simonyi/citeproc-el@e705911a29 -> andras-simonyi/citeproc-el@2623043b25
cjohansson/emacs-ssh-deploy@9311f9b4f8 -> cjohansson/emacs-ssh-deploy@94b56c0428
dash-docs-el/counsel-dash@370d5f6f14 -> dash-docs-el/counsel-dash@8decb980f1
editorconfig/editorconfig-emacs@1f6f16c24f -> editorconfig/editorconfig-emacs@6f6b5c1a95
emacs-citar/citar-org-roam@27105d0a95 -> emacs-citar/citar-org-roam@86e9861a49
emacs-citar/citar@4a302fcc40 -> emacs-citar/citar@5dac3d5bf2
emacs-straight/rainbow-mode@55a8c15782 -> emacs-straight/rainbow-mode@8e96388fb4
emacsfodder/kurecolor@d17a77d921 -> emacsfodder/kurecolor@ac67ceba85
emacsorphanage/quickrun@314beae43c -> emacsorphanage/quickrun@7a89313c07
emacsorphanage/terraform-mode@e560caaa9d -> emacsorphanage/terraform-mode@39d2fd5bfc
jacktasia/dumb-jump@1dd583011f -> jacktasia/dumb-jump@0a783d1db6
millejoh/emacs-ipython-notebook@7b9b14435c -> millejoh/emacs-ipython-notebook@b2410dc96f
tkf/emacs-request@38ed1d2e64 -> tkf/emacs-request@01e338c335
tmalsburg/helm-bibtex@78f5931e1c -> tmalsburg/helm-bibtex@8ebf50d5bd
vedang/pdf-tools@bb0b71f5ba -> vedang/pdf-tools@bc2ba117e8
xuchunyang/osx-dictionary.el@1a4479d9f4 -> xuchunyang/osx-dictionary.el@0715e5a3ac
yoshiki/yaml-mode@535273d5a1 -> yoshiki/yaml-mode@3fcb36d603
zx2c4/password-store@c4d8a1d815 -> zx2c4/password-store@26d2dae04b
2023-02-21 19:34:02 -05: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
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
b05b9c5405 bump: :tools
andras-simonyi/citeproc-el@9f783967c1 -> andras-simonyi/citeproc-el@ba49516265
bdarcus/citar@b24b5b94b7 -> bdarcus/citar@79512aefdf
cjohansson/emacs-ssh-deploy@7c5fe8af2d -> cjohansson/emacs-ssh-deploy@9311f9b4f8
editorconfig/editorconfig-emacs@2ab86dc9a8 -> editorconfig/editorconfig-emacs@3c03cef311
emacs-lsp/lsp-mode@f49ea4e365 -> emacs-lsp/lsp-mode@cb7ec94435
joaotavora/eglot@dade5a1487 -> joaotavora/eglot@0f352213fc
k1LoW/emacs-ansible@40af0d2bbb -> k1LoW/emacs-ansible@d89ac0ee57
magit/forge@0ff9b8a0de -> magit/forge@5586863f98
magit/magit@0ac05f3962 -> magit/magit@4e29d5827c
paradoxxxzero/jinja2-mode@ecd19a40b7 -> paradoxxxzero/jinja2-mode@03e5430a7e
purcell/envrc@456c4100de -> purcell/envrc@e161624b91
tmalsburg/helm-bibtex@aa775340ba -> tmalsburg/helm-bibtex@db73156576
tmalsburg/helm-bibtex@aa775340ba -> tmalsburg/helm-bibtex@db73156576
tumashu/posframe@6c0e63d6b3 -> tumashu/posframe@c91d4d53fa
vedang/pdf-tools@4e6c778194 -> vedang/pdf-tools@72ef774320
zx2c4/password-store@04cd3023f4 -> zx2c4/password-store@eea24967a0
2022-01-30 02:42:54 +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
Eric Wang
4ea5bbcc9c
fix(upload): deploy force on explicit save
Fix: #5773
2021-11-18 19:08:21 +01:00
Henrik Lissner
6997adb654 Bump :tools
Silex/docker.el@bc2dc09 -> Silex/docker.el@9bcefbe
cjohansson/emacs-ssh-deploy@fce4ea3 -> cjohansson/emacs-ssh-deploy@7c5fe8a
emacs-lsp/dap-mode@4347846 -> emacs-lsp/dap-mode@01d9297
emacs-lsp/lsp-mode@9aa22de -> emacs-lsp/lsp-mode@aec8968
emacs-lsp/lsp-ui@9953a48 -> emacs-lsp/lsp-ui@cb02972
emacs-pe/docker-tramp.el@8e2b671 -> emacs-pe/docker-tramp.el@aaee11c
emacsorphanage/terraform-mode@a9fa5bd -> emacsorphanage/terraform-mode@e560caa
jacktasia/dumb-jump@8f70acb -> jacktasia/dumb-jump@542e72d
joaotavora/eglot@a5b7b7d -> joaotavora/eglot@5cc8df6
magit/forge@551e515 -> magit/forge@b4fd066
magit/magit@b68a760 -> magit/magit@9b7b25f
tumashu/posframe@739d8fd -> tumashu/posframe@f97c4af
xuchunyang/osx-dictionary.el@4d4cc19 -> xuchunyang/osx-dictionary.el@1a4479d
zx2c4/password-store@4e73cdc -> zx2c4/password-store@3dd1469
2021-07-09 17:42:18 -04:00
Henrik Lissner
c525666688 Bump :tools
DamienCassou/auth-password-store@468bba2 -> DamienCassou/auth-password-store@fa8b964
Silex/docker.el@ed0cdf0 -> Silex/docker.el@bc2dc09
cjohansson/emacs-ssh-deploy@cc91b56 -> cjohansson/emacs-ssh-deploy@fce4ea3
editorconfig/editorconfig-emacs@9da2dab -> editorconfig/editorconfig-emacs@e10fa22
emacs-lsp/dap-mode@49af1b8 -> emacs-lsp/dap-mode@4347846
emacs-lsp/lsp-ivy@4dcb635 -> emacs-lsp/lsp-ivy@bccd860
emacs-lsp/lsp-mode@3dc87f6 -> emacs-lsp/lsp-mode@aec8968
emacs-lsp/lsp-ui@efae00e -> emacs-lsp/lsp-ui@cb02972
emacsorphanage/quickrun@57db985 -> emacsorphanage/quickrun@35e91f4
jacktasia/dumb-jump@8bc1950 -> jacktasia/dumb-jump@8f70acb
joaotavora/eglot@b06589b -> joaotavora/eglot@a5b7b7d
magit/forge@f4c95dd -> magit/forge@37aa4e4
magit/magit@577f16d -> magit/magit@e378827
millejoh/emacs-ipython-notebook@142ff50 -> millejoh/emacs-ipython-notebook@09af858
purcell/envrc@110a221 -> purcell/envrc@8a9a142
realgud/realgud@34557f8 -> realgud/realgud@7a70b27
spotify/dockerfile-mode@3b13745 -> spotify/dockerfile-mode@ad06a41
tkf/emacs-request@accd430 -> tkf/emacs-request@f3a5b43
tmalsburg/helm-bibtex@ca09076 -> tmalsburg/helm-bibtex@9f6ea92
vedang/pdf-tools@35e12b0 -> vedang/pdf-tools@d262cf9
yoshiki/yaml-mode@fc5e1c5 -> yoshiki/yaml-mode@3a57058
zx2c4/password-store@918992c -> zx2c4/password-store@4e73cdc
2021-05-22 22:43:56 -04:00
Henrik Lissner
d0dacce085 tools/upload: correct variable name
Fixes #5077

Co-authored-by: KARASZI István <github@spam.raszi.hu>
2021-05-21 23:13:09 -04:00
Henrik Lissner
86ce933fd8
Bump :tools
abo-abo/define-word@08c71b1 -> abo-abo/define-word@3af6825
brotzeit/helm-xref@6b4a8bd) -> brotzeit/helm-xref@23f1174)
charignon/github-review@fab440a -> charignon/github-review@e2123cc
cjohansson/emacs-ssh-deploy@1bb2f82 -> cjohansson/emacs-ssh-deploy@cc91b56
editorconfig/editorconfig-emacs@9bc1343 -> editorconfig/editorconfig-emacs@a6c70da
emacs-lsp/dap-mode@4b18543 -> emacs-lsp/dap-mode@400ec52
emacs-lsp/lsp-mode@65034e1 -> emacs-lsp/lsp-mode@fb4c35c
emacsorphanage/quickrun@ce7383c -> emacsorphanage/quickrun@005d269
jacktasia/dumb-jump@0d74b2f -> jacktasia/dumb-jump@fbbe6b0
k1LoW/emacs-ansible@b5ef594 -> k1LoW/emacs-ansible@cf6b8f0
magit/forge@feee7e2 -> magit/forge@031e4f0
magit/magit@321214c -> magit/magit@2fb3bf7
millejoh/emacs-ipython-notebook@99a4718 -> millejoh/emacs-ipython-notebook@1bfb80c
purcell/envrc@1dc5aad -> purcell/envrc@da8e306
realgud/realgud@332d136 -> realgud/realgud@ff66001
tumashu/posframe@7b92a54 -> tumashu/posframe@a99da9f
2020-10-11 16:21:05 -04:00
Edmund Miller
36ad97334e
Add initial upload README 2020-05-09 22:30:03 -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
05689fe76d
Bump :tools upload
cjohansson/emacs-ssh-deploy@93a0e18 -> cjohansson/emacs-ssh-deploy@1bb2f82
2020-03-10 01:47:34 -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
2d365619cd
General refactor & cleanup, across the board 2019-09-13 22:00:34 -04: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
7214affc73 tools/upload: set ssh-deploy vars sooner
So that they don't overwrite file/dir local vars in some cases.
2018-12-05 22:11:54 -05:00
Henrik Lissner
25d19514de
tools/upload: refactor safe-local-variable setters 2018-09-19 23:58:01 -04:00
Henrik Lissner
e0e63850d4
tools/upload: mark file-local variables as safe 2018-09-19 23:51:56 -04:00
Henrik Lissner
40a2fffac7
tools/upload: clarify instructions in comments 2018-09-19 23:48:05 -04:00
Henrik Lissner
3101d8a17f
tools/upload: remove autoload library (unnecessary) 2018-02-21 17:09:53 -05:00
Henrik Lissner
12a938d888
tools/upload: fix ssh-deploy-browse-remote-handler autoload 2018-02-21 16:46:31 -05:00
Henrik Lissner
e6f58d3714
tools/upload: fix +upload/browse & add docstrings 2018-02-21 05:10:31 -05:00
Henrik Lissner
f8e8dbad8f
General minor refactor 2017-12-08 23:14:12 -05:00
Henrik Lissner
c7254e7bdc
Major optimization refactor, across the board
+ enable lexical-scope everywhere (lexical-binding = t): ~5-10% faster
  startup; ~5-20% general boost
+ reduce consing, function calls & garbage collection by preferring
  cl-loop & dolist over lambda closures (for mapc[ar], add-hook, and
  various cl-lib filter/map/reduce functions) -- where possible
+ prefer functions with dedicated opcodes, like assq (see byte-defop's
  in bytecomp.el for more)
+ prefer pcase & cond (faster) over cl-case
+ general refactor for code readability
+ ensure naming & style conventions are adhered to
+ appease byte-compiler by marking unused variables with underscore
+ defer minor mode activation to after-init, emacs-startup or
  window-setup hooks; a customization opportunity for users + ensures
  custom functionality won't interfere with startup.
2017-06-09 00:47:45 +02:00
Henrik Lissner
1c31381bfd tools/upload: redocument + refactor 2017-04-16 16:09:01 -04:00
Henrik Lissner
fe3159dae9 tools/*: fix path tags + tmux command autoloads 2017-04-09 22:25:18 -04:00
Henrik Lissner
33c88d4f82 Revert macros to ...! name convention (elisp doesn't like @...) 2017-02-23 00:06:12 -05:00
Henrik Lissner
6e7f686604 Add modules/tools/upload 2017-02-20 00:26:08 -05:00