Commit graph

111 commits

Author SHA1 Message Date
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
Eivind Fonn d9f3f864f8 org: update tree keybindings 2017-06-10 16:08:08 +02:00
Eivind Fonn c533605df0 Use evil-org from MELPA 2017-06-08 09:17:04 +02:00
syl20bnr fcc8b9a36c org: remove mu4e and notmuch
org-mu4e was already handled in the mu4e layer which is the correct place for
this.
Added notmuch to mu4e layer, maybe not the right place for this but for now
it is OK.
2017-05-24 23:20:23 -04:00
Michishige Kaito 6dac3425b6 Org layer: Bind org-update-statistics-cookies 2017-05-24 13:36:10 +02:00
Eivind Fonn 907f9e1b09 Make org layer depend on spacemacs-org 2017-05-24 12:33:42 +02:00
Muneeb Shaikh fd63e5cb44 org: bind org-refile from 'R' to 'r'
Why?
 - 'r' is free binding - not used anywhere for org related modes
 - refiling is quite common activity if you use org heavily, so moving it for
 easy access makes sense
2017-05-24 09:56:18 +02:00
JAremko 6c5a0b2b14 update docs to the new toc-org format 2017-05-22 18:35:37 +03:00
Steven Allen 1872376cc2 Load org-mode email integration (mu4e/notmuch) when org is loaded.
Before, `org-mu4e` would be loaded when mu4e was. However, as an extension to
org mode, not mu4e, it should be loaded when org mode is.

This commit also adds similar support for notmuch.
2017-05-19 17:17:33 +02:00
duianto 9e93cc2ebc Define SPC C c 'org-capture on :init
problem:  SPC C c was defined in the org layers :config section, which
          runs when a .org file is loaded
solution: move the definition to the :init section, so that it loads on
          startup, like SPC a o c and C-c c
2017-05-14 12:30:26 -04:00
syl20bnr 4898644a95 org: revamp key bindings
Org key bindings were a mess with no logic.
This commit changes a lot of them to reorganize them under prefixes.
Here is the complet list of changed key bindings:

New prefixes:
- C clocks
- d dates
- miD download
- ms trees/subtrees
- mT toggles

New key bindings:
- "Ti" org-toggle-inline-images

Changes key bindings:
- "Cc" 'org-clock-cancel
- "Ci" 'org-clock-in
- "Co" 'org-clock-out
- "Cp" 'org-pomodoro
- "dd" 'org-deadline
- "ds" 'org-schedule
- "dt" 'org-time-stamp
- "dT" 'org-time-stamp-inactive

- "em" 'org-mime-org-buffer-htmlize

- "id" 'org-insert-drawer
- "iDy" 'org-download-yank
- "iDs" 'org-download-screenshot
- "ie" 'org-set-effort
- "ih" 'org-insert-heading
- "iH" 'org-insert-heading-after-current
- "iK" 'spacemacs/insert-keybinding-org
- "il" 'org-insert-link
- "ip" 'org-set-property
- "is" 'org-insert-subheading
- "it" 'org-set-tags

- "sa" 'org-archive-subtree
- "sb" 'org-tree-to-indirect-buffer
- "sh" 'org-promote-subtree
- "sj" 'org-move-subtree-down
- "sk" 'org-move-subtree-up
- "sl" 'org-demote-subtree
- "sn" 'org-narrow-to-subtree
- "sN" 'widen
- "sr" 'org-refile
- "ss" 'org-sparse-tree
- "sS" 'org-sort

- "Tt" 'org-show-todo-tree
- "Ti" 'org-toggle-inline-images
- "TV" 'space-doc-mode
- "Tx" 'org-toggle-latex-fragment

- "xo" 'org-open-at-point

- "Cc" 'org-agenda-clock-cancel
- "Ci" 'org-agenda-clock-in
- "Co" 'org-agenda-clock-out
- "dd" 'org-agenda-deadline
- "ds" 'org-agenda-schedule
- "ie" 'org-agenda-set-effort
- "ip" 'org-agenda-set-property
- "it" 'org-agenda-set-tags
- "sr" 'org-agenda-refile
2017-05-04 00:28:12 -04:00
William Robson 52275b4778 Add a new keybinding for org-preview-latex-fragment
The keybinding I chose is <space> m X. l, L and x were taken already.
2017-05-03 22:54:17 -04:00
JAremko 94205a3e81 Fix css links and various org links 2017-04-29 10:45:52 -04:00
JAremko f805d0ebd9 Fix spacefmt test on deleted files
Also fix some links
[ci skip]
2017-04-28 23:29:43 -04:00
JAremko c1e4556882 Format and cleanup docs. Fix links. 2017-04-28 23:29:14 -04:00
syl20bnr ccad42209c Move space-doc-mode toggle to SPC m V 2017-04-17 22:19:47 -04:00
nikolaiam 506edddc96 Bind space-doc-mode to SPC m v in Org
Provide a way to toggle space-doc-mode in any org file with a keybinding.
Useful for reading documents in the same mode as Spacemacs documentation is
opened in.
2017-04-17 22:14:18 -04:00
Shane Kilkelly 32b34b67b9 Add instructions to disable org-bullets 2017-04-09 23:23:18 -04:00
Daniel Schoepe 70a0217be9 Fix 'o' on folded headings 2017-03-12 17:20:23 +02:00
syl20bnr fb27ede558 Bump year in copyright headers
Happy New Year 2017!
2017-01-05 23:08:17 -05:00
syl20bnr 74fdbb6795 Refactor and simplify company backends declaration
Enabling a company backend for a specific mode was a tedious tasks with code
scattered at different locations, one for local variable definitions, one for
company hook function definitions and another where the backends were pushed to
the local variables (which was problematic, since we ended up pushing the same
backends over and over again with `SPC f e R`, pushes have been replaced by
add-to-list calls in the new macro).

All these steps are now put together at one place with the new macro
spacemacs|add-company-backends, check its docstring for more info on its
arguments.

This macro also allows to define arbitrary buffer local variables to tune
company for specific modes (similar to layer variables via a keyword :variables)

The code related to company backends management has been moved to the
auto-completion layer in the funcs.el file. A nice side effect of this move is
that it enforces correct encapsulation of company backends related code. We can
now easily detect if there is some configuration leakage when the
auto-completion layer is not used. But we loose macro expansion at file loading
time (not sue it is a big concern though).

The function spacemacs|enable-auto-complete was never used so it has been
deleted which led to the deletion of the now empty file core-auto-completion.el.

The example in LAYERS.org regarding auto-completion is now out of date and has
been deleted. An example to setup auto-completion is provided in the README.org
file of the auto-completion layer.
2017-01-02 00:39:04 -05:00