Commit graph

3918 commits

Author SHA1 Message Date
Henrik Lissner
10bbdecb5c tweak(org): reverse org-roam-list-files-commands
Prioritize faster searcher over slower.
2022-02-10 21:07:20 +01:00
Henrik Lissner
8179dc641e fix(org): better-jumper support for more links
Doom sets jump points before following most org links. This allows you
to jump back to where you were afterwards using
C-o (better-jumper-jump-backward) or forward with
C-i (better-jumper-jump-forward). It does this by setting a jump point
on the org-open-at-point-functions hook.

However, not all org links' :follow handlers trigger this hook (like id:
or roam: links), and you can get around it by triggering link opener
handlers directly (with M-x org-goto). Most of these link openers use
org-mark-ring-push to record jump points in org's own jumplist, so
advising it to call better-jumper-set-jump should address more of these
fringe cases.

Fix: #6098
2022-02-10 21:07:20 +01:00
Valentin Herrmann
26040c6fc1 fix(org): parity for headlines & items in +org--insert-item 2022-02-09 20:00:37 +01:00
Siddharth Shekar
4cc82bb32a docs(org): update docstring for +org/dwim-at-point 2022-02-09 15:58:10 +01:00
Siddharth Shekar
008b080b45 fix(org): toggle image when point before first heading 2022-02-09 15:58:10 +01:00
Christian Kruse
53504c55b9 fix(web): web-mode-buffer-highlight -> web-mode-reload
This function was renamed upstream.

Ref: fxbois/web-mode@4341d9fa1a
2022-02-09 15:54:51 +01:00
Johannes Wolf
519c54ded6
revert: gnuplot
emacsorphanage/gnuplot@d1a6a606dc -> emacsorphanage/gnuplot@7138b139d2

Reverts gnuplot bump in 2557e17, which broke execution of gnuplot babel blocks in org-mode.

Fix: #6080
Amend: 2557e17d07
2022-02-09 05:08:11 +01:00
Lucas Viana
051087d716 fix(org): don't error org-download at top level
Org-attach (and thus org-download) can work before the first headline if
the user sets `org-attach-auto-tag` to `nil`. But when inserting files
in this situation, this advice will display an error message due to
using `org-back-to-heading`. So I think it makes more sense to use
`org-back-to-heading-or-point-min`.
2022-02-09 04:54:22 +01:00
Henrik Lissner
7e6baca99d refactor(org): update org-roam emacsql deferral advice
org-roam-setup was made obsolete in Org Roam 2.0.

Ref: org-roam/org-roam@5dce6261a2
2022-02-06 03:27:08 +01:00
Henrik Lissner
467a23c020 tweak(org): org-roam-db-gc-threshold = most-positive-fixnum
To reduce GC consing while syncing the DB.
2022-02-06 03:27:08 +01:00
Henrik Lissner
5941a41fd9 tweak(org): larger capture/src popups by default 2022-02-06 03:27:08 +01:00
Henrik Lissner
2557e17d07 bump: :lang org markdown
Fanael/edit-indirect@bdc8f542fe -> Fanael/edit-indirect@7fffd87ac3
alf/ob-restclient.el@bfbc4d8e8a -> alf/ob-restclient.el@f81f2f4f3f
anler/centered-window-mode@f50859941a -> anler/centered-window-mode@80965f6c6a
awth13/org-appear@a4d10fc346 -> awth13/org-appear@303fcc8d5d
bastibe/org-journal@71e8b10088 -> bastibe/org-journal@f121450610
emacs-straight/org-mode@0c9b30e961 -> emacs-straight/org-mode@e7ea951ac9
emacsorphanage/gnuplot@7138b139d2 -> emacsorphanage/gnuplot@d1a6a606dc
emacsorphanage/ox-pandoc@eda1f21fd5 -> emacsorphanage/ox-pandoc@b2e43b9362
hakimel/reveal.js@a9277f9d46 -> hakimel/reveal.js@19f04bcbcb
jkitchin/ox-clip@05a14d56bb -> jkitchin/ox-clip@ff117cf3c6
jrblevin/markdown-mode@862ae8addd -> jrblevin/markdown-mode@541bd7b48a
kaushalmodi/ox-hugo@88e6068190 -> kaushalmodi/ox-hugo@1b6b3dc8f9
magit/orgit@f956d802f1 -> magit/orgit@66367d6bfc
nnicandro/emacs-jupyter@df343af5e9 -> nnicandro/emacs-jupyter@42a9765897
org-roam/org-roam@abe63b4360 -> org-roam/org-roam@eed1df90f5
seagle0128/grip-mode@1c82e27bee -> seagle0128/grip-mode@9220a560b4
2022-02-02 01:58:18 +01:00
Henrik Lissner
3d627cbacd revert: feat(org): add org-pretty-table for +pretty
org-pretty-table has proven unstable. Some report alignment issues due
to variations between unicode fonts. Its overuse of overlays is also a
performance concern.

