Commit graph

66 commits

Author SHA1 Message Date
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
Eivind Fonn
7427c03b46 Change SPC aoP to SPC bt (thanks ralesi) 2016-08-30 16:22:13 +02:00
James W. Brinkerhoff
cca05f57b5 Fix single missing character in documentation
Within the Important Note there is a single character (which written as wich) typo that this change corrects.
2016-08-17 19:54:29 +02:00
Eivind Fonn
8f9914903d org: display error in case no agenda files 2016-08-07 21:05:31 +02:00
Eivind Fonn
f98a80a364 org: fix org layout if no agenda files 2016-08-07 21:04:26 +02:00
syl20bnr
1c4f685b13 core: refactor layer system
TL;DR Should get 20~25% speed improvement on startup, should get a big
improvement when using ivy or helm SPC h SPC. Users with layers.el files
in their layers must use `configuration-layer/declare-used-layer`
instead of `configuration-layer/declare-layer`

The implementation of the layer system made heavy use of `object-assoc`
and `object-assoc-list` functions which are not efficient. This PR
mainly replaces those object lists with hash maps in order to index the
objects by their name and achieve an O(1) access time.

The old object lists `configuration-layer--layers` and
`configuration-layer--packages` have been each by two variables each:
- `configuration-layer--indexed-layers` which is a hash-map of all the
layer objects and `configuration-layer--used-layers` which is a list of
all _used_ layers symbols,
- symmetrically `configuration-layer--indexed-packages` which is a
hash-map of all the package objects and
`configuration-layer--used-packages` which is a list of all _used_
packages symbols.

The hash map `configuration-layer--layer-paths` is gone, now we create
directly layer objects when discovering the layers and set the :dir
property. Note that previously the layer paths were the parent directory
of the layer, now :dir is the layer path.

The function `configuration-layer//make-layer` is now similar to its
counterpart `configuration-layer//make-package` in the sense that it
takes an optional `obj` to be able to override its properties.

The functions `configuration-layer/declare-layer` and
`configuration-layer/declare-layers` now takes an optional parameter
`usedp` in order to declare used or not used layers. For convenience
new functions have been added: `configuration-layer/declare-used-layer`
and `configuration-layer/declare-used-layers`, users _must_ update all
occurrences of `configuration-layer/declare-layer` by
`configuration-layer/declare-used-layers` in their `layers.el` files.

`helm-spacemacs-help` and `ivy-spacemacs-help` are updated to match the
changes in `core-configuration-layer.el`.

Rename some variables to make them more explicit:
`configuration-layer-no-layer` -> `configuration-layer-exclude-all-layers`
`configuration-layer-distribution` -> `configuration-layer-force-distribution`
2016-07-28 23:26:54 -04:00
d12frosted
6fb7adfe3c
fix call to show-all
And also move back it to spacemacs-base layer
2016-07-07 15:34:22 +03:00
syl20bnr
93f09bca39 Move org related config for ediff to org layer 2016-07-06 21:16:57 -04:00
syl20bnr
0a719b1be7 org: move org-pomodoro binding in org-agenda to org-pomodoro init 2016-07-05 00:23:16 -04:00
Mikhail Skorzhinskiy
ac3ba006a5 org-agenda: Add missed key binding for pomodoro 2016-07-05 00:23:16 -04:00
Eivind Fonn
31f37fc4d7 org: org-repo-todo -> org-projectile 2016-07-05 00:23:16 -04:00
d12frosted
237d1143d1
improve mwim integration
1. By default let `C-e` move to the end of line first.
2. Minor improvements to readme file
2016-06-27 15:21:31 +03:00
Thomas de Beauchene
71f8ae8e38
Add mwim to layer better-defaults
Add "smart move end of line" behaviour and add two layer variables
allow for tweaking C-a and C-e behaviours:

