Commit Graph

2343 Commits

Author SHA1 Message Date
Henrik Lissner
195dfda045 Minor refactors & comment revision 2020-01-02 21:16:02 -05:00
Henrik Lissner
a9763fe76b Fix vestigial reference to +org-attach/uri 2020-01-02 16:22:52 -05:00
Henrik Lissner
647750c18c Add org heading support to bookmark.el 2020-01-02 04:52:30 -05:00
Henrik Lissner
13e2eefae1 Move org-id-locations-file to org-directory
It makes more sense to store this file where you keep your org files,
rather than in Doom's .local files, which could be deleted for
debugging, or local only to a specific machine.

Also make ID links relative to org-directory, in case you use the same
org library on a different system with different filesystem
layout/system of symlinks.
2020-01-02 04:52:30 -05:00
Henrik Lissner
d84df72364 Dumb indent on TAB when in middle of subtree 2020-01-01 21:19:22 -05:00
Henrik Lissner
07823d00a7 Fix yasnippet expansion in org src blocks
This is hacky, and causes weirdness with org-bullets-mode, but it works.
2020-01-01 21:19:22 -05:00
Henrik Lissner
5929e5b75a Add undefadvice! macro for rotate-text convenience 2020-01-01 19:34:33 -05:00
Henrik Lissner
33701ea407 Prevent packages from pulling in org
org-plus-contrib already satisfies that dependency.
2019-12-31 19:11:16 -05:00
Henrik Lissner
960d756b47 General, minor refactors 2019-12-30 18:23:56 -05:00
Henrik Lissner
b9f90b3a1a lang/org: clear src block results on TAB
When cursor is inside a src block. e.g.

  #+BEGIN_SRC elisp  <-- not here
  (message "hi")     <-- in here
  #+END_SRC          <-- not here
2019-12-30 00:07:19 -05:00
Henrik Lissner
db9bc763ef Remove redundant straight-fix-org setting
Already exists in core-packages.el
2019-12-29 19:24:55 -05:00
Henrik Lissner
14cf97e594 lang/org: use org-attach instead of custom system
- Adds more keys under `<localleader> a`
- Reconfigures org-download to use org-attach system
- Make org-id-track-globally = t a global default now (not just for
  org-brain)
- Renamed +org-init-centralized-attachments-h to +org-init-attachments-h
- org-attach-store-link-p = t (stores a link to an attachment when it is
  attached)
- org-attach-use-inheritance = t (inherit attachment properties from
  parent nodes)
2019-12-29 16:31:25 -05:00
Henrik Lissner
dafa4deef4 lang/python: autoload lsp-python-ms setup/update commands
And set lsp-python-ms-python-executable-cmd a little sooner, to make it
easier for folks to change.
2019-12-28 13:52:15 -05:00
Henrik Lissner
566d54d984 Disable continue-comments-on-RET in ess-r-mode & coq-mode
Fixes #2081, #2233
2019-12-27 13:32:24 -05:00
Henrik Lissner
e5fa19ea2d lang/emacs-lisp: fix wrong-num-args error on doc lookup 2019-12-27 04:44:20 -05:00
Henrik Lissner
0be4972257 Merge pull request #2254 from r-darwish/java-workspace
lang/java: move lsp-java-workspace-dir to doom-etc-dir
2019-12-26 15:11:02 -05:00
Henrik Lissner
5c45a9eff9 Fall back to typescript-mode for *.tsx #2252 2019-12-26 15:00:44 -05:00
Roey Darwish Dror
1c7ba9d2cb Set the directory for the Java LSP workspace 2019-12-26 14:31:51 +02:00
Henrik Lissner
fe1642e854 Add special goto def/docs support in doom! blocks
- Pressing gd on a module in your doom! block will now browse that
  module's directory.
- Pressing K on a module will jump to that module's documentation, if any.
- Pressing K on a module flag will jump to that flag's description
  within that module's documenation.
- This is now explained in init.example.el