Revert: #6033
2022-02-01 18:56:16 +01:00
Henrik Lissner
80ac69c14e fix(python): deprioritize ~/.conda detection
Since ~/.conda is always created, whether or not the other possibilities
exist, best we treat it as a last resort.

Fix: #6071
2022-02-01 18:56:16 +01:00
Henrik Lissner
7246db457c docs: replace doom-source with doom-repo links
I will later use "source" to refer to module sources, so better we avoid
the terminology for now.
2022-02-01 18:55:27 +01:00
Henrik Lissner
1fb67e3cf7 docs(org): remove org-pretty-table
Package was removed in hlissner/doom-emacs@db7696b661.

Ref: hlissner/doom-emacs#6033
2022-02-01 18:55:27 +01:00
Henrik Lissner
9cfd798076 fix(org): unbalanced parens
A regression caused by typo in 451be94.

Amend: 451be94fb8
2022-01-30 02:42:54 +01:00
Henrik Lissner
9dbdb854b9 fix(org): bounds for inline images in babel results
org-babel-result-end can return the wrong position if cursor is in a src
block (which is where it will be when org-babel-after-execute-hook
triggers).

Amend: 451be94fb8
2022-01-29 18:43:40 +01:00
Henrik Lissner
2c06577edf fix(org): type error when refreshing images in src results
Ref: 451be94fb8
2022-01-29 04:07:21 +01:00
M. Yas. Davoodeh
4808313889
docs(plantuml): add graphviz/dot doctor 2022-01-27 18:47:07 +01:00
Henrik Lissner
bcb29f7d17 feat(python): search for anaconda home in ~/.conda
What even are standards?
2022-01-27 18:18:52 +01:00
Prashant Tak
4bdcf48a0b
docs(org): add org-pretty-table to readme
Ref: #6033
Amend: 53ea2e4ce2b8
2022-01-27 16:30:47 +01:00
Ernest DONG
8b41f44882
refactor(python): remove redundant pyright+eglot config
joaotavora/eglot@fd27cdc8f9 adds Pyright support to Eglot, so these
lines can be removed.

Amend: 34cb632a61
Revert: #5355
Ref: joaotavora/eglot@fd27cdc8f9
Ref: joaotavora/eglot#742
2022-01-27 15:44:45 +01:00
Henrik Lissner
451be94fb8 fix(org): out-of-bounds refreshing inline images
A regression caused by 6934014, due to
org-babel-where-is-src-block-result returning a position after
org-babel-result-end.

Fix: #6046
Amend: 69340149f9
2022-01-27 14:37:04 +01:00
Tony
b663e447e6 feat(org): add org-pretty-table for +pretty
Replace '-', '+', and '|' characters in tables with unicode glyphs.
2022-01-27 04:05:55 +01:00
Henrik Lissner
7290f85cfd feat(eval): set load-true-file-name & buffer-file-truename
So they are available in evaluated contexts.
2022-01-27 03:50:52 +01:00
Henrik Lissner
69340149f9 fix(org): don't refresh images while exporting/tangling
Also limits the scope of org-display-inline-images to the current src
block. org-display-inline-images was previously used on the entire
subtree, which was slower than it needed to be (especially while
exporting/tangling org).
2022-01-27 03:43:51 +01:00
Kiran Shila
71535d7ffc
docs(julia): update lsp environment to recent LTS
As of 1 Dec, Julia v1.6 is the new LTS release.

Ref: #6010
2022-01-27 03:37:26 +01:00
Kiran Shila
1f27a68ae6 tweak(julia): update lsp environment to recent LTS 2022-01-27 03:36:04 +01:00
Caio Rulli Thomaz
db08aeaa7a docs(clojure): add check for clj-kondo 2022-01-27 03:27:51 +01:00
Jeetaditya Chatterjee
3341270781 docs(haskell): add lsp predicate to format check
So that if someone follows the advice of the warning, it will then go
away
2022-01-15 21:14:44 +01:00
Henrik Lissner
3a8f22118a bump: :lang dart
emacs-lsp/lsp-dart@64fb5d9303 -> emacs-lsp/lsp-dart@813d3c92db

Fix: #5877
2022-01-14 01:03:10 +01:00
James Ravn
8746da61c3
fix(javascript): incorrect lsp formatting for tsx
lsp-mode doesn't detect the correct indentation, since it treats the
derived tsx-mode as a web-mode. This change modifies the lsp-mode
internal alist to recognize tsx-mode correctly. Ideally lsp-mode would
have a better way to modify its known mode lists but I couldn't see it.