- better-defaults-move-to-beginning-of-code-first and
- better-defaults-move-to-end-of-code-first
2016-06-27 15:16:31 +03:00
km
d7820aafd6 Remove even more 24.3 related configuration
Helm-flx, which is included as a core package, requires a minimum Emacs
version of 24.4. As it stands attempting to install Spacemacs on Emacs
24.3 or below will break on helm-flx.
2016-06-20 22:26:53 -04:00
syl20bnr
f147ec01e7 org: set org-image-actual-width to nil
Allows to resize images in an org buffer.
2016-06-10 15:50:05 -04:00
Allen Li
d33507f42a Add autoload for orgtbl-mode 2016-06-05 00:36:27 -04:00
syl20bnr
b809aba5e8 org: fix ox-gfm index generation using a fork
Also simplify the ox-gfm config
2016-06-01 22:37:16 -04:00
syl20bnr
21af800c57 org: simplify ox-gfm config 2016-06-01 22:07:24 -04:00
syl20bnr
bd4508dce0 Cleanup org-reveal config and rename layer variable
Renamed layer variable to fit with the name of other variables
Also remove weird code about toc-org.
2016-06-01 22:05:46 -04:00
Nikola Knezevic
678a2b7945 Add support for org-reveal to org layer
org-reveal is an extension to org mode that allows exporting of org files as
reveal.js presentations. Since not everyone needs this functionality, the
loading of the package is controlled via the `org-enable-reveal-js` switch,
which, if set to `t` would load the package.
2016-06-01 21:49:22 -04:00
Eivind Fonn
62fc64f745 core: special toggle API for minor modes 2016-05-31 22:33:44 -04:00
syl20bnr
a2de9a63af Use :toggle keyword instead of when forms 2016-05-29 22:39:21 -04:00
sooheon
15e6290151 Make check for company-mode explicit, not implicit
People may have company-mode installed without necessarily using the
auto-completion layer.
2016-05-27 00:32:05 -04:00
km
c61205a657 Add prefixes for the Org layer bindings 2016-05-16 23:58:07 -04:00
syl20bnr
c8ec0fa063 Move smex layer functions to funcs.el 2016-05-15 21:52:10 -04:00
syl20bnr
0709d936d6 semantic: Fix srecode-map.el in root folder at install 2016-05-14 12:51:30 -04:00
Eivind Fonn
92e2ab3e2f typography: Use :toggle for tildify 2016-05-08 20:18:43 +02:00
Eivind Fonn
b416d83d8b Add code block surround in org-mode
Also:
- don't pad drawer surround with extra newlines
- upcase the drawer surround as per org conventions
2016-05-06 13:30:20 +02:00
syl20bnr
d995f39e07 org-babel: fix redisplay of inline images 2016-04-29 22:47:26 -04:00
JAremko
42db6c7a41 Move space-doc to the Spacemacs core bundle 2016-04-29 20:01:56 -04:00
JAremko
31d2a149d5 Improve docs
Bug fix
Reorganize code
2016-04-29 20:00:12 -04:00
JAremko
0b9add2f0d Redesign space-doc 2016-04-29 20:00:12 -04:00
syl20bnr
edc4493e19 org: fix missing parenthesis 2016-04-21 23:26:57 -04:00
Eivind Fonn
d80829b979 Revamp org-repo-todo 2016-04-21 22:29:12 -04:00
syl20bnr
3ede905745 Apply doc-fmt to various READMEs 2016-04-21 22:25:51 -04:00
syl20bnr
14d3529ae2 org: defer org-download 2016-04-21 21:49:57 -04:00
krakapwa
995f6df728 Added org-download support 2016-04-21 21:36:49 -04:00
Tim Jäger
172247c324 Added keybinding for ~org-insert-subheading~ 2016-04-21 21:11:18 -04:00
NJBS
f7c2f4ed15 Defer space-doc
space-doc currently adds a large chunk of time to initial load time
since it has to require org.
2016-04-21 21:09:54 -04:00