Henrik Lissner
0dab58ef19
package!: fix the fix for :built-in fix
...
fixfixfix
2019-07-05 23:07:05 +02:00
Henrik Lissner
ecc4e8087c
package!: fix :built-in property
2019-07-05 22:30:24 +02:00
Henrik Lissner
1f644d07e0
package!: accept 'prefer in :built-in property
...
This tells Doom's package manager to prefer the built-in package, if it
is present, rather than installing the new version from elpa.
2019-07-05 20:03:37 +02:00
Henrik Lissner
cb783b0609
Prevent hash-table-p errors on startup
2019-07-02 23:17:20 +02:00
Henrik Lissner
d8e7a2003b
Fix custom.el writing to DOOMDIR/init.el too early
...
This would cause ~/.doom.d/init.el to exist before `doom quickstart` can
copy ~/.emacs.d/init.example.el into it, causing some newcomers to
experience a wrong-type-argument: hash-table-p error at startup (and no
modules being enabled).
2019-07-02 23:17:20 +02:00
Henrik Lissner
52f575d4d2
Exclude PROMPT & RPROMPT envvars from env file
2019-07-02 14:16:58 +02:00
Henrik Lissner
275f499ce9
Exclude PS1 envvar from env file
2019-07-02 13:01:28 +02:00
Henrik Lissner
2762a08a76
highlight non-default indent despite whitespace-mode
...
Before, a custom whitespace-style (or global-whitespace-mode) would
disable doom|highlight-non-default-indentation (because they were
incompatible). Now it injects itself into the current style, if one
exists.
2019-06-30 14:28:21 +02:00
Henrik Lissner
58299341b8
Fix vanilla-doom+ launcher in sandbox (C-c C-p)
...
vanilla-doom+ should launch an instance of Doom with doom core plus
modules minus your private config loaded.
2019-06-30 13:18:14 +02:00
Henrik Lissner
5d0c408c38
cli/env: ignore PWD envvar
2019-06-30 09:48:54 +02:00
Henrik Lissner
92676bfe39
uniquify-buffer-name-style = 'forward #1506
2019-06-28 17:28:53 +02:00
Henrik Lissner
81cf6080bf
doom/window-maximizer-buffer: fail gracefully in popups
...
Doesn't work within popups and it's non-trivial to fix this, so better
it fail gracefully with a suggestion, instead of fail silently.
2019-06-27 17:21:00 +02:00
Henrik Lissner
d6aa19b638
Suppress error from projectile-default-generic-command
...
Caused when using projectile-{run,test,compile,configure}-project
commands in a project that projectile cannot recognize (i.e. doesn't
match any project in projectile-project-types).
2019-06-27 17:17:04 +02:00
Henrik Lissner
22cc519ac1
Add set-project-type! autodef
...
And use it for love2d projects in lang/lua module.
2019-06-27 17:16:40 +02:00
Henrik Lissner
2aa9252725
Move doom|disable-show-paren-mode to autoload/ui
2019-06-27 13:26:03 +02:00
Henrik Lissner
6317fa0435
Fix #1509 : failure to resize certain popups (part 2)
...
doom/window-enlargen would fail silently for windows with a preserved
size (e.g. all ui/popup popup windows)
2019-06-26 23:06:46 +02:00
Henrik Lissner
95dff9f2c6
Remove deprecated set-env!
2019-06-26 21:06:05 +02:00
Henrik Lissner
129377ca5f
Remap tags commands sooner
...
Makes them easier for users to remap later.
2019-06-26 14:49:39 +02:00
Henrik Lissner
a9951ee63b
Autorevert on switch window
...
Better coverage for lazy autoreverting
2019-06-26 14:31:07 +02:00
Henrik Lissner
9c29ad78e0
Add SHELL to doom-info
2019-06-26 14:31:07 +02:00
Henrik Lissner
9a02bd8ac8
Minor refactors across the board
...
- when-let* -> when-let
- Fix projectile-locate-dominating-file for connected remote files
2019-06-26 14:31:06 +02:00
Henrik Lissner
4f5f51237e
cli/env: remove ignored vars retroactively
...
doom-env-ignored-vars is now treated as a list of regexps.
Also updates docstrings and announces ignored variables.
2019-06-26 14:31:06 +02:00
Henrik Lissner
cdc41fc822
cli/env: reformat envvar file header
...
Places the generation command on line 2 for easier retrieval and
reformats explanation below.
2019-06-26 14:31:06 +02:00
Henrik Lissner
b245237b0c
Move custom-file to DOOMDIR/init.el
...
(And don't auto-load it at startup; no need)
2019-06-26 14:31:06 +02:00
Henrik Lissner
26da625981
Fix #1509 : failure to resize certain popups
2019-06-26 14:28:40 +02:00
Henrik Lissner
1e357310c4
Fix localleader alt key in insert mode
2019-06-26 14:28:40 +02:00
Henrik Lissner
c0eb1f524d
Fix exclusion of doom local files in recentf
...
Due to a load order issue, the doom-local-dir regexp wouldn't be mapped
through our custom recentf-filename-handlers. `file-in-directory-p` is
more robust.
2019-06-26 14:28:40 +02:00
Henrik Lissner
b45591989b
Revert remote reloading after refreshing autoloads
...
It's too flimsy, breaks easily, and doesn't handle the case where
multiple instances of Emacs are open.
2019-06-18 22:10:19 +02:00
Henrik Lissner
4575cbef05
Add rg check to core/doctor.el
2019-06-18 17:30:08 +02:00
Henrik Lissner
798e10c4f2
Refactor doom doctor
...
And move font check into core/doctor.el
2019-06-18 17:29:50 +02:00
Henrik Lissner
fd1b31667e
Index projects with ripgrep/fd on Windows
2019-06-18 14:43:15 +02:00
Henrik Lissner
f2d7c5625d
Revise comments & docstring
2019-06-18 14:43:05 +02:00
Henrik Lissner
3589ce4c5b
Fix exclusion of doom-local-dir from recentf list
2019-06-18 13:38:21 +02:00
Henrik Lissner
ae365272ad
Set exec-path/shell-file-name in doom-load-env-vars
...
And perform file-readable-p check inside doom-load-env-vars
2019-06-18 11:46:27 +02:00
Henrik Lissner
12fa049012
Disable lazy autorevert if auto-revert-mode is used
2019-06-18 00:51:59 +02:00
Henrik Lissner
e2869c62a1
Add file-readable-p check to doom-project-find-file
2019-06-17 20:57:29 +02:00
Henrik Lissner
d27c148e14
Fix font-resizing in child frames #1500
2019-06-17 16:01:37 +02:00
Henrik Lissner
6be401f1a7
Refactor Doom core & reload autoloads remotely
...
- Move subr-x/cl-lib loading to core-lib
- Revise docstrings for and rename various CLI functions to be more
descriptive and up-to-date
- After regenerating autoloads file, bin/doom will try to reload
autoloads files remotely, through the server/daemon, if possible. This
is highly experimental and could break
2019-06-16 23:01:17 +02:00
Henrik Lissner
72fd61e07b
Ensure order of after-change-major-mode-hook hooks
...
Reduces the likeliness of load order issues.
2019-06-16 19:16:23 +02:00
Henrik Lissner
5e9c020c21
doom-files-in: replace NOSORT w/ SORT; change default MATCH
...
- SORT defaults to t
- MATCH's new default regexp excludes files that start with underscore.
2019-06-16 19:16:23 +02:00
Henrik Lissner
47739698a8
Correct typo in doom env enable
output #1499
2019-06-16 19:16:22 +02:00
Henrik Lissner
84fd744e3f
Minor, general refactor & comment revision
2019-06-14 11:08:59 +02:00
Gerry Agbobada
9d668791da
Correct documentation of env_var file
...
Because of 3ed54e191b
The `load-env-vars` advice is false now. Instead we can propose setting "doom-env-file" correctly, it seems to work for me.
2019-06-13 10:03:50 +02:00
Henrik Lissner
f3d8053933
Add internal doom-customize-theme-hook
...
Ensures custom-set-faces! take effect before any load-theme hooks.
2019-06-12 22:42:32 +02:00
Henrik Lissner
6641e26283
Refactor package management API
...
Sets out to solve a number of issues with the package management
process. Namely:
- To-be-removed packages that are simply being removed are no longer
incorrectly labeled "quelpa->elpa", but "removed" instead.
- A backend (elpa vs quelpa) column was added to the package listing
confirmation when running `doom update`.
- Doom now correctly recognizes that packages installed with a psuedonym
are installed, and will not endlessly attempt to uninstall and
reinstall them on every `doom refresh`.
- Packages declared with :built-in will no longer lose their built-in
marking if said package is not actually present in Emacs' site load
paths. i.e. if you say it's built in, Doom won't question it.
- package!'s :ignore property is now treated as a form whose evaluated
result will be used as its value.
2019-06-11 08:01:42 +02:00
Henrik Lissner
158e4cc97c
Fix doom/clone-and-narrow-buffer
...
Also restores window scroll position after widening.
2019-06-10 09:38:57 +02:00
Henrik Lissner
4ae6faf627
scroll-margin = 0
2019-06-10 09:38:56 +02:00
Henrik Lissner
d329f216e3
Fix #1444 : recentf hangs Emacs on quit & cleanup
...
Caused by using file-truename on (disconnected) remote files, which
invoked TRAMP authentication.
Replaces #1451
2019-06-10 09:38:56 +02:00
Henrik Lissner
79941a4fd7
Make recentf more aggressive
...
- Updates file order on window switch
- Adds dired directories to recentf list
- Reduce recentf-max-saved-items from 300 to 200 (reduce worst-case
resorting costs)
2019-06-10 09:38:56 +02:00
Henrik Lissner
29293aa17f
Fix #1453 : ensure package autoloads are reloaded
...
`doom-package-update` does not trigger regeneration of the package
autoloads file.
2019-06-10 09:38:56 +02:00