Commit graph

3238 commits

Author SHA1 Message Date
Henrik Lissner
7183194a59
Remove redundant org-id-track-globally setting
This is already set to t upstream.
2020-05-20 01:07:52 -04:00
Henrik Lissner
090d0f7d53
Run org-load-hook functions on doom/reload 2020-05-20 01:07:32 -04:00
Henrik Lissner
8b8e7537b7
Move org-attach config to +org-init-attachments-h 2020-05-20 01:07:18 -04:00
Henrik Lissner
e4322fac7a
Remove duplicate org-journal-entries in auto-mode-alist
(correctly)
2020-05-20 00:55:21 -04:00
Henrik Lissner
89477e29ca
Bump :lang org
Kungsgeten/org-brain@ed99f7e -> Kungsgeten/org-brain@3ce2a33
bastibe/org-journal@2c43b10 -> bastibe/org-journal@524009b
emacs-straight/org-mode@93c50e3 -> emacs-straight/org-mode@9bc0cc7
kaushalmodi/ox-hugo@8f36181 -> kaushalmodi/ox-hugo@01bc315
org-roam/org-roam@1267a43 -> org-roam/org-roam@e3d101f
2020-05-19 21:49:01 -04:00
Otávio Schwanck
b045be4bb6 use default search on rake tasks 2020-05-19 22:27:23 -03:00
Henrik Lissner
695ecf67cc
Fix 'wrong-type-argument listp' error from org-noter 2020-05-19 18:36:40 -04:00
Henrik Lissner
265e80123a
Bump :lang clojure
clojure-emacs/cider@3a59fe0 -> clojure-emacs/cider@b9d505b
2020-05-19 05:35:03 -04:00
Kostas
ba9448e17a
Fix typo 2020-05-18 16:50:10 -07:00
Henrik Lissner
d5d0ec3c91
Prioritize vue-mode over web-mode for *.vue files 2020-05-18 14:38:02 -04:00
Henrik Lissner
21e8277aea
Merge pull request #3141 from otavioschwanck/change-server-command
fix rails server lag
2020-05-18 03:03:35 -04:00
Henrik Lissner
1b0264121f
Bump :lang rust
brotzeit/rustic@32a962a -> brotzeit/rustic@52b632d

