Commit graph

104 commits

Author SHA1 Message Date
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
Matthías Páll Gissurarson 940a72481a Add the org-brain layer 2017-06-13 12:39:03 +02:00
Eivind Fonn 0d352decc9 ibuffer doc: update keybinding 2017-06-12 12:48:00 +02:00
deb0ch 0dbfbd40ed bindings: improve buffers listing bindings
- bind spacemacs-layouts/non-restricted-buffer-list to SPC b B instead
of SPC B b
- rename buffer listing functions in which-key to be more explicit

PR title:

bindings: non-restricted-buffer-list-* to SPC B b instead of SPC B b

PR message:

I don't know what was the thought behind this, but `spacemacs-layouts/non-restricted-buffers-list-*` was alone in its `SPC B` prefix and `SPC b B` was almost free, only used in one layer that I would be surprised if it was widely used (`ibuffer`).

I also renamed buffers listing functions in `which-key` to be clearer for the user. Indeed, I find that names like `helm-mini` are pretty obscure and kind of defeat the purpose of `which-key` and `spacemacs-layouts-non-restricted-buffer-list-blah` was so long that it couldn't even be displayed.

Now the user can choose between `list-buffers` or `global-list-buffers` for listing buffers.
2017-06-12 12:46:35 +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
d12frosted d76c5a75d5
repalce fill-or-unfill with unfill package 2016-12-27 09:57:49 +02:00
smile13241324 2b8db7c3ad Add evil keybinding "i a" for org-attach 2016-12-24 21:01:43 +02:00
syl20bnr 679da2436a core: scope minor-mode specific key bindigns under major-mode leader
Also remove unnecessary bindings for org-edit-src-exit
2016-12-16 08:57:45 -05:00
d12frosted 0477040f7e
expose org-journal binded functions as commands
And also fix indentation.

This is to complete #7060
2016-12-14 20:06:24 +02:00
Nick Anderson c37f4212e3
Add: org-journal support 2016-12-14 19:55:37 +02:00
Tu Do 9acfcf3c9e Make Semantic fast
Limit the parsing scope to file, local and project. The choices are
listed in semanticdb-find-default-throttle variable.
2016-11-20 19:00:42 -05:00
syl20bnr fed4d1f2b2 Org: Move SPC m e to SPC m e e for org-export-dispatch
In order to be able to support more conversion format
2016-11-18 10:02:38 -05:00
david-sawatzke 442681333f Add keybinding "," for org-edit-src-exit
This makes sense so org-edit-src behaves similar to git-commit in magit
2016-11-11 15:23:07 +02:00
Don March f90dd37e4f Add ibuffer bindings for updating and filter-group motion
The `ibuffer-update` command is originally on `g` but is evilified to
the inconvenient `C-S-g`, so bind it to `gr`.
2016-11-09 19:08:06 +02:00
Allen Li 6332d50f8f org: Add org-expiry
Add org-expiry package to be loaded lazily and autoload interactive
functions.

Provides no default configuration, but make it more convenient for users
to use the org-expiry package in their personal configuration.
2016-10-17 19:59:28 +02:00
Kai von Fintel 498321f70d Move org-async-init.el into org/local dir 2016-10-17 19:48:34 +02:00
Christian Gram Kalhauge f462c9475f Add Twitter Bootstrap support to org 2016-10-17 13:54:06 +02:00
Matt Giles 59189603ae Fix inconsistent org mode key bindings
Fixes #6630

In org-agenda-mode, make the org-agenda-refile and
org-agenda-clock-cancel bindings consistent with org-refile and
org-clock-cancel.

In org-agenda-transient-state, make the refile, set tags, clock in,
clock out, and clock cancel bindings consistent with their org-mode
and org-agenda-mode equivalents.

In org-capture-mode, make the org-capture-refile binding the same as
the org-agenda-refile and org-refile.
2016-10-17 13:50:20 +02:00
Swaroop C H e1f128b269 Mention mode line support for org clock 2016-10-17 13:49:05 +02:00
deb0ch 6a6cf57713 better-defaults layer: update emacs logo 2016-10-17 13:34:40 +02:00
Max Willsey 98af971266 Fix for 5320
Provides `:q`/`:wq` for abort/finalize in `org-capture` and
`org-src-edit`.
2016-10-17 13:20:44 +02:00
syl20bnr f8bf86a105 Move clock related key bindings to SPC a o k prefix 2016-10-09 13:14:41 -04:00
Allen Li aed35fc6ef [org] Add org-clock key bindings 2016-10-08 19:26:39 +02:00
d12frosted ac31e45c15
add fill-or-unfill function 2016-09-30 12:24:31 +03:00
Rory O’Kane 18952625cc
Fix wrong filename in a layer file’s header comment
the header of `keybindings.el` in the `better-defaults` layer
2016-09-13 13:22:59 +03:00
syl20bnr 463be7916c Move SPC b t to replace SPC p o by org-projectile/goto-todos
SPC p o was for projectile-multi-occur which is not really useful given
the alternative provided by Spacemacs

If this binding is really important we can consider adding it back
on SPC p O or find another way to integrate multi-occur in Spacemacs.
2016-08-31 22:32:16 -04:00