Commit graph

129 commits

Author SHA1 Message Date
Henrik Lissner
fee16ed73f
Bump :core
justbur/emacs-which-key@8f2427a -> justbur/emacs-which-key@3642c11
jwiegley/use-package@bfc5ecd -> jwiegley/use-package@7d92536
raxod502/straight.el@621ab2c -> raxod502/straight.el@fc077dd
2020-07-22 18:14:58 -04:00
Henrik Lissner
1cec7bf8be
Bump :core
bbatsov/projectile@95bcc7d -> bbatsov/projectile@bbcf781
justbur/emacs-which-key@8b49ae9 -> justbur/emacs-which-key@8f2427a
jwiegley/use-package@2b8f8a3 -> jwiegley/use-package@bfc5ecd
raxod502/straight.el@59c92dd -> raxod502/straight.el@621ab2c
2020-07-12 22:48:47 -04:00
Henrik Lissner
1878a08814
Bump :core
raxod502/straight.el@ffaad60 -> raxod502/straight.el@59c92dd
jwiegley/use-package@d2640fe -> jwiegley/use-package@2b8f8a3

Reverts 33cd837
Fixes #3406
2020-06-18 15:33:03 -04:00
Henrik Lissner
4e193dbbd3
Bump :core
raxod502/straight.el@09cfa1b -> raxod502/straight.el@ffaad60
bbatsov/projectile@7e552b6 -> bbatsov/projectile@95bcc7d
2020-06-17 14:34:52 -04:00
Henrik Lissner
b93cd79599
Bump :core
domtronn/all-the-icons.el@4135424 -> domtronn/all-the-icons.el@ed8e44d
raxod502/straight.el@846956e -> raxod502/straight.el@09cfa1b
2020-06-10 02:43:19 -04:00
Henrik Lissner
c499cdcdbe
Bump :core
domtronn/all-the-icons.el@d6cb6d4 -> domtronn/all-the-icons.el@4135424
bbatsov/projectile@5103cfc -> bbatsov/projectile@7e552b6
2020-06-02 19:52:42 -04:00
Mike Chen
2cfff96437
Bump :core
raxod502/straight.el@f606bfa -> raxod502/straight.el@846956e
jwiegley/use-package@c873d55 > jwiegley/use-package@d2640fe
bbatsov/projectile@768f057 > bbatsov/projectile@5103cfc
noctuid/general.el@42e3803 > noctuid/general.el@a0b17d2
2020-05-22 23:58:00 +08:00
Henrik Lissner
76b133fd98
Install core packages early 2020-05-15 05:37:08 -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
a63ee13f01
Bump :core
Wilfred/helpful@c54e9dd -> Wilfred/helpful@c0662aa
bbatsov/projectile@5cd261d -> bbatsov/projectile@768f057
domtronn/all-the-icons.el@0b74fc3 -> domtronn/all-the-icons.el@d6cb6d4
jscheid/dtrt-indent@9163cd9 -> jscheid/dtrt-indent@50c440c
2020-05-12 21:41:05 -04:00
Henrik Lissner
29e91a6ff6
Replace doom-cache library with doom-store
And remove persistent-store dependency.
2020-05-02 00:14:08 -04:00
Henrik Lissner
4ac16743b9
Use long SHA1 for rainbow-delimiters 2020-04-30 01:52:24 -04:00
Henrik Lissner
45cdfb1258
Bump :core
spudlyo/clipetty@7ee3f9c -> spudlyo/clipetty@01b3904
bbatsov/projectile@eec569d -> bbatsov/projectile@5cd261d
noctuid/general.el@14ad4c8 -> noctuid/general.el@42e3803

We're also transitioning from abbreviated SHA1 hashes to full ones,
because underlying git machinery in future updates of straight will
require it (e.g. to obtain shallow clones of pinned packages).
2020-04-29 23:48:21 -04:00
Henrik Lissner
dbada02e14
Bump :core
bbatsov/projectile@56e18fc -> bbatsov/projectile@eec569d
domtronn/all-the-icons.el@f6cbb51 -> domtronn/all-the-icons.el@0b74fc3
jscheid/dtrt-indent@1569b71 -> jscheid/dtrt-indent@9163cd9