The `rustic-syntax-propertize` function in rustic (set as
`syntax-propertize-function` in emacs) had a performance regression
(reported in brotzeit/rustic#107) that caused emacs to effectively lock
up every time the viewport changed. This was fixed upstream in rust-mode
by @phillord in rust-lang/rust-mode@bfe4056, and ported to rustic by
@brotzeit in brotzeit/rustic#108.

Closes #3144

Co-authored-by: Jack Brown <jack@brownjohnf.com>
2020-05-18 02:57:18 -04:00
Henrik Lissner
3939bf99fb
Merge pull request #3140 from brotzeit/ob-rust-remove
remove ob-rust
2020-05-18 02:47:21 -04:00
Henrik Lissner
896cefb579
Merge branch 'develop' into add-keymap-description-for-ruby 2020-05-18 02:46:15 -04:00
brotzeit
d8d16d22bc add rust to +org-babel-mode-alist 2020-05-17 21:28:31 +02:00
Otávio Schwanck
771d062e67 hack to description 2020-05-17 02:20:53 -03:00
Otávio Schwanck
4cb7f48e03 move description to hack 2020-05-17 02:18:01 -03:00
Otávio Schwanck
8bb5cd2c62 fix rails server lag 2020-05-16 18:13:44 -03:00
brotzeit
f6a9c9baf5 remove ob-rust 2020-05-16 22:48:01 +02:00
Henrik Lissner
e3ca1d52ad
Bump :lang org
bastibe/org-journal@8bf06b2 -> bastibe/org-journal@2c43b10
emacs-straight/org-mode@20c1322 -> emacs-straight/org-mode@93c50e3
oer/org-re-reveal@61549f4 -> oer/org-re-reveal@a9e9d4e
org-roam/company-org-roam@3da3821 -> org-roam/company-org-roam@674c2bd
org-roam/org-roam@ad5fca5 -> org-roam/org-roam@1267a43

Fixes #3123
2020-05-16 05:13:46 -04:00
Henrik Lissner
ea18c83c0a
General refactors & reformatting across the board 2020-05-15 01:44:53 -04:00
Henrik Lissner
e7f04a3d87
doom/doctor: fix over-eager omnisharp checks
Fixes #2206
2020-05-15 01:33:52 -04:00
Henrik Lissner
0e851ace9b
Backport bits of CLI rewrite
The rewrite for Doom's CLI is taking a while, so I've backported a few
important changes in order to ease the transition and fix a couple bugs
sooner.

Fixes #2802, #2737, #2386

The big highlights are:

- Fix #2802: We now update recipe repos *before* updating/installing any
  new packages. No more "Could not find package X in recipe repositories".

- Fix #2737: An edge case where straight couldn't reach a pinned
  commit (particularly with agda).

- Doom is now smarter about what option it recommends when straight
  prompts you to make a choice.

- Introduces a new init path for Doom. The old way:
  - Launch in "minimal" CLI mode in non-interactive sessions
  - Launch a "full" interactive mode otherwise.
  The new way
  - Launch in "minimal" CLI mode *only* for bin/doom
  - Launch is a simple mode for non-interactive sessions that still need
    access to your interactive config (like async org export/babel).
  - Launch a "full" interactive mode otherwise.

  This should fix compatibility issues with plugins that use the
  async.el library or spawn child Emacs processes to fake
  parallelization (like org's async export and babel functionality).

- Your private init.el is now loaded more reliably when running any
  bin/doom command. This gives you an opportunity to configure its
  settings.

- Added doom-first-{input,buffer,file}-hook hooks, which we use to queue
  deferred activation of a number of packages. Users can remove these
  modes from these hooks; altogether preventing them from loading,
  rather than waiting for them to load to then disable them,
  e.g. (after! smartparens (smartparens-global-mode -1)) -> (remove-hook
  'doom-first-buffer #'smartparens-global-mode)

  Hooks added to doom-first-*-hook variables will be removed once they
  run.

  This should also indirectly fix #2386, by preventing interactive modes
  from running in non-interactive session.

- Added `doom/bump-*` commands to make bumping modules and packages
  easier, and `doom/bumpify-*` commands for converting package!
  statements into user/repo@sha1hash format for bump commits.

- straight.el is now commit-pinned, like all other packages. We also
  more reliably install straight.el by cloning it ourselves, rather than
  relying on its bootstrap.el.

  This should prevent infinite "straight has diverged from master"
  prompts whenever we change branches (though, you might have to put up
  with it one more after this update -- see #2937 for workaround).

All the other minor changes:

- Moved core/autoload/cli.el to core/autoload/process.el
- The package manager will log attempts to check out pinned commits
- If package state is incomplete while rebuilding packages, emit a
  simpler error message instead of an obscure one!
- Added -u switch to 'doom sync' to make it run 'doom update' afterwards
- Added -p switch to 'doom sync' to make it run 'doom purge' afterwards
- Replace doom-modules function with doom-modules-list
- The `with-plist!` macro was removed, since `cl-destructuring-bind`
  already serves that purpose well enough.
- core/autoload/packages.el was moved into core-packages.el
- bin/doom will no longer die if DOOMDIR or DOOMLOCALDIR don't have a
  trailing slash
- Introduces doom-debug-variables; a list of variables to toggle on
  doom/toggle-debug-mode.
- The sandbox has been updated to reflect the above changes, also:
  1. Child instances will no longer inherit the process environment of
     the host instance,
  2. It will no longer produce an auto-save-list directory in ~/.emacs.d
2020-05-15 01:33:52 -04:00
Henrik Lissner
043a561565
Fix #3123: wrong-type-arg stringp error from org-encrypt-string
Due to upstream issue (read comments).
2020-05-14 15:42:13 -04:00
James Adam
cd4727041e Add keymap descriptions for Ruby module
We can make the whichkey menu for Ruby files a bit more user friendly by
showing simple names for each section.
2020-05-14 16:46:08 +01:00
Henrik Lissner
0fb303c98a
Merge pull request #3113 from nobv/add-purescriipt-lsp
Added +lsp flag to lang/purescript
2020-05-14 04:20:53 -04:00
Henrik Lissner
fad7d806bf
Merge pull request #3115 from otavioschwanck/projectile-rails-templates
Projectile rails templates
2020-05-14 04:20:32 -04:00
Henrik Lissner
f2c9e40d44
Load python on REPL commands
To fix 'void-variable python-shell-interpreter' and similar errors.
2020-05-14 01:53:41 -04:00
Otávio Schwanck
694be5cbd8 bring back projectile-rails functionality 2020-05-14 01:59:24 -03:00
Henrik Lissner
558ea08411
Disable slow smartparens-org defaults in org-mode
But keep its base defaults.

Relevant to #452
2020-05-13 22:48:42 -04:00
Henrik Lissner
a10c157d87
Fix zr, zm, zR & zM vimmish folding in org-mode
Fixes the following keybinds for evil users:

z r        open next level of headings buffer-wide
z m        close next level of headings buffer-wide
z R        open all folded headings
z M        close all folded headings
[N] z R    open all headings at level N and above
[N] z M    close all headings at level N and below
2020-05-13 19:31:09 -04:00
Henrik Lissner
7bbb52f17c
No longer disable org-highlight-sparse-tree-matches
The original issue it was meant to fix no longer occurs in recent
versions of org.
2020-05-13 16:06:25 -04:00
nobv
a036513241 Added +lsp flag to lang/purescript 2020-05-13 17:32:20 +09:00
Henrik Lissner
d7061c8663
Remap haskell-mode-jump-to-def-or-tag to +lookup/definition 2020-05-12 20:07:11 -04:00
Henrik Lissner
717d53c666
Tweak GC settings, particularly for org & lsp
These two modes are particularly expensive. This needs more
testing.
2020-05-12 19:59:14 -04:00
Henrik Lissner
bc5bbb1770
Fix #3102: move org-habit init back into hook 2020-05-12 05:15:55 -04:00
Henrik Lissner
8252abfa39
Merge pull request #3096 from jsmestad/patch-1
Update README to point to new elixir-ls org
2020-05-11 18:28:00 -04:00
Henrik Lissner
487b1927e2
Bump :lang go
dominikh/go-mode.el@10d6ab4 -> dominikh/go-mode.el@734d523

We're also transitioning from abbreviated SHA1 hashes to full ones. See
45cdfb125 for why.
2020-05-11 17:11:36 -04:00
Justin Smestad
f8eb306534
Update README to point to new elixir-ls org
Now that the JakeBecker project has been [moved](9d4c1485e9), update the README.
2020-05-11 11:17:23 -06:00
Henrik Lissner
7cf2109b1a
Don't error on missing org contrib feature 2020-05-11 04:53:39 -04:00
Henrik Lissner
f9a677427e
Replace save-after-refile advice with hook
A hook is better than an advice, which could break with an update.

Also, reformat org-mks advice.
2020-05-11 03:11:15 -04:00
Henrik Lissner
129eebcf2a
Only configure org-habit if in org-modules
Rather than force org-habit even on folks that don't use it.
2020-05-11 03:11:15 -04:00
Henrik Lissner
23b5a6c142
lang/org: refactor how module loads flag features 2020-05-11 03:00:08 -04:00
Henrik Lissner
31e4bfb2d4
Don't unfold to 2nd level in org-mode by default
This is too opinionated to be a default, and has thus been replaced with
"unfold subtree around point when opening an org file", in case
saveplace has restored the point to a folded region.
2020-05-11 03:00:08 -04:00
Henrik Lissner
6c01d1a5ac
Increase read-process-output-max for robe-mode
It appears robe, like LSP, is very chatty, which can slow down Emacs.
2020-05-11 03:00:08 -04:00
Henrik Lissner
037345cfd9
lang/emacs-lisp: reformat autoloads 2020-05-11 03:00:08 -04:00
Henrik Lissner
05e1c0d782
Bump :lang org
Kungsgeten/org-brain@ae7fe0f -> Kungsgeten/org-brain@ed99f7e
emacs-straight/org-mode@b171ff0 -> emacs-straight/org-mode@20c1322
jethrokuan/company-org-roam@0913d86 -> jethrokuan/company-org-roam@3da3821
jethrokuan/org-roam@689f559 -> jethrokuan/org-roam@ad5fca5
2020-05-11 03:00:08 -04:00
Henrik Lissner
91d7747c0b
Bump :lang ruby
arthurnn/minitest-emacs@97d7d17 -> arthurnn/minitest-emacs@ddd152c
asok/projectile-rails@0398d94 -> asok/projectile-rails@11980b2

We're also transitioning from abbreviated SHA1 hashes to full ones. See
45cdfb125 for why.
2020-05-11 03:00:08 -04:00
Henrik Lissner
395c4e593b
Bump :lang emacs-lisp
Fanael/highlight-quoted@2410347 -> Fanael/highlight-quoted@2410347
jorgenschaefer/emacs-buttercup@a91f282 -> jorgenschaefer/emacs-buttercup@532d082
xuchunyang/elisp-demos@57dd4ae -> xuchunyang/elisp-demos@4cd55a3

We're also transitioning from abbreviated SHA1 hashes to full ones. See
45cdfb125 for why.
2020-05-11 03:00:07 -04:00
Henrik Lissner
a634aaa4e8
Bump :lang markdown
jrblevin/markdown-mode@c927a11 -> jrblevin/markdown-mode@f47a2e9
ardumont/markdown-toc@eda9650 -> ardumont/markdown-toc@a9f13ee
Somelauw/evil-markdown@46cd81b -> Somelauw/evil-markdown@685d7fb

Reverts 35f18c5e74 because Somelauw/evil-markdown#1 was merged
2020-05-10 18:28:16 -04:00