Commit Graph

14965 Commits

Author SHA1 Message Date
a9f57f14ac Fix #4355: trigger eldoc after company completions 2020-12-02 17:58:10 -05:00
b5e948054c Refactor & reformat core.el
Backport a bit of core.el from our CLI rewrite.
2020-12-02 17:58:09 -05:00
910e3bc1d9 config/default: update deprecated bindings
deprecation notice:
47e83f7d3f
2020-12-02 19:16:25 +01:00
b7f6532e4f Fix startup hooks not running in vanilla sandbox 2020-12-01 18:16:12 -05:00
f622d51718 Merge pull request #4351 from rgrinberg/remove-leftover-ref
Upgrade: remove leftover ref
2020-12-01 18:09:43 -05:00
9350beb544 Upgrade: remove leftover ref
The upgrade process leaves a left over ref:

```
$ git branch
..
  _upgrade_HEAD
..
```

This commit deletes that.

Signed-off-by: Rudi Grinberg <me@rgrinberg.com>
2020-12-01 15:06:15 -08:00
2ddba1e7b8 Merge pull request #4350 from catap/broke-upgrade-loop
upgrade.el: force fetch
2020-12-01 16:07:06 -05:00
be923535fa upgrade.el: force fetch
`doom-cli-upgrade` calls `git fetch` to fetch remote branch and tags and
check output code of this command to complain when it failed.

It fails when remote server isn't available that is good.

But it also fails when it can't to fast-forward a branch that will be
used to upgrade doom-emacs.

The last case created a loop and the only way to broke this loop is
remote a branch that should be used for upgrade.

Unfortunately user has no idea about branch name and can't do anything,
just enjoy crash with `Failed to fetch from upstream` message.

This commit added `--force` flag to `git fetch` that forces it to
overwrite branch that is used to upgrade that prevent such loop.

It also fixed https://github.com/hlissner/doom-emacs/issues/4346
2020-12-01 21:19:48 +01:00
6e6b5d9326 Merge pull request #4348 from stfl/develop
counsel-bookmark use filename only if available
2020-12-01 13:55:56 -05:00
f5dacce7f5 Merge pull request #4349 from catap/macports
grammar: macports compatibility
2020-12-01 13:55:24 -05:00
affd076d53 Minor refactors & reformatting 2020-12-01 13:53:46 -05:00
c517be8e69 Advise locate-user-emacs-file to use doom-etc-dir
This is commonly used in Emacs packages to resolve to a location in
`~/.emacs.d`, as storage or a cache. Rather than addressing each
file/directory variable as they are encountered, better to address this
at the source.

Also: this makes some file/directory settings redundant, so they were
removed.

Closes #4347
2020-12-01 13:53:10 -05:00
312ae37d91 grammar: macports compatibility
Macports is quite popular a way to install some application to macOS and
it is shame that it doesn't support such way by default.
2020-12-01 16:24:33 +01:00
7b11f67c76 counsel-bookmark use filename only if available
fixes #4344
2020-12-01 16:14:49 +01:00
7038c2e800 Fix #3244: rewrite how pdf-tools builds epdfinfo 2020-11-30 23:35:03 -05:00
cd88f6528e Refactor MODE-local-var-hook trigger 2020-11-30 23:35:03 -05:00
b426e21ef1 Refactor doom-num-cpus
Adds error handling.
2020-11-30 23:35:03 -05:00
a50db6291b Merge pull request #4342 from rgrinberg/fix-doom-repo-url-usage
Unhardcode upstream repo in diff url
2020-11-29 23:25:38 -05:00
12b733b33e Unhardcode upstream repo in diff url
Use `doom-repo-url` in diff url to show diff.

Signed-off-by: Rudi Grinberg <me@rgrinberg.com>
2020-11-29 17:46:40 -08:00
cb32e459e6 Merge pull request #4341 from rgrinberg/fix-doom-upgrade
Fix doom upgrade
2020-11-29 19:34:54 -05:00
470d3bdedc Merge pull request #4339 from jedbrown/develop
magit: fix mismatched paren in parent
2020-11-29 19:17:15 -05:00
bf50149ee3 Fix doom upgrade
Previously, `doom upgrade` would emit:

