Commit Graph

7549 Commits

Author SHA1 Message Date
541ce81b91 Fix #791: replace global-command-log-mode
global-command-log-mode isn't autoloaded, but
clm/toggle-command-log-buffer is, and if command-log-mode-is-global is
set, it is equivalent to global-command-log-mode.
2018-08-08 23:37:30 +02:00
6eafdd7c62 Refactor module load process
doom! no longer loads modules, it only sets
doom-modules (incrementally).

Instead, modules are loaded by doom-initialize-modules (which makes more
sense).
2018-08-08 23:37:30 +02:00
f88a97177c Rename doom-ensure-core-directories
Give it a more descriptive name
2018-08-08 23:37:30 +02:00
916210d5a8 feature/lookup: silence cl-destructuring-bind errors
In likely case where (bounds-of-thing-at-point 'symbol) returns nil,
cl-destructuring-bind would throw a wrong-number-of-args error we don't
care about.
2018-08-08 23:37:29 +02:00
60f6418db2 lang/org: Rename +org-capture-window-params
These are frame parameters; it is incorrect to call them window
parameters.
2018-08-08 23:37:29 +02:00
61c44eee12 Merge pull request #790 from aidangilmore/notmuch-update-command
Configurable sync backends for NotMuch
2018-08-08 21:30:02 +02:00
e30ca73dc4 Autoload +org-capture-window-params 2018-08-08 20:44:03 +02:00
2e98e1ae50 Configurable sync backends for NotMuch 2018-08-08 12:06:07 -04:00
9d74ede286 lang/org: remove second org-src popup rule
And rearrange ipython rules
2018-08-08 18:02:20 +02:00
b17bbf2729 lang/cc: refactor company-(glsl|cmake) configs 2018-08-08 00:11:20 +02:00
78e4559465 Move mode-line-misc-info to front of :main rhs
This ensures any extraneous spacing it adds to the mode-line isn't
visible, without compromising plugins' ability to add information to
your modeline.
2018-08-07 22:52:02 +02:00
c385ed7708 Set no default company-backends
No magic. Let the user decide exactly what backends to use for any given
buffer.
2018-08-07 21:31:34 +02:00
7e5b8012b6 lang/cc: set company backends on irony-mode
Rather than c/c++/objc modes.
2018-08-07 21:12:26 +02:00
b349dd3473 ui/popup: respect org-src-window-setup 2018-08-07 14:44:10 +02:00
685f282b53 completion/ivy: nudge posframe up some
It was too far down on smaller displays
2018-08-07 14:43:27 +02:00
3d363d4cb1 completion/helm: refactor posframe support (again) 2018-08-07 14:42:58 +02:00
85e837e06a Fix wrong-type-arg: integerp by posframe
Due to destructive advice.

Fixes #787
2018-08-07 12:57:21 +02:00
37e80c4878 Refactor doom*strip-text-properties-from-undo-history
:around -> :before advice
2018-08-07 03:27:24 +02:00
c45e563453 Fix advice for `undo-tree-make-history-save-file-name'
Inspired by #786: `:filter-return' expects a function to be given. If neither
"zstd" or "gzip" are found on the executable path, then it gets given nil
instead, which results in sadness when trying to save files.
2018-08-07 03:14:28 +02:00
e266ec9eec Add company-ispell to default text-mode backends 2018-08-06 23:03:02 +02:00
2a8b3e674a ui/modeline: refactor focus/unfocus logic
And improves integration with helm
2018-08-06 22:41:44 +02:00
eaaf6751d3 Polish docstring for set-company-backend! 2018-08-06 22:41:44 +02:00
4ab1bbbdba Fix 'simple mode for +treemacs-use-git-mode
Due to pattern mismatch, 'simple mode was never activated.
2018-08-06 22:41:43 +02:00
1d7f141e3d Merge pull request #784 from duog/pr/fix-helm-execute-persistent-action
fix helm execute persistent action
2018-08-06 22:41:26 +02:00
fd13df48a5 Fix helm-execute-persistent-action
With (helm +childframe) in doom! section, without this patch
execute-persistent-action opens an extra non-child frame. This
doesn't play nicely with my tiling window manager.

This patch is taken from helm-posframe, and seems to fix it.
2018-08-07 08:31:50 +12:00
d5363a5a2e Fix recursive helm error in helm-buffers-list 2018-08-06 11:56:50 +02:00
d01926a7c3 Fix void-function treemacs--is-visible? error 2018-08-06 11:18:26 +02:00
2aaea3a0d5 Use helpful for helm-apropos 2018-08-06 00:31:24 +02:00
b56404f0ce Correct docstring for +helm-project-search-engines
Re:git-grep/grep fallback
2018-08-06 00:31:24 +02:00
bd0b7d2341 Remove wgrep from completion/helm (unused package) 2018-08-06 00:31:24 +02:00
d04efc9774 helm-imenu: don't autojump to symbol at point 2018-08-06 00:31:23 +02:00
a01aeb6daf Make helm the default completion module for Doom
It's been a change a long time coming. Ivy's snappiness and simple API
was Ivy's selling point (as far as Doom is concerned). It helps that
much of helm's vast featureset has been ported over and its API is so
much simpler to grok, but its greatest weakness lies in its choice of
display mechanism: the minibuffer.

Ivy's performance suffers dramatically with large datasets because
mutating results in the minibuffer blocks the minibuffer, which also
happens to be where we type in our queries. This can make input feel
dreadfully sluggish in the best cases, locking up Emacs entirely in the
worst.

Helm updates a buffer asynchronously, so it suffers none of this (though
the overhead of maintaining this buffer is certainly overkill for tiny
datasets).

And Ivy's simple API, while easier to understand, is significantly less
powerful. That it takes so much effort to grok Helm is a huge turn
off (and of course, no fault of the dev). Still, there simply is no
excuse for power users like myself to not do so anyway. The more I learn
about it, the more I wonder why I stuck to ivy for so long (but also
reminds me exactly why I did)!
2018-08-06 00:31:23 +02:00
9c11ee9eef Fix workspace-restricted helm-buffers-list
Now SPC b b and SPC b B can both enjoy the power of helm-buffers-list,
while the former is restricted to the buffers in the current workspace.
2018-08-06 00:31:23 +02:00
e05f3ec739 Add python & enh-ruby support to hes-mode 2018-08-06 00:31:23 +02:00
8d26879f99 Add :editor multiple-cursors module
Moves evil-mc/evil-multiedit out of feature/evil.
2018-08-06 00:31:23 +02:00
4dc5ef3879 Add highlight-escape-sequences 2018-08-06 00:31:23 +02:00
0cfd35cfc0 Refactor how helm mode-line is hidden 2018-08-06 00:31:22 +02:00
41697e4e6e Move helm posframe up slightly
And display input line in posframe.
2018-08-06 00:31:22 +02:00
ca6afcf3c7 Add +helm-posframe-border-width option
Controls posframe's internal-border-width
2018-08-06 00:31:18 +02:00
a9357bb467 completion/helm: use hide-mode-line-mode 2018-08-05 00:39:54 +02:00
860dff3e63 completion/helm: refactor posframe config 2018-08-05 00:39:54 +02:00
7f5e778b0c Replace helm-swoop with swiper-helm
Swiper is superior. The downside is it pulls in ivy as a dependency, but
that is acceptable considering how small it is.
2018-08-04 19:54:54 +02:00
b180aceaa8 completion/helm: fix 'n refactor +fuzzy flag
Didn't properly disable fuzzy search when +fuzzy flag was absent.
2018-08-04 18:42:38 +02:00
c1e2919294 completion/helm: set default window height = 22%
A little smaller than the default
2018-08-04 18:42:29 +02:00
44472d3ee8 lang/org: use unicode separator for eldoc 2018-08-04 18:24:54 +02:00
d504c4bafe lang/org: respect inherited foreground in eldoc 2018-08-04 18:23:53 +02:00
552b8b50c0 lang/python: pyvenv-mode -> pyvenv #777
Fixed incorrect package name.
2018-08-04 16:34:01 +02:00
2c956593cf completion/helm: don't index HOME
Invoke helm-find-files instead
2018-08-04 16:00:11 +02:00
9a3e71731c completion/ivy: bring back flx 2018-08-04 13:47:19 +02:00
fbe4e94fbc Mention restart when bin/doom is finished
It is preferrable to doom/reload.
2018-08-04 13:44:55 +02:00