Commit Graph

4407 Commits

Author SHA1 Message Date
Henrik Lissner
60cded00e6
Decouple doom/escape & evil 2018-01-06 03:00:45 -05:00
Henrik Lissner
a88cb1e4eb
require map library for +popup--normalize-alist 2018-01-06 02:48:08 -05:00
Henrik Lissner
08b479b06f
Rename popup parameter escape-quit => quit 2018-01-06 02:42:53 -05:00
Henrik Lissner
3cbddbfd88
Generalize +evil-esc-hook into doom-escape-hook
This lets vanilla Emacs users in on having a universal "escape" key.
2018-01-06 02:38:39 -05:00
Henrik Lissner
c8768f512d
private/default: bind M-w to +popup-buffer-mode-map 2018-01-06 02:22:34 -05:00
Henrik Lissner
91357a3e5d
💥 Replace core-popup with new feature/popup module
This is a breaking change! Update your :popup settings. Old ones will
throw errors!

Doom's new popup management system casts off its shackles (hur hur) and
replaces them with the monster that is `display-buffer-alist`, and
window parameters.

However, this is highly experimental! Expect edge cases.  Particularly
with org-mode and magit (or anything that does its own window
management).

Relevant to #261, #263, #325
2018-01-06 02:17:43 -05:00
Henrik Lissner
065091bdca
flycheck: use pos-tip in GUI Emacs (linux), popup-tip everywhere else
Long story short, `flycheck-popup-tip' works everywhere but only looks
*ok*.  `flycheck-pos-tip' looks great, but only in GUI Emacs on Linux.
So we want:

+ GUI Emacs (Linux): pos-tip
+ GUI Emacs (MacOS): popup-tip
+ tty Emacs (anywhere): popup-tip
2018-01-06 01:10:37 -05:00
Henrik Lissner
9e3682535a
Fix describe-(function|variable) and ivy-resume
describe-(function|variable) weren't remapped to their counsel variants,
so ivy-resume wouldn't resume those sessions properly.
2018-01-06 00:08:53 -05:00
Henrik Lissner
4b8315466b
private/default: fix void variable errors when evil module is disabled
Evil keymaps don't exist if the evil module is off, so wrap evil-mode
keymap bindings in (:after evil ...)
2018-01-05 23:59:48 -05:00
Henrik Lissner
42cee2e046
Update :jump => :lookup 2018-01-05 23:57:48 -05:00
Henrik Lissner
9cc762ffbe
Remove unnecessary +doom-dashboard|init from test 2018-01-05 14:56:55 -05:00
Henrik Lissner
1583ca573d
Fix ui/doom-dashboard tests 2018-01-05 14:55:21 -05:00
Henrik Lissner
23ff93703c
Append slash to default-directory in doom dashboard
...And give +doom-dashboard-update-pwd a docstring
2018-01-05 14:54:47 -05:00
Henrik Lissner
f277eddf1b
feature/syntax-checker: use flycheck-popup-tip on MacOS #318
pos-tip.el (what flycheck-pos-tip's uses) is buggy on MacOS, with no
guarantee where a popup may appear.
2018-01-05 14:43:50 -05:00
Henrik Lissner
a568f95004
Fix doom//reload-autoloads #328
`get-file-buffer` returns nil if no buffer for that file already exists.
In an edge case on Windows, `update-file-autoloads` doesn't leave
a hanging buffer, possibly ignoring its SAVE-AFTER argument. Using
`find-file-noselect` fixes this, which will open a buffer if one doesn't
already exist.
2018-01-05 13:43:17 -05:00
Henrik Lissner
55ad843a09
lang/org: fix byte-compiler using outdated, built-in org #327
During runtime, the new version of org (installed via ELPA) is added to
load-path, but this doesn't happen during compile-time. Wrap it in
eval-and-compile and that changes.
2018-01-05 13:43:13 -05:00
Henrik Lissner
fab6fb1270
ui/window-select: use use-package :when/:unless instead of cond
Appease the byte-compiler.
2018-01-05 13:17:04 -05:00
Henrik Lissner
dd7a26352b
lang/cc: remove unused arg in +cc/reload-compile-db
Appeases the byte-compiler (praise be!)
2018-01-05 13:16:56 -05:00
Henrik Lissner
bee80c1a24
ui/doom-dashboard: don't cd into non-existent directories
Causes CDPATH errors.
2018-01-05 04:31:48 -05:00
Henrik Lissner
764620aa11
Remove +ace-window module flag
This is already the module's default.
2018-01-04 22:03:11 -05:00
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