Commit Graph

377 Commits

Author SHA1 Message Date
duianto 1de8157a5c Unfold org headings from helm-ag and magit
Unfold org headings to a target line when opening a .org file from:
helm-ag, magit diff or blame buffers
2019-10-19 23:47:45 +02:00
Billy Wade 59ba80853d [org] Make README point to org-re-reveal instead of org-reveal 2019-10-19 21:57:26 +02:00
Lorenzo Manacorda 4b810795ea org-mode: Document more insertion bindings
`C-RET` and `C-S-RET`, from https://orgmode.org/manual/Structure-editing.html.
2019-10-10 21:21:28 +02:00
syl20bnr 584392bd92 [core] Fix layer dependencies based on layer variables
There was a edge case with the declaration of the `lsp` layer in `layers.el`
files.
The `hy` layer depends on the `python` layer which in turn depends on the `lsp`
layer if and only if the `python-backend` layer variable is set to `lsp`.
When the `hy` layer was declared first then it declares the `python` layer
without its layer variables, thus the `lsp` layer was not declared because the
`python-backend` variable was not set.

The fix is to gather all the layer dependencies and resolve them only after all
the used layers have been declared.

* new function `configuration-layer/declare-layer-dependencies`
* replace all calls to `configuration-layer/declare-layer` by the new function
  except for distribution layers (we declare layer dependencies right away in
  distribution layers)
2019-09-30 02:00:48 -04:00
Miciah Masters cca2405f7d [org] Document how to open today's journal
Fix issue #12168 by documenting that the SPC u SPC a o j j key binding can
be used to open today's journal without adding a new entry.

* layers/+emacs/org/README.org: Add key binding.
2019-09-17 20:06:41 +02:00
Simon Pintarelli 0750b4e72c update org-layer: helm-org is now a separate package 2019-08-11 20:31:48 +02:00
Enze Chi 56ae091b62 remove duplicated code 2019-08-01 12:57:12 +02:00
syl20bnr 009777f6cf Add pre-dump for org, emacs-lisp and helm 2019-07-26 16:33:10 -04:00
Oguz Serbetci c023542948 Add org-brain bindings for visiting entries and adding headlines and resources 2019-07-14 22:39:57 +02:00
Mariusz Klochowicz d6c8df3d00 Add org-pomodoro keybinding in org-journal-mode. 2019-07-04 13:03:20 +02:00
emacspace 7b406a016a documentation formatting: Fri Jun 14 07:02:59 UTC 2019 2019-06-15 10:49:33 +02:00
Andrew Grangaard 17c4219d05 Update reveal.js cdn url for new format and v3.8.0
* jsdeliver url format changed from `<project>/<version>/file` to `npm/<project>@<version>/<file>` sometime in 2017.
  The old urls still work, but they aren't getting updated.
* The current reveal.js version is 3.8.0

current CDN version: https://cdn.jsdelivr.net/npm/reveal.js@3.8.0
2019-06-14 08:56:19 +02:00
Sebastian Nagel ba2edbb530 Add ox-jira as org export backend to org layer
Optionally enable is using org-enable-jira-support layer variable
2019-06-12 20:45:28 +02:00
emacspace 4610076709 documentation formatting: Thu May 30 07:45:00 UTC 2019 2019-05-30 22:56:18 +03:00
Kirill A. Korinsky ffffb90868 Introduced support of org-jira 2019-05-28 17:08:06 +02:00
emacspace c7c348a676 documentation formatting: Sun May 26 20:58:52 UTC 2019 2019-05-27 01:23:35 +03:00
Oguz Serbetci 0d08e69f89 Fix typo on org-brain-add-friendship binding. 2019-05-20 19:43:44 +02:00
clwgg 6d406e034d Add org-cut-subtree key-bind to org layer
This binds org-cut-subtree to ~SPC m s d~, similar in spirit to other 'delete'
bindings in evil-mode emacs.
2019-05-18 00:09:07 +02:00
Anton-Latukha f6660f82d4
Switch to the new layers generator 2019-05-15 21:08:21 +03:00
syl20bnr 5fc026d5ae [org] Add documentaion about org-cliplink 2019-05-12 22:01:26 -04:00
bb2020 d7686199c8 [org] Add org-cliplink package 2019-05-12 22:13:41 +02:00
syl20bnr c2f14a2498 [org] Sort key bindings 2019-05-12 10:19:35 -04:00
syl20bnr c444a00c48 [org] Change transient key tc to ti for clock issues
As the most important keyword here is "issues", the clock is already referenced
with the t prefix wihich is about "time".
2019-05-12 10:15:09 -04:00
Benjamin Hipple 363fbc4f39 [org] Add agenda transient keybinding for org-agenda-show-clocking-issues
As documented upstream [1], the `org-agenda-show-clocking-issues` view can be
used to show overlapping clocks, gaps, etc. on the agenda, and is bound by
default to `v c`. This commit adds a keybinding it in the org-agenda transient mode.

