Commit graph

7368 commits

Author SHA1 Message Date
Henrik Lissner
02eedac45e
Merge pull request #2630 from yoavm448/org-file-template
Title-capitalization for title in org file template
2020-02-28 22:27:12 -05:00
Henrik Lissner
86e03c04ba
Make display-buffer-alist regexps case-sensitive #2619 2020-02-28 22:26:24 -05:00
Henrik Lissner
88dd15e204
Revise comments 2020-02-28 22:26:19 -05:00
yoavm448
ad89f79926 Better title heuristic for org template
Uses a stripped version of s-titleized-words, to not add s.el as a dependency.
2020-02-28 20:45:00 +02:00
Henrik Lissner
ea01e850e4
ui/modeline: add misc-info to project format 2020-02-28 12:20:52 -05:00
Henrik Lissner
28d5127793
ui/modeline: use VCS format for magit-status-mode 2020-02-28 12:20:21 -05:00
Henrik Lissner
e694569482
Bump to akermu/emacs-libvterm@b9bccf3
akermu/emacs-libvterm@4fbf8f8
2020-02-28 02:38:20 -05:00
Henrik Lissner
56cba7828c
lang/php: refactor company init 2020-02-27 23:27:50 -05:00
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
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
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
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
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
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
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
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
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
Henrik Lissner
24219fd5fc
Merge pull request #2603 from digizeph/patch-1
add `open-in-iterm` shortcut for macos module
2020-02-25 11:13:38 -05:00
Henrik Lissner
b72e00b6ca
Bind SPC p D to +default/discover-projects
Closes #2601
2020-02-25 11:11:24 -05:00
Mingwei Zhang
3c18601437
add open-in-iterm shortcut for macos module
`+macos/open-in-iterm` opens the current directory in `iTerm`, which as far as i know is a popular alternative to the macos's default terminal emulator `term`.
2020-02-25 07:11:56 -08:00
yoavm448
f4d908852a Integrate evil-lion to evil-mode
adds `gl`, `gL` operators for alignment.
2020-02-25 14:21:00 +02:00
Akhil Wali
c3f3f83a79 Fix syntax error in modules/clojure/config.el 2020-02-25 20:00:44 +13:00
Henrik Lissner
8cd8c3ef7b
Bump to hlissner/emacs-doom-themes@ecffdf8
From hlissner/emacs-doom-themes@c8dd976
2020-02-24 22:31:50 -05:00
Henrik Lissner
e220549bb8
Fix #2595: immortal find-file prompt on project switch
Regression caused by 8049914e0, for #2591
2020-02-24 22:27:25 -05:00
Henrik Lissner
9393680909
Fix counsel-file-jump advice for windows users
Was using the wrong arguments for windows version of ripgrep.
2020-02-24 22:11:36 -05:00
Henrik Lissner
a426b73501
Bump :lang org
emacs-straight/org-mode@2096c9c -> emacs-straight/org-mode@30d0b6e
Kungsgeten/org-brain@8cb2efc -> Kungsgeten/org-brain@a062585
abo-abo/org-download@7040188 -> abo-abo/org-download@3c48102
bastibe/org-journal@128f053 -> bastibe/org-journal@dc120bf
kaushalmodi/ox-hugo@a80b250 -> kaushalmodi/ox-hugo@16f1b0c
2020-02-24 20:55:45 -05:00