Commit graph

131 commits

Author SHA1 Message Date
syl20bnr
ebe4c60264 Revert "Defer packages by default using use-package-always-defer"
This reverts commit 29c78ce841 and all other fixes
that have been made afterwards.

The motivation is that use-package is seen by many as a replacement for
`require`. Is use-package always defer the loading of packages then is breaks
this use case, this does not respect POLA so even if it was making Spacemacs
loading faster (up to 3s faster on some startup on my machine) we just cannot
use it, it would be irresponsible. Spacemacs should be easy to use, loading
performance will come with time but it is not a priority.
2018-03-03 23:40:10 -05:00
syl20bnr
29c78ce841 Defer packages by default using use-package-always-defer
Warning now `:defer t` is implied, to force a package to load `:demand t` is
now necessary.
2018-02-27 23:32:52 -05:00
JAremko
7ce071b4be Format documentation 2018-02-28 03:29:48 +02:00
Paul
f3a5b5a99b org: add key binding for org-toggle-checkbox
Problem
---

For basic toggling a checkbox (and adding / removing one with `SPC u`) for list
item at point one can use `,,`. However, there is no spacemacs key binding for
more advanced checkbox editing command `org-toggle-checkbox`.

Compare `C-c C-c` to `C-c C-x C-b` at https://orgmode.org/manual/Checkboxes.html

Solution
---

Add `SPC m T c` key binding for `org-toggle-checkbox`.
2018-02-24 19:49:39 -05:00
William Casarin
fcd78d4379 org: org-clock-goto binding
Bind org-clock-goto to `SPC aokg`

Useful for jumping to recent clocks (via SPC u SPC aokg), otherwise it jumps to
the current or last clocked in clock

Signed-off-by: William Casarin <jb55@jb55.com>
2018-02-24 19:49:39 -05:00
Paul
670a483735 org: tidy prefixes
Bindings from `SPC m h` have been moved under `SPC m i` in 4898644a revamp.
2018-02-17 16:09:06 -05:00
syl20bnr
a88aa45668 org: sort babel key bindings in documentation 2018-01-22 23:21:49 -05:00
timor
2609cd326a Document org babel transient state 2018-01-22 23:20:53 -05:00
Paul
990902e6d0 org: fix variable name in docs 2018-01-22 22:49:20 -05:00
syl20bnr
5144c25ab6 org-mime: remove uneeded :commands
As they are already declared as autoloaded.
2018-01-21 12:15:22 -05:00
syl20bnr
c3b2f18901 Add explanation about C-h nil in Org layer 2018-01-21 09:33:31 -05:00
Ag Ibragimov
e2dd5b1e4d Org: don't rebind C-h in Agenda
Evilified state rebinds C-h to execute org-agenda-holidays, that's not good.
2018-01-21 09:31:22 -05:00
smile13241324
3f6342c1a7 Restore evil-org-additional-bindings in insert mode
Before some time the additional evil-org bindings were available
in all three evil modes. However due to a bug in evil-org this
seems to have been changed. The bug is fixed now and
I have restored the old insert mode bindings by setting
evil-org-use-additional-insert to true during package
initialization
2018-01-20 10:39:28 -05:00
Amos Bird
f3d4bdb366 use org-mime provided by melpa
https://github.com/org-mime/org-mime/issues/6
2018-01-20 10:32:06 -05:00
timor
6014860ff5 Add transient state for org source block navigation 2018-01-19 23:00:51 -05:00
timor
044f2986cf Add org-babel* commands under prefix "b"
This includes most of the C-c C-v sequences.
2018-01-19 23:00:51 -05:00
syl20bnr
1c9d74151a org: update documentation for SPC m s a and SPC m s A 2018-01-17 23:42:04 -05:00
Ag Ibragimov
73988ce799 Adds org-toggle-archive-tag keybinding 2018-01-17 23:40:57 -05:00
Benjamin Reynolds
095d9d895a Fix spelling errors in org layer documentation 2018-01-17 10:51:08 -05:00
syl20bnr
41e546f040 Move all use-package hook declaration to pre-init functions
Had to create dummy init functions at some places since the owner of a package
is the last layer that defines the init function of a package. And a package
can be installed only if it has an owner.
2018-01-10 23:57:18 -05:00
Miciah Masters
fac28d170d org: Delete duplicate defmacro for org-emphasize
Delete the duplicate definition of the spacemacs|org-emphasize macro.
Commit 8b0c69c8cd added the duplicate.
2018-01-08 01:48:04 -05:00
syl20bnr
14b206492b ivy: use post-init to add hook for org-ctrl-c-ctrl-c 2018-01-06 11:51:19 -05:00
Allen Li
fcf33be0f7 Use counsel-org-tag when ivy layer is used
When ivy is used, the default org-set-tags will only complete for the
first tag, and any additional tags must be typed manually.  counsel
provides a replacement function to fix this.

Unfortunately, we can't just alias org-set-tags because it is used in
other places, so we must change C-c C-c using a hook.

