Commit Graph

3273 Commits

Author SHA1 Message Date
Undead Kernel
5385ee4f35 lang/latex: +pdf-viewers ordering and hook type-o
Previously, the last viewer set in `+latex-viewers` would take
precedence. The list is now reversed before applying changes so that the
first set has precedence.

The wrong hook variable was used to revert view buffers after compilation.
2019-09-26 14:35:44 +02:00
Henrik Lissner
4d910accc9 lang/python: revise comments in conda config 2019-09-22 14:05:03 -04:00
Henrik Lissner
342d7f8f12 Minor reformatting & comment revision 2019-09-22 11:59:53 -04:00
Henrik Lissner
bdd51cdee9 lang/org: fix promotion/demotion ctrl keys 2019-09-22 11:39:28 -04:00
Henrik Lissner
6f9b7a2889 lang/nix: add ivy version of helm-nixos-options
And make it nix-mode's lookup-documentation handler, so pressing `K` on
an option will prefill the ivy search.
2019-09-21 13:57:26 -04:00
Henrik Lissner
e10cd8cf2e Insult byte-compiler's mom
Yeah, that shut him up.
2019-09-20 23:10:53 -04:00
Evan Lecklider
de43b499da Add .svelte to web-mode
With the merge of https://github.com/fxbois/web-mode/pull/1074, web-mode now supports Svelte templates. This change activates web mode when opening a `.svelte` file.
2019-09-20 13:50:43 -07:00
Henrik Lissner
f05512c2e5 lang/rust: restore advice redefs
Update package-installed-p redefinition to use a safe `require`, so that rustic-setup-rls will fail gracefully if lsp/eglot aren't available.

And restore rustic-install-rls-client-p redefinition to prevent rustic from trying to install packages.
2019-09-20 14:49:39 -04:00
Andrew Whatson
8e9d3fdc5d Fix package-installed-p hack for rustic 2019-09-20 21:49:44 +10:00
Henrik Lissner
7f2c7e7ae3 lang/rust: prevent rustic from installing packages 2019-09-20 00:11:02 -04:00
Henrik Lissner
4aff103770 Merge pull request #1785 from rgrinberg/org-journal-feature
lang/org: add +journal feature (org-journal)
2019-09-19 12:57:48 -04:00
Rudi Grinberg
1ffaa699f8 Fix naming convention
Signed-off-by: Rudi Grinberg <rudi.grinberg@gmail.com>
2019-09-19 23:01:08 +09:00
Rudi Grinberg
46c0ec0f11 [emacs lisp] Add bindings for debugging defuns
`, d f` - turn on debugging for defun
`, d F` - turn off debugging for defun

Signed-off-by: Rudi Grinberg <rudi.grinberg@gmail.com>
2019-09-19 13:58:16 +09:00
Rudi Grinberg
baf9b3bc87 Use cookie for journal feature check
The :when option in the use-package clause is then removed

Signed-off-by: Rudi Grinberg <rudi.grinberg@gmail.com>
2019-09-18 13:30:26 +09:00
Rudi Grinberg
aa1d2f5d51 org-journal: defer config
Signed-off-by: Rudi Grinberg <rudi.grinberg@gmail.com>
2019-09-18 13:29:51 +09:00
Rudi Grinberg
594e38fd47 Move org-journal config to contrib
Signed-off-by: Rudi Grinberg <rudi.grinberg@gmail.com>
2019-09-18 13:29:06 +09:00
Henrik Lissner
06328840c3 lang/org: split compound condition into two :when's 2019-09-15 19:23:06 -04:00
Henrik Lissner
e956c0dc5a lang/rust: enable rainbow-delimiters-mode #1787 2019-09-15 12:06:40 -04:00
Rudi Grinberg
7886138f5b Add support for org-journal
Signed-off-by: Rudi Grinberg <rudi.grinberg@gmail.com>
2019-09-15 13:56:43 +09:00
Henrik Lissner
a736158dae lang/ocaml: update README 2019-09-13 22:04:53 -04:00
Henrik Lissner
2d365619cd General refactor & cleanup, across the board 2019-09-13 22:00:34 -04:00
Henrik Lissner
83c95ddaa0 lang/clojure: general refactor
To optimize load time and conform to new elips conventions introduced
with straight.el integration.
2019-09-13 22:00:34 -04:00
Henrik Lissner
31ccd9be78 Replace vestigial references to def-package!
def-package! is deprecated and is replaced with use-package! to reduce
confusion about its purpose and connection to use-package.
2019-09-13 22:00:34 -04:00
Henrik Lissner
016f6c1b8b lang/scheme: general refactor
To optimize it and conform to new elips conventions introduced with
straight.el integration.
2019-09-13 22:00:33 -04:00
Henrik Lissner
c3997730dd lang/org: rebind zn to org-tree-to-indirect-buffer
To match global behavior of zn (narrow in indirect buffer).
2019-09-13 00:28:08 -04:00
Jake Coble
d3b1ef72c2 Use org-startup-indented instead of mode hook 2019-09-12 14:04:38 -07:00
Henrik Lissner
a16838b7c2 Merge pull request #1759 from rgrinberg/lean-mode
Add lang/lean module
2019-09-11 23:42:27 -04:00
Henrik Lissner
1c05773c39 General, minor refactors & comment revision 2019-09-11 23:41:08 -04:00
Henrik Lissner
f9feaec5bd lang/web: fix stylus-mode (install sws-mode) #1775
For some reason, even though sws-mode is a declared dependency of
stylus-mode, it doesn't get installed, so we have to do so manually.
2019-09-11 23:41:08 -04:00
Henrik Lissner
b1f9965fe7 lang/python: install lspyls in doom-etc-dir #1776 2019-09-11 23:41:08 -04:00
Henrik Lissner
6f6e30c428 ui/popup: refactor org hacks
This removes a few popup advice functions that are no longer necessary
and changes how we handle org agenda windows (they're now displayed in
the current window, rather than a popup -- see org-agenda-window-setup
to change this).