Fixes #2860
2020-04-16 20:13:43 -04:00
Henrik Lissner
3e340ab415
Add :emacs undo module
Moves undo-fu/undo-tree out of core and allows uses to choose one or the
other.

Relevant to #2339
2020-04-13 18:45:40 -04:00
Henrik Lissner
b950e31ee8
Bump :core
bbatsov/projectile@588692a -> bbatsov/projectile@56e18fc
ideasman42/emacs-undo-fu-session@35d4cf3 -> ideasman42/emacs-undo-fu-session@b808ef0
ideasman42/emacs-undo-fu@8c461a0 -> ideasman42/emacs-undo-fu@0c34b67
koral/gcmh@9e241e0 -> koral/gcmh@b1bde50
spudlyo/clipetty@fda5a80 -> spudlyo/clipetty@7ee3f9c
2020-04-09 15:37:34 -04:00
Henrik Lissner
f8c808d785
Remove xclip 2020-04-08 22:06:38 -04:00
Henrik Lissner
8ab0cd66a7
Replace undo-tree with undo-fu + undo-fu-session
Despite the recent patches to fix undo history corruption, its history
would still get unpredictably truncated due to non-linear memory
expansion.

Relevant to #2339
2020-04-07 20:15:53 -04:00
Henrik Lissner
3264e73a66
Merge pull request #2734 from Shooooooooo/develop
Add clipetty for TTY users.
2020-04-07 17:58:25 -04:00
Henrik Lissner
c17bf49ea3
Bump to hlissner/ws-butler@2bb49d3
From hlissner/ws-butler@e4430d3

Fixes #2470
2020-04-03 01:09:08 -04:00
Henrik Lissner
fd177b971b
Bump core packages
koral/gcmh@8867533 -> koral/gcmh@9e241e0
domtronn/all-the-icons.el@1416f37 -> domtronn/all-the-icons.el@f6cbb51
jscheid/dtrt-indent@48221c9 -> jscheid/dtrt-indent@1569b71
Fuco1/smartparens@1f8857c -> Fuco1/smartparens@555626a
bbatsov/projectile@341150c -> bbatsov/projectile@588692a
noctuid/general.el@f6e9286 -> noctuid/general.el@14ad4c8
justbur/emacs-which-key@7b068f3 -> justbur/emacs-which-key@8b49ae9
2020-03-27 00:55:37 -04:00
Shooooooooo
215d9646ea Add clipetty for TTY users. 2020-03-16 23:00:16 +01:00
Henrik Lissner
836c1b29ed
Bump to Fuco1/smartparens@1f8857c
From Fuco1/smartparens@be8d5c9

Fixes #2543
Closes #2682
2020-03-08 17:30:50 -04:00
Henrik Lissner
838f96a581
Fix persistent-soft :pin 2020-02-18 01:54:18 -05:00
Henrik Lissner
e404b48c05
Bump gcmh, xclip, projectile & which-key
koral/gcmh@f542908 -> koral/gcmh@8867533
emacs-straight/xclip@88003b782e -> emacs-straight/xclip@d022cf947d
bbatsov/projectile@84be1da -> bbatsov/projectile@341150c
justbur/emacs-which-key@cf44641 -> justbur/emacs-which-key@7b068f3
2020-02-13 14:41:25 -05:00
Henrik Lissner
dc24c1cddc Merge branch 'develop' into add-persistent-soft-package 2020-02-09 17:20:26 -05:00
Henrik Lissner
fba3c83403
Bump helpful, projectile & which-key
Wilfred/helpful@e511e8d -> Wilfred/helpful@c54e9dd
bbatsov/projectile@27a0da9 -> bbatsov/projectile@84be1da
justbur/emacs-which-key@db3d003 -> justbur/emacs-which-key@cf44641
2020-02-06 22:54:16 -05:00
Seong Yong-ju
a933c5a475 Bump to Fuco1/smartparens@be8d5c9a63 2020-02-04 12:48:27 +09:00
Alexander Graul
7c0e884664 Add persistent-soft to core/packages.el
core/autoload/cache.el defines doom-cache-* functions that wrap around
the persistent-soft package.
2020-01-31 23:19:40 +01:00
Henrik Lissner
c801a70ec7
Bump to emacs-straight/undo-tree@5b6df03781
Fixes #2444
2020-01-29 16:37:05 -05:00
Henrik Lissner
26e0e9dd2a
Bump to emacs-straight/undo-tree@ad58b21 2020-01-27 03:06:14 -05:00
Henrik Lissner
a9402cfb55
Fix #2373: bring back package pinning
This needs some serious refactoring...
2020-01-25 19:02:00 -05:00
Henrik Lissner
4cc14389e8
PIN ALL THE PACKAGES 2020-01-14 22:32:11 -05:00
Henrik Lissner
0c9f1b1a9c
Minor refactors & comment revision 2020-01-11 17:27:04 -05:00
Henrik Lissner
15f2245b10
Install undo-tree 0.7.1 from emacs-straight/undo-tree
I re-enable history persistence, now that it has been fixed.

