Commit graph

7694 commits

Author SHA1 Message Date
Henrik Lissner
27e5291b5a
Bump :tools direnv
wbolster/emacs-direnv@fd0b6bb -> wbolster/emacs-direnv@1f93e3f
2020-02-29 11:40:34 -05:00
Henrik Lissner
a4194c5746
Fix #1929: advice on non-existent functions 2020-02-29 11:29:25 -05:00
Henrik Lissner
5b094b6220
Fix #2627: remove mu4e-maildirs-extension
The package is unmaintained, and its functionality appears to have
merged into mu core at some point.
2020-02-29 11:14:02 -05:00
Sebastian Sturm
2ce58c6df3 Extend backend-agnostic vc functionality
this commit adds a default keybinding for the vc-gutter hydra (leader-g
.) if both vc-gutter and hydra are enabled. It ensures that the various
vc-*-log-view-modes open up in emacs state, and it adds hg, svn and bzr
to the list of vc backends handled by git-gutter
2020-02-29 14:41:20 +01:00
Henrik Lissner
83414d1227
Add/fix popup rules for org attach & export popups 2020-02-29 00:33:58 -05:00
Henrik Lissner
ac87afe34b
Bump :editor multiple-cursors
gabesoft/evil-mc@007d471 -> gabesoft/evil-mc@4d4c017
hlissner/evil-multiedit@c3d43b1 -> hlissner/evil-multiedit@9f271e0
2020-02-29 00:30:22 -05:00
Henrik Lissner
a938eb33e6
Fix #2626: associate *.rkt w/ racket-mode
geiser claims *.rkt for scheme-mode, but if :lang racket is enabled,
let's assume the user wants racket-mode instead.
2020-02-29 00:08:26 -05:00
Henrik Lissner
5cc2befc72
Fix #2609: switch-project no-ops for helm users 2020-02-29 00:03:40 -05:00
Henrik Lissner
c311d798ce
Merge pull request #2590 from sebastiansturm/develop
Modernize lsp integration
2020-02-28 22:29:20 -05:00
Henrik Lissner
7cd9e55c8c
Merge pull request #2619 from karlicoss/patch-1
Adjust org-capture popup rule to exclude capture.org filename
2020-02-28 22:28:39 -05:00
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
Dima Gerasimov
b7042a1495 Set org-babel-python-command to be same as python-shell-interpreter 2020-02-28 18:52:50 +01: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
Sebastian Sturm
998dccd8fe Modernize lsp-mode integration
* switch the company-backend used by lsp-mode from company-lsp to
company-capf (said to provide better performance and allows us to remove
the dependency on company-lsp)

* when available (on recent builds of Emacs 27+), lsp-mode buffers will
now use a larger than default value of `read-process-output-max`.
According to the lsp-mode performance guide, this can also significantly
improve lsp-mode performance

* flycheck support recently moved into lsp proper; with this commit,
the lsp module follows suit and prefers lsp-flycheck over
lsp-ui-flycheck

* if the new module flag `+no-peek` is set, doom-emacs will now use the xref
backend for reference and definition lookup instead of the lsp-ui-peek-*
backend offered by lsp-ui-mode
2020-02-28 10:45:25 +01: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
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
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