Commit graph

3766 commits

Author SHA1 Message Date
DrPandemic
1382decb0d bump: :lang csharp
emacs-csharp/csharp-mode@fe8a68e984 -> emacs-csharp/csharp-mode@9917e1b97d
2022-02-14 21:23:33 +01:00
Henrik Lissner
c6d1bf6e8d fix(org): roam minibuffer completion width
To address an issue upstream where the container's width is incorrectly
calculated for vertico.

Ref: org-roam/org-roam#2066
2022-02-11 02:31:22 +01:00
Henrik Lissner
4c3be5e379 refactor(org): org-roam-node-doom-subdirs
Didn't need to be so convoluted.
2022-02-11 02:02:34 +01:00
Henrik Lissner
9217bb81f4 fix(org): org-babel-do-in-edit-buffer deleting popups
Fix: #6061
2022-02-10 21:28:55 +01:00
Henrik Lissner
9672dbcb5e refactor(org): name anonymous keybind on RET
Makes it easier to advise, swap, or reference.
2022-02-10 21:07:20 +01:00
Henrik Lissner
8e691e810f refactor!(org): backlinks buffer management
BREAKING CHANGE: The +org-roam-open-buffer-on-find-file variable was
renamed to +org-roam-auto-backlinks-buffer *and* is now disabled by
default. When this is non-nil, it will open the *org-roam* backlinks
side window when roam files are visible, and close it when they aren't.

This change also makes this behavior a little more robust, but is
understandably not everybody's (read: most people's) cup of tea, so it
is now opt-in.
2022-02-10 21:07:20 +01:00
Henrik Lissner
7304a8de8f tweak(org): separate roam tags from types
- No longer hard-code fontification of tags and types in roam
  completion.
- Prefix types with @ and tags with # -- makes them easier to search for
  in completion -- and swap types and hierarchy columns. I.e.

  before: TYPE   TITLE   [TAG [TAG...]]
  after:  TITLE   @TYPE   [#TAG [#TAG...]]
- Exclude unwanted (i.e. meta) tags from public display, like ATTACH,
  ARCHIVE, or anything in org-num-skip-tags.
2022-02-10 21:07:20 +01:00
Henrik Lissner
11cc896e8f tweak(org): use org-eldoc-breadcrumb-separator for roam note hierarchy
More consistent and configurable.
2022-02-10 21:07:20 +01:00
Henrik Lissner
958472b048 feat(beancount): add clone-transaction commands 2022-02-10 21:07:20 +01:00
Henrik Lissner
3c2c23f705 feat(org): use roam:X link description if X is empty
Saves on some typing if you want to link to zettels that don't exist
yet.
2022-02-10 21:07:20 +01:00
Henrik Lissner
ba662ea939 refactor(org): org-roam config
- Remove redundant org-roam-mode-section-functions setting (same as its
  default value).
- Remove redundant org-roam-db-location setting (same as its default
  value).
- Fix redundant parentheses.
- Add comment explaining turn-on-visual-line-mode hook.
2022-02-10 21:07:20 +01:00
Henrik Lissner
dd33f57513 fix(org): don't auto-open roam buffer if in capture popup 2022-02-10 21:07:20 +01:00
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
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
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
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
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
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
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