Commit Graph

7143 Commits

Author SHA1 Message Date
316a9f06b2 completion/company: add company-prescient 2018-08-04 02:14:43 +02:00
4489ce6b81 ui/popup: refactor hacks 2018-08-04 00:00:16 +02:00
1f1f2c3ebf completion/ivy: fix ivy--regex-fuzzy typos 2018-08-03 21:57:47 +02:00
35b88a597b Activate ivy-prescient-mode on ivy-mode 2018-08-03 21:40:54 +02:00
4db89a2fb4 Remove treemacs popup hack
Now that it is supported upstream.

Relevant to #766
2018-08-03 19:15:46 +02:00
261aa7c944 Compress/compact undo-tree history (and shut up) 2018-08-03 19:09:06 +02:00
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
417736ecf6 Move hideshow config from ui/doom->emacs/hideshow 2018-08-03 18:20:27 +02:00
0c36b4450e lang/ruby: update rspec-mode integration
Prompted by upstream updates.
2018-08-03 18:07:39 +02:00
0b130d7b9a ui/modeline: fix spacing issues with flycheck/vc 2018-08-03 18:07:06 +02:00
76868fe48d ui/modeline: allow more options for bar 2018-08-03 18:06:44 +02:00
50a82e72f6 ui/doom: enable solaire-mode in doom-tomorrow-night 2018-08-03 16:35:42 +02:00
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
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
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
31c8c0c033 lang/cc: rewrite C/C++/OBJC header file detection 2018-08-03 03:41:31 +02:00
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
639349d0ed feature/spellcheck: add hunspell/aspell support 2018-08-02 21:44:09 +02:00
f16597ec72 Set gamegrid-user-score-file-directory
THIS IS IMPORTANT GUYS
2018-08-02 17:06:30 +02:00
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
2ee177d588 Don't invoke debugger on "Aborted" messages 2018-08-02 16:41:19 +02:00
5f1618e7a1 feature/spellcheck: minor reformatting 2018-08-02 16:40:47 +02:00
7c4a353228 lang/latex: remove redundant visual-line-mode hook 2018-08-02 16:32:39 +02:00
128eb611e0 lang/latex: remove +preview-pane flag
Reported by @UndeadKernel
2018-08-02 16:15:10 +02:00
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
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
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
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
4731f82766 ui/modeline: disable no-checker flycheck indicator 2018-08-02 03:50:51 +02:00
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
d2ecd87739 Fix ivy completion when treemacs is open
Caused by incorrectly initialized treemacs popup hack.
2018-08-02 03:31:20 +02:00
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
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
a18541851e lang/python/doctor: check pyenv, conda & ipython 2018-08-02 00:13:00 +02:00
036337afa1 Populate LC_CTYPE, LC_ALL & LANG by default 2018-08-01 22:35:10 +02:00
9b11f8e76d lang/python: remove +python-conda-env (unused) 2018-08-01 22:32:29 +02:00
7ffa3c8d8d lang/python: register ANACONDA_HOME envvar 2018-08-01 22:30:30 +02:00
e053234992 lang/python: fix anaconda ignoring conda envs 2018-08-01 22:29:51 +02:00
a3124f00d5 Remove redundant projectile-indexing-method setter 2018-08-01 19:26:48 +02:00
b7bbf4d7ed Add git-commit-mode to yas-extra-modes
Fixes snippets in git-commit-mode.
2018-08-01 19:26:20 +02:00
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
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
06aa16bbfb lang/ruby: keep mode-line indicator up-to-date 2018-08-01 15:18:58 +02:00
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
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
b1aa478528 map!: clear doom--defer
So deferred keybinds don't persist across nested map! forms.
2018-08-01 02:41:46 +02:00
4a14df9254 Add mode-line-process to :main & :special formats 2018-08-01 01:48:22 +02:00
0cdb736670 Default modeline segments to :init
Fixes buffer-id in non-file-visiting buffers.
2018-08-01 01:47:45 +02:00
65f0dcef54 lang/python: remove references to removed variable 2018-08-01 01:31:12 +02:00
8272d8e98f ui/modeline: rpad +modeline-flycheck 2018-08-01 01:14:36 +02:00