Closes #2249
2019-12-26 01:41:45 -05:00
Henrik Lissner
44fcbb52dc Change format of doom-large-file-size-alist
Instead of mapping major modes to file size thresholds, it maps file
regexps (like auto-mode-alist) since the major mode cannot be known
before set-auto-mode is called (in after-find-file).
2019-12-25 02:13:53 -05:00
Henrik Lissner
14c87e6943 lang/org: fix some ob packages not loading #2241 2019-12-24 16:40:57 -05:00
Henrik Lissner
4d5459699a Merge pull request #2232 from ashiklom/ess-cleanup
lang/ess: fix deprecated variables
2019-12-24 14:35:33 -05:00
Henrik Lissner
a28de332fc lang/kotlin: add basic README #1166 2019-12-24 13:09:14 -05:00
Alexey Shiklomanov
29905c1496 Fix deprecated ESS variables
- `ess-smart-S-assign-key` and `ess-expression-offset` are deprecated variables
- `ess-default-style` has been replaced with `ess-style`
2019-12-23 16:34:43 -05:00
Henrik Lissner
5ecf206681 lang/org: remove select-frame-set-input-focus hack
Thanks to 3583e1f2e, this is no longer necessary.
2019-12-22 23:53:04 -05:00
Henrik Lissner
213a6fda86 General refactors & reformatting 2019-12-22 23:53:04 -05:00
Henrik Lissner
327d359fd3 lang/python: silence errors when python isn't present 2019-12-22 23:53:04 -05:00
Henrik Lissner
56ccb0dbef lang/org: load jupyter.el & add jupyter-* to org-src-lang-modes #2198 2019-12-22 00:02:26 -05:00
Henrik Lissner
a0425d0df7 lang/rust: add eglot docs & inhibit package.el usage #2195 2019-12-21 14:15:20 -05:00
Henrik Lissner
a15ab4a3f2 lang/web: add bang to :enhtml & :dehtml
BANG = copy result to clipboard instead of inserting into buffer.
2019-12-20 23:04:07 -05:00
Henrik Lissner
27cabea6b6 Fix gs in org-mode #2218
Also makes +evil/easymotion generic; it can now be moved to any key, and
new keys can be added to the <easymotion> event, rather than having to
wait for evilem-map to become available.

Also fixes +org/goto-visible if used before avy is loaded.

Relevant to #1672
2019-12-20 13:40:06 -05:00
Henrik Lissner
494e431f04 lang/org: install org-brain
Whoops!
2019-12-20 02:44:20 -05:00
Henrik Lissner
73d975de6c lang/org: make C-RET create headings instead of error 2019-12-20 02:13:11 -05:00
Henrik Lissner
322bca710a General refactors & reformatting 2019-12-20 00:59:52 -05:00
Henrik Lissner
f561abff64 Merge pull request #2205 from niklascarlsson/update_doctor_prescription
lang/plantuml: update doctor prescription
2019-12-19 18:47:00 -05:00
Henrik Lissner
52f04619a4 Merge pull request #2210 from jhacksworth/clojuredocs
lang/clojure: grimoire -> ClojureDocs
2019-12-19 18:46:03 -05:00
Henrik Lissner
9647cb0a49 lang/org: add +brain feature
No keybinding yet.
2019-12-19 18:42:37 -05:00
Henrik Lissner
95e80b00da lang/org: also require jupyter-* libs w/ ob-jupyter
Relevant to #2198
2019-12-19 18:42:05 -05:00
Henrik Lissner
c81b8445c4 lang/org: activate ob-ammonite on amm blocks
Instead of scala blocks.
2019-12-19 15:04:05 -05:00
Henrik Lissner
bc44ae0beb lang/org: add ob-ammonite 2019-12-19 14:51:34 -05:00
Henrik Lissner
af948ca390 lang/org: refactor babel loaders & fix jupyter loader #2198 2019-12-19 14:48:13 -05:00
J Hacksworth
f7acdc43f4 lang/clojure: Update to cider-clojuredocs
CIDER removed `cider-grimoire-web` as Grimoire is no longer available,
and now uses ClojureDocs:
- https://metaredux.com/posts/2019/06/29/farewell-grimoire.html
- https://github.com/clojure-emacs/cider/issues/2663
2019-12-18 15:25:35 -05:00
Henrik Lissner
c483a7f7bd lang/agda: load agda2 if +local #2203 2019-12-18 10:12:41 -05:00
Niklas Carlsson
bad4dfcd61 Update plantuml doctor prescription
This patch changes the recommendation from +plantuml/install to
plantuml-dowload-jar, when the plantuml.jar can't be found. The command
+plantuml/install has been removed in a previous patch.
2019-12-18 15:33:26 +01:00
Henrik Lissner
74d4e120c1 lang/org: fix & alphabetize flags in readme & module list 2019-12-18 09:23:21 -05:00
Henrik Lissner
f95ab47239 lang/agda: add +local flag & :nonrecursive to recipes
Relevant to #2203
2019-12-17 15:28:34 -05:00
Henrik Lissner
17d0833af1 lang/org: fix jupyter babel loader #2198 2019-12-17 15:28:34 -05:00
Henrik Lissner
e782ef1d97 lang/org: add +jupyter feature, deprecate +ipython
And disable +pandoc by default

Relevant to #2198
2019-12-16 19:25:50 -05:00
Henrik Lissner
3b2a37d9a1 lang/org: noop org-babel-do-load-languages
It's redundant with Doom's lazy loader. Remove
+org-init-babel-lazy-loader-h from org-load-hook if you want to use it.
2019-12-16 17:05:11 -05:00
chrunchyjesus
9e7cdd04da fix doc for enabling rust analyzer 2019-12-16 18:32:09 +01:00