Commit graph

16724 commits

Author SHA1 Message Date
Henrik Lissner
a5098d1f2a nit: add license, gitignore, & source.el to modules
This is to prep our modules to be moved to their own repo in the
future (doomemacs/modules).
2021-11-04 01:15:15 +01:00
Henrik Lissner
a4695b6b4b bump: :lang org
emacs-straight/org-mode@d4e1925147 -> emacs-straight/org-mode@2e99997830
https://git.sr.ht/~bzg/org-contrib@56a3bbbd486c -> emacsmirror/org-contrib@0231706232
kaushalmodi/ox-hugo@14723c3cb9 -> kaushalmodi/ox-hugo@9438efc34f
nnicandro/emacs-jupyter@1f0612eb93 -> nnicandro/emacs-jupyter@20e68a6836
org-roam/org-roam@c789531e36 -> org-roam/org-roam@3e47f198c7

Switching to emacs-mirror/org-contrib resolves SSL issues (see #5655).

Fix: #5655
Close: #5719
Co-authored-by: Stefan Lendl <stfl@users.noreply.github.com>
2021-11-04 01:13:28 +01:00
Itai Y. Efrat
98f44a006a fix: unset default-input-method in early-init.el
set-language-environment sets default-input-method, which is unwanted.

Fix: #5046
2021-11-04 01:08:43 +01:00
Henrik Lissner
05edc70827
merge: pull request #5708 from iyefrat/lint-commits-fixes
Fix commit linter bugs
2021-11-04 00:59:28 +01:00
Itai Y. Efrat
4f2104d309 docs(lookup): add sqlite3 doctor check if +docsets 2021-11-04 00:58:41 +01:00
Henrik Lissner
0adaf03088 fix(org): prematurely terminated string in org-version.el
Amend: 935ed860a1
2021-11-01 02:17:34 +01:00
Henrik Lissner
935ed860a1 bump: :lang org
emacs-straight/org-mode@1b2d06880f -> emacs-straight/org-mode@d4e1925147
org-roam/org-roam@1b221a1d4a -> org-roam/org-roam@c789531e36

- An unguarded native-comp-available-p call was fixed upstream (in org),
  which caused void-function errors for non-native-comp users (#5706).
- org-version.el is now generated with the correct version, so we don't
  have to update it ourselves.

Fix: #5706
2021-11-01 02:14:22 +01:00
Itai Y. Efrat
aa2f806b5b dev(ci): fix false negative in commit linter
The one value allowed per trailer check shouldn't apply to names since
they often have spaces.
2021-10-30 19:09:50 +03:00
Itai Y. Efrat
ea18315d08 dev(ci): allow periods in names in commit linter
For initials.
2021-10-30 17:51:28 +03:00
Henrik Lissner
6d5d0345cc docs: remove hacktoberfest announcement 2021-10-30 00:22:05 +02:00
Henrik Lissner
20b74b7951 bump: :lang org
hakimel/reveal.js@05e57dea66 -> hakimel/reveal.js@1ce77db3d0
https://git.savannah.gnu.org/git/emacs/org-mode.git@cc2490a70619 -> emacs-straight/org-mode@1b2d06880f
kaushalmodi/ox-hugo@f0357fa744 -> kaushalmodi/ox-hugo@14723c3cb9
org-roam/org-roam@54d17cc50f -> org-roam/org-roam@1b221a1d4a
takaxp/org-tree-slide@571ff33308 -> takaxp/org-tree-slide@27f8bb6a96

Move from git.savannah.gnu.org to emacs-straight/org-mode mirror due to
SSL, uptime, download time, and lack of shallow clone support. Plus, the
straight mirror is now up-to-date with 9.5.

Fix: #5655
Close: #5703
2021-10-29 14:48:32 +02:00
Henrik Lissner
bae7ab0d8d fix(ivy): remove hard dependency on flx
Ivy tries to load flx to determine if fuzzy capabilities should be
enabled by default, causing #5681. Let's not do that.

Fix: #5681
Close: #5690
2021-10-29 14:48:32 +02:00
Itai Y. Efrat
b3b875e226 fix(dired): dired-omit-files additions
- escape initial `.`
- use only noncapturing groups
2021-10-28 20:39:51 +02:00
Henrik Lissner
a08ec4ab16 bump: :editor evil
emacs-evil/evil-collection@6709c1ec41 -> emacs-evil/evil-collection@63d84ff4bd
emacs-evil/evil@ebae35360c -> emacs-evil/evil@17c635f6e1
redguardtoo/evil-nerd-commenter@6bc41317ba -> redguardtoo/evil-nerd-commenter@63baf2d1c7

New version of evil was required by latest commit of
evil-multiedit (bumped in 363a031699).

Ref: 363a031699
Fix: #5700
2021-10-28 19:57:33 +02:00
Henrik Lissner
2eaa508121 dev(ci): fix false positive invalid trailers 2021-10-28 14:32:36 +02:00
Henrik Lissner
481646ca18 nit: update doom--write-to-sane-paths-a docstring
To properly reflect what it actually does, not what a long-since-changed
implementation did.
2021-10-28 14:32:36 +02:00
Henrik Lissner
251d2a6f7c bump: :tools lsp debugger
emacs-lsp/dap-mode@a225e73026 -> emacs-lsp/dap-mode@a18f29e3d1
emacs-lsp/lsp-mode@237363939b -> emacs-lsp/lsp-mode@f72278c660

Ref: hlissner/evil-multiedit#39
2021-10-28 14:32:36 +02:00
Henrik Lissner
363a031699 bump: :editor multiple-cursors
gabesoft/evil-mc@f04fb17f35 -> gabesoft/evil-mc@246aecc174
hlissner/evil-multiedit@9f271e0e60 -> hlissner/evil-multiedit@50179bfb26
magnars/multiple-cursors.el@616fbdd369 -> magnars/multiple-cursors.el@588daf8c52

evil-multiedit is no longer locked to victorhge/iedit@77eb0a1e2e; its
incompatibilities were resolved upstream (see
hlissner/evil-multiedit#39).

Ref: hlissner/evil-multiedit#39
2021-10-28 14:32:27 +02:00
Kirill A. Korinsky
0869d28483
bump: :emacs vc :tools magit
charignon/github-review@4d91dd6c56 -> charignon/github-review@2a24e75dfc
magit/forge@8264234db6 -> magit/forge@72b29bd7bc
magit/git-modes@433e1c57a6 -> magit/git-modes@62fbf2e5b8
magit/magit@1e40d00217 -> magit/magit@aba0a59611

- gitconfig-mode and gitignore-mode were merged into git-modes.

Close: #5665
Fix: #5667
2021-10-21 12:27:42 +02:00
Henrik Lissner
b0438f1589 fix: wrong-type-arg error on startup
Regression caused by change to doom-enlist in b35b32273.

Amend: b35b32273a
2021-10-20 22:06:25 +02:00
Henrik Lissner
db9106f92c fix(popup,undo): show undo-tree visualizer in popup
But only if undo-tree-visualizer-diff is disabled. If it's enabled,
undo-tree has its own opinions on how to manage the two windows which
don't mesh well with our popup manager, so we leave undo-tree to its
devices.

Fix: #5617
2021-10-20 21:42:13 +02:00
Henrik Lissner
e4aecd1a5a dev(ci): refactor & update commit linter
This generalizes and cleans up the linter API so that it can be used in
other Doom projects (or CLI commands, like our WIP changelog generator).

Besides that, our git's commit conventions saw two changes:
- A new 'Amend' keyword, for indicating a commit corrects an earlier,
  recent one. This should be used to omit (or merge) commits in the eyes
  of the changelog generator.
- Trailers must now follow the 'KEY: VALUE' format, which is supported
  OOTB by 'git interpret-trailers' and makes scraping them much eacher.
  Before, omitting the colon was mandatory, this is no longer the case.

Other highlights:
- For linter rules: replaced :footer and :refs keys with :trailers (a
  string->string alist). Invalid trailers will be left in BODY's tail.
- Added a linter for colon delimiters in commit trailers (along with
  other formatting checks, like capitalization and one-per-line checks).
2021-10-20 21:37:09 +02:00
Henrik Lissner
b35b32273a fix(lib): doom-enlist not wrapping cons cells
While lists are technically cons cells, cons cells don't have all the
properties of lists, so doom-enlist shouldn't treat it as one.

Before:

  (doom-enlist '(a . b))   #=> (a . b)

After:

  (doom-enlist '(a . b))   #=> ((a . b))
2021-10-20 20:18:39 +02:00
Henrik Lissner
8f040b79be fix(lib): fn! error when arglist is a cons cell
Throws a wrong-type-argument error when fn! is given a cons cell in its
arguments, e.g.

  (fn! ((x . y)) ...)
2021-10-19 22:29:08 +02:00
Henrik Lissner
faceb8cef6 bump: :lang clojure
clojure-emacs/clj-refactor.el@a5e1953753 -> clojure-emacs/clj-refactor.el@4cb75bd6a2

Error introduced in clojure-emacs/clj-refactor.el@a5e1953 was fixed in
clojure-emacs/clj-refactor.el@4cb75bd.

Ref: clojure-emacs/clj-refactor.el@a5e1953753
Ref: clojure-emacs/clj-refactor.el@4cb75bd6a2
2021-10-19 22:24:40 +02:00
Henrik Lissner
3b0eeb104b revert: fix(mu4e): reflect upstream naming changes (#5620)
Revert 390fd1a7b0
Ref #5620
2021-10-18 14:53:32 +02:00
Henrik Lissner
6bd7ec7579 dev(ci): generalize commit parser
These will be useful for our various CI facilities later. E.g. our
conventional changelog generator and package bumper CI/CD.
2021-10-18 12:09:42 +02:00
Henrik Lissner
7034378968 nit: s/#+BEGIN_SRC/#+begin_src, s/elisp/emacs-lisp/
From now on Doom will enforce two conventions for its org files for
consistency's sake:

- Lower-case meta-lines in org files, like #+begin_src, #+name, or
  #+end_quote (only exception are the top-level ones, like #+TITLE and
  #+STARTUP).
- Use 'emacs-lisp' as the lang specifier for elisp blocks rather than
  'elisp'. Emacs doesn't natively recognize the latter.

This will be reflected in our rewritten docs/*.org and module
README.org's.
2021-10-18 12:09:42 +02:00
Henrik Lissner
376f9b797c feat(ess): add +stan
Docs will be updated later, along with the rest of the pending docs
rewrite.
2021-10-18 12:09:42 +02:00
Henrik Lissner
388f59d9e0 refactor(solidity): tidy module 2021-10-18 12:09:42 +02:00
Henrik Lissner
f65439310f fix(solidity): install company/flycheck packages conditionally 2021-10-18 12:09:42 +02:00
Henrik Lissner
4b9c0e8df8 bump: :lang clojure
clojure-emacs/cider@2b8bde3580 -> clojure-emacs/cider@0a9d0ef429
clojure-emacs/clj-refactor.el@9e1f920334 -> clojure-emacs/clj-refactor.el@a5e1953753
clojure-emacs/parseclj@fcebf65075 -> clojure-emacs/parseclj@a8c4cf30fb
clojure-emacs/parseedn@b00eb42a1c -> clojure-emacs/parseedn@e5ba280d1f

Includes a fix for 'void-variable: xref-etags-location' errors.

Close #5656
2021-10-18 12:09:42 +02:00
Björn Larsson
8101661763
docs(rotate-text): add README (#5654) 2021-10-18 01:43:37 +02:00
Miko Nieminen
36d41b600a
fix(lsp): move lsp-session to doom cache dir (#5650)
Because this data contains cached session data, it makes more sense to
have it under `~/.emacs.d/.local/cache` so that it is clear that it can
and should be removed when debugging and testing LSP using modules.

Fix #5649
2021-10-18 01:38:20 +02:00
Ellis Kenyő
9aba0aea23
fix(php): let +phpunit-docker-compose-mode be disabled (#5648) 2021-10-18 01:37:32 +02:00
Karthik Nayak
3e89872e8c
docs(go): use go install instead of go get (#5638)
Currently the dependencies listed use `go get`, but this is
soon to be deprecated. Replace the `go get` commands with
`go install` command.
2021-10-18 01:37:03 +02:00
Dylan Barker
390fd1a7b0
fix(mu4e): reflect upstream naming changes (#5620) 2021-10-18 01:36:21 +02:00
jwillhite
e0e031ad08
feat(eshell): add vertico completion for eshell history (#5614) 2021-10-18 01:35:44 +02:00
Henrik Lissner
3bd358dc36 fix(lookup): +lookup/online for vertico users
Would formerly throw wrong-number-of-args errors.
2021-10-18 01:24:28 +02:00
Henrik Lissner
910230d14d bump: :tools lookup
alexmurray/ivy-xref@3d4c35fe2b -> alexmurray/ivy-xref@a82e8e117d
brotzeit/helm-xref@23f1174cfc -> brotzeit/helm-xref@ea0e4ed8a9
jacktasia/dumb-jump@542e72d3fe -> jacktasia/dumb-jump@f3176fbf9c
tkf/emacs-request@2b68b3ca54 -> tkf/emacs-request@68003b3f85

Fix #5637
Fix #5634
2021-10-18 01:15:54 +02:00
Henrik Lissner
4d20fc65cd bump: :core
bbatsov/projectile@17c152b062 -> bbatsov/projectile@7f64570d3e
hlissner/ws-butler@2bb49d3ee7 -> hlissner/ws-butler@572a10c11b
noctuid/general.el@a0b17d207b -> noctuid/general.el@26f1d4c4e2
raxod502/straight.el@45eb6112b2 -> raxod502/straight.el@f81d9b755f

Fix #5619
2021-10-18 01:15:54 +02:00
Henrik Lissner
1a86b0fc0f fix(cli): deploy git hooks to correct directory
'doom install' now consults git to find the hooks directory, which will
work for users who have Doom as a submodule (#5632).

Fix #5632
2021-10-18 01:15:54 +02:00
Henrik Lissner
ff854157a6 fix(lib): package URL in documentation
Fixes [[doom-package:*]] links in (future) docs and always displays a
homepage URL in 'SPC h p' (or 'C-h p') package docs.
2021-10-18 01:15:54 +02:00
Henrik Lissner
0112319c04 fix(lib): add &allow-other-keys in fn! sub-arglists
Before this fix:

  (fn! (x &key y z))
  ;; implies
  (fn! (&key x &allow-other-keys)).

But

  (fn! (x (&key y) &key z))
  ;; would not imply
  (fn! (x (&key y &allow-other-keys) &key z &allow-other-keys)).
2021-10-18 01:15:54 +02:00
Henrik Lissner
db09cb001f perf: inhibit redisplay when loading modules
Some packages my force a redraw for no good reason.
2021-10-18 01:15:54 +02:00
Henrik Lissner
e431dbc138 fix(doom-dashboard,workspaces): module init order
Change (and simplify) the load order of Doom's dashboard and persp-mode
so that the dashboard always initializes later. This and 0ab6aba should
fix #5643.

Fix #5643
Ref 0ab6aba056
2021-10-18 01:15:20 +02:00
Henrik Lissner
0ab6aba056 perf: inhibit redisplay/echo area at startup
Unnecessary redraws can add 0.2-0.4s to startup times in some cases,
especially where site-files are involved (which spam *Messages* with
"Loading X..." messages; which force redraws).

May also indirectly fix #5643 by deferring redisplay (and therefore
window-buffer-change-functions, which triggers doom-init-ui-hook, which
triggers both Doom's dashboard and persp-mode).

Also removes a redundant set-language-environment call.

Ref #5643
2021-10-18 01:15:09 +02:00
Henrik Lissner
3106443707 fix(file-templates): +file-templates/debug
Command was previously inoperable (threw an error).
2021-10-18 01:15:09 +02:00
Henrik Lissner
b36d798f74 fix: restore auth-sources default
This was accidentally removed in 68d8364.

Ref 68d8364aea
Fix #5628
2021-10-18 01:15:09 +02:00
Henrik Lissner
06dc65f906
merge: pull request #5292 from elken/feature/php-improvements
Improve `:lang php`
2021-10-12 23:24:12 +02:00