Commit graph

163 commits

Author SHA1 Message Date
Valentin Herrmann
53fcce8187 fix(org): no roam buffer for capture buffers 2021-11-18 19:06:23 +01:00
Henrik Lissner
ec6511270d bump: :lang org
alf/ob-restclient.el@0ebfc7c5eb -> alf/ob-restclient.el@bfbc4d8e8a
awth13/org-appear@148aa12490 -> awth13/org-appear@a1aa8496f2
bastibe/org-journal@6c3a2fdb6c -> bastibe/org-journal@9757996ca0
emacs-straight/org@b83ae59347 -> emacs-straight/org@888aaa97c0
hakimel/reveal.js@b18f12d964 -> hakimel/reveal.js@abe9abbed7
hniksic/emacs-htmlize@4920510589 -> hniksic/emacs-htmlize@dd27bc3f26
kaushalmodi/ox-hugo@290b5d6b65 -> kaushalmodi/ox-hugo@1b8f2627cd
oer/org-re-reveal@cf000894f6 -> oer/org-re-reveal@ee712db657
org-roam/org-roam@028c95a011 -> org-roam/org-roam@946a879a4a

Close #5338
2021-09-14 14:30:06 +02:00
Henrik Lissner
06392a723f refactor: rename orig-fn arg in advice to fn
A minor tweak to our naming conventions for the first argument of an
:around advice.
2021-08-04 01:53:12 -04:00
Wetlize
6330c57bce Sniff for a different symbol in +org-roam-suppress-sqlite-build-a
`org-roam-db-location` is redefined in the :preface section, so we need
to rely on a different symbol to determine whether `org-roam` is loading
or not.
2021-07-25 02:49:45 +03:00
Wetlize
c6e4ffb929 Improve display of custom templates in the minibuffer 2021-07-25 02:49:40 +03:00
Wetlize
13f0c4785e Fix keymap precedence for evil users in the org-roam-buffer
`org-roam-mode` based buffers use `magit-section` to render sections.
The problem is that `magit-section` will layer keymaps for each section
under a text property. In Emacs, text property based keymaps have a
higher precedence for a lookup[0] than `emulation-mode-map-alists`, in
which Evil and leader keymaps are stored in.

[0]: https://www.gnu.org/software/emacs/manual/html_node/elisp/Searching-Keymaps.html
2021-07-25 02:20:50 +03:00
Wetlize
ff331781c5 Bump org-roam
org-roam/org-roam@e997c01 -> org-roam/org-roam@028c95a
2021-07-25 02:20:50 +03:00
Wetlize
9f7641d6c8 Add evil bindings for org-roam-mode
These are about the same as you would have them in `magit`.
2021-07-25 02:20:50 +03:00
Wetlize
9e12873779 Update handling of the database
v2 reverted to using `emacsql-sqlite` instead of `emacsql-sqlite3`. It
will now try to build the needed `sqlite3` executable by itself, using a
C compiler that it can find, which is normally gcc or clang.

Previously in v1 it would only check for `sqlite3` executable (using
`executable-find`) and wouldn't do anything else.
2021-07-25 02:20:41 +03:00
Wetlize
5ef733b488 lang/org: Add +roam2 flag for org-roam v2 2021-07-25 01:42:09 +03:00
Henrik Lissner
9ffa5d6c2f org-roam-link-use-custom-faces = everywhere 2021-07-12 12:22:21 -04:00
Connor James
87abb63dd2 Use org-tree-slide-play-hook to hide blocks 2021-06-07 09:56:37 -07:00
Henrik Lissner
c97df46f5b Fix #5105: void-variable org-brain-polymode-map 2021-05-27 12:54:06 -04:00
Henrik Lissner
a7d5d97b34 Fix #4899: wrong-type-arg arrayp error on org-brain init 2021-05-27 03:53:43 -04:00
Henrik Lissner
2a2969f3e0 org-roam-verbose = t
Its output is helpful. Let's not silence it.

But prevent output during incremental loading from hijacking the
minibuffer (likely the original reason org-roam-verbose was disabled).
2021-05-21 23:13:09 -04:00
Henrik Lissner
de589e21a2 org-tree-slide-skip-outline-level = 0
Back to default, since it appears to be what people expect.
2021-05-16 21:17:45 -04:00
Henrik Lissner
2dbeb0d161 Fix org-tree-slide-after-narrow-hook reference 2021-05-11 23:15:28 -04:00
Henrik Lissner
a1fdc77dc1 lang/org: fail gracefully on org-roam-mode failure
Otherwise throws an error immediately when opening any org file, if
org-roam isn't properly set up from the get go.
2021-05-09 20:50:23 -04:00
Henrik Lissner
8bb54a95f6 Add +org-present-hide-first-heading option
Gives the user the option to hide the top-level heading when presenting,
and defaults it to nil, since that is org-tree-slide-mode's default
behavior.

Also reduces the default text-scale for org-tree-slide-mode from 6 -> 5.