Also, I install it from the emacs-straight/undo-tree mirror, which is
fast and reliable.

Closes #2339, #2334
2020-01-09 03:09:06 -05:00
Henrik Lissner
0d43159607
Disable ns-auto-titlebar & xclip properly on other OSes 2020-01-06 15:08:15 -05:00
Henrik Lissner
36e73aedb6
Disable xclip-mode on windows 2020-01-06 15:06:28 -05:00
Henrik Lissner
f26b148b2b
Use my fork of ws-butler 2020-01-04 18:11:10 -05:00
Henrik Lissner
195dfda045
Minor refactors & comment revision 2020-01-02 21:16:02 -05:00
Henrik Lissner
e5602c1802
Move async.el out of baseline packages
It isn't needed anywhere atm. Perhaps we don't need it in core at all?
2019-12-27 01:52:45 -05:00
Henrik Lissner
11046d7f82
Move gcmh from doom-core-packages to core/packages.el
It doesn't need to be present outside of interactive sessions.
2019-12-19 22:07:32 -05:00
Henrik Lissner
2afbbe392c
Remove dotenv-mode package
Pruning packages that aren't strictly necessary.
2019-12-19 22:05:55 -05:00
Henrik Lissner
99cd52e70f
💥 Drop Emacs 25.x support
Emacs 26.1 is Doom's new minimum supported version

Closes #2026
2019-11-08 16:02:06 -05:00
Henrik Lissner
d5548e5994
Remove osx-clipboard package
Forgot to remove it in f34c33aa0
2019-10-23 22:13:45 -04:00
Henrik Lissner
f34c33aa07
Fix clipboard in tty Emacs
xclip has support for a number of clipboard programs (xclip, xsel,
pb{copy,paste}, wl-copy, termux-clipboard and getclip).
2019-10-23 05:05:45 -04:00
Henrik Lissner
0a218021a2
Install from emacsmirror/undo-tree
The maintainer's repo doesn't have http support and I can't guarantee
its uptime.
2019-10-07 21:24:10 -04:00
Henrik Lissner
95258c55d6
Remove xclip-mode & osx-clipboard-mode
Due to the varied approaches to terminal environments, I leave it up to
the user to handle restoration of the clipboard.
2019-10-07 18:06:13 -04:00
Andrew Whatson
aa087e3af2 Experimental fixes for undo-tree
Increase `undo-limit`, `undo-strong-limit` and `undo-outer-limit` by a
factor of ten, which should prevent emacs from prematurely truncating
the undo history and corrupting the tree.

Restore `undo-tree-auto-save-history` which was disabled to avoid
exacerbating the undo history truncation.

Change the `undo-tree` recipe to grab the latest version from the
maintainer's repostiory instead of the outdated ELPA version.

Restore `undo-tree-enable-undo-in-region` which should be fixed in the
latest version of `undo-tree`.
2019-10-01 22:37:18 +10:00
Henrik Lissner
76e4c8a1cd
Use personal mirror for so-long package #1707
Until so-long is published to ELPA (if ever), we're now using my
personal mirror for so-long. Why not git.savannah.nongnu.org instead?
Because it runs on a potato too.
2019-09-09 15:44:09 -04:00
Henrik Lissner
3b7711420f
General comment revision & cleanup 2019-09-06 00:25:35 -04:00