This may not be the best place for it, because it isn't a proper toggle;
upstream says to clear the issues flags by toggling logbook mode itself and does
not provide a clocking issues toggle directly.

[1] https://orgmode.org/manual/Agenda-commands.html#Agenda-commands
2019-05-06 22:43:04 +02:00
Bet4 bb86989775 semantic: enable company and disable idle summary when gtags is enabled 2019-05-04 17:18:28 +02:00
Bet4 9e2606a2df semantic: Don't let semanticdb search system databases 2019-05-04 17:18:28 +02:00
Bet4 0692ca140c Revert "Make Semantic fast"
This reverts commit 9acfcf3c9e.
2019-05-04 17:18:28 +02:00
JAremko 5d02b1c4bb Add more tags 2019-05-03 03:44:19 +03:00
Emil Petersen 5e0c456431 Add SPC m i i for org-insert-item
This command helps to insert list items.
2019-04-27 00:43:22 +02:00
emacspace 202da65b1c documentation formatting: Sun Apr 21 20:04:25 UTC 2019 2019-04-22 23:16:20 +02:00
JAremko 23842fa77e Simplify descriptions of layers 2019-04-21 22:09:34 +03:00
duianto eebc238803 Add ibuffer square brackets filter group motion
Match the magit buffer section/sibling navigation keys (bound in evil-magit) and
the evil-collections motion section also suggests using [ and ] for navigation
between sections.

And list the default ibuffer filter group motion bindings:
Forward: TAB and M-n
Backward: S-TAB and M-p
2019-04-21 00:02:50 +02:00
Langston Barrett d18f9da683 Add org-brain keybindings 2019-04-18 19:37:41 +02:00
Compro-Prasad 9af46cba9e Fixes #10762 Added support for user labels in LaTeX exports from org
See #10731 for further references
2019-04-16 23:06:15 +02:00
Francesc Elies Henar cf498b01dc Fix org-clock-resolve-clock keybinding
In newer version than 9.1.12 org-clock-resolve-clock is no longer an
interactive function, this change broke bindings like ~SPC a o C j~
2019-04-15 20:54:18 +02:00
emacspace e852e5ad57 documentation formatting: Sun Apr 7 17:59:01 UTC 2019 2019-04-08 13:42:42 +02:00
vishvanath45 3fca351e08 [org] Add ePUB support 2019-04-07 14:39:48 +02:00
Langston Barrett 022b0b3823 org layer: add support for org-sticky-header-mode 2019-04-07 10:58:43 +02:00
duianto a622918563 Revert "[org] Add epub support"
This reverts commit 238be0227b.
2019-04-06 21:41:54 +02:00
vishvanath45 238be0227b [org] Add epub support
Toggle variable named `org-enable-epub-support` lets user enable/disable epub
support.
2019-04-06 20:43:59 +02:00
Magnus Therning 9e3340b8c3 Replace ox-reveal with org-re-reveal
Adressing #11935

Just a naive `s/ox-reveal/org-re-reveal`, but it seems to work.
2019-04-04 12:25:24 +02:00
Justin Stone 79fed0f108 remove reference to fixed bug
According to org-projectile's repo, this bug has been fixed:

https://github.com/IvanMalison/org-projectile/issues/10

Recommending the reference be removed from the documentation.
2019-01-20 14:24:37 +02:00
Marty Buchaus c754e5f86d update keybindings trying to copy from org. 2019-01-15 01:10:13 +02:00
Sam Pillsworth 6d9dbcf6bb Updates org-layer key bindings for Org 9.2 release 2019-01-15 01:00:53 +02:00
emacspace 45276bd96f documentation formatting: Wed Dec 5 03:03:03 UTC 2018 2018-12-04 22:06:14 -05:00
duianto ee811f7b13 Unify packages list parentheses style
problem:
some layer packages lists have the open and closing parentheses on the same line
as the first and last listed package, but most seem to have them on a separate
lines.

solution:
put the open and close parentheses on separate lines, except for lists with only
a single package, they are written on the same line as the variable name and
parentheses.

fix the lists indentation
2018-11-21 21:35:38 +00:00
yuhan0 0596e90c3d Add 'z' recenter bindings for various transient states
By analogy with the "zz", "zb", "zt" vim / evil bindings, this adds an
additional key binding "z" for `recenter-top-bottom` to the following
transient states which navigate around the buffer in large jumps:
- auto-symbol-highlight
- error
- buffer
- vcs
- org-babel

This allows for repositioning of the buffer for visibility without having to
exit the transient state.

