Commit graph

1188 commits

Author SHA1 Message Date
Henrik Lissner
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
Saúl Germán Gutiérrez Calderón
1b49964fc2 Add terminal-notifier support for org-pomodoro 2020-06-27 14:52:54 -05:00
Henrik Lissner
adce7d63af
Merge pull request #3433 from glogiotatidis/patch-2
Carry over all TODO keywords in journal
2020-06-24 18:49:17 -04:00
Henrik Lissner
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
Giorgos Logiotatidis
be83969722
Carryover to include all configured TODO states. 2020-06-22 09:56:20 +03:00
Henrik Lissner
fe7ffd759d
Remove redundant org-roam autoloads
These are already autoloaded by org-roam.
2020-06-21 13:56:43 -04:00
Raj Krishnan
e0c3ffba0c Add keybinding for org-roam-insert-immediate 2020-06-21 18:47:11 +05:30
Henrik Lissner
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
Henrik Lissner
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
Raj Krishnan
c081e9dc20 Add custom link for wikipedia 2020-06-12 20:08:24 +05:30
Henrik Lissner
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
Henrik Lissner
59b60a4708
Inhibit recenter following org link when window isn't visible 2020-06-06 00:56:46 -04:00
Henrik Lissner
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
Jethro Kuan
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
Henrik Lissner
3e3f35a67d
Only recenter following a file or internal org link
Rather than browser or external links.
2020-06-05 03:21:32 -04:00
Henrik Lissner
d5d0fb95e2
Fix #3175: inhibit save hooks on org-export-to-file 2020-06-04 23:48:16 -04:00
Henrik Lissner
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
Henrik Lissner
46e17d403f
Remove unneeded org-journal advice
Due to bugfixes upstream.
2020-06-04 20:13:28 -04:00
Henrik Lissner
8bf902d5f4
General refactors & reformatting across the board 2020-06-04 20:13:28 -04:00
Henrik Lissner
af91af01fa
Merge pull request #3213 from wedens/org-capture-frame-refile
Prevent doom-capture frame from closing when refiling
2020-06-04 19:50:12 -04:00
Henrik Lissner
fddbbb08c4
Bump :lang org
Kungsgeten/org-brain@3ce2a33 -> Kungsgeten/org-brain@c9c6995
abo-abo/org-download@8e12cf0 -> abo-abo/org-download@40c8a1d
bastibe/org-journal@a3ff9ce -> bastibe/org-journal@0bcefa5
emacs-straight/org-mode@5454312 -> emacs-straight/org-mode@2ab68c7
kaushalmodi/ox-hugo@01bc315 -> kaushalmodi/ox-hugo@94aec3f
org-roam/org-roam@ea6bd21 -> org-roam/org-roam@b2594b8
takaxp/org-tree-slide@7bf09a0 -> takaxp/org-tree-slide@80cb1ac

Highlights:
- bzg/org-mode@47b6534 fixes org-babel-js-function-wrapper, so my fix is
  no longer needed.
- bastibe/org-journal@e1003e3 fixes org-journal failing to detect
  symlinked journal files, so my fix is no longer needed.
- org-roam/org-roam#700 fixes symlinks in org-roam-directory
2020-06-02 19:52:42 -04:00
Henrik Lissner
27544d21cb
bin/org-capture: fix 'Display :0 can’t be opened' error 2020-06-01 14:46:13 -04:00
Henrik Lissner
8e34998433
Fix #3254: RET not invoking org-goto-ret in org-goto buffer 2020-05-31 22:25:55 -04:00
Henrik Lissner
7ed96590e6
Fix #3232: wrong-type-argument arrayp error on org-journal
Because both org-journal-is-journal and +org--journal-resolve-symlinks-a
assumed buffer-file-name is always non-nil.
2020-05-26 21:45:31 -04:00
Antoine Martin
0af3f47b9a New bindings deadline/schedule in org-agenda
Following 42fd3d0
2020-05-26 22:11:58 +02:00
Antoine Martin
1434685a7d Restore new org-agenda clock bindings
These were reverted during the rebase in #3043.
2020-05-26 22:08:11 +02:00
Henrik Lissner
1febb5a04e
lang/org: refactor +journal submodule 2020-05-25 20:18:35 -04:00
Henrik Lissner
16ecfd3e4f
Bump :lang org
abo-abo/org-download@d248fcb -> abo-abo/org-download@8e12cf0
bastibe/org-journal@524009b -> bastibe/org-journal@a3ff9ce
emacs-straight/org-mode@9bc0cc7 -> emacs-straight/org-mode@5454312
hlissner/evil-org-mode@9cf661a -> hlissner/evil-org-mode@2e9c4a2
org-roam/org-roam@e3d101f -> org-roam/org-roam@ea6bd21

