Commit Graph

4215 Commits

Author SHA1 Message Date
Henrik Lissner
d1c2e7b234
Slightly faster incremental loading 2020-03-31 01:01:13 -04:00
Henrik Lissner
58f52de912
inhibit-compacting-font-caches = t 2020-03-31 01:01:13 -04:00
Henrik Lissner
8f685a3c31
Fix #2756: make C-a/C-e truly shift-select aware 2020-03-28 00:41:04 -04:00
Henrik Lissner
6c4081f785
Refactor gnutls-algorithm-priority
And prevent void-variable error if gnutls is, for some reason,
unavailable or libgnutls-version isn't a numeric.
2020-03-27 21:30:07 -04:00
Henrik Lissner
be257140b4
Merge pull request #2782 from vqhuy/security
Fix TLS error caused by #2763
2020-03-27 21:27:12 -04:00
Vu Quoc Huy
9709d257d9 Fix TLS error caused by #2763
Check whether the current gnutls library supports tls1.3
Add more tests for `doom/am-i-secure`
2020-03-28 02:24:12 +01:00
Henrik Lissner
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
Henrik Lissner
296cbff097
General, minor refactor & reformatting 2020-03-27 18:06:42 -04:00
Henrik Lissner
97a3950ec8
Fix gcmh-mode not being activated at startup 2020-03-27 05:20:02 -04:00
Henrik Lissner
f4ff7fda38
Fix #2756: inhibited shift-selection on C-a/C-e 2020-03-27 03:03:37 -04:00
Henrik Lissner
273c1e0861
Disable former themes only if new one loaded successfully 2020-03-27 02:49:05 -04:00
Henrik Lissner
a0f674fc78
Refactor & revise comments in core.el 2020-03-27 02:35:19 -04:00
Henrik Lissner
e29136dd3e
Don't backup remote files 2020-03-27 02:30:49 -04:00
Henrik Lissner
a038e7799b
Fix #2754: recover-session cannot see auto-saves 2020-03-27 02:30:49 -04:00
Henrik Lissner
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
Henrik Lissner
169f9a6121
General, minor refactor & reformatting 2020-03-27 01:25:30 -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
Henrik Lissner
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
Henrik Lissner
0e2c9e8cb0
Disable enabled themes when loading a new one
Prevents theme conflicts.
2020-03-25 15:32:32 -04:00
Vu Quoc Huy
bf3cdc37ce Fix & add more security settings 2020-03-24 01:29:54 +01:00
Henrik Lissner
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
Henrik Lissner
dd402b7db3
Remove references to enh-ruby-mode 2020-03-12 11:29:54 -04:00
Henrik Lissner
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
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
fb8d96f1cb
Preserve cursor+window position, rather than recenter
After n/N or */# searches with evil.
2020-03-06 16:36:35 -05:00
Henrik Lissner
69f14bc3da
Apply smartparens lisp rules to sly-mrepl-mode 2020-03-06 15:26:36 -05:00
Henrik Lissner
e66769293c
Fix potential hashing clashes w/ transient hooks 2020-03-03 18:58:45 -05:00
Henrik Lissner
f8a69464d0
Remove smartparens dependency for doom/info 2020-03-03 16:15:43 -05:00
Henrik Lissner
79e5a27fab
Prefix arg = don't restore last scratch buffer 2020-03-03 12:44:33 -05:00
dickmao
e5a91d2912 [:tools ein] ensure keybindings still valid 2020-03-03 07:24:09 -05:00
Henrik Lissner
ca74996d1b
Complain if repo is invalid on 'doom update' 2020-03-01 13:25:47 -05:00
Henrik Lissner
3ecff5777b
Fix overaggressive recloning when updating packages 2020-03-01 13:23:39 -05:00
Henrik Lissner
bbd1561a3c
Make doom-real-buffer-p work for indirect buffers 2020-03-01 01:33:40 -05:00
Henrik Lissner
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
Henrik Lissner
089e653637
Reduce so-long false positives 2020-02-26 18:05:58 -05:00
Henrik Lissner
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
Henrik Lissner
2f251edc87
Fix doom-guess-mode-h for indirect buffers 2020-02-25 20:34:26 -05:00
Henrik Lissner
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
Henrik Lissner
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
Henrik Lissner
b30f38ac06
Minor refactor & reformatting across the board 2020-02-23 15:42:43 -05:00
Henrik Lissner
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
Henrik Lissner
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
Henrik Lissner
0f4c0cce5b
Only unset file-name-handler-alist in interactive sessions 2020-02-21 17:03:47 -05:00
Henrik Lissner
900ec70ee3
Ensure menu/tool/scroll bars are disabled 2020-02-21 12:49:57 -05:00
Henrik Lissner
cd2f01e9ab
Set fixed-pitch font too 2020-02-21 01:05:18 -05:00
Henrik Lissner
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
Henrik Lissner
71e5a5513b
Fix #2556 (hopefully): exec format error on Windows 2020-02-19 17:54:50 -05:00
Henrik Lissner
f7445a10db
General refactor & reformatting across the board 2020-02-18 22:56:47 -05: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