Fixes #2182
Closes #4907
2021-05-01 03:02:52 -04:00
Hynggyu Jang
ec3132bbc4 lang/org: cleanup +pretty feature, mostly about if cookie
Add `if` cookie so that it doesn't get compiled by `doom compile`.
2021-04-28 09:56:14 +09:00
Henrik Lissner
71d4748bcf Fix #4586: evilifiy org-brain
THese should be upstreamed to evil-collection in some form or another.
2021-04-14 23:43:45 -04:00
Henrik Lissner
eca50f4766
Fix #4446: activate org-fancy-priorities-mode in org-agenda 2020-12-18 16:05:31 -05:00
Alois Janíček
715c736815
Prioritize company-capf back-end in org-journal
This allows functionality like completion of org-roam items seamlessly
work in org-journal-mode files too.

Same setting is already set for org-mode itself.
2020-12-15 01:48:14 +01:00
Chris Rose
18db5e2089 Add keybindings for roam tagging
"t" to tag a roam file with the `#+roam_tags` property.
"T" to untag the file
2020-11-22 10:28:24 -08:00
Henrik Lissner
1d766bf873
Merge pull request #4255 from RBckmnn/OrgRoamDbLocation
Do not overwrite user's value of org-roam-db-location
2020-11-11 14:25:45 -05:00
Ralf Beckmann
f3a4c27aac Do not overwrite org-roam-db-location 2020-11-11 18:35:54 +01:00
Brian McGillion
6225cc5337 :lang org: (+roam) Replace deprecated functions
Update to the latest functions - after the following commit:
47e83f7d

Org-Roam-Dailies deprecated the older forms of the functions
and replaced with the new constructs.

Signed-off-by: Brian McGillion <brian@ssrc.tii.ae>
2020-11-11 20:02:30 +04:00
Henrik Lissner
b857566239
Minor refactors 2020-10-20 16:52:39 -04:00
Henrik Lissner
077bab4c90
Move org-roam-db-location to DOOMLOCALDIR/etc
More in line with org-roam's defaults.

Closes #4108
2020-10-18 19:07:59 -04:00
Henrik Lissner
ea575e3a8d
Bump :lang org
Kungsgeten/org-brain@671db0e -> Kungsgeten/org-brain@e703ae0
abo-abo/org-download@67b3c74 -> abo-abo/org-download@42ac361
astahlman/ob-async@80a30b9 -> astahlman/ob-async@de1cd6c
bastibe/org-journal@a2728e2 -> bastibe/org-journal@e7c51c4
emacs-straight/org-mode@220f2b0 -> emacs-straight/org-mode@e2bb605
fuxialexander/org-pdftools@8cc15bb -> fuxialexander/org-pdftools@3c2b9a4
hakimel/reveal.js@15815ef) -> hakimel/reveal.js@e09437f)
integral-dw/org-superstar-mode@94f35c2 -> integral-dw/org-superstar-mode@7f83636
kaushalmodi/ox-hugo@75b849e -> kaushalmodi/ox-hugo@95723cd
oer/org-re-reveal@7fe39d5 -> oer/org-re-reveal@29f565f
org-roam/org-roam@c33867e -> org-roam/org-roam@87d7c07

Closes #4034; company-org-roam is now deprecated, completions are
provided via capf instead.

Co-authored-by: Jethro Kuan <jethrokuan95@gmail.com>
2020-10-11 16:37:51 -04:00
Henrik Lissner
42332c9631
Merge pull request #3995 from samwhitlock/develop
Adjusting org journal functions to new commands
2020-10-04 20:07:51 -04:00
Henrik Lissner
2394e4124a
Don't auto-close brain popup with ESC 2020-10-04 16:15:43 -04:00
Sam Whitlock
1050ba83f0 Adjusting org journal functions to new commands
Silences some obsolescence warnings when navigating among entries
2020-09-29 19:10:58 +02:00
Henrik Lissner
1456108d5b
Fix #3888: fall back to org-journal-is-journal
Closes #3925
2020-09-10 18:03:32 -04:00
Diego Zamboni
723583e8d7
Automatically download reveal.js and use local copy, default to v4 (#3846)
* Automatically download reveal.js upgrade to v4

The +present option now automatically checks out the reveal.js
repository and configures org-re-reveal to use it. It also now uses
reveal.js 4 instead of 3.9.2.

* Changed :init to :config
2020-08-27 01:15:14 -04:00
Henrik Lissner
ce2cabf07e
Autoload org-download-clipboard #3830 2020-08-25 06:07:47 -04:00
Henrik Lissner
91ab02951d
Minor refactors across the board 2020-08-20 03:43:50 -04:00
Henrik Lissner
bf9042327c
lang/org: improve jupyter support
Closes #2477

Co-authored-by: Seong Yong-ju <sei40kr@gmail.com>
2020-08-06 00:32:36 -04:00
Henrik Lissner
68136f7ff9
lang/org: add +pretty flag; move org-superstar
org-superstar is no longer enabled by default, due to unicode-related
crashes and general slowness betraying our "gotta go fast" mantra.
2020-08-05 18:31:01 -04:00
Henrik Lissner
6a64f37435
Minor refactors & revision across the board 2020-07-31 01:39:24 -04:00
Henrik Lissner
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
Henrik Lissner
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
Gerry Agbobada
defba1a64f
Ensure org-roam-directory is a directory
Fixes #3596
2020-07-20 13:47:07 +02:00
Henrik Lissner
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
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