See https://github.com/syl20bnr/spacemacs/issues/6918
2018-01-06 11:44:18 -05:00
syl20bnr
326965d4ce Happy New Year 2018! 2018-01-04 02:00:25 -05:00
syl20bnr
f142ea6a32 org: hide lighter for evil-org
It is not conventional and missleading.
2018-01-04 01:40:52 -05:00
Leonard Lausen
e26e9c0eae Fix org-projectile capture-template keyword argument
Introduced by
d57062569e
Unfortunately that commit prevents specifying &additional-options, which should
be fixed by https://github.com/IvanMalison/org-projectile/pull/35
2017-12-23 17:27:29 +02:00
CeleritasCelery
bd0b4baee0 fix org-default-notes-file precedence 2017-10-18 18:53:27 +03:00
syl20bnr
bec3f8444d org: add M-RET for org-meta-return under major mode leader key
Fixes #9603
2017-10-15 12:09:32 -04:00
Jake Zerrer
60ad7b1a9c Add org-agenda commands to un-schedule and un-deadline tasks 2017-10-15 11:08:01 -04:00
syl20bnr
b09fe8553d org: enable org-src-tab-acts-natively 2017-10-15 11:08:01 -04:00
Kaushal Modi
a38a6bd4d2 Add ox-hugo
Resolves https://github.com/syl20bnr/spacemacs/issues/9663

Tested to work on a created-from-scratch spacemacs-base config created with
Emacs-style, ivy preferences.

I just added below to dotspacemacs-configuration-layers

    (org :variables
         org-enable-hugo-support t)

After this PR, C-c C-e in an Org file shows the Hugo export options.
2017-10-15 11:08:01 -04:00
Benjamin Reynolds
6bc940fe7c Fix last remaining link that uses relative style 2017-08-31 00:25:24 +03:00
Aaron Jensen
04f7831b04 Fix org-projectile/goto-todos 2017-08-27 22:08:25 -04:00
Swaroop C H
0b01b5d2e2 org-verbatim, not org-verbose
I'm assuming this is a typo, because I see only in org verbatim in the orgmode
manual - http://orgmode.org/org.html#Emphasis-and-monospace
2017-08-27 21:55:37 -04:00
syl20bnr
c913ae784e org: add documentation for m T e and m T l key bindings 2017-08-27 21:53:44 -04:00
James Wang
f0faca4213 Org: add toggles for pretty entities and org links 2017-08-27 21:51:52 -04:00
JAremko
06301b2212 Improve exporting/testing 2017-08-18 20:50:21 +03:00
Francesc Elies Henar
a53cd6062e adds global evil-leader mappings aokr for org-resolve-clocks 2017-08-11 10:06:21 +02:00
Aaron Jensen
459268f526
Load org-projectile lazily, after org-capture
Fixes #9367 and prevents org from loading on startup
2017-08-08 19:28:41 +03:00
d12frosted
8ee1b1baf7
adapt to org-brain 0.4
Fixes #9329
2017-08-08 19:12:47 +03:00
Ivan Malison
85c023a5c5
Remove nils from call to org-projectile-project-todo-entry 2017-08-03 16:14:04 +03:00
Ivan Malison
6063466231
Make org-projectile integration compatible with its new version 2017-07-30 16:10:15 +03:00
Francesc Elies Henar
5be6edf0b7
binds org-resolve-clocks to ~, C r~ 2017-07-29 21:24:52 +03:00
Eivind Fonn
f4b53d2a4f Rename :depends to :requires 2017-07-03 09:54:53 +02:00
JAremko
ff333c3c3e Add pretty docs option to .spacemacs 2017-06-23 22:29:31 +03:00
Eivind Fonn
08561d8631 core: implement :depends for package declarations
This replaces the older pattern
:toggle (configuration-layer/package-usedp ..)

This implementation ensures that :disabled-for honors dependent packages, i.e.
if package a depends on package b, which is owned by layer c, and layer c is
disabled for layer d, then neither package a nor b will be configured for layer
d. Previously, this was only true for package a, but not b.

This commit also fixes:

- configuration-layer/describe-package now shows which post-init and pre-init
  functions are disabled, if any
- Does not recreate all layer objects unconditionally when calling
  configuration-layer/discover-layers. Previously, this led to all layers being
  recreated after e.g. `SPC h SPC`, without any of the dotfile information.
  Since this information is now necessary for
  configuration-layer/describe-package, it’s important that we don’t clear the
  indexed layers when invoking this function.
2017-06-22 11:53:05 +02:00
Eivind Fonn
a38d71782c org: document new layer variable 2017-06-21 12:58:40 +02:00
Eivind Fonn
010164ce77 org: add layer variable for todo bindings 2017-06-21 12:56:44 +02:00
Eivind Fonn
17124e2b8f Move org-brain to org layer
Add condition on Emacs 25
2017-06-13 12:53:43 +02:00
Eivind Fonn
29d4fa5374 Remap org-attach to ,A
It was mapped to ,ia but it's used for more than inserting attachments.

Fixes #9050
2017-06-12 12:18:43 +02:00