Commit Graph

6583 Commits

Author SHA1 Message Date
Henrik Lissner
be44b1ae8a
Fix package!'s :disable being read unconditionally
Because the package was added to doom-disabled-packages at macro
expansion time, rather than at run time. This meant that, even if you
did:

  (when nil
    (package! x :disable t))

x would still be disabled.

Reported by @ar1a
2018-06-24 12:08:55 +02:00
Henrik Lissner
c69b4ab5ee
Use C-n/C-p in macrostep instead of n/p
n/p overrides evil's jump-to-next/previous-search.
2018-06-24 10:35:36 +02:00
Henrik Lissner
69fc80d7cf Revert "Fix evil-escape aborting multiedit too eagerly"
This reverts commit ba1488279b.

This hack is no longer necessary now that syl20bnr/evil-escape#83 was
merged upstream.
2018-06-24 10:34:16 +02:00
Henrik Lissner
f112a2a83f
Add :ui popup to init.test.el 2018-06-23 23:23:23 +02:00
Henrik Lissner
a52267fee5
Disable smartparens pair & tag navigation
Fixes quirky backspace and autoskipping behavior with html tags or
closing delimtiers unpredictably. These might be more useful to non-evil
users, but more testing is required.

Indirectly fixes #712
2018-06-23 23:21:02 +02:00
Henrik Lissner
e4b23d78da
Refactor require!
Defer its compile-time segments to run-time, which would cause many
issues in conditions wrapped around it.

In any case, avoid using require!, it was a poor choice to implement it
and should only be used for unit tests.
2018-06-23 22:23:35 +02:00
Henrik Lissner
4c4a35ae86
Minor reformatting
It's no big deal. Really.
2018-06-23 22:22:42 +02:00
Henrik Lissner
618358413b
Major refactor of ui/popup
+ Make it pass tests
+ Changes the behavior and arguments of functions passed to :autosave,
  :ttl, and :modeline.
+ Updated the documentation of set-popup-rule! to reflect these changes
+ Phase out map.el usage as per f6dc6ac7
2018-06-23 22:18:44 +02:00
Henrik Lissner
f11bd617cd
Add ui/popup tests (wip) 2018-06-23 22:17:56 +02:00
Henrik Lissner
d78f702401
Update feature/workspaces tests 2018-06-23 22:17:15 +02:00
Henrik Lissner
a0ffc38117
Fix listp errors in eshell when using aliases 2018-06-23 20:29:54 +02:00
Henrik Lissner
adf143a853
Fix void-variable error when installing packages
Caused by a haphazardly refactor in f6dc6ac7.
2018-06-23 20:11:43 +02:00
Henrik Lissner
81428f5bcf
Fix dante-mode hook #718 2018-06-23 20:02:56 +02:00
Henrik Lissner
031deb7beb
Fix C-k keybind in pass-mode 2018-06-23 20:00:21 +02:00
Henrik Lissner
863fa16bcc
Refactor +workspace/new: use persp-copy
Instead of manually adding buffers to new workspace.
2018-06-23 19:59:17 +02:00
Henrik Lissner
16d3f75f1d
Minor refactor of use-package-handler/:after-call
+ Duplicate hooks aren't a problem
+ letbind `fn` only when we need it
2018-06-23 19:53:58 +02:00
Henrik Lissner
fbf7834d93
Don't delete workspace if visible in another frame
This leaves persp-mode in a semi-broken state.
2018-06-23 19:53:58 +02:00
Henrik Lissner
f6dc6ac74e
Refactor out map.el usage
After some profiling, it turns out map-put and map-delete are 5-7x
slower (more on Emacs 25) than delq, setf/alist-get and add-to-list for
small lists (under 250 items), which is exactly how I've been using
them.

