Commit graph

115 commits

Author SHA1 Message Date
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
Henrik Lissner
d559377534
Fix xclip exclusion on linux
Due to unintentionally inverted condition
2019-09-06 00:17:02 -04:00
Henrik Lissner
d665c7173a
Remove esup
Because esup is fundamentally incompatible with Doom, we are removing
it. Hopefully we can replace it later down the road.
2019-09-06 00:15:13 -04:00
Henrik Lissner
c0d2ab331e
Remove command-log-mode
This isn't vital enough a package to be included in core. Emacs already
provides view-lossage, and there are other, better packages for
displaying your keybinds as you type.

Even one that I've been working on (with special evil support):
https://github.com/hlissner/doom-emacs-private/blob/master/lisp/keycast.el
2019-09-06 00:13:40 -04:00
Henrik Lissner
d7ed52f3c7
Add ui/hydra module
And conforms all existing hydras to the naming convention for
interactive commands, e.g.

  +vc-gutter-hydra -> +vc/gutter-hydra
2019-07-22 23:51:12 +02:00
Henrik Lissner
b90dede1ab
💥 Replace package.el/quelpa with straight #374
There are a few kinks to iron out, but for the most part it's done. Doom
Emacs, powered by straight. Goodbye gnutls and elpa/quelpa issues.

This update doesn't come with rollback or lockfile support yet, but I
will eventually include one with Doom, and packages will be (by default,
anyway) updated in sync with Doom.

Relevant threads: #1577 #1566 #1473
2019-07-22 02:30:40 +02:00
Henrik Lissner
0a84d2f0a9
core-lib: add auto-minor-mode, revise def-project-mode!
- Adds the auto-minor-mode package to replace our in-house
  implementation.
- Merges associate! into the def-project-mode! macro because associate!
  on its own is less useful than auto-minor-mode-alist,
  auto-minor-mode-magic-alist or hooks.
- Changes the semantics of :modes and :add-hooks properties of
  def-project-mode!. Its arguments are evaluated as is; lists will need
  to be quoted.

squash! core-lib: remove associate! macro
2019-07-22 02:30:39 +02:00
Henrik Lissner
2df56b93a9
Add so-long package
This package kicks in if you open a file whose lines are too long.

It is built into Emacs 27+, but I've backported it for earlier users.
2019-07-22 02:30:38 +02:00
Henrik Lissner
fdcb259bcd
Major refactor of Doom core files
- Remove core-os and move many of its settings out to other core
  libraries, where they belong
- Significantly improve commenting & compartmentalization of many
  settings
- Correct some mis-named public hooks (that were named as if they were
  private)
- Move the vast majority of optimizations to "Optimizations" section in
  core.el
- Don't activate xclip-mode or osx-clipboard-mode if we're accessing
  Emacs through an SSH connection (does more bad than good there)
- Add fast-but-imprecise-scrolling = t
- Set bidi-display-reordering = 'left-to-right, at the recommendation of
  an Emacs dev. Apparently setting it to nil is undefined, as Emacs is
  designed to always assume it's set; setting it explicitly to
  left-to-right will still do what was originally intended by turning it
  off: to reduce line/text scans for bidirectional text, which gives us
  a moderate boost in general runtime snappiness
- Set inhibit-compacting-fon-caches = t on windows (where it struggles
  especially with icon fonts)
- Disables "literal" mode for very large files (because I will be
  backporting so-long.el from Emacs 27 in the next commit)
2019-07-22 02:30:38 +02:00
Henrik Lissner
20720cda61
Remove visual-fill-column package from Doom core
It is not essential enough to keep in Doom core. I'm working on a new
module (or a rewrite for app/write) to replace it.
2019-05-17 01:58:27 -04:00
Henrik Lissner
6ab16621e0
better-jumper: quelpa -> melpa 2019-05-12 23:27:34 -04:00
Henrik Lissner
5e8db5a860
Refactor core-packages + add gnu-elpa-keyring-update
- Adds melpa-mirror, for those lonely days when melpa is down
- Reduce logging spam from package!
- Revise comments & use outline-mode headings
- Prioritize melpa over elpa
2019-05-12 22:09:52 -04:00
Henrik Lissner
45266213a5
Revert 087127a3
Installing buttercup on demand wasn't robust enough. Tests were breaking
more often.
2019-05-05 00:02:59 -04:00
Henrik Lissner
4aa65aa019
Move avy, ace-link & ace-window out of core
They don't belong there, and ace-window is no longer a core dependency
anyhow.
2019-05-01 21:02:28 -04:00
Henrik Lissner
087127a31d
Lazy-install buttercup package 2019-04-29 18:48:35 -04:00