Commit Graph

3641 Commits

Author SHA1 Message Date
205bf453de Fix void-function doom--resolve-path-forms error
By using project-file-exists-p! macro instead.
2019-08-23 01:56:43 -04:00
9d0966e94a Forcibly refresh doom after 'doom upgrade'
Ensures autoloads files are regenerated.
2019-08-23 01:56:43 -04:00
025a4c3d26 Properly reset packages on 'doom update'
Prevents some cases of infinite hanging while updating certain packages.
2019-08-22 16:13:23 -04:00
e502031412 Fix 'doom purge' not regrafting all repos on first use 2019-08-22 16:12:22 -04:00
aff5cc5b28 Move file-exists-p! to core/autoload/files.el 2019-08-22 13:03:12 -04:00
eb567f51c8 Handle git submodules from 'doom update' 2019-08-22 13:02:24 -04:00
970a31fc56 Enable ns-auto-titlebar-mode for mac users
ns-auto-titlebar-mode needs to be enabled for
ns-auto-titlebar-set-all-frames and ns-auto-tilebar-set-frame to work.
2019-08-21 21:12:52 -04:00
94ba098e43 Normalize package before checks in 'doom update'
This reduces the likelihood that straight will throw up invisible
popups, blocking the update process indefinitely.
2019-08-21 18:34:55 -04:00
3b9701161a Fix build date in doom/version
When it is called interactively from a file outside of ~/.emacs.d
2019-08-21 12:17:32 -04:00
879f3a660a Use new straight-base-dir variable
We can't phase out doom--straight-use-local-dir-a until I fix the issue
with straight not reinstalling packages when their recipes change.
2019-08-21 00:29:12 -04:00
40e6a37652 Expand on doom-module-load-path's docstring
Mention that value in the returned list is always doom-private-dir.
2019-08-21 00:10:24 -04:00
0b2b5d1c6c Install & track from straight.el's develop branch 2019-08-21 00:09:44 -04:00
1cd219dfa7 Update the docstring for leader/localleader vars
They should be set in your private config.el, not init.el.
2019-08-19 21:04:54 -04:00
2eb8035f15 Add more DEPRECATED tags
For Emacs 25 functionality that'll be removed when 25.x support is
dropped.
2019-08-19 21:04:11 -04:00
b854a089eb Sort & optimize package list on 'doom purge' 2019-08-18 11:24:44 -04:00
2a3f95f615 Update line-number-display-width polyfill
It takes one argument in later versions of Emacs. This file really
shouldn't be visible to Emacs 25.x and earlier, but there has been one
case of it being indexed by Doom's autoload scanner.

