Commit Graph

4310 Commits

Author SHA1 Message Date
217252e361 Wrap gcmh-mode bootstrap in interactive check
The interactive check is necessary until I've pushed the new CLI.
2020-03-27 19:09:19 -04:00
296cbff097 General, minor refactor & reformatting 2020-03-27 18:06:42 -04:00
97a3950ec8 Fix gcmh-mode not being activated at startup 2020-03-27 05:20:02 -04:00
f4ff7fda38 Fix #2756: inhibited shift-selection on C-a/C-e 2020-03-27 03:03:37 -04:00
273c1e0861 Disable former themes only if new one loaded successfully 2020-03-27 02:49:05 -04:00
a0f674fc78 Refactor & revise comments in core.el 2020-03-27 02:35:19 -04:00
e29136dd3e Don't backup remote files 2020-03-27 02:30:49 -04:00
a038e7799b Fix #2754: recover-session cannot see auto-saves 2020-03-27 02:30:49 -04:00
f094d70e64 Merge pull request #2763 from vqhuy/security
Use TLS by default and add more security settings
2020-03-27 01:55:31 -04:00
169f9a6121 General, minor refactor & reformatting 2020-03-27 01:25:30 -04:00
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
53970b3a59 Deprecate prefer-byte-compiled theme optimization
This optimization was incorporated into load-theme in Emacs 27+.
2020-03-25 15:48:50 -04:00
0e2c9e8cb0 Disable enabled themes when loading a new one
Prevents theme conflicts.
2020-03-25 15:32:32 -04:00
bf3cdc37ce Fix & add more security settings 2020-03-24 01:29:54 +01:00
215d9646ea Add clipetty for TTY users. 2020-03-16 23:00:16 +01:00
2c2df9df8c Fix & extend doom/help-packages
+ It would display Doom's commit, rather than the package's
+ Add Homepage link
+ Fix module lists for packages that aren't installed
2020-03-13 17:33:40 -04:00
dd402b7db3 Remove references to enh-ruby-mode 2020-03-12 11:29:54 -04:00
8f68237e8b Don't pretty-print doom/info's packages section
Your doom/info should be a compact summary of your config. Pretty
printing the packages listing vertically consumed too much space.
2020-03-10 23:54:07 -04:00
836c1b29ed Bump to Fuco1/smartparens@1f8857c
From Fuco1/smartparens@be8d5c9

Fixes #2543
Closes #2682
2020-03-08 17:30:50 -04:00
fb8d96f1cb Preserve cursor+window position, rather than recenter
After n/N or */# searches with evil.
2020-03-06 16:36:35 -05:00
69f14bc3da Apply smartparens lisp rules to sly-mrepl-mode 2020-03-06 15:26:36 -05:00
e66769293c Fix potential hashing clashes w/ transient hooks 2020-03-03 18:58:45 -05:00
f8a69464d0 Remove smartparens dependency for doom/info 2020-03-03 16:15:43 -05:00
79e5a27fab Prefix arg = don't restore last scratch buffer 2020-03-03 12:44:33 -05:00
e5a91d2912 [:tools ein] ensure keybindings still valid 2020-03-03 07:24:09 -05:00
ca74996d1b Complain if repo is invalid on 'doom update' 2020-03-01 13:25:47 -05:00
3ecff5777b Fix overaggressive recloning when updating packages 2020-03-01 13:23:39 -05:00
bbd1561a3c Make doom-real-buffer-p work for indirect buffers 2020-03-01 01:33:40 -05:00
eb69073578 Fix infinite redrawing/freezing with {centaur,awesome}-tabs
Caused by over-zealous doom-switch-window-hook.

