Commit graph

12654 commits

Author SHA1 Message Date
Henrik Lissner
429decef87
Fix #2623: don't replace rustic compilation popups 2020-02-27 21:55:12 -05:00
Henrik Lissner
e14bf2f87b
Set --show-body-only=true for html-tidy formatter
To facilitate formatting partial templates.
2020-02-27 21:54:18 -05:00
Henrik Lissner
eb69073578
Fix infinite redrawing/freezing with {centaur,awesome}-tabs
Caused by over-zealous doom-switch-window-hook.

For my own sanity (and if you're curious), I'll break it down here:

1. Doom has a `doom-switch-window-hook` hook. It triggers when window
   focus is changed.
2. We use `buffer-list-update-hook` to trigger
   `doom-switch-window-hook`. (That may sound weird, but this hook is
   reliably executed when window focus is changed -- there are
   safeguards to prevent this from triggering too often)
3. `buffer-list-update-hook` triggers whenever a buffer is created, but
   `doom-switch-window-hook` only triggers if the created buffer is in
   a new window.
4. The use of `with-temp-buffer` in `centaur-tabs-line-format` counts as
   "buffer creation" in a "new window".
5. `+vc-gutter-update-h` is in `doom-switch-window-hook`. This refreshes
   git-gutter, which initiates a redraw of Emacs.
6. When Emacs redraws, it recalculates its mode and header lines. which
   triggers `doom-switch-window-hook` once, which triggers
   `+vc-gutter-update-h`, which redraws the screen, then Emacs recalculates
   the header line, running `centaur-tabs-line-format`...

Infinite loop ensues

Hopefully fixes:
- hlissner/doom-emacs#2436
- ema2159/centaur-tabs#18
- ema2159/centaur-tabs#88
2020-02-27 21:47:32 -05:00
Eugene Sun
72d3d894fd
Fix for the package-management link in README. 2020-02-27 17:46:14 -05:00
Henrik Lissner
4830f9784f
Fix load order of vc-gutter default style
So you can unset `+vc-gutter-default-style` in your config.el to disable
it.
2020-02-27 14:52:53 -05:00
Dmitrii Gerasimov
20ae3c2c83
Adjust org-capture popup rule to exclude capture.org filename
I think it's pretty common for people (myself included) to name their capture file `capture.org` file, and currently this rule matches it, so if you open capture.org, your end up with it opened in a popup (I believe it wasn't intended?). My fix makes it so it matches only capture buffers (they've got name like `CAPTURE-filename.org`). I believe there shouldn't be any unanticipated consequences of the change?

As far as I understand, the problem is that in elisp, regexes are case insensitive by default, and the sensitivity is controlled by a [variable](http://ergoemacs.org/emacs/emacs_regex.html), so I struggle to see what's the proper way to control it (especially considering the window manipulation happens in `window.el`). If you know of a way to deal with this, happy to implement and update my pull request!
2020-02-27 20:10:48 +01:00
Henrik Lissner
afa6b7ab90
Fix absolute path in rustic-analyzer-command by default 2020-02-27 11:55:27 -05:00
Henrik Lissner
9816209484
Fix wrong-type-arg errors in ediff+web-mode buffers 2020-02-27 11:29:50 -05:00
Sebastian Sturm
ca1a614e63 Fix typo 2020-02-27 13:51:11 +01:00
Henrik Lissner
13aa3e8407
Fix #2613: remove treemacs-persp
A common bug report is that straight cannot see treemacs-persp in MELPA.
Perhaps the MELPA repo isn't being updated properly -- I have no idea,
but since this package isn't doing anything at the moment, I will simply
remove the package until I have time to look into it further.
2020-02-27 00:49:47 -05:00
Henrik Lissner
61fef37e4d
Disable Customize option in org-capture 2020-02-27 00:47:30 -05:00
Henrik Lissner
69e3c0d0c0
Remove 26.{1,2} tests
The changes between these versions are so minor that it's not worth
testing them. 26.3 is good enough. And 27 later, once it's stable.
2020-02-27 00:43:27 -05:00
Henrik Lissner
089e653637
Reduce so-long false positives 2020-02-26 18:05:58 -05:00
Henrik Lissner
9f8cede4cd
Merge pull request #2615 from yoavm448/develop
Set elisp lookups for helpful-mode
2020-02-26 17:48:45 -05:00
Henrik Lissner
25b9cd1a1c
Fix #2616: old keybind to defunct command
It was replaced in 524985e
2020-02-26 17:43:54 -05:00
Henrik Lissner
dbd0a84805
Don't use counsel-org-capture for +org-capture/open-frame 2020-02-26 17:34:59 -05:00
yoavm448
f543ed8c2e Set elisp lookup for helpful-mode 2020-02-26 23:29:32 +02:00
Henrik Lissner
80845954f1
Don't uninstall cider when +lsp is enabled 2020-02-26 14:26:55 -05:00
Henrik Lissner
39a12861ff
Remove org-bookmark-heading (fix hash-table-p errors while refiling) 2020-02-26 13:02:19 -05:00
Henrik Lissner
803ba23298
Allow lsp-clojure & cider to work together 2020-02-26 13:02:19 -05:00
Henrik Lissner
ac0385685d
Merge pull request #2614 from tylerware/fix/file-templates/when-function-ignored
Fix file template :when logic to apply to modes
2020-02-26 12:58:25 -05:00
Tyler Ware
3a4c83ec3b Fix file template :when logic to apply to modes
When a file template rule is evaluated against a particular buffer it is
supposed to call the :when function if it is defined. Currently, the
function is ignored if the PRED of the template rule is a mode. This
fixes this issue.
2020-02-26 10:45:14 -07:00
Henrik Lissner
e54ebcbff5
Fix #2607: void-variable doom-scratch-initial-major-mode error
And fix "selected deleted buffer" error caused by aggressive
window-configuration-change-hook function.
2020-02-26 09:46:50 -05:00
Henrik Lissner
78b4c6c5df
Enable tuareg-mode minor modes on local-vars hooks
In time to read file/dir local variables.
2020-02-25 22:35:58 -05:00
Henrik Lissner
4c0751ca75
ui/treemacs: refactor & activate treemacs-git-mode 2020-02-25 22:35:58 -05:00
Henrik Lissner
f426623e4b
Revert 3bb384f95 & improve ocaml comment continuation
Back to the default behavior because this implementation was too buggy.
Solution needs a rework.
2020-02-25 22:35:50 -05:00
Henrik Lissner
a10f3e2670
Persist scala/sbt repl; don't delete it when popup closes 2020-02-25 20:49:26 -05:00
Henrik Lissner
200fed337c
Conform scala comment function to naming conventions 2020-02-25 20:47:37 -05:00
Henrik Lissner
0ba5c574b9
Fix sbt REPL handler 2020-02-25 20:47:18 -05:00
Henrik Lissner
2f251edc87
Fix doom-guess-mode-h for indirect buffers 2020-02-25 20:34:26 -05:00
Henrik Lissner
9fa76836c1
Persist scratch buffer point, mode & contents
Also renames doom-scratch-buffer-major-mode ->
doom-scratch-initial-major-mode, since it only affects the initial
buffer now.

This was designed to be backwards compatible; you won't lose your
scratch buffers from this update. Though I may remove the old format in
3.1.
2020-02-25 20:30:23 -05:00
Henrik Lissner
0a9b06ac16
Prevent magit trying to revert non-existent file buffers 2020-02-25 20:23:04 -05:00
Henrik Lissner
9d56af728f
Fix typo in doom module readme template 2020-02-25 20:07:52 -05:00
Henrik Lissner
279c3d6160
Fallback to visual-line-mode if +word-wrap is disabled
On `SPC t w`
2020-02-25 20:06:40 -05:00
Henrik Lissner
cd5152497d
Ensure company-backends are computed late in mode init 2020-02-25 20:03:58 -05:00
Henrik Lissner
3bb384f95c
lang/ocaml: make asterix in continued comments optional 2020-02-25 20:03:33 -05:00
Henrik Lissner
cb67aa00b9
Refactor lang/csharp 2020-02-25 20:03:14 -05:00
Henrik Lissner
da3e24e686
Preserve cursor position for scratch buffer
Not across restarts, but across toggles of the scratch popup.
2020-02-25 18:11:13 -05:00
James Ravn
2077a859d8
Fix type in Hasklig install messages 2020-02-25 22:09:37 +00:00
James Ravn
d6356d9618
Add hasklig font install 2020-02-25 22:07:00 +00:00
James Ravn
dea0320a1a
Add FiraCode download 2020-02-25 21:50:29 +00:00
James Ravn
41140787a1
Add generic font install function for pretty-code 2020-02-25 21:39:37 +00:00
James Ravn
8ee2e327a0
Add autoload cookie to iosevka autoloads 2020-02-25 20:52:47 +00:00
James Ravn
2e15387999
Move iosevka changes into pretty-code/autoload 2020-02-25 19:55:33 +00:00
James Ravn
3a257cfc56
Merge remote-tracking branch 'origin/develop' into download-iosevka 2020-02-25 19:50:12 +00:00
Henrik Lissner
505ca8712d
Prevent 'not in valid workspace' error on switch project 2020-02-25 14:13:07 -05:00
Henrik Lissner
f716aa5158
Fix conflict between :ui popup & org-src-window-setup
When set to split-window-*, other-frame, or current-window.
2020-02-25 13:36:18 -05:00
Henrik Lissner
e20f574b2e
Fix git-gutter in indirect buffers 2020-02-25 12:49:59 -05:00
Henrik Lissner
d522a7816d
Move flycheck customization out of git-gutter after block
To simplify the load path users would have to be aware of in order to
customize flycheck-indication-mode.
2020-02-25 12:45:30 -05:00
Henrik Lissner
74f314e2d2
Merge pull request #2594 from yoavm448/develop
Integrate evil-lion into evil-mode
2020-02-25 11:13:56 -05:00