Henrik Lissner
84a063ca78
tools/eval: add +overlay feature
...
Now, inline evaluation will display results in an overlay next to the
cursor, rather than in the minibuffer (unless it gets too big, in which
case it'll use a popup buffer).
2019-10-26 02:12:58 -04:00
Henrik Lissner
07067bd304
lang/org: reformat packages.el
2019-10-25 20:29:00 -04:00
Henrik Lissner
5f00db871e
lang/org: major refactor & add org-fancy-priorities package
...
- Fixes an issue where evil bindings weren't working in org-mode
- Significantly slims down on unnecessary keybinds
- Remove +org-init-keybinds-for-evil-h hook and reli more on our new
evil-org fork, which has upstreamed some of our changes.
- Documents undocumented functions, remove unnused ones, and reorganize
org's autoload libraries by convention.
- Adds org-fancy-priorities for more elegant (and subtle) priority
display than ugly [#A] tags.
2019-10-25 20:25:20 -04:00
Henrik Lissner
4478fceaf5
lang/emacs-lisp: add 'SPC m e l' & 'SPC m g l'
...
For loading libraries and jumping to their source code.
2019-10-25 20:25:20 -04:00
Akhil Wali
e60db77511
[org +gnuplot] Warn if gnuplot is not installed
2019-10-25 22:13:01 +13:00
Henrik Lissner
7f44774c43
lang/faust: fix unfiltered code completion
2019-10-24 19:22:15 -04:00
Henrik Lissner
6b327dfcca
lang/cc: fix default style in C/C++ modes
...
c-default-style wasn't being used correctly.
2019-10-24 17:03:08 -04:00
Henrik Lissner
423c2958b6
lang/python: load lsp-python-ms after python
...
To isolate errors caused upstream (e.g. emacs-lsp/lsp-python-ms#68 )
2019-10-24 17:03:03 -04:00
Henrik Lissner
334c309ae7
lang/org: org-clock-out-remove-zero-time-clocks = nil
...
Half-reverts 29f6db6ea
. Hadn't realized this setting would remove
the *entire* logbook if you clock out with sub 1m on a task.
Mentioned by @d1egoaz in 29f6db6
2019-10-24 15:04:08 -04:00
Henrik Lissner
a1f6f77ca0
Remove redundant flyspell-mode hook in latex
...
flyspell-mode is already on text-mode-hook
2019-10-24 13:39:03 -04:00
Henrik Lissner
3140ab7337
lang/latex: fix advice name conflict #1849
2019-10-23 22:28:44 -04:00
Henrik Lissner
9177c1b07a
lang/python: ensure anaconda is started after lsp
2019-10-23 22:09:28 -04:00
Henrik Lissner
42421a765d
Avoid fallback completion if lsp--buffer-deferred
2019-10-23 22:08:28 -04:00
Henrik Lissner
0b67251159
tools/eval: associate plist with repl handlers
...
Also consolidates all REPLs (opened through the :tools eval module)
under one popup rule, which inhibits ESC from prematurely closing
them (#1944 ), and cleans up after their buffers *only* if their handlers
weren't specified to :persist, e.g.
(set-repl-handler! 'some-mode #'some-repl-handler :persist t)
Also standardized ESS's REPL commands.
2019-10-23 21:41:23 -04:00
Henrik Lissner
e6094f262f
lang/emacs-lisp: don't resize non-output windows
2019-10-23 18:30:03 -04:00
Henrik Lissner
b556fa7d3f
lang/org: explain org-babel-js-function-wrapper setting
2019-10-23 18:05:15 -04:00
Henrik Lissner
3dd09b327f
lang/org: tie evil-org to :editor evil +everywhere
2019-10-23 18:00:11 -04:00
Henrik Lissner
fb28586795
lang/org: use fork of evil-org
...
First step to fixing its issues.
Relevant to #1897 , #1828
2019-10-23 18:00:11 -04:00
Henrik Lissner
009cfbcb90
lang/cc: fix false negatives from rc/rdm checks #1864
2019-10-23 16:07:59 -04:00
Henrik Lissner
91deaa49eb
lang/plantuml: error on export in server mode
...
'server compilation fails when exporting org files with plantuml
diagrams.
2019-10-23 14:36:40 -04:00
Henrik Lissner
237d2d3c3a
lang/latex: fix fix for fill-paragraph in latex-mode #1849
2019-10-23 14:14:33 -04:00
Henrik Lissner
cf2cea75cf
lang/org: remove org-babel-get-header polyfill
...
If packages haven't caught up by now, oh well! ob-spice hasn't, that's
for sure.
2019-10-23 13:21:47 -04:00
Henrik Lissner
f3ca420c27
lang/plantuml: fix ob-plantuml previews with jar
...
If plantuml-default-exec-mode is 'server, the image is compiled via the
website and downloaded. If it's 'executable it uses the local 'plantuml'
executable (determined by plantuml-executable-path) to compile it. If
it's 'jar it uses the local 'plantuml.jar' (determined by
plantuml-jar-path).
The first two were tested and work, but 'jar did not, until now.
2019-10-23 13:04:25 -04:00
Henrik Lissner
e1622142ed
Minor, general refactors
2019-10-23 03:57:48 -04:00
Henrik Lissner
a3765aca32
lang/plantuml: fix org-babel+plantuml executor
2019-10-23 03:24:34 -04:00
Rudi Grinberg
b19178280d
lang/ocaml: disable merlin when lsp is active ( #1939 )
...
Signed-off-by: Rudi Grinberg <rudi.grinberg@gmail.com>
2019-10-23 01:38:13 -04:00
Qianchuan Ye
da765bebda
lang/latex: fix rainbow-delimiters-mode
2019-10-22 23:23:53 -04:00
Qianchuan Ye
1e90bc8c14
lang/latex: fix typo
2019-10-22 23:23:41 -04:00
Henrik Lissner
373d920715
lang/emacs-lisp: resize eval popup to fit contents
2019-10-22 19:57:57 -04:00
Henrik Lissner
fecca3188a
lang/rust: rust-match-angle-brackets = nil (for evil users)
2019-10-22 19:37:30 -04:00
Henrik Lissner
20a7a1cf15
lang/org: bind gr = org-ctrl-c-ctrl-c
2019-10-22 18:52:39 -04:00
Henrik Lissner
21ac9a28ec
lang/org: evil-org-use-additional-insert = t
...
Bind meta + {,shift + }{h,j,k,l} keys. These substitute for the
navigation and shifting localleader keys.
2019-10-22 18:52:36 -04:00
Henrik Lissner
0b1f3567a3
lang/plantuml: force ob-plantuml to build w/ plantuml-mode
...
It is more sophisticated and robust.
2019-10-22 18:50:33 -04:00
Henrik Lissner
fa9001aacb
lang/org: refresh inline images after executing src blocks
2019-10-22 17:58:30 -04:00
Henrik Lissner
63ee940a7e
lang/go: move go-gen-test keybinds onto t prefix
2019-10-22 12:35:12 -04:00
nobv
5de62574bc
Add support for go-gen-test
2019-10-23 01:06:46 +09:00
Henrik Lissner
e31f51e0ba
lang/emacs-lisp: recreate output popup on eval
...
If we don't, the popup doesn't resize itself if the contents shrink or
grow.
2019-10-22 00:34:16 -04:00
Henrik Lissner
c034bfdc87
tools/lsp: minor refactor & comment variables
...
Also moves lsp-fsharp-server-install-dir to
~/.emacs.d/.local/etc/lsp-fsharp
2019-10-21 19:01:06 -04:00
Henrik Lissner
badff31ee2
lang/org: fix off-by-one coloring in eldoc breadcrumbs
2019-10-21 14:45:43 -04:00
Henrik Lissner
af7f75089f
lang/data: sync tab-width with mode indent vars
2019-10-21 09:39:54 -04:00
Henrik Lissner
8eb9cf5b30
lang/coq: setup company ourselves + minor refactor
...
company-coq imposes its own value for company-idle-delay, potentially
overriding the user's customizations, so we set up company ourselves.
2019-10-21 09:01:49 -04:00
Henrik Lissner
9f332c0201
lang/python: lsp-python-ms-python-executable-cmd = python-shell-interpreter
2019-10-21 06:26:57 -04:00
Henrik Lissner
88857b34ed
lang/haskell: prevent 'kill the whole session' prompts
...
When closing the haskell-interactive-mode popup.
2019-10-21 06:26:57 -04:00
Henrik Lissner
993e14b2e8
Merge pull request #1920 from rgrinberg/coq-disable-electric-terminators
...
lang/coq: proof-electric-terminator-enable = nil
2019-10-20 19:59:20 -04:00
Henrik Lissner
1694641636
lang/org: minor refactor of contrib submodules
2019-10-20 19:57:28 -04:00
Henrik Lissner
c5464f1798
lang/org: replace ox-reveal w/ org-re-reveal
...
ox-reveal is no longer maintained, and has been replaced with
org-re-reveal; a fork.
2019-10-20 19:57:27 -04:00
Henrik Lissner
0218985b3e
lang/ess: use run-ess-julia for ess-julia-mode REPL
2019-10-20 19:57:27 -04:00
Henrik Lissner
e0469e14c0
Minor refactors & reformatting across the board
2019-10-20 19:57:27 -04:00
Henrik Lissner
8b18604b63
lang/sh: remove /bin/* fallback mode assocation
...
Now that doom-guess-mode-h exists (which will set the major mode when
you save a file in fundamental-mode), this association isn't needed
anymore (because doom-guess-mode-h will deduce the mode from the
shebang line).
2019-10-20 15:14:38 -04:00
Henrik Lissner
7e3849be67
lang/org: remove unnecessary toc-org advice
...
It was initially written to avoid the cursor hopping about the buffer
when regenerating the table of contents. This isn't really an issue
anymore. Although, I would like to prevent emacs from adding adding an
undo step when it is regenerated...
2019-10-20 15:14:38 -04:00