Commit graph

3238 commits

Author SHA1 Message Date
Henrik Lissner
68136f7ff9
lang/org: add +pretty flag; move org-superstar
org-superstar is no longer enabled by default, due to unicode-related
crashes and general slowness betraying our "gotta go fast" mantra.
2020-08-05 18:31:01 -04:00
Henrik Lissner
8ae0e79918
lang/org: add eval handler
With this, gr and gR will now work in babel blocks to execute a subset
of the block (or the whole thing, if you'd like). Results are displayed
in a popup buffer (or overlay if :tools (eval +overlay) is enabled).
2020-08-05 18:26:07 -04:00
Henrik Lissner
80e1e8ff9a
lang/org: refactor & reformatting 2020-08-05 18:26:07 -04:00
Henrik Lissner
68c15ef4ae
lang/org: tie auto-indent on RET to electric-indent
Gives the user a venue for disabling indentation behavior.
2020-08-05 18:26:06 -04:00
Henrik Lissner
863eb82efd
S-RET -> insert literal newline
A convention on many text editors and applications is to make RET
auto-indent new lines. That has already been done. Another convention is
for S-RET to insert an unindented line; this commit adds this convention
to Doom.

Relevant to #3694
2020-08-05 18:26:06 -04:00
Henrik Lissner
d81ef69525
Fix #3693: don't unfold archive trees on file-open
Also refactors +org-make-last-point-visible-h to be more realistic about
when it should and shouldn't expand the hidden region at point. Since
org-agenda-inhibit-startup is now non-nil by default it makes no sense
to test it (and it was a poor choice to begin with).

Plus, instead of using outline's API, better to use org's, even if
they're aliases or wrappers. Less of a maintenance burden.
2020-08-05 15:00:34 -04:00
Sorawee Porncharoenwase
214411edb4 racket-mode: avoid using flycheck-disable-checker
The problem is that at this point, flycheck-mode might not be active
yet. Calling flycheck-disable-checker always call (flycheck-buffer)
which would result in an error: (user-error "Flycheck mode disabled")
2020-08-04 17:30:39 -07:00
Henrik Lissner
9ac9deb0fd
Bump :lang clojure
clojure-emacs/cider@3d8552a -> clojure-emacs/cider@9e117c2

Closes #3680
2020-08-03 18:57:34 -04:00
Henrik Lissner
a1b39b4011
Bump :lang nix
NixOS/nix-mode@5b59617 -> NixOS/nix-mode@a00b3f7
2020-08-03 15:01:27 -04:00
Henrik Lissner
b8c20d50fe
Fix unreadable indentation in native elisp files 2020-08-02 18:58:58 -04:00
Henrik Lissner
de343fd314
lang/csharp: add csproj-mode package
A major mode for .NET *.proj files
2020-08-01 16:00:18 -04:00
Henrik Lissner
a954657631
Bump :lang csharp
josteink/csharp-mode@57bd21b -> josteink/csharp-mode@4885177

We're also transitioning from abbreviated SHA1 hashes to full ones. See
45cdfb125 for why.
2020-08-01 15:56:30 -04:00
Henrik Lissner
16acf1a41f
Bump :lang purescript
purescript-emacs/psc-ide-emacs@7fc2b84 -> purescript-emacs/psc-ide-emacs@663f4e2
purescript-emacs/purescript-mode@8db1d02 -> purescript-emacs/purescript-mode@154ad16

We're also transitioning from abbreviated SHA1 hashes to full ones. See
45cdfb125 for why.
2020-07-31 16:25:45 -04:00
Henrik Lissner
cccc5d2479
Bump :lang php
arnested/php-extras@d410c5a -> arnested/php-extras@81ebd7c
emacs-php/php-mode@b5d9988 -> emacs-php/php-mode@4345dfd
emacs-php/phpactor.el@31fe2ea -> emacs-php/phpactor.el@62d2372
hhvm/hack-mode@fd6a661 -> hhvm/hack-mode@572c3b4

We're also transitioning from abbreviated SHA1 hashes to full ones. See
45cdfb125 for why.
2020-07-31 16:07:13 -04:00
Henrik Lissner
38390be0db
Bump :lang markdown
jrblevin/markdown-mode@770e3aa -> jrblevin/markdown-mode@fa9fa20
seagle0128/grip-mode@9615c47 -> seagle0128/grip-mode@52768a0
2020-07-31 16:05:56 -04:00
Henrik Lissner
ecaa246361
Bump :lang ocaml
diml/utop@30c77ce -> diml/utop@7bc5117
ocaml-ppx/ocamlformat@5282e04 -> ocaml-ppx/ocamlformat@27a49cc
ocaml/dune@1944d0f -> ocaml/dune@66cfb3a
ocaml/tuareg@c12061e -> ocaml/tuareg@ccde45b

We're also transitioning from abbreviated SHA1 hashes to full ones. See
45cdfb125 for why.
2020-07-31 16:05:37 -04:00
Henrik Lissner
434f107099
lang/org: org-latex-prefer-user-labels = t 2020-07-31 15:58:09 -04:00
Henrik Lissner
d6fb7d8ac6
lang/org: fix mode restart in buried agenda buffers
Would formerly only apply when persp-mode was active, but this has
nothing to do with persp-mode, specifically.
2020-07-31 15:57:59 -04:00
Henrik Lissner
ff18b1329e
Fix #3660: inhibit expensive mode hooks in src blocks
Speeds up native indentation on RET or TAB in org src blocks.

Also, only reindent natively on RET if org-src-tab-acts-natively is
non-nil.
2020-07-31 15:42:27 -04:00
Henrik Lissner
e58ff8ebf0
lang/org: mention org-roam's sqlite3 dependency 2020-07-31 01:40:36 -04:00
Henrik Lissner
6a64f37435
Minor refactors & revision across the board 2020-07-31 01:39:24 -04:00
Henrik Lissner
a54d2b3804
lang/org: optimize org-agenda #2672 2020-07-31 01:34:56 -04:00
Henrik Lissner
c7ceed8be7
lang/org: set 3 new defaults
org-fontify-done-headline
org-imenu-depth
org-agenda-deadline-faces
2020-07-31 01:34:24 -04:00
Henrik Lissner
8f7a8be0ca
Bump :lang org
emacs-straight/org-mode@82b496c -> emacs-straight/org-mode@a1e5bee
kaushalmodi/ox-hugo@77050d2 -> kaushalmodi/ox-hugo@75b849e
oer/org-re-reveal@f9f65f3 -> oer/org-re-reveal@c548e23
org-roam/org-roam@4d992ce -> org-roam/org-roam@0aa0a7c
2020-07-31 01:23:00 -04:00
Henrik Lissner
66e9b0afc8
Bump :lang gdscript
GDQuest/emacs-gdscript-mode@a52e91c -> GDQuest/emacs-gdscript-mode@7aea87b
2020-07-30 15:09:57 -04:00
Henrik Lissner
34e8047180
Fix #3645: stringp error starting up org-roam
A naive check upstream expects emacsql-sqlite3-executable to always be a
string, but it will be nil if sqlite3 isn't installed, so it throws an
unhelpful type error.

Relevant to #3643
2020-07-29 14:30:09 -04:00
wedens
d006f76dea org-roam: check for sqlite3 executable in doctor 2020-07-29 10:46:10 +07:00
Henrik Lissner
0e73297707
lang/org: fix edge case in +org--insert-item 2020-07-27 03:07:04 -04:00
Henrik Lissner
046dfb6475
lang/python: refactor lsp integration 2020-07-27 01:20:49 -04:00
Henrik Lissner
6ebdbafbe4
Bump :lang python
cython/cython@12ab8bc -> cython/cython@5d8527d
emacs-lsp/lsp-pyright@242d19b -> emacs-lsp/lsp-pyright@f85ad03
emacs-lsp/lsp-python-ms@7068cf0 -> emacs-lsp/lsp-python-ms@d42ffc2
pythonic-emacs/anaconda-mode@10299bd -> pythonic-emacs/anaconda-mode@6094ded
wbolster/emacs-python-pytest@09ad688 -> wbolster/emacs-python-pytest@dd05959
2020-07-27 01:19:13 -04:00
Henrik Lissner
cacc9d2e9b
lang/org: org-list-allow-alphabetical = t 2020-07-26 16:17:07 -04:00
Henrik Lissner
a5c509afff
lang/org: org-catch-invisible-edits = 'smart 2020-07-26 16:17:07 -04:00
Henrik Lissner
b2e11f9a72
Revise docstrings for org hooks 2020-07-26 16:17:04 -04:00
Henrik Lissner
629c7bed8e
Rename λ! (deprecated) -> cmd! 2020-07-26 15:56:51 -04:00
Henrik Lissner
12e414be89
Rename +org/toggle-clock -> +org/toggle-last-clock
And rewrite it to ask for confirmation before clocking in on the item at
point. Without this, it's much harder to see what exactly it's doing.
2020-07-26 15:55:11 -04:00
Henrik Lissner
076cee4e89
Revise +org--insert-item
Which powers +org/insert-item-below and +org/insert-item-above.
2020-07-26 15:44:42 -04:00
Henrik Lissner
e6979166ee
Disable flycheck in racket-xp-mode
Plus minor refactors.

Closes #3594

Co-authored-by: sorawee <sorawee@users.noreply.github.com>
2020-07-26 15:09:05 -04:00
Henrik Lissner
0f39d7bda4
lang/cc: remove unnecessary settings
lsp-mode no longer uses company-lsp and with the remove of
company-prescient company-transformers is already nil.
2020-07-26 14:52:27 -04:00
Henrik Lissner
707f516edb
Merge pull request #3629 from mjlbach/feature/add_pyright
Add support for pyright language server
2020-07-25 23:28:54 -04:00
Henrik Lissner
99d5cd1fba
Check +emacs-lisp-disable-flycheck-in-dirs against default-directory
Instead of buffer-file-name, which could be nil in some buffers.
2020-07-25 16:55:54 -04:00
Michael Lingelbach
e6ae1d295c Add support for pyright language server 2020-07-25 11:39:37 -07:00
Henrik Lissner
afcf56a610
Redesign dwim RET on org headings
In an effort to make +org/dwim-at-point more useful and intuitive.

- Fix latex preview toggling in subtree
- Toggle inline images more selectively
- Clean up after itself (delete overlays)
- Update +org/dwim-at-point docstring
- Always update todo statistics, cookies, checkbox counts and ToC.
2020-07-24 19:27:50 -04:00
Henrik Lissner
aac73f4c01
Merge pull request #3613 from jsmestad/elixir-numbers-with-underscore
Support number highlighting for long Elixir numbers
2020-07-24 02:22:25 -04:00
Henrik Lissner
25008382c2
Fix void-variable: lua-lsp-dir
And refactor Lua->LSP/eglot integration.
2020-07-23 21:45:54 -04:00
Henrik Lissner
d4560a4695
Merge pull request #3618 from ericdallo/update-dart-docs
Update dart module README
2020-07-23 16:00:18 -04:00
Henrik Lissner
6e60091403
Bump :lang ruby
dgutov/robe@68503b3 -> dgutov/robe@082da38
nonsequitur/inf-ruby@41e5ed3 -> nonsequitur/inf-ruby@f3c927c
pezra/rspec-mode@9a2a9d2 -> pezra/rspec-mode@f1029ca
senny/rvm.el@134497b -> senny/rvm.el@081d517
2020-07-23 14:46:42 -04:00
Henrik Lissner
f4c2c7f9a7
Bump :lang org
bastibe/org-journal@01ea4bd -> bastibe/org-journal@a6378dc
emacs-straight/org-mode@bb427f7 -> emacs-straight/org-mode@82b496c
oer/org-re-reveal@a786188 -> oer/org-re-reveal@f9f65f3
org-roam/org-roam@fb5beeb -> org-roam/org-roam@4d992ce

Fixes #3595
2020-07-23 14:44:15 -04:00
Eric Dallo
205aed59bc
Update dart module README 2020-07-23 15:38:56 -03:00
Henrik Lissner
ddf2a1a286
Bump :lang dart
emacs-lsp/lsp-dart@10b898e -> emacs-lsp/lsp-dart@a06fc74
amake/flutter.el@293b722 -> amake/flutter.el@78b3c57

We're also transitioning from abbreviated SHA1 hashes to full ones. See
45cdfb125 for why.
2020-07-23 01:26:03 -04:00
Henrik Lissner
da1030985d
Minor refactors & reformatting 2020-07-23 01:26:03 -04:00