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
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
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
Prashant Tak
4bdcf48a0b
docs(org): add org-pretty-table to readme
...
Ref: #6033
Amend: 53ea2e4ce2b8
2022-01-27 16:30:47 +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
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
Nicolas Cavigneaux
b2c366d946
docs(org): fix typo in capture example
2022-01-13 21:49:34 +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
VitalyR
8eb6ab03c4
bump: org-roam
...
org-roam/org-roam@a2e46db808 -> org-roam/org-roam@abe63b4360
Recent Emacs master removed the `###autoload` cookie above
`ucs-normalize-NFD-string`, which broke org-roam's ability to create
nodes -- this was fixed upstream.
Also, org-roam has introduced the way to customize how contents are
retrieved. This should fix #5766 .
Fix : #5766
Ref: org-roam/org-roam#1981
Ref: org-roam/org-roam#1990
2021-12-12 23:11:31 +01:00
Henrik Lissner
cc73c2f75e
bump: :lang org
...
awth13/org-appear@a1aa8496f2 -> awth13/org-appear@a4d10fc346
emacs-straight/org-mode@27edae8ced -> emacs-straight/org-mode@0c9b30e961
emacsmirror/org-contrib@0231706232 -> emacsmirror/org-contrib@e318392177
emacsorphanage/ox-pandoc@e76324ecf1 -> emacsorphanage/ox-pandoc@eda1f21fd5
hakimel/reveal.js@c79f4b5a4f -> hakimel/reveal.js@a9277f9d46
kaushalmodi/ox-hugo@3442d8cf1f -> kaushalmodi/ox-hugo@88e6068190
nnicandro/emacs-jupyter@162d047e62 -> nnicandro/emacs-jupyter@df343af5e9
Close : #5887
Co-authored-by: iyefrat <iyefrat@users.noreply.github.com>
2021-12-12 22:43:40 +01:00
Henrik Lissner
c93790bb5c
fix(org): omit -i switch from org-babel-python-command
...
The -i switch for python or ipython can cause python org src blocks to
hang indefinitely when executed.
Ref: hlissner/doom-emacs@c0d988fe0d
Ref: #5569
2021-11-28 22:08:07 +01:00
Henrik Lissner
798df6bc9e
feat(org): follow citations on +org/dwim-at-point
...
As discussed in #5290 , pressing RET on citations (or citation
references) will now follow them.
Ref: #5290
2021-11-25 01:22:58 +01:00
Henrik Lissner
2f39d3fced
fix(cli): "Unknown terminal type" error on bin/org-capture
...
Fix : #5438
2021-11-24 22:03:21 +01:00
Henrik Lissner
45ee0ecf21
refactor(biblio): reformat module
...
- Defer citar-org, since citar autoloads it.
- Add introducing PR to #+SINCE and use new calver scheme.
- Move <localleader> @ keybind to :lang org
Ref: #5810
2021-11-22 15:45:00 +01:00
Henrik Lissner
88844e9cec
docs: simplify internal docs links
...
Fewer links means less confusion.
- Merge doom-issue and doom-commit links into doom-ref (for auto-linking
Issue/PR/commit references).
- Merge doom-module-source and doom-docs-source links into doom-source.
- Rename doom-report-issue to doom-report.
- Use '!' as the icon for module issues link.
- Remove doom-repo (replaced with "doom:*" in :lang org module).
- Add doomdir and emacsdir links to :lang org module.
2021-11-21 20:04:28 +01:00
Henrik Lissner
7bc0033d0a
docs: add doom-docs-mode & doom-docs-org-mode
...
These two modes exist to provide a nicer reading experience while
viewing Doom's org documentation from within Emacs; they hide
meta-lines, comments, markup, and more.
They also enable our docs to use IDs for links and keep our ID db
separate from any user ID dbs.
2021-11-21 20:04:28 +01:00
Henrik Lissner
20cac97c08
docs(:lang): update READMEs to new format
2021-11-21 20:04:28 +01:00
Henrik Lissner
0aad1399cc
refactor(file-templates): doom readme templates
...
Including readme template for categories.
2021-11-21 20:04:28 +01:00
Henrik Lissner
a3d040bcd7
bump: :lang org
...
emacs-straight/org-mode@2e99997830 -> emacs-straight/org-mode@27edae8ced
emacsorphanage/ox-pandoc@aa37dc7e94 -> emacsorphanage/ox-pandoc@e76324ecf1
hakimel/reveal.js@1ce77db3d0 -> hakimel/reveal.js@c79f4b5a4f
kaushalmodi/ox-hugo@9438efc34f -> kaushalmodi/ox-hugo@3442d8cf1f
nnicandro/emacs-jupyter@20e68a6836 -> nnicandro/emacs-jupyter@162d047e62
oer/org-re-reveal@ee0417aac3 -> oer/org-re-reveal@55fca47c74
org-roam/org-roam@3e47f198c7 -> org-roam/org-roam@a2e46db808
Fix : #5520
Fix : #5784
2021-11-21 16:10:49 +01:00
Manjinder Singh
e303be6951
fix(org): show outline path on refile to current file
...
Before this change, the +org/refile-to-current-file command would
display a flat list of tail headings in the current file, without
context, which can result in duplicates and can make it difficult to
tell where you're refiling a heading to.
This changes each heading to be a full path.
2021-11-19 23:44:28 +01:00
Valentin Herrmann
53fcce8187
fix(org): no roam buffer for capture buffers
2021-11-18 19:06:23 +01:00
Henrik Lissner
a4695b6b4b
bump: :lang org
...
emacs-straight/org-mode@d4e1925147 -> emacs-straight/org-mode@2e99997830
https://git.sr.ht/~bzg/org-contrib@56a3bbbd486c -> emacsmirror/org-contrib@0231706232
kaushalmodi/ox-hugo@14723c3cb9 -> kaushalmodi/ox-hugo@9438efc34f
nnicandro/emacs-jupyter@1f0612eb93 -> nnicandro/emacs-jupyter@20e68a6836
org-roam/org-roam@c789531e36 -> org-roam/org-roam@3e47f198c7
Switching to emacs-mirror/org-contrib resolves SSL issues (see #5655 ).
Fix : #5655
Close : #5719
Co-authored-by: Stefan Lendl <stfl@users.noreply.github.com>
2021-11-04 01:13:28 +01:00
Henrik Lissner
0adaf03088
fix(org): prematurely terminated string in org-version.el
...
Amend: 935ed860a1
2021-11-01 02:17:34 +01:00
Henrik Lissner
935ed860a1
bump: :lang org
...
emacs-straight/org-mode@1b2d06880f -> emacs-straight/org-mode@d4e1925147
org-roam/org-roam@1b221a1d4a -> org-roam/org-roam@c789531e36
- An unguarded native-comp-available-p call was fixed upstream (in org),
which caused void-function errors for non-native-comp users (#5706 ).
- org-version.el is now generated with the correct version, so we don't
have to update it ourselves.
Fix : #5706
2021-11-01 02:14:22 +01:00
Henrik Lissner
20b74b7951
bump: :lang org
...
hakimel/reveal.js@05e57dea66 -> hakimel/reveal.js@1ce77db3d0
https://git.savannah.gnu.org/git/emacs/org-mode.git@cc2490a70619 -> emacs-straight/org-mode@1b2d06880f
kaushalmodi/ox-hugo@f0357fa744 -> kaushalmodi/ox-hugo@14723c3cb9
org-roam/org-roam@54d17cc50f -> org-roam/org-roam@1b221a1d4a
takaxp/org-tree-slide@571ff33308 -> takaxp/org-tree-slide@27f8bb6a96
Move from git.savannah.gnu.org to emacs-straight/org-mode mirror due to
SSL, uptime, download time, and lack of shallow clone support. Plus, the
straight mirror is now up-to-date with 9.5.
Fix : #5655
Close : #5703
2021-10-29 14:48:32 +02:00
Henrik Lissner
7034378968
nit: s/#+BEGIN_SRC/#+begin_src, s/elisp/emacs-lisp/
...
From now on Doom will enforce two conventions for its org files for
consistency's sake:
- Lower-case meta-lines in org files, like #+begin_src, #+name, or
#+end_quote (only exception are the top-level ones, like #+TITLE and
#+STARTUP).
- Use 'emacs-lisp' as the lang specifier for elisp blocks rather than
'elisp'. Emacs doesn't natively recognize the latter.
This will be reflected in our rewritten docs/*.org and module
README.org's.
2021-10-18 12:09:42 +02:00
Henrik Lissner
e3d4e05fbd
bump: :lang org
...
bastibe/org-journal@9757996ca0 -> bastibe/org-journal@71e8b10088
emacs-straight/org@888aaa97c0 -> https://git.savannah.gnu.org/git/emacs/org-mode.git@cc2490a70619
hakimel/reveal.js@abe9abbed7 -> hakimel/reveal.js@05e57dea66
integral-dw/org-superstar-mode@2cd3f1e74b -> integral-dw/org-superstar-mode@03be6c0a30
kaushalmodi/ox-hugo@1b8f2627cd -> kaushalmodi/ox-hugo@f0357fa744
oer/org-re-reveal@e1bb2213d6 -> oer/org-re-reveal@36d0973c6c
org-roam/org-roam@1795039ab9 -> org-roam/org-roam@54d17cc50f
takaxp/org-tree-slide@9d2ba1df45 -> takaxp/org-tree-slide@571ff33308
Install org from savannah repo, so we have access to 9.5+.
2021-10-06 01:30:45 +02:00
Ethan Leba
0ca2e791f7
feat(org): add binding for org-clone-subtree-with-time-shift
2021-10-03 20:40:55 +02:00
Henrik Lissner
c0d988fe0d
fix(org): recognize python-shell-interpreter-args
...
Also does not tamber with org-babel-python-command if the user has
changed it.
Fix #5569
2021-10-03 20:40:00 +02:00
Henrik Lissner
3179c2a744
tweak(org): org-clock-history-length = 20
...
The default value of 5 is too conservative. 20 seems more reasonable,
without being overwhelming.
2021-09-28 22:42:29 +02:00
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