33b0a8d36c
bin/doom quickstart: Offer to patch Emacs.app
2018-08-25 03:40:00 +02:00
77838534ce
Polyfill line-number-display-width for Emacs 25
...
Fixes void-function line-number-display-width errors (used in
company-pseudo-tooltip-frontend).
2018-08-25 03:16:32 +02:00
08c09c2898
bin/doom patch-macos: show "Patching X" message
2018-08-24 01:12:05 +02:00
c5f3cc17c5
Fix doom quickstart not respecting -y/--yes #817
2018-08-23 17:31:21 +02:00
9eae0860c6
Fix doom/window-enlargen in popup windows #825
2018-08-23 17:21:42 +02:00
fa81f7ed71
Improve doom patch-macos documentation
...
Makes doom help patch-macos more informative, and simplifies
confirmation prompt when using it.
2018-08-23 16:49:03 +02:00
1890356d11
Refactor & fix vanilla sandbox in tty Emacs
...
Except for Windows users. Doesn't seem to be possible to suspend and
foreground Emacs in windows' shell.
2018-08-23 16:18:56 +02:00
12f6add329
package-initialize for doom/open-vanilla-sandbox
2018-08-23 11:27:27 +02:00
9e08620350
Use locate-library to detect display-line-numbers
...
Now that display-line-numbers is polyfilled, a boundp check is useless.
2018-08-21 04:32:27 +02:00
62977247c9
Revert da7f9019
& refactor doom init hooks
2018-08-21 04:27:14 +02:00
9a4cce8d9a
Refactor detection of native display-line-numbers
2018-08-21 04:10:18 +02:00
da7f9019d1
Run doom-post-init-hook as late as possible
...
Possibly fixes recursive load errors, to do with
kill-buffer-query-functions and buffer-predicate autoloads loading in a
weird way on Emacs 25 (and especially on MacOS, for some reason).
2018-08-21 04:03:05 +02:00
ee73d6c9af
Minor reformatting & comment tweaks
2018-08-21 03:34:39 +02:00
a7da9a4738
💥 Rewrite line numbers system for Emacs 25
...
This removes the various doom-line-number* variables and replaces it
with the Emacs 26 display-line-numbers API, which I've ported to Emacs
25.x (however, it uses nlinum under the hood, and not all of
display-line-numbers options are supported).
2018-08-21 03:34:39 +02:00
24cddafc8a
Update tests
2018-08-21 03:34:39 +02:00
4618b7afad
Refactor & reformat core-ui
2018-08-21 02:56:54 +02:00
6b7f97f4fc
Autoload doom-quit-p & revise its docstring
2018-08-20 23:56:56 +02:00
f9b06bd3a8
bin/doom: fix Emacs.app patch wrapper script
2018-08-19 03:59:23 +02:00
2be0772b13
bin/doom: add patch-macos command
...
Patches Emacs.app to respect your shell environment.
2018-08-19 03:44:42 +02:00
1d3a1ee82f
highlight-numbers-mode -> highlight-numbers #813
...
Correct package name
2018-08-17 13:03:59 +02:00
f923ed4341
Add docstrings to doom-inhibit-switch-*-hooks vars
2018-08-17 04:34:43 +02:00
1dca969a14
Update switch hook tests
2018-08-17 04:03:19 +02:00
deea5f11b3
Fix enter/exit window/buffer hook names
2018-08-17 04:01:46 +02:00
7a578eb242
Move counsel+helpful integration to ivy module
2018-08-17 03:37:07 +02:00
4a4b012b5d
Move custom hooks to core/core.el
...
Also ensures that the custom hooks aren't fired until as late as
possible, which prevents a few packages from prematurely loading at
startup. Faster startup! Yay!
2018-08-17 01:57:09 +02:00
6df179bb29
Use def-package! for highlight-numbers-mode
...
Easier for users to disable
2018-08-16 19:34:03 +02:00
ce9f03f310
Use personal fork of highlight-escape-sequences
...
Improves elisp support, adds support for more modes and fixes some minor
issues.
2018-08-16 15:17:07 +02:00
a715f848aa
Let EMACS_SERVER_NAME envvar change server-name
2018-08-16 12:53:38 +02:00
480378d30c
Fix doom/info in noninteractive sessions
2018-08-16 01:26:28 +02:00
4c18fc81af
Ensure switch hooks don't reference dead buffers
2018-08-13 21:47:56 +02:00
5714ff423a
Fix evil jumplist after jumping to ag match
...
helm-ag would formerly add multiple entries to the jump list. It now
only adds one, and recenters the window when jumping to an ag match.
2018-08-13 21:47:55 +02:00
b149dcffd4
Replace esup with doom/profile-emacs #788
...
Since esup (called directly) doesn't work with Doom.
2018-08-13 03:50:17 +02:00
25d9786edf
Add early-init-file support to doom/profile-emacs #788
...
And fix wrong-type-argument: stringp errors when running esup.
Also ensure that doom|run-all-startup-hooks sets after-init-time.
2018-08-13 03:47:33 +02:00
cbad18bf95
Fix wrong-type-arg hash-table-p error
...
In the rare case your private init.el has no doom! block.
2018-08-12 02:46:06 +02:00
36044fccc9
defconst -> defvar for global constants
...
So they can be changed prior to being defined (e.g. for
doom/open-vanilla-sandbox).
2018-08-12 02:45:28 +02:00
c530866f0a
Add option to load doom in vanilla sandbox
...
This adds the option to run elisp in an environment where doom core &
modules are loaded, but not your private modules or config.
Also updates the vanilla sandbox text template.
2018-08-12 02:45:01 +02:00
9ddfca44d1
Rename doom//reload-project -> doom/reload-project
...
Conform command to new naming convention (removed the doom//abc
convention).
2018-08-11 21:45:53 +02:00
735e14270e
Fix non-string errors from kill-ring
...
When unpropertizing the kill ring.
2018-08-11 02:05:33 +02:00
43e0314e86
Add doom/switch-theme; a more sensible load-theme
...
load-theme doesn't disable previously enabled themes before switching.
doom/switch-theme does.
This remaps any keys bound to load-theme to doom/switch-theme.
2018-08-11 01:59:37 +02:00
e290c6e03b
Minor refactor of associate!'s initializer
2018-08-11 01:59:37 +02:00
e348e32cbc
Fix def-project-mode! :add-hooks overwriting hooks
...
Would overwrite hooks previously added to the project mode.
2018-08-11 01:59:36 +02:00
d6f89aaafd
Make doom/copy-backtrace copy the whole backtrace
2018-08-10 19:13:31 +02:00
541ce81b91
Fix #791 : replace global-command-log-mode
...
global-command-log-mode isn't autoloaded, but
clm/toggle-command-log-buffer is, and if command-log-mode-is-global is
set, it is equivalent to global-command-log-mode.
2018-08-08 23:37:30 +02:00
6eafdd7c62
Refactor module load process
...
doom! no longer loads modules, it only sets
doom-modules (incrementally).
Instead, modules are loaded by doom-initialize-modules (which makes more
sense).
2018-08-08 23:37:30 +02:00
f88a97177c
Rename doom-ensure-core-directories
...
Give it a more descriptive name
2018-08-08 23:37:30 +02:00
37e80c4878
Refactor doom*strip-text-properties-from-undo-history
...
:around -> :before advice
2018-08-07 03:27:24 +02:00
c45e563453
Fix advice for `undo-tree-make-history-save-file-name'
...
Inspired by #786 : `:filter-return' expects a function to be given. If neither
"zstd" or "gzip" are found on the executable path, then it gets given nil
instead, which results in sadness when trying to save files.
2018-08-07 03:14:28 +02:00
e05f3ec739
Add python & enh-ruby support to hes-mode
2018-08-06 00:31:23 +02:00
4dc5ef3879
Add highlight-escape-sequences
2018-08-06 00:31:23 +02:00
fbe4e94fbc
Mention restart when bin/doom is finished
...
It is preferrable to doom/reload.
2018-08-04 13:44:55 +02:00