Other issues addressed:

+ Fixes 'Attempt to delete main window of frame' errors when using
  org-todo from popups (particularly in daemon Emacs).
+ Removed the custom 'popup-window options for org-agenda-window-setup
  and org-src-window-setup, and change them to 'current-window and
  'other-window, respectively.
2019-09-10 14:54:13 -04:00
Rudi Grinberg
8778eb2288 Disable auto initializatinon of company in lean mode
Signed-off-by: Rudi Grinberg <rudi.grinberg@gmail.com>
2019-09-10 09:47:56 +09:00
Rudi Grinberg
2527306069 Use map! with after! to setup bindings
Signed-off-by: Rudi Grinberg <rudi.grinberg@gmail.com>
2019-09-10 09:47:56 +09:00
Rudi Grinberg
dbf9e9e2c7 Add a module for the lean theorem prover
Signed-off-by: Rudi Grinberg <rudi.grinberg@gmail.com>
2019-09-10 09:47:56 +09:00
Henrik Lissner
23509d22c5 Merge pull request #1761 from rgrinberg/coq-bindings
lang/coq: add localleader key bindings
2019-09-08 21:00:33 -04:00
Henrik Lissner
a3a73bd316 Handle non-string/symbol langs in babel lazy loader
Possibly addresses #1745
2019-09-08 20:55:21 -04:00
Henrik Lissner
d0e3bc3455 Fix #1765: enabling tide when lsp is active 2019-09-08 19:20:42 -04:00
Rudi Grinberg
081e57dc10 Add coq key bindings
These bindings are modelled afer the bindings in spacemacs

Signed-off-by: Rudi Grinberg <rudi.grinberg@gmail.com>
2019-09-08 17:44:12 +09:00
Henrik Lissner
1539387747 Reformat docs/api.org 2019-09-07 19:57:58 -04:00
Henrik Lissner
f816149589 lang/org: update +org/remove-link
To reflects changes made upstream, in org.
2019-09-07 19:57:58 -04:00
Henrik Lissner
8d50280168 lang/agda: reformat map! call
To match other uses of map!
2019-09-07 19:57:58 -04:00
Sunn Yao
e1d1d148c1 lang/plantuml: fix regexp in plantuml--fix-atstart-in-org-src-blocks-a (#1760)
* Fix a regexp bug
* [:blank:] never match '\n', so add '\n' to regexp
2019-09-07 12:16:08 -04:00
Sunn Yao
b6b2d74f25 lang/plantuml: fix src blocks that start w/ @start (#1746)
* Fix advice bug of chinese and japanese
* Fix bugs of advice
* Update config.el
* Fix "@start" prefix execute error on ob-plantuml
* replace with 'after!' and rename advice function
2019-09-07 00:27:23 -04:00
Henrik Lissner
580cf639c1 Merge pull request #1748 from babariviere/develop
Add go-add-tags for go-mode
2019-09-06 19:18:17 -04:00
babariviere
3d1e232f50 add go-add-tags for go-mode 2019-09-06 11:00:24 +02:00
Henrik Lissner
ac5168f8af lang/javascript: use-package -> use-package! #1712 2019-09-06 01:32:20 -04:00
Henrik Lissner
d8d4337228 Merge pull request #1622 from jsravn/fix-go-test-rerun
Fix +go/test-rerun
2019-09-06 01:05:45 -04:00
Henrik Lissner
01c9ec0c7f Merge pull request #1716 from flatwhatson/sh-keywords
Add ln to +sh-builtin-keywords
2019-09-06 00:50:04 -04:00
Henrik Lissner
2731a5cd9a Merge pull request #1756 from rgrinberg/fix-readme-agda
Fix wiki for agda
2019-09-06 00:47:47 -04:00
Henrik Lissner
49d86ae648 lang/lua: conform hooks to new naming convention 2019-09-06 00:34:23 -04:00