```
New revision: fatal: amb (fatal: ambiguous argument '_upgrade/HEAD': unknown revision or path not in the working tree.
Use '--' to separate paths from revisions, like this:
```

It appears it's not possible to remote revisions with
`<remote>/<revision>`. Instead, we fetch the upgrade remote into a named
revision and then use it.

Signed-off-by: Rudi Grinberg <me@rgrinberg.com>
2020-11-29 15:54:26 -08:00
87d8457927 magit: fix mismatched paren in parent
"Fix blacklisted evil-collection-magit keybinds" had one too many
closing parens.
2020-11-29 14:51:08 -07:00
2828281af7 Fix blacklisted evil-collection-magit keybinds
Now that evil-magit's been moved to evil-collection, its keybinds are
subject to our blacklist. There must be a better way to exclude
evil-collection modules from the blacklist.
2020-11-29 15:19:21 -05:00
77924c8feb Remove tab-prefix-map fix
Since we've bumped project.el in the :tools lsp module, which was the
cause of this error to begin with.
2020-11-29 15:01:44 -05:00
c0e905c044 Rename internal variable: doom-num-cpus -> doom--num-cpus 2020-11-29 14:50:32 -05:00
b91a1b3e7b Extract CPU counting to doom-num-cpus function
And improves macOS support as discussed in hlissner/doom-emacs@db6a27c
2020-11-29 14:49:14 -05:00
b49c40bbb3 Minor refactors & comment revision 2020-11-29 14:37:32 -05:00
0285dd5e0e git-commit-major-mode = git-commit-elisp-text-mode #4335 2020-11-29 14:35:31 -05:00
cde7a06bdf Bump :ui
Alexander-Miller/treemacs@6c00fe7 -> Alexander-Miller/treemacs@389bca1
Bad-ptr/persp-mode.el@c132efe -> Bad-ptr/persp-mode.el@298df11
abo-abo/hydra@112e689 -> abo-abo/hydra@2d55378
dimitri/switch-window@277706b -> dimitri/switch-window@5bba780
ema2159/centaur-tabs@5453317 -> ema2159/centaur-tabs@b172646
emacsorphanage/anzu@7b8688c -> emacsorphanage/anzu@b3d15fb
hlissner/emacs-doom-themes@e55d9a2 -> hlissner/emacs-doom-themes@74ebd77
iqbalansari/emacs-emojify@d886069 -> iqbalansari/emacs-emojify@9fc2277
jaypei/emacs-neotree@5e12716 -> jaypei/emacs-neotree@98fe213
joostkremers/writeroom-mode@8a226a3 -> joostkremers/writeroom-mode@92c47df
seagle0128/doom-modeline@538017a -> seagle0128/doom-modeline@fb34eb5
2020-11-29 14:33:31 -05:00
9e76409238 Bump :tools
DamienCassou/auth-password-store@ff4940c -> DamienCassou/auth-password-store@aa7f171
alphapapa/magit-todos@a0e5d1f -> alphapapa/magit-todos@78d24cf
charignon/github-review@e2123cc -> charignon/github-review@db72374
editorconfig/editorconfig-emacs@a6c70da -> editorconfig/editorconfig-emacs@da84471
emacs-lsp/lsp-mode@57ea180 -> emacs-lsp/lsp-mode@5005ebe
emacs-straight/project@da0333a -> emacs-straight/project@162d892
emacsorphanage/quickrun@005d269 -> emacsorphanage/quickrun@fd96577
emacsorphanage/terraform-mode@2967e7b -> emacsorphanage/terraform-mode@63fafc6
jacktasia/dumb-jump@fbbe6b0 -> jacktasia/dumb-jump@85f898e
magit/forge@031e4f0 -> magit/forge@05ef029
magit/magit@2fb3bf7 -> magit/magit@068f838
millejoh/emacs-ipython-notebook@1bfb80c -> millejoh/emacs-ipython-notebook@a019ee3
thiderman/makefile-executor.el@9a7d78f -> thiderman/makefile-executor.el@d0a34c3
tkf/emacs-request@d02d134 -> tkf/emacs-request@0183da8
yoshiki/yaml-mode@68fecb5 -> yoshiki/yaml-mode@fc5e1c5
zx2c4/password-store@06f4999 -> zx2c4/password-store@f152064
2020-11-29 14:28:47 -05:00
db6a27c37c native-comp: use all cores instead of half 2020-11-29 14:25:12 -05:00
22b4462e18 Make git-commit-{major-mode,summary-max-length} safe local vars 2020-11-29 14:07:39 -05:00
3d53497cb7 Merge pull request #4335 from nbfalcon/bugfix/elisp-eldoc-invalid-format-operation
Elisp `eldoc': fix "Invalid format operation %-"
2020-11-29 13:58:50 -05:00
345327ae8b Use max', not min'
`min' puts a lower bound on LIMIT, but we want an upper bound, so `max' must be
used.
2020-11-29 19:55:41 +01:00
49f4461daa Elisp `eldoc': fix "Invalid format operation %-"
In `+emacs-lisp-append-value-to-eldoc-a', if the `frame-width' of the minibuffer
is smaller than the length of the documentation + " [...]" + 1, a negative
maximum %s bound is passed, causing the error in the title.

