Henrik Lissner
c878314aa6
Refactor +ivy/projectile-find-file to use counsel
...
counsel-projectile-find-file has other capabilities (like actions and
sorting). So we conditionally use projectile-find-file only if the
project is large enough to warrant it.
2018-08-04 02:28:45 +02:00
Henrik Lissner
316a9f06b2
completion/company: add company-prescient
2018-08-04 02:14:43 +02:00
Henrik Lissner
4489ce6b81
ui/popup: refactor hacks
2018-08-04 00:00:16 +02:00
Henrik Lissner
1f1f2c3ebf
completion/ivy: fix ivy--regex-fuzzy typos
2018-08-03 21:57:47 +02:00
Henrik Lissner
35b88a597b
Activate ivy-prescient-mode on ivy-mode
2018-08-03 21:40:54 +02:00
Henrik Lissner
4db89a2fb4
Remove treemacs popup hack
...
Now that it is supported upstream.
Relevant to #766
2018-08-03 19:15:46 +02:00
Henrik Lissner
261aa7c944
Compress/compact undo-tree history (and shut up)
2018-08-03 19:09:06 +02:00
Henrik Lissner
b12944fddb
undo-tree-auto-save-history = t
...
Persistent undo history is great. I'm hoping that, with
undo-tree-enable-undo-in-region disabled, we can enable this feature
again safely.
Time will tell.
2018-08-03 18:25:24 +02:00
Henrik Lissner
417736ecf6
Move hideshow config from ui/doom->emacs/hideshow
2018-08-03 18:20:27 +02:00
Henrik Lissner
0c36b4450e
lang/ruby: update rspec-mode integration
...
Prompted by upstream updates.
2018-08-03 18:07:39 +02:00
Henrik Lissner
0b130d7b9a
ui/modeline: fix spacing issues with flycheck/vc
2018-08-03 18:07:06 +02:00
Henrik Lissner
76868fe48d
ui/modeline: allow more options for bar
2018-08-03 18:06:44 +02:00
Henrik Lissner
50a82e72f6
ui/doom: enable solaire-mode in doom-tomorrow-night
2018-08-03 16:35:42 +02:00
Henrik Lissner
ea0f46b181
Add 2nd arg to doom-initialize to load core libs
...
This restores the correct value of noninteractive while core libs are
loading, so packages like recentf can avoid initializing when running
emacs non interactively (thus polluting output or possibly causing
errors).
2018-08-03 16:35:42 +02:00
Henrik Lissner
ab4052b8dc
Refactor completion/ivy & optimize projectile-find-file
...
counsel-projectile-find-file fontifies visited files and sorts the
resulting file list from projectile-find-file, adding considerable
overhead. Then, ivy-prescient performs a frecency sort and filter,
adding more overhead.
Altogether, this makes projectile-find-file unusable for larger projects
when fuzzy search is on (and in some extreme cases, when it's off). This
change disables both features specifically for projectile-find-file.
Fixes #774 , hopefully
2018-08-03 16:35:42 +02:00
Henrik Lissner
3673067736
Fix projectile-find-file locking up Emacs
...
This occurs when invoking it from the root of massive file trees, like
$HOME or certain non-project folders. It's better that it defer to a
different command altogether (counsel-find-file) if invoked from $HOME,
and counsel-file-jump from anywhere else, which offers approximately
what we want, but at a fraction of the performance cost in those cases.
2018-08-03 16:10:20 +02:00
Henrik Lissner
31c8c0c033
lang/cc: rewrite C/C++/OBJC header file detection
2018-08-03 03:41:31 +02:00
Henrik Lissner
80eb1dc449
Fix file-exists-p! with nested forms
...
Due to the eval not picking up lexical bindings.
2018-08-03 02:46:48 +02:00
Henrik Lissner
639349d0ed
feature/spellcheck: add hunspell/aspell support
2018-08-02 21:44:09 +02:00
Henrik Lissner
f16597ec72
Set gamegrid-user-score-file-directory
...
THIS IS IMPORTANT GUYS
2018-08-02 17:06:30 +02:00
Henrik Lissner
5772ace0ff
Update +spellcheck-immediately docstring
...
It won't work on LaTeX-mode-hook because flyspell-mode is added to
TeX-mode-hook, which runs before the former.
2018-08-02 16:46:04 +02:00
Henrik Lissner
2ee177d588
Don't invoke debugger on "Aborted" messages
2018-08-02 16:41:19 +02:00
Henrik Lissner
5f1618e7a1
feature/spellcheck: minor reformatting
2018-08-02 16:40:47 +02:00
Henrik Lissner
7c4a353228
lang/latex: remove redundant visual-line-mode hook
2018-08-02 16:32:39 +02:00
Henrik Lissner
128eb611e0
lang/latex: remove +preview-pane flag
...
Reported by @UndeadKernel
2018-08-02 16:15:10 +02:00
Henrik Lissner
14816ef173
lang/latex: fix detection for other viewers
...
Incorrect use of cl-block/cl-return meant latex-preview-pane would
always be used as the default pdf viewer.
Reported by @UndeadKernel
2018-08-02 16:12:53 +02:00
Henrik Lissner
cf4ea445a1
lang/latex: don't reverse +latex-viewers
...
This incorrectly reversed the priority ordering of +latex-viewers. This
is an artifact from a rejected approach at short-circuiting
+latex-viewer, which was replaced with cl-block->cl-return.
Reported by @UndeadKernel
2018-08-02 15:48:32 +02:00
Henrik Lissner
6d1512c2e2
Refactor doom/reload
...
+ Remove non-interactive use-case (no more relying on the server; too
unstable).
+ Ensure autoloads are properly reloaded (and thus, the load-path is
properly repopulated).
+ Provide feedback when it's finished
2018-08-02 14:17:53 +02:00
Henrik Lissner
0b8f3e29d5
Remove rg/pt ivy-re-builders-alist entries
...
Both counsel-(rg|pt) identify themselves as counsel-ag, so these extra
entries are necessary.
2018-08-02 03:51:15 +02:00
Henrik Lissner
4731f82766
ui/modeline: disable no-checker flycheck indicator
2018-08-02 03:50:51 +02:00
Henrik Lissner
cfebed96db
lang/cc: cull unnecessary def-package! blocks
...
rtags loads these packages for us, so long as
rtags-display-result-backend is properly set.
2018-08-02 03:47:29 +02:00
Henrik Lissner
d2ecd87739
Fix ivy completion when treemacs is open
...
Caused by incorrectly initialized treemacs popup hack.
2018-08-02 03:31:20 +02:00
Henrik Lissner
baf400b736
completion/ivy: add ivy-prescient #774
...
Better fuzzy support versus flx; hopefully faster. Also brings frecency
sorting to ivy commands.
2018-08-02 01:53:29 +02:00
Henrik Lissner
59bc7653d5
completion/ivy: remove flx #774
...
flx is much too slow with large lists of candidates (i.e.
counsel-projectile-find-file).
2018-08-02 00:29:26 +02:00
Henrik Lissner
a18541851e
lang/python/doctor: check pyenv, conda & ipython
2018-08-02 00:13:00 +02:00
Henrik Lissner
036337afa1
Populate LC_CTYPE, LC_ALL & LANG by default
2018-08-01 22:35:10 +02:00
Henrik Lissner
9b11f8e76d
lang/python: remove +python-conda-env (unused)
2018-08-01 22:32:29 +02:00
Henrik Lissner
7ffa3c8d8d
lang/python: register ANACONDA_HOME envvar
2018-08-01 22:30:30 +02:00
Henrik Lissner
e053234992
lang/python: fix anaconda ignoring conda envs
2018-08-01 22:29:51 +02:00
Henrik Lissner
a3124f00d5
Remove redundant projectile-indexing-method setter
2018-08-01 19:26:48 +02:00
Henrik Lissner
b7bbf4d7ed
Add git-commit-mode to yas-extra-modes
...
Fixes snippets in git-commit-mode.
2018-08-01 19:26:20 +02:00
Henrik Lissner
a876d87f5e
emmet-mode: bind to TAB & enable in reason-mode
...
TAB now either indents, expands the snippet at point, or expands the
emmet expression at point.
Also it now falls back to emmet-expand-line if yasnippet won't load.
2018-08-01 19:25:06 +02:00
Henrik Lissner
8bbff852f7
lang/php: fix stringp error & phpctags path
...
Also provide a way to silence phpctags warnings on starting
php-mode (set ac-php-ctags-executable to nil).
2018-08-01 18:15:30 +02:00
Henrik Lissner
06aa16bbfb
lang/ruby: keep mode-line indicator up-to-date
2018-08-01 15:18:58 +02:00
Henrik Lissner
ad68f26477
Fix python mode-line persisting into other modes
...
And more polish for the python mode-line indicator.
2018-08-01 15:17:57 +02:00
Henrik Lissner
e79111ff54
Eval +modeline-major-mode live
...
It's a small segment. We can afford it being a little more greedy.
2018-08-01 15:01:27 +02:00
Henrik Lissner
b1aa478528
map!: clear doom--defer
...
So deferred keybinds don't persist across nested map! forms.
2018-08-01 02:41:46 +02:00
Henrik Lissner
4a14df9254
Add mode-line-process to :main & :special formats
2018-08-01 01:48:22 +02:00
Henrik Lissner
0cdb736670
Default modeline segments to :init
...
Fixes buffer-id in non-file-visiting buffers.
2018-08-01 01:47:45 +02:00
Henrik Lissner
65f0dcef54
lang/python: remove references to removed variable
2018-08-01 01:31:12 +02:00