Commit graph

8344 commits

Author SHA1 Message Date
Zaiste
b4f0d60894
fix: allow deadgreap folding in normal mode 2018-10-08 18:37:13 +02:00
Michael Fiano
215ef4595c Added cider config and key bindings 2018-10-07 22:20:18 -04:00
Michael Fiano
5735a994e0 Do not display debugger or inspector buffers in a popup window. 2018-10-07 21:50:46 -04:00
Henrik Lissner
cdf745e72a
map!: remove buffer-local :desc properties
which-key labels are registered globally, and will not work for
buffer-local keybinds. Until general is brought in, we'll have to suffer
label-less localleader keybinds.
2018-10-07 21:34:24 -04:00
Henrik Lissner
f0465f22cc
tools/magit: fix +magit/quit & default display fn
When used with magit-display-buffer-traditional, q wouldn't close the
window, just kill the buffer inside.
2018-10-07 11:12:51 -04:00
Sebastian Wild
b89fcd8726
Replace Coq-Mode abbreviations with yasnippet
Since ProofGenerals abbreviation usage interfers with
evil-mode, this empties the abbreviation table of coq-mode.
The abbreviations got transformed into yasnippet snippets
and put into hlissner/emacs-snippets#4.
2018-10-07 09:18:25 +02:00
Henrik Lissner
a078e3f4b2
lang/common-lisp: fix sly-mode localleader keys
This fixes a bug that caused evil keybinds on sly-mode-map to be
inaccessible until you switched states.
2018-10-07 00:47:14 -04:00
Henrik Lissner
ba93402dcc
lang/python: fix typo in +python-version
Thanks to @ztlevi
2018-10-07 00:46:50 -04:00
Henrik Lissner
352d9902e4
Fix set-eval-handler!
This ensures eval handlers shadow the correct entries in
quickrun--language-alist, rather than adding new/duplicate ones.
2018-10-07 00:36:34 -04:00
Henrik Lissner
34d7e327b2
lang/common-lisp: sly-eval-region = eval handler
This allows you to use the `gr` operator to evaluate code on-the-fly.
2018-10-07 00:35:41 -04:00
Henrik Lissner
e70a8d925e
lang/common-lisp: fix consp errors on load 2018-10-07 00:35:25 -04:00
Henrik Lissner
d84b516cf4
lang/common-lisp: don't start sly in temp buffers
Org source blocks use a temp buffer in lisp-mode to natively fontify CL
blocks, which can trigger sly. This prevents that.
2018-10-07 00:33:58 -04:00
Henrik Lissner
f325275607
Merge pull request #936 from amosbird/patch-7
Rule is too restrict for file templates
2018-10-06 23:41:24 -04:00
Henrik Lissner
f416e28857
lang/org: refactor default org-todo-keyword-faces
To ensure consistency
2018-10-06 20:57:43 -04:00
Henrik Lissner
675f4fa821
lang/latex: enable flyspell-mode after local-vars
Gives setq hooks and file/directory-local variables the opportunity to
take effect before flyspell activates.
2018-10-06 20:56:18 -04:00
Henrik Lissner
06cf518af8
lang/java: set meghanada-use-* vars earlier
Fixes a race condition where certain features ended up enabled too late
for the first buffer.
2018-10-06 20:44:25 -04:00
Henrik Lissner
d21887149f
Minor refactor/reformatting 2018-10-06 20:44:25 -04:00
Henrik Lissner
9185da824c
lang/python: remove +ipython flag
+ Replace +ipython functionality with +python/open-ipython-repl command.
+ Use python-shell-interpreter for eval handlers, repl and python
  version detection.
+ Removed various python-shell-* variables for ipython; they are already
  supported upstream.
2018-10-06 20:44:25 -04:00
Henrik Lissner
7c6e2e705f
lang/python: add Ipython/Jupyter REPL commands 2018-10-06 20:44:25 -04:00
Henrik Lissner
301a01182d
config/default: move ruby sp rules
To group them with other major mode rules
2018-10-06 20:44:25 -04:00
Henrik Lissner
9a17c909c9
Don't always create dummy files on doom quickstart
Only when DOOMDIR doesn't exist.
2018-10-06 20:44:25 -04:00
Henrik Lissner
5d3bada86e
Don't byte-compile xdg-path in doom-private-dir
The danger of a stale value post-byte-compilation far outweighs the
benefits.
2018-10-06 20:44:25 -04:00
Henrik Lissner
77510ed2d8
app/write: monospaced indentation in org 2018-10-06 20:44:25 -04:00
Henrik Lissner
661632d55e
ui/vc-gutter: fix git-gutter in tty Emacs
Use git-gutter-mode in tty Emacs, and git-gutter-fringe in GUI Emacs.
2018-10-06 20:44:25 -04:00
Henrik Lissner
706da14ec9
ui/modeline: fix void-variable evil-visual-* errors
For non-evil users.
2018-10-06 20:44:22 -04:00
Henrik Lissner
134e0218af
Merge pull request #928 from ztlevi/develop
fix `+macos/open-in-default-project` under `ranger-mode`
2018-10-06 20:44:09 -04:00
Amos Bird
ab273db50d
Rule is too restrict for file templates 2018-10-06 23:52:18 +08:00
Dominik Süß
c9aca5a81e Updated documentation to use better gocode fork (supports Go 1.11+) 2018-10-06 14:47:06 +02:00
Henrik Lissner
6a17b193ea lang/purescript: fix set-lookup-handler! indent 2018-10-04 23:44:17 +02:00
Martin Øinæs Myrseth
39059702c8 lang/haskell: Register intero-company backend 2018-10-04 21:56:43 +02:00
Martin Øinæs Myrseth
e44bb536b9 lang/purescript: Add lookup handlers
Add psc-ide-goto-definition and purescript-pursuit as definition and
documentation lookup handlers.
2018-10-04 21:56:43 +02:00
Ting Zhou
e4191a944b fix +macos/open-in-default-project under ranger-mode 2018-10-04 11:13:51 -07:00
Henrik Lissner
d8dbd0759c
Merge pull request #927 from edwintorok/more-fixes
Fix some error path and typos spotted by `make compile`
2018-10-03 19:40:04 -04:00
Edwin Török
649b0795de fix org/config typo
In toplevel form:
../modules/lang/org/config.el:380:1:Warning: Unused lexical variable
    ‘seperator’

