Commit Graph

4687 Commits

Author SHA1 Message Date
Henrik Lissner
df37f987fb
Delete autoloads file on error + simpler error code
This should prevent getting locked out of Doom due to a little errant
code sneaking into your autoloads file.
2018-01-04 22:01:43 -05:00
Henrik Lissner
1371d34149
💥 Replace feature/jump with feature/lookup
+ Adds Dash docset integration (with helm or ivy support)
+ Adds devdocs.io integration
+ Three new settings: :lookup, :devdocs and :docset
2018-01-04 17:11:54 -05:00
Henrik Lissner
4af4803e0b
Merge pull request #323 from ocharles/patch-1
haskell: Fix warning about ghc-mod
2018-01-04 17:01:01 -05:00
Henrik Lissner
b3b31e4bd4
Display *Warnings* buffer in main workspace after startup #319
The creation of the main workspace would swallow the Warnings buffer, so
we forcibly display it (if it exists) on startup.
2018-01-04 16:58:21 -05:00
Henrik Lissner
c6764e0f24
Fix file search opening files from wrong default-directory 2018-01-04 16:16:45 -05:00
Henrik Lissner
20a8f2cbad
Fix kill-this-buffer advice thinking everything is a popup 2018-01-04 16:16:45 -05:00
Henrik Lissner
5d186d10b4
doom-install-package: don't try to uninstall built-in packages 2018-01-04 16:16:45 -05:00
Henrik Lissner
f3bad40fdf
Packages api: simpler error handling 2018-01-04 16:16:45 -05:00
Henrik Lissner
a29bc54c63
Install packages in the order they are declared 2018-01-04 16:16:45 -05:00
Henrik Lissner
2598d48bba
Add org elpa archive + update lang/org #327
Now that the org ELPA archive has https support, we can add it to
package-archives. This fixes some 'org is unavailable' errors when
installing org packages that have declared earlier versions of org as
a dependency.

This also makes installing a newer version of org-mode much simpler.
Woo!
2018-01-04 16:16:45 -05:00
Henrik Lissner
7556762d98
lang/latex: refactor (WIP) 2018-01-04 16:16:45 -05:00
Henrik Lissner
feff92c626
Fix company-auctex not initializing properly in Auctex buffers #326
Caused because AucTex's LaTeX-mode reports its major-mode as
'latex-mode. A check in :company-backends expects major modes to have
matching hooks (e.g. LaTeX-mode-hook => LaTeX-mode).
2018-01-04 16:16:45 -05:00
Henrik Lissner
88f8c27a7d
Fix doom/cleanup-session & +workspaces|cleanup-unassociated-buffers
Resolve void n variable errors and silent message.
2018-01-04 16:16:44 -05:00
Henrik Lissner
8ef3cf8ea7
lang/python: fix anaconda-mode-find-references typo 2018-01-04 16:16:44 -05:00
Henrik Lissner
58573a0ce7
Refactor/revise ui/window-select
And bind SPC w C-w (or C-w C-w) to other-window.
2018-01-04 16:16:44 -05:00
Henrik Lissner
815fc6ef02
Update +ivy*counsel-ag-function b/c of upstream changes 2018-01-04 16:16:44 -05:00
Henrik Lissner
e9b5ab2385
Fix +workspace/close-window-or-workspace treating everything as a popup 2018-01-04 16:16:44 -05:00
Henrik Lissner
776533adb7
feature/evil: fix unit tests 2018-01-04 16:16:44 -05:00
Henrik Lissner
e74a95de32
feature/workspaces: fix tests 2018-01-04 16:16:44 -05:00
Henrik Lissner
824393043c
lang/emacs-lisp: add imenu support for def-test!/ert-deftest 2018-01-04 16:16:44 -05:00
Henrik Lissner
87e1108f96
Update buffer api tests
+ Update for new real buffer spec
+ Remove coupling with core-popup
2018-01-04 16:16:44 -05:00
Henrik Lissner
e9d4e50c0a
Update core-ui tests 2018-01-04 16:16:43 -05:00
Henrik Lissner
93f3f0ef38
ui/doom: update hooks, refactor & simplify
+ doom-init-ui-hook => doom-init-theme-hook
+ Remove specific mode hooks for solaire-mode (need to revisit this)
+ Preemptive removal of doom-popup-mode hook
+ Use function for hs-set-up-overlay instead of lambda
2018-01-04 16:14:59 -05:00
Henrik Lissner
565726b765
ui/doom-quit: use confirm-kill-emacs var instead 2018-01-04 16:14:59 -05:00
Henrik Lissner
790eed0abd
feature/workspaces: run +workspace-change-hook when updating ws list 2018-01-04 16:14:59 -05:00
Henrik Lissner
9c9e9b2b59
feature/snippets: remove monkey patch (fix merged upstream) 2018-01-04 16:14:51 -05:00
Henrik Lissner
83d2507138
Update buffer api unit tests 2018-01-04 16:14:51 -05:00
Henrik Lissner
4d51a1ab09
Fix :skip property in def-test! 2018-01-04 16:14:50 -05:00
Henrik Lissner
b7d21fb256
Add let-advice!! test macro 2018-01-04 16:14:50 -05:00
Henrik Lissner
f1268b130f
Update & refactor core-popups
Updates core-popups for new doom-kill-buffer-less workflow, and gives it
is last refactor. Within the next couple of days core-popups will be
replaced with a new and improved feature/popup module.
2018-01-04 16:14:50 -05:00
Henrik Lissner
ab0223144c
Refactor doom/cleanup-session & corresponding evil command 2018-01-04 16:14:50 -05:00
Oliver Charles
e688bd8c85
haskell: Fix warning about ghc-mod
The warning confusingly states that `ghc-mode` couldn't be found, implying it's some kind of emacs mode. However, the predicate is actually checking for the `ghc-mod` executable, which is something entirely different.
2018-01-04 11:06:05 +00:00
Henrik Lissner
69385fac1a
Major rewrite of core-ui
Phases out dependence on the doom-kill-buffer workflow, which ensured
the user would always land on a real buffer (or the fallback buffer)
after killing a buffer. This required all quit-window, kill-this-buffer
and various buffer-killing commands be advised or remapped. There was no
need, kill-buffer-query-functions is better.

