Commit graph

270 commits

Author SHA1 Message Date
syl20bnr e3acd91118 [core] Rename spacemacs|require to spacemacs|require-when-dumping 2020-09-20 21:17:21 -04:00
Maximilian Wolff 31b9be9666
[org] Make org-rich-yank load eager, to not fail the first paste 2020-09-18 20:08:14 +02:00
Keith Pinson d4668c519f
[org] support rich insert of code from other buffers (org-rich-yank) (#13960) 2020-09-18 20:00:00 +02:00
Nicholas Kirchner 516da8dfbd [helm] Add the helm-org package so that helm-spacemacs-faq works
There is a (require 'helm-org) directive in helm-spacemacs-faq.el
which is triggered by the key sequence 'SPC h f'.
2020-09-08 11:03:55 +02:00
Aaron L. Zeng 524e4d19c7 Set org-log-done to 'time instead of t
Setting this variable to 'time is equivalent, while setting to t is
deprecated.
2020-08-28 23:20:40 +02:00
emacspace a76bda6a54 documentation formatting: Wed Aug 5 12:35:48 UTC 2020 2020-08-05 14:45:34 +02:00
Langston Barrett af6b1479f3 new layer: outshine (with outorg support)
outshine layer: Add "Features:" section to the README

outorg: use `a O` instead of `a o o` as a prefix

outshine: add transient state

outshine layer: (re)document keybindings, add imenu keybinding

outshine layer: fix outorg mode keybinding documentation

address review comments
2020-08-05 14:28:37 +02:00
Cormac Cannon bf1ef03bda [org] Updated 'Archive subtree' command to support customisation.
Binding ~SPC m s A~ to org-archive-subtree-default rather than existing
org-archive-subtree binding.
2020-07-18 09:38:54 +02:00
Maximilian Wolff b82bc40b3c
Fix ignored popwin declarations
Popwin automatically configures pupo purposes
if properly configured. While I was checking
the existing configs I have found that the
settings will be ignored if the config is not
done via a post-config hook.

A quick search revealed a lot of popwin configs
which never had any effect.

This commit fixes these and with this also
restores the missing pupo configs.
2020-07-03 21:51:33 +02:00
emiltoacs 0045a72f83 [org] update org-journal obsolete functions
Related to comment in
[Issue: #13735]
2020-07-03 20:14:49 +02:00
Pierre Balayé 3b4f9ecd37 Tune org-babel transient state.
When navigating source code blocks, it is now possible to execute several of
them without exiting the transient state.
2020-06-07 19:41:28 +02:00
Thanh Vuong 1451268757 [org] replace org-bullets with org-superstar
org-bullets has been deprecated
2020-06-07 18:18:21 +02:00
Mariusz Klochowicz 2349e23fb5 [org] Enable org-habit module.
This org-module is not mentioned in org.el. Enabling it fixes habit consistency
graph view in org-agenda.
2020-05-08 23:06:03 +02:00
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
emacspace b59f073cb4
documentation formatting: Tue Mar 24 20:40:51 UTC 2020 2020-03-24 21:45:10 +01:00
madand 53dbbffec1
[helpful] Bindings and documentation improvements
New bindings:
`gr` - `helpful-update`, reload helpful buffer.
`SPC m q` - `helpful-kill-buffers`, kill all helpful buffers.

Move `o` binding definition into separate post-init function, so the binding
is defined only if the `link-hint` package is actually installed.

Add documentation of the added bindings.
2020-03-24 21:33:11 +01:00
Muneeb Shaikh 1d797ffa4a [helpful] follow help buffer convention for displaying helpful popup
Reference: b7fd2fab6e/layers/+spacemacs/spacemacs-visual/packages.el (L93)
2020-03-14 17:02:49 +01:00
madand 72b8b4f96b
[helpful] Keybinding: o (link-hint-open-link) 2020-03-12 20:49:01 +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
Maximilian Wolff 6784a0e0f8
Tag uncategorized layers 2020-01-02 22:42:13 +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
emacspace 76245081d6 documentation formatting: Mon Dec 9 21:44:48 UTC 2019 2019-12-09 23:52:24 +02:00
Maximilian Wolff d2f6d08247
Make helpful layer replace existing emacs help functions
The helpful layer delivers more sophisticated help buffers,
at least for elisp and emacs specific objects. Therefore
it makes sense to replace the existing help functions for
these bindings silently if this layer is loaded.
2019-12-08 10:29:46 +01:00
Maximilian Wolff f68cfc0975
Revise helpful layer
Streamlined keybindings
Adjust helpful-mode to work well with evil bindings
2019-12-07 00:15:49 +01:00
Johnson Denen 5485099263
Add helpful layer 2019-12-06 23:27:43 +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
duianto dd070e3b75
[semantic] Moved toggle keys to the layer
SPC T S and SPC T C-S showed void variable
semantic-stickyfunc messages when the semantic
layer wasn't installed.
2019-12-03 20:24:58 +00: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