Signed-off-by: Edwin Török <edwin@etorok.net>
2018-10-04 00:38:05 +01:00
Edwin Török
e5ff6c8418 fix +format--set error path
In +format--set:
../modules/editor/format/autoload/settings.el:81:26:Warning: ‘error’ called
    with 0 args to fill 1 format field(s)

Signed-off-by: Edwin Török <edwin@etorok.net>
2018-10-04 00:38:05 +01:00
Edwin Török
cd314a1188 fix setq-hook error path
In setq-hook!:
core-lib.el:280:41:Warning: ‘listp’ called with 2 args, but requires 1

Signed-off-by: Edwin Török <edwin@etorok.net>
2018-10-04 00:38:05 +01:00
Henrik Lissner
22c85e2c5a
Merge pull request #924 from ragone/develop
mu4e-confirm-quit should be nil instead of t
2018-10-03 19:16:18 -04:00
Henrik Lissner
f0ace87a4a
Merge pull request #925 from edwintorok/fix-write-mode-fonts
Fix write mode fonts and format.el
2018-10-03 19:15:24 -04:00
Henrik Lissner
1b83d50e1c
Merge pull request #926 from MannySchneck/js2-mjs
lang/js: add .mjs to js2 auto-mode regex
2018-10-03 19:12:32 -04:00
Manny Schneck
8f2fd970e6 lang/js: add .mjs to auto-mode-alist regex 2018-10-03 18:08:28 -05:00
Edwin Török
58dd73030c +write-mode: initialization functions were not run
setting +write-mode-hook had no effect because +write-mode-hook was not
defined yet, it is only defined by the minor mode definition inside
autoload.el (which didn't get autoloaded yet).

Due to this when activating `+write-mode` the `mixed-pitch-mode` did not
get activated.

Fix this by moving these all to autoload.

Signed-off-by: Edwin Török <edwin@etorok.net>
2018-10-03 23:03:11 +01:00
Edwin Török
7795da4800 Fix doom-serif-font and doom-variable-pitch-font: they need to be set for current frame too
On Emacs 26.1 these two font settings had no effect on the main frame.

Signed-off-by: Edwin Török <edwin@etorok.net>
2018-10-03 23:03:11 +01:00
Edwin Török
6859f77e1d format.el: fix Wrong type argument: listp, t
The intention here was to build a list of two elements.

Signed-off-by: Edwin Török <edwin@etorok.net>
2018-10-03 23:03:11 +01:00
Henrik Lissner
5b4690419b
Increase doom-large-file-size threshold to 2mb
1mb is a little *too* conservative.
2018-10-03 15:10:08 -04:00
Henrik Lissner
48f7d33c03
Don't doom|check-large-file on tags files
Fixes an issue where reading TAGS files could cause "%s is a large file,
open literally to avoid performance issues?" prompts every time you open
a project file, if the tags file was larger than `doom-large-file-size'
2018-10-03 15:08:25 -04:00
Henrik Lissner
b4b19c40bf
company-capf = universal default company-backend
Also removes company-files from sly-mrepl-mode, because sly's capf
completion includes file completion.
2018-10-03 11:18:58 -04:00
Henrik Lissner
bc16ef5431
ui/tabbar: add tabbar-mode to doom-init-ui
Not that anybody should be using this module anyway...
2018-10-03 11:15:51 -04:00
Henrik Lissner
ed48c2d54d
Add SPC b {n,p} keys for {next,prev}-buffer 2018-10-03 11:15:27 -04:00
Henrik Lissner
ec44c5a702
Add SPC b - to toggle buffer narrowing 2018-10-03 11:14:55 -04:00
Henrik Lissner
fe425c005e
Add g-/g= keys for buffer narrowing/widening 2018-10-03 11:14:08 -04:00