Commit Graph

4281 Commits

Author SHA1 Message Date
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
014385a9f6 Prevent numerical type errors on after-find-file
In some edge cases.
2020-02-07 04:23:07 -05:00
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
1910453e29 The byte-compiler ate my baby 2020-02-06 16:55:27 -05:00
77e58609d4 doom/update-pinned-package-form: improve error feedback 2020-02-06 15:27:03 -05:00
a933c5a475 Bump to Fuco1/smartparens@be8d5c9a63 2020-02-04 12:48:27 +09:00
1cacfcf962 Fix #2479 2020-02-03 13:01:46 -05:00
8de0f62c52 apply Henrik changes 2020-02-02 23:44:03 +00:00
f9e8cb2f01 adding warning message 2020-02-02 23:39:42 +00:00
266ea5038c Update install.el 2020-02-02 23:23:05 +00:00
22bc21a712 windows: disable all-the-icons font install
the command is actually fairly useless on windows anyway -- unless you are specifically running emacs with elevated privileges, you get the following error:

```
This will download and install fonts, are you sure you want to do this? (y or n) y
Contacting host: raw.githubusercontent.com:443
mm-write-region: Opening output file: Permission denied, c:/Windows/Fonts/material-design-icons.ttf
```
2020-02-02 23:16:47 +00:00
04d14bcba9 Minor refactors & comment correction 2020-02-02 16:03:34 -05:00
29e4719a7d Disable GUI elements even if you use chemacs #2354 2020-02-02 02:07:13 -05:00
4a5cf04761 General refactors & appease byte-compiler 2020-02-02 02:05:20 -05:00
0dc173a631 Polish progress output during 'doom update' 2020-02-01 02:07:24 -05:00
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
e31bb63c14 message-log-max = 8192 2020-01-31 16:43:08 -05:00
53d799f377 Reduce file init work when reading autoloads
Should suppress Emacs trying to read file-local variables and/or
attempts to open TAGS files for the current project.
2020-01-30 19:39:36 -05:00
9a0e029135 Fix output truncation & indentation on 'doom update' 2020-01-30 18:38:18 -05:00
ede5beed7a Change doom-plist-delete to delete N props 2020-01-30 16:58:49 -05:00
b8c25b6b4e Move after! to core-lib
Doesn't really belong in core-modules.
2020-01-30 16:57:49 -05:00
35364f1dd1 Fix hash-table-p errors on 'doom build' 2020-01-30 15:31:30 -05:00
c801a70ec7 Bump to emacs-straight/undo-tree@5b6df03781
Fixes #2444
2020-01-29 16:37:05 -05:00
18b0210e5b Remove nconcq! test
The macro was removed some time ago.
2020-01-29 16:33:37 -05:00
097972bd9d Refactor package pinning
- Make doom/info package details more concise
- Removed doom-pinned-packages variable (pin info now stored in
  doom-packages metadata)
- Fix unpin! not actually unpinning some packages
2020-01-28 20:47:45 -05:00
c6518498b9 Fix void-variable targets when using unpin! macro 2020-01-28 14:07:08 -05:00
4dc01912f1 Fix 'doom update' reporting that a successful fetch failed 2020-01-28 14:06:20 -05:00
26e0e9dd2a Bump to emacs-straight/undo-tree@ad58b21 2020-01-27 03:06:14 -05:00
471be76ba5 Fix typo causing void-function error 2020-01-27 02:05:14 -05:00
5056c74688 Fix some packages failing to fetch on 'doom update' 2020-01-27 01:44:30 -05:00