Commit graph

163 commits

Author SHA1 Message Date
James Ravn
82312ac9aa
Load org-roam after org-mode
Fix https://github.com/hlissner/doom-emacs/issues/2846
2020-04-08 13:10:17 +01:00
Henrik Lissner
23b3b8211a
Fix #2811: expose more org-roam commands 2020-04-01 17:30:29 -04:00
Henrik Lissner
4434abf1f4
Fix #2810: org-roam-directory is reset 2020-04-01 14:51:12 -04:00
Kelvin Porter
ad70b82009 org-roam-show-graph -> org-roam-graph-show
org-roam-show-graph marked obsolete by org-roam commit 22b9d4b, see https://github.com/jethrokuan/org-roam/pull/363
2020-03-30 03:14:01 -04:00
Henrik Lissner
5ce85b12d0
use-package -> use-package!
Mentioned in #2764
2020-03-29 22:04:15 -04:00
Henrik Lissner
3a370343e2
Fix #2654: switch back to org-re-reveal
org-reveal is no longer maintained. org-re-reveal also possesses more
features.
2020-03-29 19:16:37 -04:00
Henrik Lissner
f28a304abd
Add +roam submodule to lang/org
Closes #2764, #2759
2020-03-29 19:02:09 -04:00
James Ravn
18d7064384
Add default gnome support for org +dragndrop
By default Gnome based distros (like Ubuntu) have `gnome-screenshot`
installed. This change modifies `+dragndrop` to support gnome-screenshot
by default.
2020-03-28 10:15:41 +00:00
Henrik Lissner
7d71584a8d
s/org-attach-directory/org-attach-id-dir
The former is deprecated.

Reported by @myshevchuk in 90ec41c
2020-03-27 22:23:20 -04:00
Henrik Lissner
90ec41c994
Merge pull request #2721 from jsravn/fix-org-download-screenshot
Fix inserted filename for org-download-screenshot
2020-03-27 01:58:38 -04:00
Mykhailo Shevchuk
0fb1026886 dragndrop: insert #+attr_org: :width if specified 2020-03-23 19:19:55 +01:00
James Ravn
365a481bc5
Fix inserted filename for org-download-screenshot 2020-03-14 16:07:25 +00:00
Henrik Lissner
a0a7c34517
Revert to ox-reveal (remove org-re-reveal)
ox-reveal is maintained again, and org-re-reveal was
exhibiting (wrong-type-argument wholenump -1) errors in some corner
cases.
2020-02-21 14:58:14 -05:00
Henrik Lissner
beb7a40a84
Fix inline previews for "download:%s" org links #2539 2020-02-19 18:21:24 -05:00
Bobbie Soedirgo
3139137210 change `org-re-reveal-root' to https://revealjs.com 2020-02-12 17:20:01 +08:00
Henrik Lissner
047ea8dab5
Update & fix org-tree-slide-mode integration 2020-02-02 16:02:28 -05:00
Henrik Lissner
b9f823bfa2
Autoload org-download-{yank,screenshot}
Fixes #2429
2020-01-27 17:04:29 -05:00
Henrik Lissner
827225e331
Fix #2429: replace defunct attach: links w/ download:
Forgot that support for attach: links were removed some time ago, but I
still want short org-download links, so I've added 'download:' links.
2020-01-26 02:20:39 -05:00
Henrik Lissner
8c96e3f78c
Polish org +journal submodule
Fix journal files not opening in org-journal-mode.
2020-01-18 20:51:59 -05:00
Henrik Lissner
14cf97e594
lang/org: use org-attach instead of custom system
- Adds more keys under `<localleader> a`
- Reconfigures org-download to use org-attach system
- Make org-id-track-globally = t a global default now (not just for
  org-brain)
- Renamed +org-init-centralized-attachments-h to +org-init-attachments-h
- org-attach-store-link-p = t (stores a link to an attachment when it is
  attached)
- org-attach-use-inheritance = t (inherit attachment properties from
  parent nodes)
2019-12-29 16:31:25 -05:00
Henrik Lissner
56ccb0dbef
lang/org: load jupyter.el & add jupyter-* to org-src-lang-modes #2198 2019-12-22 00:02:26 -05:00
Henrik Lissner
9647cb0a49
lang/org: add +brain feature
No keybinding yet.
2019-12-19 18:42:37 -05:00
Henrik Lissner
95e80b00da
lang/org: also require jupyter-* libs w/ ob-jupyter
Relevant to #2198
2019-12-19 18:42:05 -05:00
Henrik Lissner
af948ca390
lang/org: refactor babel loaders & fix jupyter loader #2198 2019-12-19 14:48:13 -05:00
Henrik Lissner
17d0833af1
lang/org: fix jupyter babel loader #2198 2019-12-17 15:28:34 -05:00
Henrik Lissner
e782ef1d97
lang/org: add +jupyter feature, deprecate +ipython
And disable +pandoc by default

Relevant to #2198
2019-12-16 19:25:50 -05:00
Henrik Lissner
5f2e708cd7
Minor refactors and reformatting 2019-12-12 03:48:25 -05:00
Henrik Lissner
e799022a1e
lang/org: fix 'wrong-number-of-arguments quote 3' error 2019-11-28 21:53:12 -05:00
Henrik Lissner
9bd8904838
lang/org: fix #2119 2019-11-27 23:52:37 -05:00
Henrik Lissner
843be4d2a6
lang/org: refactor org-journal integration 2019-10-31 23:09:43 -04:00
Henrik Lissner
5f00db871e
lang/org: major refactor & add org-fancy-priorities package
- Fixes an issue where evil bindings weren't working in org-mode
- Significantly slims down on unnecessary keybinds
- Remove +org-init-keybinds-for-evil-h hook and reli more on our new
  evil-org fork, which has upstreamed some of our changes.
- Documents undocumented functions, remove unnused ones, and reorganize
  org's autoload libraries by convention.
- Adds org-fancy-priorities for more elegant (and subtle) priority
  display than ugly [#A] tags.
2019-10-25 20:25:20 -04:00
Henrik Lissner
1694641636
lang/org: minor refactor of contrib submodules 2019-10-20 19:57:28 -04:00
Henrik Lissner
c5464f1798
lang/org: replace ox-reveal w/ org-re-reveal
ox-reveal is no longer maintained, and has been replaced with
org-re-reveal; a fork.
2019-10-20 19:57:27 -04:00
Henrik Lissner
e0469e14c0
Minor refactors & reformatting across the board 2019-10-20 19:57:27 -04:00
Andrew Whatson
285eab1ee5 Add support for org-pomodoro 2019-10-14 15:04:17 +10:00
Henrik Lissner
922b48872d
lang/org: move hugo config into +org-init-export-h
It doesn't warrant its own file under contrib.
2019-10-12 00:48:47 -04:00
Henrik Lissner
22b0b43fe1
lang/org: replace SPC m e with org-export-dispatch #1879
Let ox handle the export dispatch keybinds.
2019-10-12 00:48:47 -04:00
Henrik Lissner
423a38c758
lang/org: move contrib/+hugo -> contrib/hugo
+ Refill +hugo flag's description in the README
+ Lazy load ox-hugo localleader keybinds by package, rather than by
  keymap deferral
2019-10-04 12:37:41 -04:00
Lorenzo Giuliani
ce6b2f8c71 move map! to the :preface section 2019-10-04 10:31:19 +02:00
Lorenzo Giuliani
4480ab0051 unquote interactive lambda macros 2019-10-03 21:32:07 +02:00
Lorenzo Giuliani
440f2cffaa move map! to the :init section of the package definition 2019-09-30 17:29:09 +02:00
Lorenzo Giuliani
ab144f89c2 use the λ! macro 2019-09-30 17:29:09 +02:00
Lorenzo Giuliani
22d3dbe306 use descriptions from kaushalmodi/ox-hugo@a8e0c6e
remove defun declarations, use lambdas
2019-09-30 17:29:09 +02:00
Lorenzo Giuliani
8457d2f825 descriptions and keybindings as per ox-hugo docs
Mimicks the ox menu `C-c C-e H #`
2019-09-30 17:29:09 +02:00
Lorenzo Giuliani
ea4fa7021d move +hugo feature to contrib/+hugo.el 2019-09-30 17:28:15 +02:00
Rudi Grinberg
baf9b3bc87 Use cookie for journal feature check
The :when option in the use-package clause is then removed

