Commit Graph

920 Commits

Author SHA1 Message Date
80e1e8ff9a lang/org: refactor & reformatting 2020-08-05 18:26:07 -04:00
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
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
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
434f107099 lang/org: org-latex-prefer-user-labels = t 2020-07-31 15:58:09 -04:00
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
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
e58ff8ebf0 lang/org: mention org-roam's sqlite3 dependency 2020-07-31 01:40:36 -04:00
6a64f37435 Minor refactors & revision across the board 2020-07-31 01:39:24 -04:00
a54d2b3804 lang/org: optimize org-agenda #2672 2020-07-31 01:34:56 -04:00
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
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
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
d006f76dea org-roam: check for sqlite3 executable in doctor 2020-07-29 10:46:10 +07:00
0e73297707 lang/org: fix edge case in +org--insert-item 2020-07-27 03:07:04 -04:00
cacc9d2e9b lang/org: org-list-allow-alphabetical = t 2020-07-26 16:17:07 -04:00
a5c509afff lang/org: org-catch-invisible-edits = 'smart 2020-07-26 16:17:07 -04:00
b2e11f9a72 Revise docstrings for org hooks 2020-07-26 16:17:04 -04:00
629c7bed8e Rename λ! (deprecated) -> cmd! 2020-07-26 15:56:51 -04:00
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
076cee4e89 Revise +org--insert-item
Which powers +org/insert-item-below and +org/insert-item-above.
2020-07-26 15:44:42 -04:00
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
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
da1030985d Minor refactors & reformatting 2020-07-23 01:26:03 -04:00
10cb6e1256 Merge pull request #3597 from gagbo/patch-4
Ensure org-roam-directory is a directory
2020-07-20 22:14:21 -04:00
950740d7a5 add publish keybinding 2020-07-20 09:13:27 -05:00
defba1a64f Ensure org-roam-directory is a directory
Fixes #3596
2020-07-20 13:47:07 +02:00
a8a918121b Bump :lang org
bastibe/org-journal@b4b3b2d -> bastibe/org-journal@01ea4bd
emacs-straight/org-mode@95eaab7 -> emacs-straight/org-mode@bb427f7
magit/orgit@a4e689f -> magit/orgit@ac9b1a4
org-roam/org-roam@7a4b15f -> org-roam/org-roam@fb5beeb

Fixes #3534
2020-07-19 00:36:37 -04:00
2261bd5819 Fix #3578: wrong-type-arg error on empty org heading
Due to non-string in list while iterating over org heading breadcrumbs.

Closes #3579
2020-07-17 19:40:18 -04:00
be8455d67c Load tramp after ob-jupyter
To prevent a void-function tramp-tramp-file-p error due to an oversight
upstream. i.e. jupyter-tramp-file-name-p is inlined at compile time in
ob-jupyter.el, which calls tramp-tramp-file-p but doesn't load tramp,
resulting in the missing function error.
2020-07-13 01:46:15 -04:00
16d50ddad0 Bump :lang org
Kungsgeten/org-brain@6b2ec93 -> Kungsgeten/org-brain@671db0e
bastibe/org-journal@24b5879 -> bastibe/org-journal@b4b3b2d
emacs-straight/org-mode@b76ed65 -> emacs-straight/org-mode@95eaab7
jkitchin/ox-clip@bd36f9f -> jkitchin/ox-clip@f5eac28
magit/orgit@9f09553 -> magit/orgit@a4e689f
oer/org-re-reveal@a9e9d4e -> oer/org-re-reveal@a786188
org-roam/company-org-roam@674c2bd -> org-roam/company-org-roam@5d7ccd9
org-roam/org-roam@c59d6c4 -> org-roam/org-roam@7a4b15f

Closes #3483
2020-07-12 22:46:15 -04:00
6b781c55c2 Make org-yt respect org-display-remote-inline-images 2020-06-28 01:17:53 -04:00
25b240b9b0 Respect org-display-remote-inline-images
Don't download inline previews of URLs if
org-display-remote-inline-images is set to 'skip (its default).
2020-06-28 01:09:54 -04:00
1b49964fc2 Add terminal-notifier support for org-pomodoro 2020-06-27 14:52:54 -05:00
adce7d63af Merge pull request #3433 from glogiotatidis/patch-2
Carry over all TODO keywords in journal
2020-06-24 18:49:17 -04:00
28a3d8b908 Bump :lang org
bastibe/org-journal@6671693 -> bastibe/org-journal@24b5879
emacs-straight/org-mode@945f495 -> emacs-straight/org-mode@b76ed65
kaushalmodi/ox-hugo@e8c14e2 -> kaushalmodi/ox-hugo@77050d2
magit/orgit@e147f05 -> magit/orgit@9f09553
org-roam/org-roam@fd73da9 -> org-roam/org-roam@c59d6c4