Fix this by clamping the computed LIMIT to 0.
2020-11-29 09:37:11 +01:00
a57a18e4d6 Merge pull request #4334 from rgrinberg/byte-compiler-improve-message
Improve byte compilation message
2020-11-29 01:28:51 -05:00
f4ee08742e Merge pull request #4310 from anonimitoraf/develop
Bump :checkers syntax flycheck-posframe
2020-11-29 01:27:48 -05:00
2acce11a49 Merge pull request #4332 from gagbo/fix/bepo-evil-magit-migration
[:input layout] Follow evil-magit migration
2020-11-29 01:27:00 -05:00
0b78fe3fbb Improve byte compilation message
When compiling standalone files such as `init.el`, instead of saying
that it belongs to module `nil nil`, say that these files are
standalone.

Signed-off-by: Rudi Grinberg <me@rgrinberg.com>
2020-11-28 21:44:46 -08:00
6665d2b6c2 [:input layout] Follow evil-magit migration 2020-11-28 18:47:11 +01:00
eaa8d8997c Bump :checkers syntax
alexmurray/flycheck-posframe@c928b5b -> alexmurray/flycheck-posframe@66b73dd

Contains a fix for alexmurray/flycheck-posframe#21
2020-11-28 20:28:19 +11:00
7febca1988 Merge pull request #3414 from Andre0991/add-ivy-avy
Add `ivy-avy`
2020-11-27 23:26:08 -05:00
8788d69a54 Merge pull request #4139 from jsmestad/add-exunit-to-elixir
Add exunit mode for Elixir
2020-11-27 22:44:22 -05:00
4daaaff224 Merge pull request #4314 from iyefrat/rgb-readme
:tools/rgb minor README fixes
2020-11-27 22:41:04 -05:00
786d415337 Merge pull request #4322 from brianmcgillion/bump_bibtex
Bump :tools biblio
2020-11-27 22:27:32 -05:00
38ce4e8c7c Merge pull request #4301 from offbyone/org-roam-tagging
Add keybindings for roam tagging
2020-11-27 22:25:25 -05:00
cfa2a3310c Merge pull request #4306 from andresilva/cleanup-org-readme
remove company-org-roam from lang/org/README.org
2020-11-27 22:25:13 -05:00
742ff5629c Create different compilation buffers per-project 2020-11-27 22:22:11 -05:00
a3293e67d4 Bump :core
Fuco1/smartparens@c59bfef -> Fuco1/smartparens@7f5825d
bbatsov/projectile@d1daf27 -> bbatsov/projectile@d1cfad0
iqbalansari/restart-emacs@9aa90d3 -> iqbalansari/restart-emacs@e570749
jscheid/dtrt-indent@50c440c -> jscheid/dtrt-indent@a7ade6d
justbur/emacs-which-key@c011b26 -> justbur/emacs-which-key@ca268fd
jwiegley/use-package@4fb1f9a -> jwiegley/use-package@caa92f1
koral/gcmh@84c43a4 -> koral/gcmh@0089f9c
2020-11-27 22:22:11 -05:00