Henrik Lissner
5a8af71b0b
refactor(org): remove unused overlay cleanup code
...
No longer used since c92937f89
.
Ref c92937f890
Ref #5524
2021-09-27 21:57:11 +02:00
Henrik Lissner
c92937f890
fix(org): invisible inline images in org-tree-slide-mode
...
Our method of hiding meta lines (like '#+attr_org: ...') was too
effective; it ended up hiding the following image as well!
Fix #5524
2021-09-27 13:37:41 +02:00
Henrik Lissner
5f1a26290c
fix(org): restore frame layout when disabling org-tree-slide-mode
2021-09-27 13:35:11 +02:00
Henrik Lissner
ed43b8e36f
tweak(org): org-startup-folded = nil
...
'nil' behaves the same as 'showeverything' in every other way, except it
respects visibility options (like 'hideblocks').
2021-09-25 23:54:44 +02:00
Henrik Lissner
d210b983d4
tweak(org): unset org-list-demote-modify-bullet
...
Imposing different list bullets per-level was a poor and jarring
default.
2021-09-25 00:55:19 +02:00
Henrik Lissner
206063f27d
tweak(org): org-imenu-depth = 6
...
Headings beyond 6 are excessive in almost any org document, and only
muddy (and slow down) imenu search results, so I'm reducing it to the
number of available HTML headings.
2021-09-25 00:54:13 +02:00
Li Yang
4c3ea13818
fix(common-lisp): recognize multi-argument inferior-lisp-program ( #5515 )
...
For example: 'ros -Q run'
Co-authored-by: liyang <7325560@qq.com>
2021-09-24 12:42:45 +02:00
Sven Fischer
595a5e665c
tweak(web): add nxml mode to LSP enabled modes
...
Since lsp-mode supports XML (see
https://emacs-lsp.github.io/lsp-mode/page/lsp-xml/ ), it makes sense to
add nxml-mode to the list of automatically enabled lsp mode clients.
2021-09-23 11:41:49 +02:00
Colin Woodbury
c3d237c3f5
fix(emacs-lisp): quiet doc lints in org src blocks
...
Opening an Org src block with `SPC m '` creates a minibuffer with no
associated file name, hence the check for `buffer-file-name`.
2021-09-23 11:37:18 +02:00
Noah Snelson
dc9e87f6d2
bump: :lang php
...
OVYA/php-cs-fixer@cc9a3624dc -> OVYA/php-cs-fixer@7e12a1af5d
Custom `php-cs-fixer` binaries specified via `php-cs-fixer-command` were
not recognized until OVYA/php-cs-fixer#16 .
Close #5513
2021-09-23 11:27:43 +02:00
Henrik Lissner
0ad7874a28
feat(web): make web-mode recognize *.[lh]eex
2021-09-16 00:29:21 +02:00
aswinmohanme
25c7f347cb
feat(web): add *.[lh]?eex support
2021-09-15 18:56:46 +02:00
Henrik Lissner
9ef5ca2922
bump: :lang
...
Andersbakken/rtags@65113e2a13 -> Andersbakken/rtags@cdff9b47fc
Emacs-Kotlin-Mode-Maintainers/kotlin-mode@0e4bafb31d -> Emacs-Kotlin-Mode-Maintainers/kotlin-mode@876cc27dc1
Groovy-Emacs-Modes/groovy-emacs-modes@99eaf70720 -> Groovy-Emacs-Modes/groovy-emacs-modes@84f89b68ec
JuliaEditorSupport/julia-emacs@fe6f6f7a80 -> JuliaEditorSupport/julia-emacs@06f6fdb94c
NixOS/nix-mode@3cca5b6527 -> NixOS/nix-mode@8e20de5ba7
OVYA/php-cs-fixer@c5b5d8a498 -> OVYA/php-cs-fixer@cc9a3624dc
ProofGeneral/PG@bc86736abb -> ProofGeneral/PG@e2b4227e1f
Raku/raku-mode@7496ad3a03 -> Raku/raku-mode@eaac071f17
Somelauw/evil-markdown@064fe9b476 -> Somelauw/evil-markdown@8e6cc68af8
StanfordLegion/terra-mode@eab9e59ded -> StanfordLegion/terra-mode@ceef8cae5b
amake/flutter.el@960b63576a -> amake/flutter.el@81c524a43c
ananthakumaran/tide@ccff099e94 -> ananthakumaran/tide@296c0e0e3a
asok/projectile-rails@6a18ada356 -> asok/projectile-rails@30828afbfa
beancount/beancount-mode@02fe03ee44 -> beancount/beancount-mode@dbafe6a73d
bradyt/dart-mode@43975c9208 -> bradyt/dart-mode@3bac14200f
brianc/jade-mode@4dbde92542 -> brianc/jade-mode@111460b056
brotzeit/rustic@6ca73bb3cc -> brotzeit/rustic@804ebfe029
cdominik/cdlatex@614a8d94f6 -> cdominik/cdlatex@f215b70c5c
clojure-emacs/clojure-mode@3e426b3a47 -> clojure-emacs/clojure-mode@e1dc7caee7
cython/cython@fae33cf7d4 -> cython/cython@aea4e6b84b
dgutov/robe@e1304d123d -> dgutov/robe@fd972e912d
emacs-csharp/csharp-mode@093f0f21a9 -> emacs-csharp/csharp-mode@fe8a68e984
emacs-ess/ESS@4fefd0feaa -> emacs-ess/ESS@a7ce81bb76
emacs-geiser/gauche@66e51430bd -> emacs-geiser/gauche@fd52cbaed9
emacs-geiser/geiser@4099dce8f5 -> emacs-geiser/geiser@327ff01e5b
emacs-lsp/lsp-metals@ca927e5a83 -> emacs-lsp/lsp-metals@695291761b
emacs-php/php-mode@cbf2723264 -> emacs-php/php-mode@535aec8173
emacs-straight/auctex@ea410dce4f -> emacs-straight/auctex@3b0a080ae5
emacs-typescript/typescript.el@1043025d42 -> emacs-typescript/typescript.el@2a58631230
erlang/otp@645ea8110d -> erlang/otp@118cb37bd5
ethereum/emacs-solidity@5f6ef3156f -> ethereum/emacs-solidity@6f7bd1641e
factor/factor@b989a860d1 -> factor/factor@7b451bb813
fsharp/emacs-fsharp-mode@93b1fbc31d -> fsharp/emacs-fsharp-mode@c90d762c06
fxbois/web-mode@8ef47935d6 -> fxbois/web-mode@61f057a6ba
greghendershott/racket-mode@7f12cb1ff2 -> greghendershott/racket-mode@a879a8d67b
haskell/haskell-mode@98ba392236 -> haskell/haskell-mode@8402caa341
hhvm/hack-mode@f9315be699 -> hhvm/hack-mode@4c1c2b0939
idris-hackers/idris-mode@f52ad0b477 -> idris-hackers/idris-mode@3cc9361b4c
immerrr/lua-mode@2bd9077dd0 -> immerrr/lua-mode@5a9bee8d5f
iyefrat/evil-tex@87445d4d23 -> iyefrat/evil-tex@aa0ddf8e76
jimhourihan/glsl-mode@b071120164 -> jimhourihan/glsl-mode@9b2e5f28e4
joaotavora/sly@41f4d65048 -> joaotavora/sly@540a8c5b9a
jrblevin/markdown-mode@359347b2bb -> jrblevin/markdown-mode@862ae8addd
jwiegley/emacs-async@9a8cd0c3d5 -> jwiegley/emacs-async@5d365ffc6a
liblit/demangle-mode@aaef0bd77a -> liblit/demangle-mode@04f545adab
necaris/conda.el@6db0720b6d -> necaris/conda.el@4de6eccda5
ocaml-ppx/ocamlformat@5dd6574d8f -> ocaml-ppx/ocamlformat@22a3707da3
ocaml/dune@75ecfe3421 -> ocaml/dune@4d0a47edd5
ocaml/merlin@5731826810 -> ocaml/merlin@e4791e2298
ocaml/merlin@5731826810 -> ocaml/merlin@e4791e2298
ocaml/tuareg@b59c422759 -> ocaml/tuareg@00faf47a7c
pashky/restclient.el@2cc1fd3496 -> pashky/restclient.el@176d9cb655
polymode/polymode@7d1f822f08 -> polymode/polymode@54888d6c15
s-kostyaev/go-gen-test@44c202ac97 -> s-kostyaev/go-gen-test@35df36dcd5
seagle0128/grip-mode@c0ca789903 -> seagle0128/grip-mode@1c82e27bee
smihica/emmet-mode@1acb821e01 -> smihica/emmet-mode@6b2e554f7f
swift-emacs/swift-mode@1b47a09f1c -> swift-emacs/swift-mode@800efe2910
technomancy/fennel-mode@a908db8696 -> technomancy/fennel-mode@47152970a9
vspinu/company-math@a796053590 -> vspinu/company-math@45778f5731
yoshiki/yaml-mode@3a57058468 -> yoshiki/yaml-mode@63b637f846
ziglang/zig-mode@0babe7ec52 -> ziglang/zig-mode@aba01b6199
2021-09-15 01:22:33 +02:00
Henrik Lissner
ad7c0876a5
refactor!(csharp): remove omnisharp-emacs
...
BREAKING CHANGE: omnisharp-emacs is being removed as it is no longer
maintained and was deprecated (see
https://github.com/OmniSharp/omnisharp-emacs ) in favor of the
omnisharp-roslyn LSP clients. It also no longer works in Emacs
28 (throwing an error when starting the server). Users need only enable
:lang (csharp +lsp) and install omnisharp-roslyn instead.
The :lang csharp module's README.org was intentionally left un-updated
because of a larger, upcoming documentation update which will reflect
these changes.
Close #5036
2021-09-15 01:22:33 +02:00
Henrik Lissner
7265fecd19
merge: pull request #5337 from iyefrat/haskell
...
Improve `:lang haskell`
2021-09-15 00:58:52 +02:00
Gerry Agbobada
4786e739af
feat(scheme): auto-add guix channels to load-path
...
Guix is detected with a simple `executable-find`, and this trick assumes
that guix is running on version 3 of Guile (which hopefully won't
change for a while)
2021-09-15 00:56:54 +02:00
Itai Y. Efrat
7d42c60f5a
refactor(haskell): move +lsp setup to config.el
2021-09-15 01:56:26 +03:00
Itai Y. Efrat
11f7b9b41a
docs(haskell): improve doctor checks
...
Co-authored-by: Daanturo <daanturo@gmail.com>
2021-09-15 01:56:26 +03:00
Itai Y. Efrat
d1555257a8
docs(haskell): rewrite readme
...
A lot of it was outdated, and now it conforms to the readme template.
2021-09-15 01:56:26 +03:00
Itai Y. Efrat
a20cd88e8e
refactor!(haskell): remove dante support
...
BREAKING CHANGE: Now that haskell-language-server is mature there is
little reason not to pick it over dante.
2021-09-15 01:56:26 +03:00
Itai Y. Efrat
6f2e05ea76
refactor!(haskell): remove ghcide support
...
BREAKING CHANGE: ghcide was archived a while back and now primarily
exists as a library used in the development of haskell-language-server.
It is not recommended for end-users, only for development. To this end I
think including it in the module is more misleading than helpful, and
the people that really want to use it can easily set it up themselves.
Ref: https://github.com/haskell/ghcide/pull/939
2021-09-15 01:56:26 +03:00
David Lukes
a03d30047c
tweak(org): map f to org-footnote-action
2021-09-14 19:25:57 +02:00
Henrik Lissner
499d368c85
bump: org-roam
...
org-roam/org-roam@028c95a011 -> org-roam/org-roam@1795039ab9
org-roam (for +roam2) was mistakenly bumped to
org-roam/org-roam-v1@946a879a4a in ec6511270
, because our bumper
couldn't distinguish the two (something else to fix!).
2021-09-14 15:22:47 +02:00
Henrik Lissner
ec6511270d
bump: :lang org
...
alf/ob-restclient.el@0ebfc7c5eb -> alf/ob-restclient.el@bfbc4d8e8a
awth13/org-appear@148aa12490 -> awth13/org-appear@a1aa8496f2
bastibe/org-journal@6c3a2fdb6c -> bastibe/org-journal@9757996ca0
emacs-straight/org@b83ae59347 -> emacs-straight/org@888aaa97c0
hakimel/reveal.js@b18f12d964 -> hakimel/reveal.js@abe9abbed7
hniksic/emacs-htmlize@4920510589 -> hniksic/emacs-htmlize@dd27bc3f26
kaushalmodi/ox-hugo@290b5d6b65 -> kaushalmodi/ox-hugo@1b8f2627cd
oer/org-re-reveal@cf000894f6 -> oer/org-re-reveal@ee712db657
org-roam/org-roam@028c95a011 -> org-roam/org-roam@946a879a4a
Close #5338
2021-09-14 14:30:06 +02:00
Henrik Lissner
e03f1d19d8
bump: :tools lsp debugger :lang (* +lsp)
...
emacs-lsp/dap-mode@d472a6c937 -> emacs-lsp/dap-mode@00e1a5d70c
emacs-lsp/lsp-dart@01d89d43f1 -> emacs-lsp/lsp-dart@64fb5d9303
emacs-lsp/lsp-haskell@eb37ac4a6a -> emacs-lsp/lsp-haskell@4e62cf897d
emacs-lsp/lsp-ivy@bccd86028e -> emacs-lsp/lsp-ivy@3e87441a62
emacs-lsp/lsp-java@b66a075bcb -> emacs-lsp/lsp-java@2a7d27e899
emacs-lsp/lsp-metals@9f82ebee48 -> emacs-lsp/lsp-metals@ca927e5a83
emacs-lsp/lsp-pyright@71a7976093 -> emacs-lsp/lsp-pyright@72fd57643d
emacs-lsp/lsp-sourcekit@ae4aa8705c -> emacs-lsp/lsp-sourcekit@97ff36b228
joaotavora/eglot@194b178ef4 -> joaotavora/eglot@c17bdf6c98
non-Jedi/lsp-julia@d4a7a27d6a -> non-Jedi/lsp-julia@809da95c05
Updates lsp-mode and all lsp packages for the LSP 8.0.0 release.
Close #5455
Close #5453
Close #5440
Close #5410
2021-09-14 14:30:05 +02:00
Ernest DONG
c0490697c0
feat(python): add eglot support for +pyright ( #5355 )
2021-09-14 14:26:24 +02:00
Erich Grunewald
19fa5e2559
docs(org): fix link to org-roam v2 in readme
2021-09-11 22:41:58 +02:00
Tej Chajed
80b2071670
fix(coq): disable spinner by default
...
This was disabled upstream in
7423ee2539
due to a serious performance impact on some systems (even if the spinner
isn't visible in the modeline).
2021-09-11 18:47:47 +02:00
Henrik Lissner
bf8495b412
fix(org): epdfinfo error when storing/exporting links
...
Here's the problem:
1. Org's link system unconditionally calls *all* link :store handlers
when you call `org-store-link`, and all :export handlers when you
export an Org file.
2. The org-pdftools package works by defining a custom pdf: link with
custom :store and :export handlers.
3. Those handlers do not perform error handling before using pdftool's
API.
4. pdf-tools fails loudly and ungracefully with a
"pdf-info-epdfinfo-program is not executable" error when its API is
used and epdfinfo isn't installed.
TL;DR org-pdftools effectively breaks storing/exporting in org-mode
until pdf-tools-install is executed to install epdfinfo. This is awful
UX, so let's suppress the error.
2021-08-22 01:41:26 -04:00
Robert Irelan
ff356e9c37
fix(org): error trying to kill dead agenda buffers
...
It may happen that org-agenda-new-buffers contains a killed buffer.
2021-08-06 03:18:47 -04:00
Henrik Lissner
f5570db4c2
perf(markdown): fontify-code-blocks-natively = nil
...
This is a source of slowdowns in markdown-mode buffers, even
ones without code blocks, which drastically affects typing and motion
latency. This appears to be an upstream issue.
2021-08-05 16:31:07 -04:00
Henrik Lissner
045ea7460d
nit: revise and reformat code comments
2021-08-04 01:53:12 -04:00
Henrik Lissner
06392a723f
refactor: rename orig-fn arg in advice to fn
...
A minor tweak to our naming conventions for the first argument of an
:around advice.
2021-08-04 01:53:12 -04:00
Rudi Grinberg
dd55ebb67a
module: add :lang dhall
...
Close #4791
Signed-off-by: Rudi Grinberg <me@rgrinberg.com>
2021-08-03 01:51:31 -04:00
Henrik Lissner
3bedae38dd
dev: transition to 12c long hashes
...
In bumps, in :pin's, and in our git conventions. We have no rules for
the commit linter for it yet, though.
2021-08-02 22:07:13 -04:00
Henrik Lissner
130c6e90d5
fix(org): doom-module links opening private modules
...
A doom-module: link should only refer to built-in modules, not
user-provided ones in $DOOMDIR/modules.
2021-08-01 23:37:36 -04:00
Joshua Suskalo
9dc0d10c09
fix(clojure,org): use cider for org-babel
...
More than a year ago a change was added to ob-clojure that prevented
evaluating a Clojure code block without setting
`org-babel-clojure-backend'. This change sets this to a default value of
CIDER, since that is the main tool used in Doom.
Without this change, manual configuration is required to use Clojure in
org babel documents.
Close #5233
2021-08-01 15:26:55 -04:00
Yoav Marco
eb3d645bde
fix(latex): bind TeX-view in LaTeX-mode-map too
...
Close #4945
2021-08-01 15:15:45 -04:00
Sergey Nizovtsev
8257954d53
docs(go): update gore URL in README
...
The Gore repository was moved and `go get` won't handle redirects.
Close #5325
2021-08-01 14:56:54 -04:00
Henrik Lissner
11007f3997
feat(org): add kbd & doom-{module,package}} links
...
I make extensive use of these in our new in-repo Org documentation.
2021-07-31 19:40:58 -04:00
Henrik Lissner
858a0e44a3
feat(org): open help:* links with helpful-*
...
Rather than describe-*
2021-07-31 04:35:49 -04:00
Henrik Lissner
83171ac554
feat(org): add #+STARTUP inlinegifs playgifs
...
- #+STARTUP: inlinegifs = play inline gif previews when point is on
them.
- #+STARTUP: playgifs = play all gifs in the visible buffer (super,
super slow; use at your own risk).
- Add +org-startup-with-animated-gifs for changing the global
default (nil). Can be set to 'at-point (inlinegifs) or t (playgifs)
2021-07-31 04:35:49 -04:00
Henrik Lissner
443370b4d7
feat(crystal): add +lsp flag and support
...
Since lsp-crystal is provided by lsp-mode.
2021-07-31 04:35:49 -04:00
Henrik Lissner
6065073faa
feat(lua): improve fennel support
...
+ Add fennel-show-documentation handler (on K).
+ Add outline-minor-mode support.
+ Set tab-width to 2 in fennel-mode, for consistency with other lisp
modes.
2021-07-28 15:26:43 -04:00
Henrik Lissner
823fb275a0
feat(org): expand parents for showNlevels option
...
#+STARTUP: showNlevels
This tells org to expand N levels at startup, but it only partially
unfolds headings, so show2levels gets you:
* A [...]
** X [...]
** Y [...]
** Z [...]
Instead of (what I think is expected):
* A
Lorem ipsum dolor sit amet, consectetur adipiscing elit, sed do
eiusmod tempor incididunt ut labore et dolore magna aliqua.
** X [...]
** Y [...]
** Z [...]
Perhaps this should be upstreamed?
2021-07-28 15:02:14 -04:00
Henrik Lissner
7b274c7dbe
feat(org): add native :async support
...
ob-comint (included with org) added native :async support. It only works
for python currently, but unlike ob-async supports :session for :async
python blocks. In fact, it *requires* :session, so we still fall back to
ob-async in its absence, failing that, it ultimately falls back to
synchronous execution.
2021-07-28 15:00:38 -04:00
Henrik Lissner
c48c01ebab
feat(org): set org-num-face & org-num-skip-tags
...
+ Perhaps a dedicated face would be better, but org-special-keyword will
do for now.
+ Don't number trees tagged :noexport: or :nonum:.
2021-07-28 14:06:35 -04:00
Henrik Lissner
cd87cc0cc8
refactor: remove redundant org code
...
org-collect-keywords does the job here. No need to reinvent the wheel.
2021-07-28 12:42:22 -04:00
Henrik Lissner
54a556c2fa
lang/emacs-lisp: add flycheck-package
2021-07-25 16:37:28 -04:00
Henrik Lissner
ce905b9246
Expand latex snippets in org-mode fragments on TAB
2021-07-25 15:41:29 -04:00