The only caveat is alist-get's signature is different on Emacs 25, thus
a polyfill is necessary in core-lib.
2018-06-23 19:53:54 +02:00
Henrik Lissner
f602a1f607
Merge pull request #714 from patrl/pandoc
Added basic +pandoc feature to markdown module
2018-06-23 19:44:54 +02:00
Henrik Lissner
128af3f1e1
Merge pull request #718 from patrl/improve-dante
Refactored +dante feature
2018-06-23 19:40:37 +02:00
Henrik Lissner
8e54c4f373
Merge pull request #720 from bandresen/lang-clojure__cutting
Cut: lang/clojure: unneeded + subjective parts
2018-06-23 19:31:54 +02:00
Henrik Lissner
3d5f891d37
Merge pull request #719 from bandresen/unified-vc-hydras
ui/vc emacs/vc: unify hydra design
2018-06-23 19:30:45 +02:00
Benjamin Andresen
7b0d57a745 Cut: lang/clojure: unneeded + subjective parts
str => clojure.string is already defined in `cljr-magic-require-namespaces'
re-frame + reagent is subjective (for personal configuration)

fighweel aspect is now handled upstream by giving a prompt
see: `cider-cljs-repl-types'
2018-06-23 18:44:50 +02:00
Patrick Elliott
2589619793 simplified hook 2018-06-23 17:51:22 +02:00
Benjamin Andresen
61cdac230f ui/vc emacs/vc: unify hydra design
this design will also break less based on the fonts
2018-06-23 16:25:58 +02:00
Patrick Elliott
7627b04f18 Refactored dante feature. 2018-06-23 15:59:03 +02:00
Henrik Lissner
a53503eadb
Fix +pass functions failing to locate pass entries
They use `password-store-dir` to determine where password-store is, but
that function isn't loaded in time for them to use it!
2018-06-23 01:55:52 +02:00
Henrik Lissner
34cd055670
Autoload +pass/ivy 2018-06-23 01:53:59 +02:00
Henrik Lissner
0bea00c183
Fix with-popup-rules! macro
Mistreating its RULES argument, causing void-function errors.
2018-06-22 19:17:15 +02:00
Patrick Elliott
5f5732b95b added rudimentary support for markdown compilation via pandoc 2018-06-22 14:02:35 +02:00
Patrick Elliott
c99a02fa53 added check for pandoc executable when +pandoc feature is enabled 2018-06-22 14:02:35 +02:00
Henrik Lissner
25bc9cfbaf
Fix +lookup/file in non-file-visiting buffers
Throws a stringp error is buffer-file-name is nil.

Reported by @myme
2018-06-22 13:42:47 +02:00
Henrik Lissner
4ad9e18135
+default/easymotion => +evil/easymotion 2018-06-22 12:02:31 +02:00
Henrik Lissner
ab01e0167d
Fix evil-easymotion lazyloading middleman
It would fire off the wrong prefix when no operator was active (thus
passing nil to where-is-internal).

Reported by @ar1a
2018-06-22 10:24:48 +02:00
Henrik Lissner
99902b29f9
Merge pull request #711 from patrl/develop
Added Zathura as a viewer option
2018-06-22 01:51:15 +02:00
Henrik Lissner
e4cfdc7fcb
Use :when instead of (when ...) block
For loading dash docsets in feature/lookup module.

Fixes 'Cannot find package' load errors during byte-compilation.
2018-06-22 01:49:21 +02:00
Henrik Lissner
16975d0dc3
Slightly smaller backtrace popups 2018-06-22 01:49:21 +02:00
Henrik Lissner
5531d7115a
Fix indentation for many autodef setters 2018-06-22 01:49:21 +02:00
Henrik Lissner
22c145105d
Add unset capability to set-electric! 2018-06-22 01:49:21 +02:00
Henrik Lissner
8c5deef5fc
Fix unintern calls (missing second argument) 2018-06-22 01:49:21 +02:00
Henrik Lissner
0d19b9e61c
Refactor +file-templates--expand 2018-06-22 01:49:21 +02:00
Henrik Lissner
fe44d71965
Add repl+lookup handlers and popup rule for sly 2018-06-22 01:49:21 +02:00
Henrik Lissner
13cb219e49
lang/common-lisp: improve evil+sly integration 2018-06-22 01:49:21 +02:00
Henrik Lissner
3a3eb92087
Move :tools rotate-text to :editor rotate-text
This change was a long time coming.
2018-06-22 01:49:20 +02:00
Henrik Lissner
be48751a45
Change unsetting with set-lookup-handlers!
Instead of passing :unset, pass in nil as its second argument.
2018-06-22 01:49:20 +02:00
Henrik Lissner
ff7823bfc9
Refactor module deprecation checks in doom!
Also changes the structure of doom-obsolete-modules, and adds :feature
version-control to it.
2018-06-22 01:49:20 +02:00
Henrik Lissner
60779c9aed
feature/version-control => ui/vc-gutter, emacs/vc
Reorganize vcs functionality. Moves the custom fringe bitmaps into :ui
vc-gutter.
2018-06-22 01:49:20 +02:00
Henrik Lissner
e05d7cfee0
Change flycheck initialization strategy
Initialize it globally and turn it off where needed, instead of enabling
it on demand. Also fixes void-function: flycheck-mode errors when
:feature syntax-checker is disabled. This is experimental.

Indirectly fixes #710
2018-06-22 01:49:20 +02:00
Henrik Lissner
dbc7b667cf
Simplify set-docset! & add unset capability
Removed :add and :remove capabilities. Now appends the provided docset
to the mode's list of docsets, if one exists.
2018-06-22 01:49:20 +02:00
Henrik Lissner
ad2de8e2e5
Fix set-devdocs! not setting docsets properly
Would use MODES as a key, instead of mode.
2018-06-22 01:49:20 +02:00