Commit graph

265 commits

Author SHA1 Message Date
Thanh Vuong ce6f35505a [org-mode] [verb] fix binding crashing C-h k
for verb-response-headers-mode It's a major mode not a minor one.

lazy loading  verb-response-body-mode

Without this change `C-h k` will crash throwing verb-response-headers-mode
variable is void.
2020-05-08 22:22:29 +02:00
Daniel Nicolai e40ac8b3bc add and document org-journal scheduled(-view) date shortcuts
org-journal-new-scheduled-entry and org-journal-schedule-view are
both basic org-journal features. Besides providing these shortcuts,
their documentation exposes this functionality to the user.
2020-04-03 17:52:28 +02:00
duianto 607d75e2ae [org] Remove obsolete fix, helm-ag unfold org line
It's been fixed upstream.
Use helm-goto-char to show match and reveal outlines
https://github.com/emacsorphanage/helm-ag/pull/304
2020-03-31 20:04:17 +02:00
Maximilian Wolff 72f280dc07
[org] Make org-capture abord bindings work without having to enter insert state
Org-capture abord bindings were only available after having entered
insert state at least once. Bindings are now applied immediately on
entering the minor mode.

Fixes #13084
2020-03-29 00:40:14 +01:00
Maximilian Wolff 332f1bb06f
[org-agenda] Add binding for setting priority 2020-03-28 21:11:59 +01:00
Maximilian Wolff b5f0eb5f76
[org] Fix typo in docs 2020-03-25 07:06:35 +01:00
emacspace 889d889751
documentation formatting: Tue Mar 24 22:00:54 UTC 2020 2020-03-24 23:10:48 +01:00
Maximilian Wolff 48ac607e71
[org] Revise verb integration
Added missing subheadings
Load babel integration before org is loaded
2020-03-24 22:57:25 +01:00
Federico Tedin 82f5b1f242
[org] Add Verb package support 2020-03-24 22:08:50 +01:00
wangtianshu 665c02e7f6
Replace org-toggle-latex-fragment with org-latex-preview 2020-01-30 21:54:26 +00:00
Keith Pinson 4ae7be5404 fix(org-present): exiting presentation always removes inline images
Spacemacs configures `org-present` to inline images while presenting. That much
makes sense. But it has a hook to turn them off unconditionally when exiting
presentation mode. This causes a problem if you just want images to show in and
out of presentation mode.

STEPS TO REPRODUCE
1. Create an Org file
2. Add a link to a file
3. Set `#+STARTUP: inlineimages`
4. `M-x org-present`
5. Exit presentation mode

EXPECTED
Because of `#+STARTUP: inlineimages` images are still inlined.

ACTUAL
The inline images have been removed upon exiting the presentation mode.

FIX
Check `org-startup-with-inline-images` on exiting presentation mode and only
remove the inline images if it is false.

TESTING
To ensure that this did not introduce a regression of the converse behavior, I
also tested with `#+STARTUP: noinlineimages`, and it still turned off the images
when exiting the presentation.
2020-01-26 17:21:07 +01:00
Zach Latta 1d2a1fa6e4 Fix capitalization of GitHub
Change instances of "Github" to "GitHub".
2020-01-20 09:14:12 +01:00
duianto 76ce0ac03e
[org] Un-evilify org-present-mode
Because [escape] was bound to evil-evilified-state
after exiting org-present-mode.
2019-12-20 19:06:34 +01:00
Maximilian Wolff 153990bbc8
Add doc for org-table-field-info 2019-12-16 12:32:42 +01:00
Dominik Schrempf bf1ef14c6c
[org-mode] org table field info keybinding 2019-12-16 12:27:26 +01:00
kimr da80634370
converted cl to cl-lib 2019-12-14 20:20:51 +00:00
Nick Anderson a51b08133d Added keybinding to export org to mail from buffer to subtree
~org-mime-htmlize-subtree~ as has the ability to set the email =To=, =From=,
=Subject=, =CC=, and =BCC= fields based on properties. If you commonly capture
and email the subtree being able to bake these settings into your template is
very convenient.

https://github.com/org-mime/org-mime#m-x-org-mime-org-subtree-htmlize

~org-mime-org-subtree-htmlize~ is similar to ~org-mime-org-buffer-htmlize~ but
works on subtree. It can also read subtree properties =MAIL_SUBJECT=, =MAIL_TO=,
=MAIL_CC=, and =MAIL_BCC=. Here is the sample of subtree:

  ,,* mail one
   :PROPERTIES:
   :MAIL_SUBJECT: mail title
   :MAIL_TO: person1@gmail.com
   :MAIL_CC: person2@gmail.com
   :MAIL_BCC: person3@gmail.com
   :END:
  content ...
2019-12-14 05:43:53 +01:00
milserk 9f5e76e091 Fix typo "verbose" -> "verbatim"
The description for `SPC m x v` reads "make region verbose." However, this keybinding actually invokes `spacemacs/org-verbatim`.
2019-12-05 06:35:53 +01:00
jaremko 9c2cb17e54 doc fixes and new tags 2019-11-08 17:09:01 +00:00
emacspace c91779aff4 documentation formatting: Fri Nov 8 16:03:53 UTC 2019 2019-11-08 16:08:22 +00:00
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
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
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
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
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
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