For my own sanity (and if you're curious), I'll break it down here:

1. Doom has a `doom-switch-window-hook` hook. It triggers when window
   focus is changed.
2. We use `buffer-list-update-hook` to trigger
   `doom-switch-window-hook`. (That may sound weird, but this hook is
   reliably executed when window focus is changed -- there are
   safeguards to prevent this from triggering too often)
3. `buffer-list-update-hook` triggers whenever a buffer is created, but
   `doom-switch-window-hook` only triggers if the created buffer is in
   a new window.
4. The use of `with-temp-buffer` in `centaur-tabs-line-format` counts as
   "buffer creation" in a "new window".
5. `+vc-gutter-update-h` is in `doom-switch-window-hook`. This refreshes
   git-gutter, which initiates a redraw of Emacs.
6. When Emacs redraws, it recalculates its mode and header lines. which
   triggers `doom-switch-window-hook` once, which triggers
   `+vc-gutter-update-h`, which redraws the screen, then Emacs recalculates
   the header line, running `centaur-tabs-line-format`...

Infinite loop ensues

Hopefully fixes:
- hlissner/doom-emacs#2436
- ema2159/centaur-tabs#18
- ema2159/centaur-tabs#88
2020-02-27 21:47:32 -05:00
089e653637 Reduce so-long false positives 2020-02-26 18:05:58 -05:00
e54ebcbff5 Fix #2607: void-variable doom-scratch-initial-major-mode error
And fix "selected deleted buffer" error caused by aggressive
window-configuration-change-hook function.
2020-02-26 09:46:50 -05:00
2f251edc87 Fix doom-guess-mode-h for indirect buffers 2020-02-25 20:34:26 -05:00
9fa76836c1 Persist scratch buffer point, mode & contents
Also renames doom-scratch-buffer-major-mode ->
doom-scratch-initial-major-mode, since it only affects the initial
buffer now.

This was designed to be backwards compatible; you won't lose your
scratch buffers from this update. Though I may remove the old format in
3.1.
2020-02-25 20:30:23 -05:00
da3e24e686 Preserve cursor position for scratch buffer
Not across restarts, but across toggles of the scratch popup.
2020-02-25 18:11:13 -05:00
b30f38ac06 Minor refactor & reformatting across the board 2020-02-23 15:42:43 -05:00
50c61c57bc Update def-project-mode! macro docstring
Remove mention of `doom-project`, since it no longer exists.
2020-02-22 20:38:34 -05:00
65a71d5647 Link to doom-real-buffer-p in other real buffer functions
To make the explanation easier to find.
2020-02-22 18:31:10 -05:00
0f4c0cce5b Only unset file-name-handler-alist in interactive sessions 2020-02-21 17:03:47 -05:00
900ec70ee3 Ensure menu/tool/scroll bars are disabled 2020-02-21 12:49:57 -05:00
cd2f01e9ab Set fixed-pitch font too 2020-02-21 01:05:18 -05:00
8a7763337d doom refresh -> doom sync
refresh isn't going anywhere, but sync will be the canonical command
here on out, because it is more appropriate for kind of work it will be
doing in the future.
2020-02-19 23:34:16 -05:00
71e5a5513b Fix #2556 (hopefully): exec format error on Windows 2020-02-19 17:54:50 -05:00
f7445a10db General refactor & reformatting across the board 2020-02-18 22:56:47 -05:00
838f96a581 Fix persistent-soft :pin 2020-02-18 01:54:18 -05:00
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
066afa17da Update doomdir templates 2020-02-13 01:37:04 -05:00
2af574eb0d Merge pull request #2518 from bepvte/bepvte/git-shallower
Make doom purge -g more effective
2020-02-11 03:24:56 -05:00
9cbbf81c3f Don't recompile in 'doom sync'
This may be reinstated later, but for now is a common source of issues
because Doom must be fully loaded before byte-compiling; and doing this
is prone to errors when Doom is in an incomplete state (which may be the
case if there were an error earlier in 'doom sync').

This won't be an issue once the doom script becomes transactional.
2020-02-11 03:20:14 -05:00
0a463673c9 make doom purge -g more aggressive
Reflog keeps the history of every reset, so expiring it allows us to
remove more older commits. git gc by default only cleans for 2 week old
objects, so I made it more aggressive
2020-02-10 20:23:09 -05:00
dc24c1cddc Merge branch 'develop' into add-persistent-soft-package 2020-02-09 17:20:26 -05:00