Commit Graph

7549 Commits

Author SHA1 Message Date
90fa4a8c37 Add helm-ag-fuzzy-match support 2018-08-13 21:47:55 +02:00
5714ff423a Fix evil jumplist after jumping to ag match
helm-ag would formerly add multiple entries to the jump list. It now
only adds one, and recenters the window when jumping to an ag match.
2018-08-13 21:47:55 +02:00
b149dcffd4 Replace esup with doom/profile-emacs #788
Since esup (called directly) doesn't work with Doom.
2018-08-13 03:50:17 +02:00
25d9786edf Add early-init-file support to doom/profile-emacs #788
And fix wrong-type-argument: stringp errors when running esup.

Also ensure that doom|run-all-startup-hooks sets after-init-time.
2018-08-13 03:47:33 +02:00
7d617f1541 Refactor helm project search API
+ Heavily refactored +helm-file-search
+ Removed -z flag from all engines by default
+ Changed the behavior of the universal argument for from-cwd
  interactive commands (e.g. +helm/rg-from-cwd). It used to enable
  recursive searches, but now enables inclusion of hidden and compressed
  files in the search instead. *-from-cwd searches are always recursive
  now.
+ Now generates +helm/X and +helm/X-from-cwd commands dynamically.
+ Split +helm/project-search into +helm/project-search-from-cwd.
  Universal arguments are passed from these commands to their delegated
  engine command.
2018-08-13 03:47:33 +02:00
b0c71c2492 Add +helm/workspace-mini command & bind to SPC b b
+ Rename +helm/persp-buffer-list to +helm/workspace-buffer-list
+ Silence compiler warnings when feature/workspaces is disabled
+ Throw error if feature/workspaces is disabled and these commands are
  called.
2018-08-13 03:47:30 +02:00
f143a03221 Use set-company-backend!
Fixes incorrect usage of setq-local in a global context.
2018-08-13 02:59:38 +02:00
2f7282af12 Input-method optional 2018-08-12 13:52:35 -03:00
d692718ab4 Fix selecting deleted window error
Caused by focus/unfocus modeline fixes accessing possibly dead buffers.
2018-08-12 18:25:09 +02:00
36ac08f3fa Company-capf needs to be the first 2018-08-12 13:13:25 -03:00
69e992e54a lang/python: minor reformatting 2018-08-12 02:46:55 +02:00
cbad18bf95 Fix wrong-type-arg hash-table-p error
In the rare case your private init.el has no doom! block.
2018-08-12 02:46:06 +02:00
36044fccc9 defconst -> defvar for global constants
So they can be changed prior to being defined (e.g. for
doom/open-vanilla-sandbox).
2018-08-12 02:45:28 +02:00
c530866f0a Add option to load doom in vanilla sandbox
This adds the option to run elisp in an environment where doom core &
modules are loaded, but not your private modules or config.

Also updates the vanilla sandbox text template.
2018-08-12 02:45:01 +02:00
cd280e0fa9 Load ox-pandoc conditionally
This allows users to disable it
2018-08-11 22:56:31 +02:00
9ddfca44d1 Rename doom//reload-project -> doom/reload-project
Conform command to new naming convention (removed the doom//abc
convention).
2018-08-11 21:45:53 +02:00
69eb2cd40d lang/python: improve pipenv support 2018-08-11 21:18:21 +02:00
18925b51db Update comments in feature/evil/+everywhere 2018-08-11 21:03:15 +02:00
1490b9ec8d Prioritize private snippets over built-in ones
In the case of snippet conflicts, you'd normally be prompted to select
which snippet you want. Built-in snippets are now disregarded if
conflicting private ones exist.

This makes it easier for users to add overriding snippets to
DOOMDIR/snippets.
2018-08-11 16:48:31 +02:00
735e14270e Fix non-string errors from kill-ring
When unpropertizing the kill ring.
2018-08-11 02:05:33 +02:00
12c5490a39 Add node_modules/.bin to exec-path regardless #798
Before, this was conditional to the directory's existence. Add it
anyway, in case the folder is created while the buffer is open.

