Commit Graph

13255 Commits

Author SHA1 Message Date
a4f4937931 Add --with-modules to emacs-mac documenation
Default options for brew install emacs-mac compile wihtout
modules preventing to use vterm.
2020-05-17 00:44:52 +02:00
375faedb1b Emit backtrace if doom upgrade fails 2020-05-16 05:38:20 -04:00
49790fb53f Include the error when 'doom upgrade' fails 2020-05-16 05:31:33 -04:00
4f885ca176 Bump :completion ivy
abo-abo/swiper@84efa3a -> abo-abo/swiper@04ca164
ericdanan/counsel-projectile@b556ed8 -> ericdanan/counsel-projectile@126e825
mhayashi1120/Emacs-wgrep@5977b8e -> mhayashi1120/Emacs-wgrep@f0ef9bf
raxod502/prescient.el@0f4a89b -> raxod502/prescient.el@3ab7605
2020-05-16 05:15:53 -04: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
10d9ca87e9 Correct regexps for recommended straight options
When you're being prompted, these regexps control what option is
highlighted as the recommended option, and two of them were definitely
wrong, and another two *might've* been wrong.
2020-05-15 22:58:00 -04:00
eafad7bbad Reformat term/eshell module
- Two newlines between use-package! blocks
- Remove comment that was redundant with the code below it
2020-05-15 22:54:50 -04:00
ceb1d4e91f Disable {bash,fish}-completion on Windows
Because neither is available on windows, you'll get errors when trying
to complete in eshell. Better to disable it so eshell can fall back to
pcomplete.
2020-05-15 22:53:17 -04:00
1b43cf99f7 Add comments to & reformat doom-initialize 2020-05-15 21:57:21 -04:00
2e1c706c73 doom/env: fix -a switch, add -r switch #2434
Can now white and blacklist envvars
2020-05-15 21:56:04 -04:00
3d10e984ec Fix #3134: invalid lambda variable t on 'doom compile' 2020-05-15 17:56:29 -04:00
0972858808 Update 'doom install' post-amble 2020-05-15 17:55:23 -04:00
ea2de668b7 Fix #3135: no template after doom install 2020-05-15 17:19:39 -04:00
c1bee692cf doom/install? ignore errors in module init.el's
Fix #3132
2020-05-15 14:22:13 -04:00
8a83e9addd Fix wrong-number-of-args error on dired-find-file 2020-05-15 14:20:03 -04:00
e16c410b2a Fix use-package load errors on 'doom install' 2020-05-15 05:37:10 -04:00
2b8388079b Fix doom/bump-module command
Also allows you to bump :core now.
2020-05-15 05:37:10 -04:00
76b133fd98 Install core packages early 2020-05-15 05:37:08 -04:00
87e279ce61 doom/doctor: improve error handler for font detection
Fixes #3008
2020-05-15 04:59:10 -04:00
805976b8bd Handle the case where EMACSDIR has no trailing slash 2020-05-15 04:53:59 -04:00
8f8d796ecd doom/doctor: fix 'missing emacs package: org' #2284 2020-05-15 04:19:25 -04:00
2884dd9ea7 Fix 'recreate repo' option not being recommended
When updating a package with a changed recipe (e.g. it's branch).
2020-05-15 02:29:22 -04:00
ea18c83c0a General refactors & reformatting across the board 2020-05-15 01:44:53 -04:00
4e28b48a3a Fix C-j/C-k for evil-collection-minibuffer users 2020-05-15 01:34:07 -04:00
f521823d3b Fix quiet! macro not silencing file loading 2020-05-15 01:33:52 -04:00
fc90e0fb71 Simplify quiet!'s expanded form
We don't need to test doom-interactive-mode at runtime.
2020-05-15 01:33:52 -04:00
68709fe93a Fix letf! sometimes losing letf binds
When expanding:

  (quiet! ...)

You'd expect (simplified for explanation):

  (letf! ((standard-output ...)
         ((symbol-function #'message) ...)
         ((symbol-function #'load-file) ...)
         ((symbol-function #'write-region) ...))
    ...)

But instead get:

  (letf! ((standard-output ...))
    ;; where'd the other binds go?
    ...)

This was due to data-loss caused by nreverse's destructive mutation of
the given bindings.

Also: silences byte-compiler complaining about unused bindings.
2020-05-15 01:33:52 -04:00
e7f04a3d87 doom/doctor: fix over-eager omnisharp checks
Fixes #2206
2020-05-15 01:33:52 -04:00
68b5f687bd doom/doctor: fix 'org not installed' error
Also indents missing package warnings correctly and makes them harder to
mistake for system packages.

Fixes #2284
2020-05-15 01:33:52 -04:00
c682079783 doom/doctor: warn about 28+, not 27+
27 is now the recommended version for Doom.
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
85fb59acca Fix wrong-type-arg symbolp error from notes commands 2020-05-14 15:17:01 -04:00
2bdc14710f Merge pull request #2986 from rushsteve1/eshell-improvements
Improved Eshell module part 1
2020-05-14 04:31:52 -04:00
59b73121d0 Merge pull request #3094 from sei40kr/add-lookup-handlers
tools/lookup: Support lookup handlers for implementations and type definition
2020-05-14 04:21:24 -04:00
3175224dc9 Merge pull request #3109 from jsmestad/patch-4
Documentation fix - use-packages! typo in getting started
2020-05-14 04:21:12 -04: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
e92a470252 Merge pull request #3100 from chuxubank/develop
Change path separator on Windows when using fd
2020-05-14 04:20:09 -04:00
a2011232a2 Change envvar coding system buffer locally 2020-05-14 04:13:05 -04:00
8a70dd0379 Change path separator on Windows when using fd
Show slash instead of backslash
2020-05-14 16:07:04 +08:00
21fda9af60 Read & write envvar file as utf-8 #3044 2020-05-14 02:54:56 -04:00
500e078e12 Map windows key to super 2020-05-14 02:07:25 -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
7976608603 Updated :lang purescriipt flag in docs/modules.org 2020-05-14 14:18:22 +09:00
a239326165 Activate save-place-mode when it loads 2020-05-14 01:00:12 -04:00
694be5cbd8 bring back projectile-rails functionality 2020-05-14 01:59:24 -03:00
b1d9e39a8a Bump :tools debugger lsp pdf
emacs-lsp/dap-mode@cc2eb2f -> emacs-lsp/dap-mode@8f69dc2
emacs-lsp/lsp-mode@11750e7 -> emacs-lsp/lsp-mode@bac42c5
emacs-lsp/lsp-ui@1288be9 -> emacs-lsp/lsp-ui@ab55e30
politza/pdf-tools@d971298 -> politza/pdf-tools@c510442
realgud/realgud@e03446f -> realgud/realgud@1238d8e
2020-05-14 00:12:10 -04:00
92174200aa Prevent pdf page being persisted too many times 2020-05-14 00:07:26 -04:00
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