Also marks the library with the new DEPRECATED tag. It will be removed
once Doom removes 25.x support.
2019-08-17 16:04:26 -04:00
2b3f522858 Update :recipe example in dummy packages.el
Deployed by `doom quickstart`/`doom install`
2019-08-17 16:04:26 -04:00
b2fd76cb49 Ensure straight is loaded on doom-initialize-packages
Without causing recursive require errors if called in an after! handler
for straight.
2019-08-15 19:56:20 -04:00
8d3536fa77 Initialize package.el on doom-initialize-packages
So that packages installed via package.el are still available.
2019-08-15 19:52:43 -04:00
bc8b6605db Don't byte-compile straight
This eliminates the possibility of straight throwing an
emacs-version-changed error, which is difficult to catch, when uses
could invoke a straight command interactively and any time. We'll do our
own version checks (later).
2019-08-15 19:51:36 -04:00
a7bdf6825a Set default exec-path & shell-file-name
In case doom-load-envvars-file is called when these vars have local
bindings.
2019-08-15 18:42:26 -04:00
d298a8e71c Update envvar file comment header
Envvar files are now refreshed on `doom refresh`, if it exists. A while
back I removed the `doom env reload` step.
2019-08-15 17:29:08 -04:00
4e016eb843 Merge pull request #1621 from ashtonbaker/fix-spelling
fix small spelling mistake in fonts.el
2019-08-15 15:02:17 -04:00
5aa7415d87 Add -t/--timeout switch to 'doom update'
To get around timeout issues on slower connections or larger packages.
2019-08-15 01:34:28 -04:00
b29a7ba8fe Fix 'doom compile'
Fixes `void-function define-key!` error.
2019-08-15 01:33:40 -04:00
374940b959 Persist scratch buffers more proactively
Prior to this change, scratch buffers were saved only when Emacs is
killed. In cases where Emacs doesn't die properly, you'd lose your
scratch contents. Now, they are persisted as soon as you close them.
2019-08-15 01:07:45 -04:00
7ded14f548 Refactor scratch buffer init 2019-08-15 01:02:00 -04:00
7d714b7531 Fix #1673: restore project-file-exists-p! macro 2019-08-14 22:36:19 -04:00
aa3538591a fix small spelling mistake in fonts.el 2019-08-12 14:47:39 -04:00
702369e888 Move :ui tabbar to :ui tabs
And update its README.org
2019-08-11 02:05:09 -04:00
856a2afe43 Add delete! convenience macro
And polish delq!'s docstring.
2019-08-11 02:05:09 -04:00
2cd9685758 Discard timed out future correctly on 'doom update'
And list packages immediately after message (no newlines).
2019-08-09 22:23:38 -04:00
624c5e1a71 Complain about unknown targets in 'doom compile' #1657 2019-08-09 22:23:37 -04:00
48415edce3 Fix #1644: --restore switch not recognized 2019-08-08 23:30:16 -04:00
0a44881df1 Increase number of sub-processes for 'doom update' 2019-08-08 23:00:54 -04:00
c266680c11 Fix #1653: uncaught error when async process times out 2019-08-08 22:59:57 -04:00
115a436273 Fix 'doom update' for chemacs users
Or users who have Doom in a non-standard location (i.e. outside
~/.emacs.d).
2019-08-08 11:48:13 -04:00
956b8cc532 Merge pull request #1619 from filalex77/fix-doom-reload-packages
Require straight.el in doom/reload-packages
2019-08-07 21:48:10 -04:00
ef60762a92 Fix wrong-type-arg: listp error on 'doom update'
Caused when async fails to create a child process for a certain group of
packages (needs to be investigated more).
2019-08-07 21:07:43 -04:00
f42bfde8ae Fix #1648: doom upgrade not updating packages
...when Doom itself is up-to-date.
2019-08-07 20:55:56 -04:00
4a92d12267 Fix void-variable package error on 'doom update' 2019-08-07 17:22:46 -04:00
b808c4e1ab Reload autoloads files in noninteractive sessions
After it's been regenerated, so that any hacks (*cough*org/magit*cough*)
are in scope.
2019-08-07 16:55:04 -04:00
87358db85e Fix void-function mapcan on Emacs 25.x 2019-08-07 16:54:47 -04:00
c8d6ab823b Update documentation for 'doom env' 2019-08-07 01:42:46 -04:00
b34a542ca0 Fix over-eager whitespace-mode after switching major modes
Some major modes (like rust-mode) may trigger
doom-highlight-non-default-indentation-h twice, causing whitespace-style
to be set to its default global value, which (by default) enables
whitespace-mode with all its features. This may overwhelm the
unsuspecting user, so we instead only tack on our modifications to
whitespace-style to its existing buffer-local value, rather than its
global value.
2019-08-06 20:38:04 -04:00
29e851da27 Try counsel-file-jump before project-find-file-in
The former is more reliable (and faster, with the fd/rg hack in the next
commit).

Also (hopefully) fixes the "cl-no-applicable-method: No applicable
method: project-roots" error emitted when project-find-file-in fails to
identify the target as a project root.
2019-08-06 19:43:38 -04:00
3423974234 Minor refactors & tweaks across the board 2019-08-06 14:50:42 -04:00
3e4c02f92f Resolve symlinks in doom-emacs-dir
Shaves a little time off startup on slower drives.
2019-08-06 14:46:15 -04:00
eb0ae8622c Fix file paths in comment headings 2019-08-06 14:45:55 -04:00
80988a7ad4 Fix kill-current-buffer advise supressing exwm hooks 2019-08-06 14:37:46 -04:00