Commit Graph

2910 Commits

Author SHA1 Message Date
3e5b7cce3f [eglot] Add support for eglot lsp client in emacs
- Update README
- Add eglot-specifics to cc, rs, py, hs
  removing unused lsp-mode packages when eglot is active
- Add eglot-specific bindings
- Add doctor warnings for debugger +lsp and +peek
- Add eglot-backed lookup-handlers
- Add flycheck checker using eglot for :checkers
  syntax users (using flycheck/flycheck#1676 and
  flycheck/flycheck#1592 discussion).
  This implementation is based on @marsam code, and uses recent
  Flycheck development in order to make the code smaller and
  easier to maintain.
2020-05-28 09:34:10 +02:00
f2a3dee7ff Bump :lang latex
TheBB/company-reftex@275ef70 -> TheBB/company-reftex@275ef70
alexeyr/company-auctex@48c42c5 -> alexeyr/company-auctex@48c42c5
cdominik/cdlatex@a5cb624 -> cdominik/cdlatex@480387b
emacs-straight/adaptive-wrap@1810c0e -> emacs-straight/adaptive-wrap@1810c0e
emacs-straight/auctex@fafa28d -> emacs-straight/auctex@b233945
jsinglet/latex-preview-pane@5297668 -> jsinglet/latex-preview-pane@5297668
tom-tan/auctex-latexmk@4d35352 -> tom-tan/auctex-latexmk@4d35352
vspinu/company-math@a796053 -> vspinu/company-math@a796053
2020-05-28 03:02:24 -04:00
7ed96590e6 Fix #3232: wrong-type-argument arrayp error on org-journal
Because both org-journal-is-journal and +org--journal-resolve-symlinks-a
assumed buffer-file-name is always non-nil.
2020-05-26 21:45:31 -04:00
0af3f47b9a New bindings deadline/schedule in org-agenda
Following 42fd3d0
2020-05-26 22:11:58 +02:00
1434685a7d Restore new org-agenda clock bindings
These were reverted during the rebase in #3043.
2020-05-26 22:08:11 +02:00
1febb5a04e lang/org: refactor +journal submodule 2020-05-25 20:18:35 -04:00
16ecfd3e4f Bump :lang org
abo-abo/org-download@d248fcb -> abo-abo/org-download@8e12cf0
bastibe/org-journal@524009b -> bastibe/org-journal@a3ff9ce
emacs-straight/org-mode@9bc0cc7 -> emacs-straight/org-mode@5454312
hlissner/evil-org-mode@9cf661a -> hlissner/evil-org-mode@2e9c4a2
org-roam/org-roam@e3d101f -> org-roam/org-roam@ea6bd21

org-journal introduces some breaking changes (by shifting away from
auto-mode-alist to magic-mode-alist for detecting journal files), and
had to be accommodated.

Fixes #3199
2020-05-25 18:17:38 -04:00
4f46140226 Bump :lang emacs-lisp
jorgenschaefer/emacs-buttercup@532d082 -> jorgenschaefer/emacs-buttercup@e71a40f
2020-05-25 03:43:40 -04:00
ada4110730 Refactor :lang emacs-lisp 2020-05-25 03:43:40 -04:00
ef9d9a89d0 Add Tree Subtree function to bindings (#3043) 2020-05-24 22:54:37 -04:00
088d0d14ea Merge pull request #3177 from otavioschwanck/feature/better-rake
use default search on rake tasks on :ruby lang
2020-05-24 22:53:38 -04:00
9ea05c4dfb Merge pull request #3180 from otavioschwanck/feature/better-popup-rspec
better popup for rspec
2020-05-24 22:52:25 -04:00
e1040095b5 Merge pull request #3183 from marcus-crane/update-org-roam-links
Update org-roam hyperlinks in org/README.org
2020-05-24 22:52:03 -04:00
121710f779 Merge pull request #3196 from howsiwei/develop
lang/org: Support option in custom org links
2020-05-24 22:51:47 -04:00
3f5600a2e8 Merge pull request #3207 from paulapatience/bugfix/lang-typo
lang/common-lisp: fix typo
2020-05-24 22:51:21 -04:00
2839afc262 Update list of markdown-compile-* in markdown doc 2020-05-24 08:22:01 +02:00
ee8338045e Update bound keys in markdown doc
`markdown-preview` is bound to <localleader> p, not to <localleader> b.

Also, express mapping using <localleader> instead of `SPC m` or `C-c l`.
2020-05-24 07:17:25 +02:00
2eb8f7f7b8 lang/common-lisp: fix typo 2020-05-23 15:38:22 -04:00
88903551c0 lang/org: Support option in custom org links 2020-05-22 22:40:28 +08:00
0b94bbb4e4 move rspec popup to :config 2020-05-20 10:20:55 -03:00
f75fdc6890 Update org-roam hyperlinks 2020-05-20 22:47:39 +12:00
412e515020 better popup for rspec 2020-05-20 02:21:04 -03:00
7183194a59 Remove redundant org-id-track-globally setting
This is already set to t upstream.
2020-05-20 01:07:52 -04:00
090d0f7d53 Run org-load-hook functions on doom/reload 2020-05-20 01:07:32 -04:00
8b8e7537b7 Move org-attach config to +org-init-attachments-h 2020-05-20 01:07:18 -04:00
e4322fac7a Remove duplicate org-journal-entries in auto-mode-alist
(correctly)
2020-05-20 00:55:21 -04:00
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
b045be4bb6 use default search on rake tasks 2020-05-19 22:27:23 -03:00
695ecf67cc Fix 'wrong-type-argument listp' error from org-noter 2020-05-19 18:36:40 -04:00
265e80123a Bump :lang clojure
clojure-emacs/cider@3a59fe0 -> clojure-emacs/cider@b9d505b
2020-05-19 05:35:03 -04:00
ba9448e17a Fix typo 2020-05-18 16:50:10 -07:00
d5d0ec3c91 Prioritize vue-mode over web-mode for *.vue files 2020-05-18 14:38:02 -04:00
21e8277aea Merge pull request #3141 from otavioschwanck/change-server-command
fix rails server lag
2020-05-18 03:03:35 -04:00
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
3939bf99fb Merge pull request #3140 from brotzeit/ob-rust-remove
remove ob-rust
2020-05-18 02:47:21 -04:00
896cefb579 Merge branch 'develop' into add-keymap-description-for-ruby 2020-05-18 02:46:15 -04:00
d8d16d22bc add rust to +org-babel-mode-alist 2020-05-17 21:28:31 +02:00
771d062e67 hack to description 2020-05-17 02:20:53 -03:00
4cb7f48e03 move description to hack 2020-05-17 02:18:01 -03:00
8bb5cd2c62 fix rails server lag 2020-05-16 18:13:44 -03:00
f6a9c9baf5 remove ob-rust 2020-05-16 22:48:01 +02:00
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
ea18c83c0a General refactors & reformatting across the board 2020-05-15 01:44:53 -04:00
e7f04a3d87 doom/doctor: fix over-eager omnisharp checks
Fixes #2206
2020-05-15 01:33:52 -04:00
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
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
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
0fb303c98a Merge pull request #3113 from nobv/add-purescriipt-lsp
Added +lsp flag to lang/purescript
2020-05-14 04:20:53 -04:00
fad7d806bf Merge pull request #3115 from otavioschwanck/projectile-rails-templates
Projectile rails templates
2020-05-14 04:20:32 -04:00
f2c9e40d44 Load python on REPL commands
To fix 'void-variable python-shell-interpreter' and similar errors.
2020-05-14 01:53:41 -04:00