org-journal introduces some breaking changes (by shifting away from
auto-mode-alist to magic-mode-alist for detecting journal files), and
had to be accommodated.

Fixes #3199
2020-05-25 18:17:38 -04:00
Marty Buchaus
ef9d9a89d0
Add Tree Subtree function to bindings (#3043) 2020-05-24 22:54:37 -04:00
Henrik Lissner
e1040095b5
Merge pull request #3183 from marcus-crane/update-org-roam-links
Update org-roam hyperlinks in org/README.org
2020-05-24 22:52:03 -04:00
wedens
66c4317fa2 prevent doom-capture frame from closing when refiling 2020-05-24 23:29:35 +07:00
How Si Wei
88903551c0 lang/org: Support option in custom org links 2020-05-22 22:40:28 +08:00
Marcus Crane
f75fdc6890
Update org-roam hyperlinks 2020-05-20 22:47:39 +12:00
Henrik Lissner
7183194a59
Remove redundant org-id-track-globally setting
This is already set to t upstream.
2020-05-20 01:07:52 -04:00
Henrik Lissner
090d0f7d53
Run org-load-hook functions on doom/reload 2020-05-20 01:07:32 -04:00
Henrik Lissner
8b8e7537b7
Move org-attach config to +org-init-attachments-h 2020-05-20 01:07:18 -04:00
Henrik Lissner
e4322fac7a
Remove duplicate org-journal-entries in auto-mode-alist
(correctly)
2020-05-20 00:55:21 -04:00
Henrik Lissner
89477e29ca
Bump :lang org
Kungsgeten/org-brain@ed99f7e -> Kungsgeten/org-brain@3ce2a33
bastibe/org-journal@2c43b10 -> bastibe/org-journal@524009b
emacs-straight/org-mode@93c50e3 -> emacs-straight/org-mode@9bc0cc7
kaushalmodi/ox-hugo@8f36181 -> kaushalmodi/ox-hugo@01bc315
org-roam/org-roam@1267a43 -> org-roam/org-roam@e3d101f
2020-05-19 21:49:01 -04:00
Henrik Lissner
695ecf67cc
Fix 'wrong-type-argument listp' error from org-noter 2020-05-19 18:36:40 -04:00
brotzeit
d8d16d22bc add rust to +org-babel-mode-alist 2020-05-17 21:28:31 +02:00
brotzeit
f6a9c9baf5 remove ob-rust 2020-05-16 22:48:01 +02:00
Henrik Lissner
e3ca1d52ad
Bump :lang org
bastibe/org-journal@8bf06b2 -> bastibe/org-journal@2c43b10
emacs-straight/org-mode@20c1322 -> emacs-straight/org-mode@93c50e3
oer/org-re-reveal@61549f4 -> oer/org-re-reveal@a9e9d4e
org-roam/company-org-roam@3da3821 -> org-roam/company-org-roam@674c2bd
org-roam/org-roam@ad5fca5 -> org-roam/org-roam@1267a43

Fixes #3123
2020-05-16 05:13:46 -04:00
Henrik Lissner
ea18c83c0a
General refactors & reformatting across the board 2020-05-15 01:44:53 -04:00
Henrik Lissner
0e851ace9b
Backport bits of CLI rewrite
The rewrite for Doom's CLI is taking a while, so I've backported a few
important changes in order to ease the transition and fix a couple bugs
sooner.

Fixes #2802, #2737, #2386

The big highlights are:

- Fix #2802: We now update recipe repos *before* updating/installing any
  new packages. No more "Could not find package X in recipe repositories".

- Fix #2737: An edge case where straight couldn't reach a pinned
  commit (particularly with agda).

- Doom is now smarter about what option it recommends when straight
  prompts you to make a choice.

- Introduces a new init path for Doom. The old way:
  - Launch in "minimal" CLI mode in non-interactive sessions
  - Launch a "full" interactive mode otherwise.
  The new way
  - Launch in "minimal" CLI mode *only* for bin/doom
  - Launch is a simple mode for non-interactive sessions that still need
    access to your interactive config (like async org export/babel).
  - Launch a "full" interactive mode otherwise.

  This should fix compatibility issues with plugins that use the
  async.el library or spawn child Emacs processes to fake
  parallelization (like org's async export and babel functionality).

- Your private init.el is now loaded more reliably when running any
  bin/doom command. This gives you an opportunity to configure its
  settings.

- Added doom-first-{input,buffer,file}-hook hooks, which we use to queue
  deferred activation of a number of packages. Users can remove these
  modes from these hooks; altogether preventing them from loading,
  rather than waiting for them to load to then disable them,
  e.g. (after! smartparens (smartparens-global-mode -1)) -> (remove-hook
  'doom-first-buffer #'smartparens-global-mode)

  Hooks added to doom-first-*-hook variables will be removed once they
  run.

  This should also indirectly fix #2386, by preventing interactive modes
  from running in non-interactive session.

- Added `doom/bump-*` commands to make bumping modules and packages
  easier, and `doom/bumpify-*` commands for converting package!
  statements into user/repo@sha1hash format for bump commits.

- straight.el is now commit-pinned, like all other packages. We also
  more reliably install straight.el by cloning it ourselves, rather than
  relying on its bootstrap.el.

  This should prevent infinite "straight has diverged from master"
  prompts whenever we change branches (though, you might have to put up
  with it one more after this update -- see #2937 for workaround).

All the other minor changes:

- Moved core/autoload/cli.el to core/autoload/process.el
- The package manager will log attempts to check out pinned commits
- If package state is incomplete while rebuilding packages, emit a
  simpler error message instead of an obscure one!
- Added -u switch to 'doom sync' to make it run 'doom update' afterwards
- Added -p switch to 'doom sync' to make it run 'doom purge' afterwards
- Replace doom-modules function with doom-modules-list
- The `with-plist!` macro was removed, since `cl-destructuring-bind`
  already serves that purpose well enough.
- core/autoload/packages.el was moved into core-packages.el
- bin/doom will no longer die if DOOMDIR or DOOMLOCALDIR don't have a
  trailing slash
- Introduces doom-debug-variables; a list of variables to toggle on
  doom/toggle-debug-mode.
- The sandbox has been updated to reflect the above changes, also:
  1. Child instances will no longer inherit the process environment of
     the host instance,
  2. It will no longer produce an auto-save-list directory in ~/.emacs.d
2020-05-15 01:33:52 -04:00
Henrik Lissner
043a561565
Fix #3123: wrong-type-arg stringp error from org-encrypt-string
Due to upstream issue (read comments).
2020-05-14 15:42:13 -04:00
Henrik Lissner
558ea08411
Disable slow smartparens-org defaults in org-mode
But keep its base defaults.

Relevant to #452
2020-05-13 22:48:42 -04:00
Henrik Lissner
a10c157d87
Fix zr, zm, zR & zM vimmish folding in org-mode
Fixes the following keybinds for evil users:

z r        open next level of headings buffer-wide
z m        close next level of headings buffer-wide
z R        open all folded headings
z M        close all folded headings
[N] z R    open all headings at level N and above
[N] z M    close all headings at level N and below
2020-05-13 19:31:09 -04:00
Henrik Lissner
7bbb52f17c
No longer disable org-highlight-sparse-tree-matches
The original issue it was meant to fix no longer occurs in recent
versions of org.
2020-05-13 16:06:25 -04:00
Henrik Lissner
717d53c666
Tweak GC settings, particularly for org & lsp
These two modes are particularly expensive. This needs more
testing.
2020-05-12 19:59:14 -04:00
Henrik Lissner
bc5bbb1770
Fix #3102: move org-habit init back into hook 2020-05-12 05:15:55 -04:00