This may cause a problem is the project root changes while the buffer is
open, but for that case there's M-x doom/reload-project.
2018-08-11 01:59:38 +02:00
ddf107a507 Disable counsel-projectile temporarily #93
Until upstream resolves ericdanan/counsel-projectile#93
2018-08-11 01:59:37 +02:00
4c8c9a2d09 Add "resume last search" keybind for ivy/helm #742 2018-08-11 01:59:37 +02:00
9653185478 lang/latex: fix PDF Tools viewer on MacOS 2018-08-11 01:59:37 +02:00
09678f8b1d lang/emacs-lisp: combine imenu var rules 2018-08-11 01:59:37 +02:00
43e0314e86 Add doom/switch-theme; a more sensible load-theme
load-theme doesn't disable previously enabled themes before switching.
doom/switch-theme does.

This remaps any keys bound to load-theme to doom/switch-theme.
2018-08-11 01:59:37 +02:00
3b4fd56cac Force helm posframe to respect min-(width|height)
And enable solaire-mode if available, and unused in origin buffer (to
make it easier to see posframe over non-solaire-mode buffers).
2018-08-11 01:59:37 +02:00
e127819d88 Don't override ispell-program-name
Better not to override possible user customizations, only adjust
ispell-extra-args in case of aspell, to improve its performance.
2018-08-11 01:59:37 +02:00
e290c6e03b Minor refactor of associate!'s initializer 2018-08-11 01:59:37 +02:00
631f075a82 lang/emacs-lisp: polish symbol fontification
Follow up on 76b4af99; resolves "flickering christmas lights" issue
where symbols were incorrectly fontified with the last face while typing
them.
2018-08-11 01:59:37 +02:00
e348e32cbc Fix def-project-mode! :add-hooks overwriting hooks
Would overwrite hooks previously added to the project mode.
2018-08-11 01:59:36 +02:00
bcbe2c6562 Merge pull request #794 from vikigenius/ess-fix
Fixed ess main load point
2018-08-10 19:42:01 +02:00
76b4af99cc lang/emacs-lisp: rewrite extra fontification
Now fontifies defined variables and functions, rather than from a
hardcoded list.
2018-08-10 19:40:07 +02:00
7a216692e8 Don't modify helm-echo-input-in-header-line
This variable isn't reliable; some sources change it, making it
difficult to see our input.
2018-08-10 19:31:22 +02:00
a24e4f51cd ui/modeline: refocus after closing any posframe 2018-08-10 19:30:08 +02:00
3e7c85244b Improve modeline refocusing fixes
By affecting buffers instead of windows
2018-08-10 19:26:56 +02:00
d6f89aaafd Make doom/copy-backtrace copy the whole backtrace 2018-08-10 19:13:31 +02:00
519330fcb1 Fix wrong-type-argument: treemacs-workspace error
Caused by changes upstream.
2018-08-10 18:52:20 +02:00
b100fe332b Slightly larger default +modeline-height (23) 2018-08-10 14:13:48 +02:00
e33cb446aa Refactor dashboard banner display & centering 2018-08-10 12:34:17 +02:00
74e905cb68 added refactor shortcut to clojure 2018-08-09 21:22:55 -05:00
53d54608d3 Removed broken package ess-smart-equals 2018-08-09 22:33:44 +05:30
ff4d5be1fa Fixed ess main load point 2018-08-09 19:22:08 +05:30
87c8f6e18e Temporary fix for counsel-projectile arrayp error
This should be reversed once the issue is fixed upstream.

Addresses #792
2018-08-09 13:00:11 +02:00
68dc510a1c Refactor +modeline-file-path
Remove unused letvars and face management.
2018-08-09 12:58:26 +02:00
01dcc248cf Improve posframe/modeline focus fix
switch-to-buffer is more reliable than select-window
2018-08-09 12:57:46 +02:00
3131bda98c lang/php: fix interpolation in unquoted lambda 2018-08-09 01:02:47 +02:00
56fcad4970 lang/php: use internal phpctags only
Other versions of phpctags may cause errors.
2018-08-09 00:40:26 +02:00
63cc8b4306 Fix flycheck staying enabled after doom/reload 2018-08-08 23:37:30 +02:00
808c1356df Don't sort company candidates by default 2018-08-08 23:37:30 +02:00