Closes #3453
2020-06-24 18:33:05 -04:00
be83969722 Carryover to include all configured TODO states. 2020-06-22 09:56:20 +03:00
fe7ffd759d Remove redundant org-roam autoloads
These are already autoloaded by org-roam.
2020-06-21 13:56:43 -04:00
e0c3ffba0c Add keybinding for org-roam-insert-immediate 2020-06-21 18:47:11 +05:30
62ae76bb2b Bump :lang org
abo-abo/org-download@40c8a1d -> abo-abo/org-download@768716b
bastibe/org-journal@0d6d812 -> bastibe/org-journal@6671693
emacs-straight/org-mode@c709187 -> emacs-straight/org-mode@945f495
integral-dw/org-superstar-mode@09ddc28 -> integral-dw/org-superstar-mode@1748185
kaushalmodi/ox-hugo@5de3da9 -> kaushalmodi/ox-hugo@e8c14e2
org-roam/org-roam@9cf2649 -> org-roam/org-roam@fd73da9

Closes #3386
2020-06-17 14:25:53 -04:00
ef05823b67 Bump :lang org
Kungsgeten/org-brain@2c86ec8 -> Kungsgeten/org-brain@6b2ec93
bastibe/org-journal@9f66bf4 -> bastibe/org-journal@0d6d812
emacs-straight/org-mode@3cec17c -> emacs-straight/org-mode@c709187
kaushalmodi/ox-hugo@f8e26aa -> kaushalmodi/ox-hugo@5de3da9
org-roam/org-roam@f4376f3 -> org-roam/org-roam@9cf2649
takaxp/org-tree-slide@0fc7d31 -> takaxp/org-tree-slide@7126a43

Fixes #3365
2020-06-13 16:21:43 -04:00
c081e9dc20 Add custom link for wikipedia 2020-06-12 20:08:24 +05:30
8087d95f23 Bump :lang org
bastibe/org-journal@1d8e8e6 -> bastibe/org-journal@9f66bf4
emacs-straight/org-mode@b68090e -> emacs-straight/org-mode@3cec17c
org-roam/org-roam@c46d153 -> org-roam/org-roam@f4376f3
takaxp/org-tree-slide@7151aaf -> takaxp/org-tree-slide@0fc7d31
2020-06-10 02:39:47 -04:00
59b60a4708 Inhibit recenter following org link when window isn't visible 2020-06-06 00:56:46 -04:00
da3c1cb78d Merge pull request #3302 from jethrokuan/fix/roam-window
(org +roam): use org-roam-buffer-window-parameters
2020-06-05 04:03:21 -04:00
219d8d0901 (org +roam): use org-roam-buffer-window-parameters
Replaces the now obsolete org-roam-buffer-no-delete-other-windows
2020-06-05 15:58:45 +08:00
3e3f35a67d Only recenter following a file or internal org link
Rather than browser or external links.
2020-06-05 03:21:32 -04:00
d5d0fb95e2 Fix #3175: inhibit save hooks on org-export-to-file 2020-06-04 23:48:16 -04:00
0db71341fa Bump :lang org
Kungsgeten/org-brain@c9c6995 -> Kungsgeten/org-brain@2c86ec8
bastibe/org-journal@0bcefa5 -> bastibe/org-journal@1d8e8e6
emacs-straight/org-mode@2ab68c7 -> emacs-straight/org-mode@b68090e
kaushalmodi/ox-hugo@94aec3f -> kaushalmodi/ox-hugo@f8e26aa
org-roam/org-roam@b2594b8 -> org-roam/org-roam@c46d153
takaxp/org-tree-slide@80cb1ac -> takaxp/org-tree-slide@7151aaf
2020-06-04 20:13:28 -04:00
46e17d403f Remove unneeded org-journal advice
Due to bugfixes upstream.
2020-06-04 20:13:28 -04:00