Commit Graph

201 Commits

Author SHA1 Message Date
Daniel Nicolai 548edefcce Install org from ELPA instead of Org ELPA
From org version 9.5 org will not be distributed from Org ELPA but from
ELPA (see https://list.orgmode.org/87lfa7tc9v.fsf@gnu.org/t/). This commit makes
Spacemacs use/install org from ELPA.

Besides that, this commit removes some 'hack' that seemed to have no effect. As
org comes with Emacs `package-installed-p 'org` will always return t. Also
activating org via `configuration-layer//activate-package` seems to have no
effect.

Finally, the package is declared including a :min-version because appending only
`:location melpa` seems to have no effect (this can probably be considered a
bug).
I am almost certain that the information that was added when making org install
from Org ELPA is still relevant also for installing org from ELPA so I have just
adapted the version number from 0.104 to 0.300.

As the "org" archive has been removed, the `ert-deftest` for it can be removed
also.
2021-11-06 14:34:18 +01:00
Benjamin Hipple 1441dcc0f1
[org-roam] Fix evil org-roam-node-insert spacing (#15008)
When we're adding links, without this they get smooshed together under the
curser. Tested to work; resolves https://github.com/syl20bnr/spacemacs/issues/14137

Co-authored-by: Richard Kim <emacs18@gmail.com>
2021-08-23 22:10:32 +00:00
Benjamin Hipple 195a228927 [org-roam] Add "r" key to refresh org-roam links list buffer
This matches the org-agenda key, and is doubly important since we need to
refresh regularly to workaround the page-break-lines bug, as described here
https://github.com/syl20bnr/spacemacs/issues/14969#issuecomment-894624932
2021-08-22 20:32:43 +02:00
Daniel Nicolai 8b05eb47c0 Evilify and add follow link (hint) keybinding to org-roam buffer 2021-08-16 15:21:08 +02:00
Alex Kapranoff 44affc4d2b Rename commands for org-roam v2 compatibility
Fixes #14929
2021-07-28 13:58:13 +02:00
Deepu Mohan Puthrote eeb363f6e4 Add flag to enable org-brain support making it optional 2021-07-22 09:24:46 +02:00
Arif Er b0ef47a885
[org] Fix org-habit (#14838) 2021-06-19 17:47:42 +00:00
Maximilian Wolff c74b0f8bc0
[org] Remove unit tests for non existing function
for we do not longer require to replace org with
org-plus-contrib on the fly.
2021-05-30 12:36:26 +02:00
Richard Kim 63197014cc
use org and org-contrib packages rather than org-plus-contrib
setup org-contrib in org layer rather than spacemacs-org layer

follow-on fix for spacemacs-org layer
2021-05-29 21:10:21 +02:00
Kazark 220536fd39 [org] sane default strategies for enforcing `TODO` dependencies 2021-05-03 22:17:07 +02:00
Lucius Hu bc27203615
Removed legacy codes for emacs-version < 25.1 (#14497) 2021-04-28 05:04:53 +00:00
wildwestrom 635c326c0a fixed asciidoc export
Fixed ox-asciidoc as per issue #14695
I just deleted one line, tested it, and it works again.
2021-04-26 22:19:42 -04:00
Kjartan Óli Ágústsson ec2c511c6f
Add support for org-roam-protocol (#14687)
Co-authored-by: Lucius Hu <1222865+lebensterben@users.noreply.github.com>
2021-04-21 19:40:33 +00:00
wildwestrom 70be2c03d8
Added asciidoc support. (#14689)
You can now export org files as asciidoc documents.
2021-04-21 12:46:33 -04:00
Daniel Nicolai 0570e14144
Add docs agenda usage recommendations (#14587)
* Point org-journal to dalanicolai's fork (temporarily)

The Spacemacs for using org-journal are written, assuming that some PR's by
dalanicolai get merged. As the merge takes more time than expected, we
temporarily point Spacemacs to use his fork.

Additionally, a subsequent commit that adds agenda usage recommendations also
assumes these org-journal PR's got merged.

* Add to docs agenda usage recommendations

The Emacs documentation is not very clear about the best way to use org-agenda,
especially regarding integration of the diary into org. This commit adds most
sensible configuration recommendations.

- fix/improve docs for org-wild-notifier
- document how to use agenda (recommendations)
2021-04-09 21:44:19 +02:00
Kjartan Óli Ágústsson d77e76e9f7 Add support for the org-roam-server package
Co-authored-by: Lucius Hu <1222865+lebensterben@users.noreply.github.com>
2021-04-08 18:29:22 +00:00
syl20bnr 97cd83e169 Apply GPLv3 terms explicitly to all elisp files 2021-03-25 22:59:32 -04:00
syl20bnr d55a9e2e67 Update header for year 2021 2021-03-25 22:59:32 -04:00
Kazark 4e2413856d [org] add keybinding for org-copy-tree as with org-cut-tree
Used =y= as a mnemonic for yank (in the Vim, not the Emacs, sense).
2021-03-19 13:09:21 +01:00
winsphinx 8f1b6b1e04 Prefer downloading org-appear from melpa 2021-03-19 09:08:42 +01:00
Daniel Nicolai 4bcdc36f0f Add org-wild-notifier to org-layer
This PR should be a better replacement for #14396. See the last comment of that
PR for motivation.
2021-03-15 18:57:58 +00:00
winsphinx fb41915c5b
[org] Add org-appear support (#14482)
* [org] Add org-appear support

* fixes for org-appear support
2021-03-14 09:47:11 +01:00
Kjartan Óli Ágústsson 151d4db884
Add keybindings for org-roam-alias-add (#14480)
* Add keybindings for org-roam-alias-add.

* Fix typo.

Remove unintended t from org-roam-alias-add binding
2021-03-13 23:45:55 +01:00
duianto 69f21eaaa0 [org][org-brain] Add SPC menu (vim or hybrid style)
Fixes: org-brain doesn't have SPC menu
https://github.com/syl20bnr/spacemacs/issues/13548
2021-02-28 22:12:37 +01:00
Maximilian Wolff cf82ac2ed3
[org] Make org layer activate org-roam-global-minor-mode
Org layer must activate org-roam-mode once it is
fully loaded to ensure proper integration if one
of the org-roam files are opened.

Fix #14411
2021-02-23 23:12:52 +01:00
Maximilian Wolff d264d04698
[org] Manually load org-contacts during agenda config
Removing this statement seems to create issues,
lets see if adding it back resolves them again.

See #14297 for details.
2021-02-07 23:19:55 +01:00
Maximilian Wolff b82f505fba
[org] Try to fix eval errors caused by org-contacts-support 2021-02-07 21:08:03 +01:00
Maximilian Wolff 2341448531 [org] Revise org-contacts support 2021-02-07 08:13:26 +00:00
Daniel Nicolai 3a02c12ca7 Add org-contacts to org layer
Org-contacts is a handy contacts management system. It can be used to manage
(email) addresses (compatible with gnus, mu4e, notmuch etc.), birthdays and
more. It is much simpler than bbdb/ebdb and probably powerful enough for most
users.
2021-02-07 06:50:59 +00:00
winsphinx 662201fc05 diminish valign
That's too long for too much space.
2021-02-04 22:41:23 +01:00
Ben Swift ca75239108 [org] add keybinding for org-roam-dailies-find-date 2021-02-03 22:39:04 +01:00
duianto 7ffcae0360
[org] Update org-enable-valign
Move the org-enable-valign variable definition
and the valign package setup to the org layer.

Document the variable.
2021-01-24 22:58:34 +01:00
Daniel Bankmann 981621e000 Add variables for configuration of startup of the @Org perspective.
Add Readme part
2021-01-19 21:48:28 +01:00
Daniel Bankmann e734f6a9a7 Add some missing key bindings for org-agenda 2021-01-10 20:06:14 +01:00
Daniel Bankmann 58c26f8e64 Fix issue #14250 by unshadowing 'K' 2021-01-10 20:04:00 +01:00
Daniel Nicolai bd1631bdce Add org-journal-open-current-journal-file keybinding
In my opinion this is an elementary org-journal command that should have a
keybinding.
2021-01-09 09:02:44 +01:00
Daniel Nicolai 11345a8392 Add consistent org-agenda transient-state keybinding
I do not see any reason why the keybinding to enter org-agenda should not be on
`. ,`. Therefore I propose here to make that keybinding consistent with the
keybindings for entering transient states in most/all other modes
2021-01-03 09:00:09 +01:00
Fan Yang 8f093ff2a3 Configure org-roam to lazy load
Set up autoload for a few org-roam commands via use-package.
Replace a number of obsolete functions (org-roam-dailies-...).
2020-12-30 21:11:30 +01:00
Brad DeMorrow 184bb2b008
Add tR hotkey for org-table-recalculate-buffer-tables (#14130)
* Add tR hotkey for org-table-recalculate-buffer-tables

* Update Documentation

Co-authored-by: Brad DeMorrow <brad@demorrow.net>
2020-11-12 23:16:06 +01:00
Marty Buchaus 836d5c315e
Org roam tag bindings (#14109)
* add org-roam tag-add and tag-delete +prefix
Co-authored-by: madand <dev@madand.net>
2020-11-12 22:50:31 +01:00
madand 4c2fcc13cb [org] Activate insert state after some org-insert-* commands
Having to manually press i after using any of these commands is annoying to say
the least. This commit affects the following commands:
- org-insert-drawer
- org-insert-heading
- org-insert-item
- org-insert-structure-template

Change to org-insert-heading also affects other commands that use it
internally (e.g. org-insert-subheading).
2020-11-02 19:49:51 +01:00
Keith Pinson 7cc1f06986 [org] SPC m s N -> SPC m s w to match mnemonics of SPC n w
I chose to go this way rather than the other way because:

* Whenever you can avoid holding down a modifier key, great!
* It seems like the more specific should yield to the more general

This may be a controversial change, because it could break some folks' finger
memory. However I consider this a very unpleasant inconsistency that inhibits
the development of finger memory, so I thought I would at least suggest it as
the default for Spacemacs.
2020-10-22 23:14:41 +02:00
Mariusz Klochowicz 1227cbd75d [org] Add major mode key bindings for org-jira
org-jira is typically used from org major mode - new keybindings add a more
convenient way of invoking its functions.

The new org-jira submenu is available under "mj" - using the same pattern as
org-trello.
2020-10-13 16:39:23 +02:00
Mariusz Klochowicz 2e27161c19 [org] Add org-roam support
Add org-roam support along with keybindings under new menu prefix "SPC a o r".

Assign layer search keybinding ("SPC a o /") to helm-org-rifle, falling back to
previously assigned function (org-occur-in-agenda-files) when using ivy.

Creating another keybinding for org-occur-in-agenda-files is not necessary,
as it can be accessed with another existing keybinding ("SPC a o o /").
2020-10-13 15:05:36 +02:00
Alexander Matyasko 85f5db280f
Add toggle for org-num-mode (#13978) 2020-09-27 14:28:43 +02:00
Robert O'Connor 82ba73a1c0
update copyright to 2020 2020-09-23 21:25:01 +02:00
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