Commit graph

3295 commits

Author SHA1 Message Date
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
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
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
Henrik Lissner
8bd9b24137
Add unset capability to set-file-template! 2018-06-22 01:49:20 +02:00
Henrik Lissner
445ca59b67
Correct make-buffer-local => make-local-variable
Reported by @UndeadKernel
2018-06-22 01:49:19 +02:00
Henrik Lissner
bc87ccf894
Refactor set-company-backend! & revise docstring 2018-06-22 01:49:19 +02:00
Henrik Lissner
d01f39d658
Add unsetting capability to set-pretty-symbols!
+ Allows (set-pretty-symbols! 'some-mode nil)
+ Changes the semantics of +pretty-code-enabled-modes, which is now t by
  default (meaning enable all modes). It also supports '(not ...).
2018-06-22 01:49:19 +02:00
Patrick Elliott
b096214f28 fixed typo 2018-06-21 17:15:20 +02:00
Patrick Elliott
64f77fe017 Added Zathura as a viewer option, via the feature +zathura (n.b. Zathura with synctex is already supported in AUCTeX) 2018-06-21 12:51:17 +02:00
Matthew Lyon
c0fc9d3db0 Look for the correct feature name for org+rest 2018-06-20 17:04:22 -07:00
Henrik Lissner
b0f1804799
Unbind double-quote in lisp-mode
Causes double-double-quoting. smartparens will handle it.
2018-06-20 22:58:05 +02:00
Henrik Lissner
aa4c9744f8
Fix set-company-backends! & update docstring
+ It wasn't preserving insertion order of multiple backends
+ It failed when BACKENDS = nil (supposed to unset mode backends)
+ Use eq/equal as a test-fn conditionally (glorious, glorious premature
  optimization)
2018-06-20 19:44:08 +02:00
Henrik Lissner
898449e374
Add completion/company tests 2018-06-20 19:09:05 +02:00
Henrik Lissner
d7f8a9591e
completion/ivy: replace smex with amx
Faster and maintained.
2018-06-20 18:39:44 +02:00
Henrik Lissner
3e802c1b15
Fix +default/easymotion aborting evil operator
Now evil operators will work with +default/easymotion when you first
startup Emacs.

Reported by @ar1a
2018-06-20 18:39:44 +02:00
Henrik Lissner
50b34d2671
Fix org-mode file template precedence
Otherwise default .org template always takes precedence.
2018-06-20 18:39:44 +02:00
Henrik Lissner
17678992e2
Minor, general refactor of lookup autoload library 2018-06-20 18:39:44 +02:00
Henrik Lissner
65b2d5eb28
Update +lookup/(definition|references) docs 2018-06-20 18:39:44 +02:00
Henrik Lissner
099040c523
Add helm support to +lookup defs/refs fallback
Instead of hard-coding counsel+ivy support.
2018-06-20 18:39:44 +02:00
Henrik Lissner
6d020a6305
Change add :unset support to set-lookup-handlers!
And update its documentation.
2018-06-20 18:39:44 +02:00
Henrik Lissner
d5bb770ea6
Make +(helm|ivy)-file-search public and autoloaded
So it can be safely used anywhere. Maybe these should be defgenerics?
2018-06-20 18:39:08 +02:00
Henrik Lissner
6fbd3407e0
Fix block/jsdoc comment continuation in typescript
Also improves writing block comments in js2-mode and rjsx-mode.

Reported by @ar1a
2018-06-20 14:25:05 +02:00