Minor updates are also made to documentation of other transient states.
2018-11-12 21:47:17 +00:00
emacspace 901f35849a documentation fixes: Tue Oct 23 14:18:21 UTC 2018 2018-10-23 23:38:16 +03:00
Boris Buliga 0ba3fb479e
use a global key binding for helm-org-rifle
Fixes #11420
2018-10-13 19:25:35 +03:00
Boris Buliga 58cb7257d2
load helm-org-rifle only when helm layer is used 2018-10-11 08:59:27 +03:00
Langston Barrett ff9fd1bcc3
org layer: add helm-org-rifle, bind to SPC m r 2018-10-11 08:54:41 +03:00
JAremko cd39f80c24 Reformat documentation 2018-10-11 00:13:43 +03:00
Daniel Molina c60072cd2c
Fix: add prefix to org-mode clock options. 2018-10-10 08:06:00 +03:00
Langston Barrett ad8eb85960 layers/+emacs/org: more clock keybindings, more consistency
Previously org-clock-related keybindings lived under "aok" (when not
in org-mode) and "mC" (in org-mode). This changes "aok" to "aoC",
adds more keybindings under both, and makes them more consistent
overall.
2018-10-08 22:11:31 +01:00
Magnus Therning ca8aa4e9b9 org: re-arrange sync keys and add sync for cards
Signed-off-by: Magnus Therning <magnus.therning@zimpler.com>
2018-09-05 11:25:38 +01:00
Magnus Therning ab3b4c30ec org: move org-trello keys to "SPC m m"
Signed-off-by: Magnus Therning <magnus.therning@zimpler.com>
2018-09-05 11:25:38 +01:00
Magnus Therning d29c783286 org: add a toggle for bringing in org-trello
Signed-off-by: Magnus Therning <magnus@therning.org>
2018-08-31 23:45:10 +03:00
smile13241324 c20fe9a1ae doc: fix small typo in semantic feature block 2018-08-09 21:57:58 +01:00
Anton-Latukha 026ba14691 layer: org: README.org: Org-journal support: rw body text 2018-07-28 18:53:24 -04:00
Anton-Latukha a78c8fec01 layer: org: README.org: Reveal.js support: rw body text 2018-07-28 18:53:24 -04:00
Anton-Latukha 0064a88213 layer: org: README.org: Gnuplot support: rw body text 2018-07-28 18:53:24 -04:00
Anton-Latukha b6d8d01622 layer: org: README.org: Twitter Bootstrap support: rw body text 2018-07-28 18:53:24 -04:00
Anton-Latukha 4cc92e9513 layer: org: README.org: Install: Layer: rw body text 2018-07-28 18:53:24 -04:00
JAremko 6946e255e6 Reformat docs 2018-07-20 02:45:21 +03:00
smile13241324 a087ee2ece org: add warning against manually loading org 2018-07-03 00:49:21 +03:00
Zhige Xin ae407c2efd Fix typo in org/README 2018-06-26 10:01:56 +03:00
syl20bnr 71da17e963 org: fix error void: evil-surround-pairs-alist 2018-06-16 03:52:32 -04:00
seemyvest 51f922694c Add key bindings for org-feed-update-all and org-feed-goto-inbox (#10745) 2018-06-02 02:00:33 -04:00
AmanYang f5701f3ef7 Fix pushing org-projectile-todo-files to org-agenda-files
Using `(push (org-projectile-todo-files) org-agenda-files)' would occur error shown below when entering org-agenda-mode.
--error begin
Wrong type argument: stringp, ("~/.emacs.d/TODOs.org" ...)
--error end
`(org-projectile-todo-files)' returns a list of files.
 `push' function would make the list a new ELT of `org-agenda-files' rather than merging members into it.
But `org-file-menu-entry' only accept file path string as parameter.
2018-05-28 00:11:37 +03:00
syl20bnr ecb9888d8e dump: require org when dumping 2018-05-20 03:58:48 -04:00
Tommi Komulainen 885f561673 org: add `SPC m i n` binding for org-add-note 2018-05-15 01:05:46 +03:00
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
syl20bnr 2c16d19ab7 semantic: make it possible to exclude stickyfunc 2018-01-17 23:03:33 -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
smile13241324 b4d663dcb5 Fix doc for cscope, geolocation, wakatime, prodigy and smex layer 2017-12-27 20:20:32 +02: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
Kristoffer Haugsbakk 10ba562350 typography: add “Features:” section
Add a “Features:” section by taking relevant pieces from the
“Description” supersection.

See: #9476
2017-11-20 04:15:24 +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
smile13241324 0e06bbafc4 Fix documentation for elisp, colour, ibuffer and windows-scripts 2017-10-02 03:01:54 +03: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
syl20bnr 88a56c0f9c Move unicode-fonts layer to new categorie +fonts 2017-08-27 21:51:09 -04:00
Aaron Jensen b42e083a0c Add unicode-fonts layer 2017-08-27 21:50:09 -04:00
J. Patrick Lanigan df7af0ad20 Fix features format in misc README.org's
See #9346
2017-08-22 21:27:13 +03: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
tinysong c16c360cec
@Fix issue: SPC m : current major mode commands 2017-07-24 14:17:55 +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
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
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