xeijin
8de0f62c52
apply Henrik changes
2020-02-02 23:44:03 +00:00
xeijin
f9e8cb2f01
adding warning message
2020-02-02 23:39:42 +00:00
xeijin
266ea5038c
Update install.el
2020-02-02 23:23:05 +00:00
xeijin
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
Henrik Lissner
0dc173a631
Polish progress output during 'doom update'
2020-02-01 02:07:24 -05:00
Henrik Lissner
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
Henrik Lissner
9a0e029135
Fix output truncation & indentation on 'doom update'
2020-01-30 18:38:18 -05:00
Henrik Lissner
35364f1dd1
Fix hash-table-p errors on 'doom build'
2020-01-30 15:31:30 -05:00
Henrik Lissner
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
Henrik Lissner
4dc01912f1
Fix 'doom update' reporting that a successful fetch failed
2020-01-28 14:06:20 -05:00
Henrik Lissner
471be76ba5
Fix typo causing void-function error
2020-01-27 02:05:14 -05:00
Henrik Lissner
5056c74688
Fix some packages failing to fetch on 'doom update'
2020-01-27 01:44:30 -05:00
Henrik Lissner
99fc55f75c
General, minor refactors in doom core
2020-01-27 00:51:32 -05:00
Henrik Lissner
dadd54604b
Refactor package update logic
...
Still needs more work.
2020-01-26 21:21:06 -05:00
Henrik Lissner
a2354a7ad7
Add -p/--packages to 'doom upgrade'
...
And document -f/--force
2020-01-26 05:00:57 -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
c3734603f5
Don't strip out vars from doom module autoloads
...
Doom's autoloads generator will strip out forms that modify variables in
doom-autoload-cached-vars (load-path, auto-mode-alist, etc). These are
undesireable in package autoloads, but may be desireable in Doom module
autoloads.
2020-01-24 18:16:11 -05:00
Henrik Lissner
453e20534f
Temporarily disable pinning #2373
...
I'm swamped today and tomorrow so this will have to do for now
2020-01-15 11:19:32 -05:00
Henrik Lissner
dc4df47842
Don't fetch/checkout packages that are up-to-date
2020-01-14 22:47:38 -05:00
Henrik Lissner
f3a9d0c03c
Resolve pinned packages based on overridden recipes
...
And rearrange "Checking out ..." message during 'doom upgrade' to
display package first, then commit (and abbreviated), rather than the
other around. It's easier to read.
2020-01-14 21:57:58 -05:00
Henrik Lissner
b8b0f73edc
Resolve packages to repo for pinned packages
...
- Allow :pin SHA's to be abbreviated.
- Print out the repo being updated, rather than the package.
2020-01-14 21:18:59 -05:00
Henrik Lissner
9eb3a74a57
Save interpreter-mode-alist to autoloads
2020-01-14 02:59:16 -05:00
Henrik Lissner
0c9f1b1a9c
Minor refactors & comment revision
2020-01-11 17:27:04 -05:00
Henrik Lissner
f6852a2c9f
Add --discard switch to 'doom upgrade' #2224
...
Also rewrites straight prompt-in-batch-Emacs hack, and move it to
core-cli.el.
2020-01-09 03:36:00 -05:00
Henrik Lissner
b7dc9c644e
Don't use find if find can't be found
2020-01-08 22:09:42 -05:00
Xuan Bi
09f7db43be
Be explicit about fc-list
when listing fonts
2020-01-06 14:22:18 +08:00
Henrik Lissner
4f7217719a
Merge pull request #2301 from wnikola/patch-1
...
Fix typo in env.el
2020-01-05 20:10:32 -05:00
Henrik Lissner
cf04a44ca7
Refactor comment/string check in autoloads generator
2020-01-04 17:13:05 -05:00
Nikola M
f9b3ad2bb1
Fix typo in env.el
2020-01-03 21:42:14 +01:00
Henrik Lissner
11676b0153
Fix #2299 : void-function sp-point-in-string during 'doom refresh'
...
Due to use of third-party code before it is installed. Since we can be
sure that elisp has a sane syntax-table we do not need sophisticated
comment/string detection.
2020-01-03 05:22:10 -05:00
Henrik Lissner
f78f71a74c
Minor refactors & comment revision
2020-01-01 23:52:02 -05:00
Henrik Lissner
7a348f8784
Refactor how we indent straight's progress output
...
More work up front, less work in the trenches.
2020-01-01 19:34:30 -05:00
Henrik Lissner
4f676bd218
Refactor autoload generator bootstrappers
2020-01-01 13:31:40 -05:00
Henrik Lissner
4a53f0818d
Don't insert autoloads literally #2281
...
It causes encoding issues.
2020-01-01 03:02:05 -05:00
Henrik Lissner
a5fc782e76
cli/upgrade: fix wrong-type-arg string force file error #2277
...
Due to a vestigial call to the old doom-cli-reload-package-autoloads
2019-12-31 03:38:47 -05:00
Henrik Lissner
7c968a8b11
Fix #2278 : autoload gen skipping disabled autodefs
...
If a ;;;###if module cookie returned nil for a file, it should still
allow autodefs to be scraped from it, which wasn't happening before this
fix.
An autodef's guarantee is that it will always be defined, whether or not
the containing module is enabled.
2019-12-30 23:19:56 -05:00
Henrik Lissner
a4653f475b
Print filename instead of absolute paths for purged ELPA packages
2019-12-30 17:28:31 -05:00
Henrik Lissner
0b1ab39a00
Refactor doom-cli--generate-autoloads
2019-12-30 17:06:49 -05:00
Henrik Lissner
497a6a206e
Fix 'wrong-number-of-arguments autoload 9' error in autoloads
...
This error was caused by over-aggressive replacement of load-file-name
in autoloads files.
Instances of "load-file-name" would be replaced with a quoted file-path,
even in strings and comments, which would break surrounding strings and
docstrings.
Mentioned in hlissner/doom-emacs@f8ff505
2019-12-30 15:52:38 -05:00
Henrik Lissner
908bd4b945
Remove FORCE-P argument for doom-cli-reload-autoloads
...
We weren't using them anyway.
2019-12-30 06:44:16 -05:00
Henrik Lissner
f8ff50565e
Refactor autoload generator
...
- Halves LOC
- Adopts functional paradigm where possible.
- Reduces the filesize of autoloads files by ~10-20%
- Speeds up autoloads generation by ~20%
2019-12-29 22:20:48 -05:00
Henrik Lissner
8d3954257e
Refactor 'doom purge' & fix elpa purging
...
Wasn't picking up ELPA packages.
2019-12-28 14:02:07 -05:00
Henrik Lissner
6396cbf6cd
Refactor 'doom build'
2019-12-28 14:01:36 -05:00
Henrik Lissner
2f540f8c45
Remove vestigial references to doom--finalize-straight
2019-12-27 03:30:03 -05:00
Henrik Lissner
550c9bda74
cli/packages: implement commit pinning support
...
This is step 2 toward version pinning and rollback.
Next step is to actually pin packages.
Step 1 was 125561eb0
2019-12-25 14:02:43 -05:00
Henrik Lissner
b53703d527
General comment revision & reformatting
2019-12-21 15:01:05 -05:00
Henrik Lissner
6d40f30a0a
Fix 'doom compile' error when compiling templates
2019-12-20 05:01:44 -05:00
Henrik Lissner
18d8ea22f6
cli/install: add templates for {config,packages}.el
2019-12-19 23:32:58 -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
8dd647b9bd
Make 'doom update' Skip local packages
...
i.e. packages with a user-specified :local-repo
2019-12-14 20:50:16 -05:00