Ref: emacs-lsp/lsp-mode#3308
2022-01-13 21:51:07 +01:00
Nicolas Cavigneaux
b2c366d946 docs(org): fix typo in capture example 2022-01-13 21:49:34 +01:00
Payas Relekar
ec67a6fb2b bump: :lang common-lisp
joaotavora/sly@540a8c5b9a -> joaotavora/sly@2e00c3bd4b
2022-01-13 21:49:16 +01:00
Henrik Lissner
3a3a8dc240 refactor(fortran): conform to conventions 2022-01-12 01:55:34 +01:00
Saxon Jensen
9cba28621f
feat(php): replace php-boris with psysh (#5967)
php-boris is no longer maintained.

Fix: #5965
2022-01-10 02:24:21 +01:00
Zane Shelby
9db71bb7a5 fix(clojure): add clojurec-mode repl+eval handlers 2022-01-10 02:22:21 +01:00
Henrik Lissner
85fcac4562 bump: :lang julia
JuliaEditorSupport/julia-emacs@06f6fdb94c -> JuliaEditorSupport/julia-emacs@47f43f7d83
gdkrmr/lsp-julia@809da95c05 -> gdkrmr/lsp-julia@d6688bb131
non-Jedi/eglot-jl@49f170e01c -> non-Jedi/eglot-jl@2e35cf9768
tpapp/julia-repl@3f888ecd30 -> tpapp/julia-repl@e90b1ed2cc
2022-01-08 21:35:36 +01:00
marty
bc47e72984 tweak(web): detect and set angular in web-mode
- Add @angular/core in detecting angular to set the web-angularjs minor
mode

- At the same time set the web-mode-engine to "angular" so that
`format-all` uses prettier to format ionic `*.page.html` files in
addition to `*.component.html` files.

When `format-all` sees the web-mode-engine is set to "angular", it
applies `prettier` as opposed to `html-tidy`, as `tidy` doesn't
recognise angular component tags and hence errors out. The current
web-mode only sets the engine to "angular" for "*.components.html".
However, ionic angular uses file names such as "*.page.html", setting
engine will apply prettier to these html fils.
2022-01-06 15:27:54 +01:00
Carlos D'Agostino
23503cfb44 docs(haskell): fix docs for alternative formatter
Small fixup to use the proper form when setting an alternative
formatter using the `after!` macro
2022-01-05 15:08:29 +01:00
Henrik Lissner
b51d7d6d7f
merge: pull request #5893 from gilbertwong96/fix/erlang
fix(erlang): fix broken erlang-mode
2022-01-05 04:06:28 +01:00
Michalis Pardalos
c9399c1a19 docs(coq): expand README
+ Hack: Abbrevs are replaced with snippets
+ Installation: To enable completion you also need :completion company
+ Installation: coqtop is required, link to coq download site
+ Troubleshooting: Link to related github issues
2022-01-05 04:04:21 +01:00
Henrik Lissner
d8285d9d4c fix(elixir): eval & repl handlers
set-{eval,repl}-handler! operate on major modes, not minor modes (this
should be corrected upstream, but I'll do so later). This doesn't apply
to set-lookup-handlers!, but I'm changing it too for consistency.
2022-01-05 04:02:30 +01:00
GilbertWong
e692d8e9fd
feat(erlang): add doctor tool for erlang module 2022-01-04 10:44:20 +08:00
GilbertWong
0e99b6b952
refactor!(erlang): remove company-erlang
BREAKING CHANGE: Remove `company-erlang` which depends on
`ivy-erlang-complete`. `company-erlang` and `ivy-erlang-complte` have
not been maintained now. The lsp mode provides much better experience
than `company-erlang` and `ivy-erlang-complete`. The
`ivy-erlang-complete` package also has the defect that slow down the
erlang-mode buffer when the buffer is huge enough. It is not a good
choice to integrate ivy-erlang-complete nowadays even as a non-LSP
option.
2022-01-04 10:44:18 +08:00
GilbertWong
beda11068b
bump: :lang erlang
erlang/otp@118cb37bd5 -> erlang/otp@c1ab4b5424

Ref: erlang/otp#5314
2022-01-04 10:42:49 +08:00
Henrik Lissner
b88eb77605
merge: pull request #5908 from ethan-leba/repl-handler
Add :send-region and :send-buffer options to `set-repl-handler!`
2022-01-03 18:12:31 +01:00
Henrik Lissner
67a9573f0d fix(org): tab not invoking cdlatex-tab in headings
In org-mode, if one writes a math expression in a section (i.e. heading)
while using cdlatex, pressing tab indents the section instead of
performing a cdlatex-tab.

This fix takes care of this issue to have the wanted behavior: if in
math environment and hit tab while in section, execute cdlatex-tab.

Close: #5926
Co-authored-by: roiholtzman <roiholtzman@users.noreply.github.com>
2022-01-03 16:51:51 +01:00
Henrik Lissner
d9dc7339c4 bump: :lang java
emacs-lsp/lsp-java@3246272b43 -> emacs-lsp/lsp-java@ce03cb6574
mopemope/meghanada-emacs@6c57e8a0ae -> mopemope/meghanada-emacs@59c46cabb7

Close: #5944
Co-authored-by: Zero King <l2dy@users.noreply.github.com>
2022-01-03 16:51:51 +01:00