Also introduces a new hook: doom-init-theme-hook. doom-init-ui-hook
still exists, but is used for UI initialization (surprise), while theme
hooks should be moved over.
2018-01-04 03:01:35 -05:00
Henrik Lissner
8e875bfa0e
Phase out doom-kill-buffer 2018-01-04 03:01:35 -05:00
Henrik Lissner
ecc8051378
Refactor doom/kill-all-buffers & decouple from core-popup 2018-01-04 03:01:35 -05:00
Henrik Lissner
00cc57a2bd
doom--cycle-real-buffers: if n=0, switch to fallback buffer 2018-01-04 03:01:35 -05:00
Henrik Lissner
fa72e8d09b
Simplify doom-buried-buffers & doom-real-buffer-list 2018-01-04 03:01:35 -05:00
Henrik Lissner
e9a012af34
doom-visible-windows: fix predicate for 'popup window' 2018-01-04 03:01:35 -05:00
Henrik Lissner
f3562eb038
feature/workspaces: refactor persp-mode init 2018-01-04 03:01:35 -05:00
Henrik Lissner
73fa9ceab3
Merge pull request #321 from amosbird/develop
fix ivy.
2018-01-04 03:01:26 -05:00
Amos Bird
052cee93db fix ivy.
Due to this commit 4f57b5a9eb
2018-01-04 15:49:18 +08:00
Henrik Lissner
db5910da3c
lang/org: don't error out if +org-dir doesn't exist 2018-01-03 13:15:25 -05:00
Henrik Lissner
9f884bf998
Move delayed-warnings deferral to core.el
Possibly addresses #319
2018-01-03 12:54:30 -05:00
Henrik Lissner
8e7b822062
Remove core-popup coupling
New popup management system coming soon!
2018-01-03 03:44:34 -05:00
Henrik Lissner
e0c8e6daef
New doom-unreal-buffer-functions function & doom-real-buffer-p spec 2018-01-03 03:38:35 -05:00
Henrik Lissner
3d5d1b65b3
Move misplaced doom--buffer-narrowed-origin to correct place 2018-01-03 03:32:19 -05:00
Henrik Lissner
edc53706ba
feature/snippets: temporarily monkey-patch regression in yasnippet
See https://github.com/joaotavora/yasnippet/issues/883
2018-01-02 20:36:20 -05:00
Henrik Lissner
e261df3782
Update issue/pr templates 2018-01-02 14:41:10 -05:00
Henrik Lissner
92e52fafd1
Fix expand-region misplacing cursor on cancel/C-g #317 2018-01-02 13:50:43 -05:00
Henrik Lissner
50c1ad0875
Fix esc not exiting snippets
Caused by a custom ESC keybind overriding +evil-esc-hook
2018-01-01 22:42:46 -05:00