Signed-off-by: Rudi Grinberg <rudi.grinberg@gmail.com>
2019-09-18 13:30:26 +09:00
Rudi Grinberg
aa1d2f5d51 org-journal: defer config
Signed-off-by: Rudi Grinberg <rudi.grinberg@gmail.com>
2019-09-18 13:29:51 +09:00
Rudi Grinberg
594e38fd47 Move org-journal config to contrib
Signed-off-by: Rudi Grinberg <rudi.grinberg@gmail.com>
2019-09-18 13:29:06 +09:00
Henrik Lissner
09d13fd60d
Use add-hook! for inline hook defuns 2019-07-27 02:46:49 +02:00
Henrik Lissner
a3e262c7ac
💥 Refactor add-hook! macro & change arg order
This update may potentially break your usage of add-hook! if you pass
the :local or :append properties to it. This is how they used to work:

  (add-hook! :append 'some-mode-hook #'do-something)

Thsoe properties must now follow the hooks, e.g.

  (add-hook! 'some-mode-hook :append #'do-something)

Other changes:
- Various add-hook calls have been renamed to add-hook! because I
  incorrectly assumed `defun` always returned its definition's symbol,
  when in fact, its return value is "undefined" (so sayeth the
  documentation). This should fix #1597.
- This update adds the ability to add multiple functions to hooks
  without a list:

    (add-hook! 'some-mode-hook
               #'do-something
               #'do-something-else)

- The indentation logic has been changed so that consecutive function
  symbols at indented at the same level as the first argument, but forms
  are indent like a defun.

    (add-hook! 'some-mode-hook
               #'do-something
               #'do-something-else)

    (add-hook! 'some-mode-hook
      (message "Hello"))
2019-07-26 20:17:29 +02:00