Commit Graph

564 Commits

Author SHA1 Message Date
Henrik Lissner
36c36ca271
Optimize switch buffer/window hooks
Significantly reduces nested triggering of these hooks.
2018-06-01 16:40:39 +02:00
Henrik Lissner
947fe345c3
Minor, general refactor
In some contexts, map-put is superior to add-to-list.
2018-05-29 15:34:13 +02:00
Henrik Lissner
456dc62051
Fix compile-time void-function errors from modeline 2018-05-29 15:32:36 +02:00
Henrik Lissner
ed5e8849cc
Fix void-variable fundamental-mode error from unquoted symbol 2018-05-28 15:50:11 +02:00
Henrik Lissner
376adde0d8
Optimize mode-line segments that are just variables 2018-05-27 22:31:08 +02:00
Henrik Lissner
f3c7dac997
Don't protect visible buffers that start with an asterix 2018-05-26 23:25:57 +02:00
Henrik Lissner
1aec48a848
The *real* fix for whitespace-mode interfering with the mu4e sidebar #607 2018-05-26 03:09:53 +02:00
Henrik Lissner
6a140209b8
Optimize Doom core package configs 2018-05-24 23:41:40 +02:00
Henrik Lissner
0b48575c14
Remove def-hydra! macro alias
Causes byte-compilation issues and the alias is unnecessary.
2018-05-24 22:03:19 +02:00
Henrik Lissner
dea7c10771
Don't do naive path concatenation for private custom-theme-directory 2018-05-24 21:20:50 +02:00
Henrik Lissner
1369c51000
Replace :defer HOOK/FN with :after-call keyword 2018-05-21 01:38:17 +02:00
Henrik Lissner
da5c7d27cf
Use correct init hook (doom-post-init-hook) 2018-05-20 12:18:48 +02:00
Henrik Lissner
f16aa539c7
Fix window is not a live frame error #596 2018-05-18 22:06:10 +02:00
Henrik Lissner
cea750fc55
Rename doom|ansi-color-apply => doom|compilation-ansi-color-apply 2018-05-17 17:29:23 +02:00
Henrik Lissner
b01893bef2
Disable whitespace-mode in childframes 2018-05-17 17:29:07 +02:00
Henrik Lissner
51cc1e8908
No fringes in minibuffer or which-key buffers 2018-05-17 17:28:44 +02:00
Henrik Lissner
02e4c15b8e
Move avy/ace-link from core-editor to core-ui 2018-05-17 15:29:29 +02:00
Henrik Lissner
3853fdbf8d
Fix doom|protect-visible-buffers protecting temporary buffers 2018-05-17 15:16:28 +02:00
Henrik Lissner
49d431ee4e
Trigger switch-buffer hooks on pop-to-buffer 2018-05-17 12:11:34 +02:00
Henrik Lissner
4fba57e954
Fix trapped-in-prompt cursor issue in minibuffer 2018-05-17 12:11:19 +02:00
Henrik Lissner
c36e127ec5
Rethink core package deferral hooks
Ensure they are available exactly when they can be useful, but no
sooner.
2018-05-15 21:49:51 +02:00
Henrik Lissner
94f9e43f25
Rewrite :defer semantics
:defer now supports a hook, a cons cell with (SYMBOL . INTEGER) where
SYMBOL is a hook and INTEGER is a number of idle seconds before the
package is autoloaded, or just the integer (as per the default behavior
of :defer).

Also fixes an issue where switch-buffer-deffered packages (like
smartparens) wouldn't load.
2018-05-15 10:54:45 +02:00
Henrik Lissner
bb88411cc9
General minor refactor & docstring fixes 2018-05-14 20:55:55 +02:00
Henrik Lissner
bec79a3d4c
Major refactor of Doom bootstrap process
+ New `input` and `buffer` support for :defer in def-package! can now
  defer packages until the first command invoked after startup or first
  interactive buffer switch, respectively
+ Exploit these new :defer techniques to lazy-load many core packages,
  netting Doom a 20-30% decrease in startup time
+ Various userland macros (like package!, def-package-hook!, packages!,
  and disable-packages!) will now throw an error if used incorrectly
  (i.e. outside of their intended files; e.g. package! should be used in
  packages.el files)
+ Removed support for multiple/nested doom! calls. There should only be
  THE ONE in ~/.doom.d/init.el (or ~/.config/doom/init.el)
+ Fix an issue where load-path and auto-mode-list modifications would
  not persist because doom-packages-file was cached too late.
+ Added package-activated-list to cached variables in
  doom-packages-file, thus we no longer need custom-file.
+ Load Doom core files from doom-initialize. Now doom-initialize can be
  called from state-dependent non-interactive functions, instead of
  reloading core/core.el, which was clumsy
+ Removed the doom-post-init-hook hook. There was no reason for it to
  exist when doom-init-hook can simply be appended to
2018-05-14 20:37:13 +02:00
Henrik Lissner
eb5fd0aa53
run-hook-with-args => run-hooks, in custom hooks 2018-05-14 13:05:03 +02:00
Henrik Lissner
4603a4e113
Change doom-theme on load-theme 2018-05-14 13:05:03 +02:00
Henrik Lissner
0bd88b8414
Add restart-emacs package & commands 2018-05-14 13:05:03 +02:00
Henrik Lissner
2373429e76
inhibit-compacting-font-caches = t
Performance at the cost of some space efficiency
2018-05-14 13:05:03 +02:00
Henrik Lissner
9b1385b725
core-ui: general refactor/reformatting 2018-05-11 10:00:23 +02:00
Henrik Lissner
52cdb0bd83
Remove doom-fringe-size; set default fringe in :ui doom
There was no way to customize doom-fringe-size. Better to customize
fringes by using fringe-mode, {left,right}-fringe-width or
set-window-fringes directly.
2018-05-11 10:00:23 +02:00
Henrik Lissner
0ffc1fa3df
{window,frame}-resize-pixelwise = t 2018-05-11 10:00:23 +02:00
Henrik Lissner
92d5f4266c
custom-theme-directory = ~/.doom.d/themes/ 2018-05-11 10:00:19 +02:00
Henrik Lissner
6359fec985
Fix doom-unicode-font 2018-05-09 00:20:01 +02:00
Henrik Lissner
4705153873
Minor refactor
+ comment revision
+ delq->map-delete
+ remove obsolete variable
2018-05-09 00:20:01 +02:00
Henrik Lissner
67f9aa1ffe
Move whitespace config to core-ui
Introduces new doom|show-whitespace-maybe hook to replace
doom|editorconfig-whitespace-mode-maybe
2018-05-09 00:20:01 +02:00
Henrik Lissner
317b556bde
Extract :ui posframe packages into other modules 2018-05-09 00:20:01 +02:00
Henrik Lissner
0afae2eacf
Remove fringe-helper package 2018-05-08 19:42:28 +02:00
Henrik Lissner
78dde79622
Make doom|ansi-color-apply more robust 2018-05-07 22:02:00 +02:00
Henrik Lissner
b76addda39
Delay setting frame buffer-predicate until doom-init 2018-05-07 19:26:31 +02:00
Henrik Lissner
135ebd925f
Enable global-eldoc-mode; less work for me! 2018-04-23 00:34:03 -04:00
James Conroy-Finn
21909a83e1 Add missing buffer name to kill confirmation 2018-04-17 12:26:41 +01:00
Henrik Lissner
904c997e9f
Add modeline layout to format function docstring 2018-04-05 02:27:31 -04:00
Henrik Lissner
c1d1753490
Provoke doom to init theme in daemon session 2018-04-04 07:40:39 -04:00
Henrik Lissner
13bffc54bd
Refactor theme/font initialization
Addressed #489
2018-03-30 04:12:52 -04:00
Henrik Lissner
c998cebd31
ansi-color-for-comint-mode = t 2018-03-27 19:18:26 -04:00
Henrik Lissner
2364e97285
Fix switch-window hooks when switching with the mouse
And moved it to ui/nav-flash, which is what this code was introduced to
fix in the first place!
2018-03-27 02:50:40 -04:00
Henrik Lissner
f3b99779c9
Add doom-after-switch-frame-hook; fix over-eager switch-window hooks
Switch-window hooks would fire too frequently; like when switching to
the same window, clicking in windows, or from the minibuffer (e.g.
during ivy sessions).
2018-03-26 06:40:04 -04:00
Henrik Lissner
57065c4a71
Don't prompt to save for non-file-visiting buffers on kill-this-buffer 2018-03-24 17:05:06 -04:00
Henrik Lissner
24043d9bfd
Silence beginning/end-of-line/read-only errors on motions in minibuffer 2018-03-23 02:29:17 -04:00
Henrik Lissner
9f2a94c25a
Only init fonts once, and for any (tty/gui) session 2018-03-22 19:32:08 -04:00
Henrik Lissner
4fc2897372
core-ui: define doom-*-switch-*-hooks & minor refactor
doom-init-theme-hook is now obsolete; to be replaced with
doom-load-theme-hook.
2018-03-22 19:26:13 -04:00
Henrik Lissner
2a45b80e2a
Revert cfe2fe87; needs better checks 2018-03-15 04:49:49 -04:00
Henrik Lissner
aec4fbe590
Always apply ansi color codes to compilation buffers 2018-03-14 18:28:25 -04:00
Henrik Lissner
cfe2fe87d9
Reduce screen flicker when creating a new frame
...by only reloading the theme if the new frame is of a different type
from the last (tty and GUI frames).
2018-03-14 18:26:59 -04:00
Henrik Lissner
ccaf5eabbd
Fix switch-window hooks; add switch-buffer hooks 2018-03-14 04:52:09 -04:00
Henrik Lissner
fbb9947c7e
Add doom-{after,before}-switch-window-hook hooks 2018-03-12 13:32:02 -04:00
Henrik Lissner
5c9ef4ee38
Replace doom-hide-modeline-mode w/ hide-mode-line-mode #423 2018-03-02 19:14:44 -05:00
Henrik Lissner
b05ccbb98e
Move some UI vars from core.el to core-ui.el 2018-02-18 02:59:11 -05:00
Henrik Lissner
2b43dd42e2
Refactor doom-hide-modeline-mode 2018-02-16 21:02:46 -05:00
Henrik Lissner
a05c4cca6c
Fix kill-this-buffer asking to save twice 2018-02-13 17:53:11 -05:00
Henrik Lissner
4566dea4b3
Fix save-buffer prompt occurring after buffer is buried 2018-02-11 03:58:57 -05:00
Henrik Lissner
c5837440d6
Refactor kill-this-buffer advice
And prevent it from switching to fallback buffer too early. Again.
2018-02-03 22:36:48 -05:00
Henrik Lissner
3830a8aba1
feature/workspaces: fix infinite recursion in buffer-predicate #399
By refactoring so that the middle-man buffer predicate wasn't necessary.
2018-02-03 18:06:47 -05:00
Henrik Lissner
76a1e8a279
Fix theme/font init in daemon Emacs
Possibly addresses #399 and #400
2018-02-03 17:58:10 -05:00
Henrik Lissner
46225e2830
core-ui: fix comment typo 2018-02-02 20:47:33 -05:00
Henrik Lissner
e71f28601a
Fix inconsistencies in fonts across frames #399
Also, minor refactor for doom|init-theme.
2018-02-02 20:47:32 -05:00
Henrik Lissner
d1953e00c4
Remove doom--cycle-real-buffers; refactor kill-this-buffer advice
cycle-real-buffers was a tidbit of complexity that was never necessary
in the first place. This functionality was already available in the form
of the frame buffer-predicate parameter, which controls where functions
like next-buffer and other-buffer can land you.

The only thing I have to do myself, is check for the condition where
there are no more real buffers left to switch to, and in that case send
you to the fallback-buffer.
2018-02-02 20:47:31 -05:00
Henrik Lissner
5b19ad50a6
frame-title-format: just use filename
A blank buffer-file-name causes an error. Rather than overcomplicate
this, I'll just use %b.
2018-02-01 20:42:21 -05:00
Henrik Lissner
5b817727e2
Use more informative frame title 2018-02-01 20:14:27 -05:00
Henrik Lissner
005402efc0
Remove prompt if file is opened in other emacsclients 2018-02-01 19:58:44 -05:00
Henrik Lissner
2989296521
Use frame's buffer-predicate instead of doom/{next,previous}-buffer
doom/{next,previous}-buffer was implemented so that these commands could
skip over unreal buffers, and land us on either a real one or the
dashboard. Using the frame's buffer-predicate parameter accomplishes
exactly this, natively.
2018-02-01 19:58:43 -05:00
Henrik Lissner
893bb6b3f7
Revert unstyled mode-line flash prevention (unreliable) 2018-01-30 21:25:33 -05:00
Henrik Lissner
23f914916e
Refactor theme init across GUI, tty and daemon Emacs 2018-01-30 21:19:57 -05:00
Henrik Lissner
b88f28dbf8
Fix nlinum-relative-* void-function errors #376 2018-01-30 14:05:39 -05:00
Henrik Lissner
bcef66b947
Refactor doom/toggle-line-numbers; add doom-line-numbers-visual-style #376
doom-line-numbers-visual-style adds support for the visual
display-line-numbers mode by setting it to a non-nil value.
2018-01-30 03:31:32 -05:00
Henrik Lissner
64a674dcc9
Fix nlinum-relative line numbering #376
Fixed padding; now relative line numbers look consistent with its non-relative
counterpart.
2018-01-30 01:18:30 -05:00
Henrik Lissner
01787fc876
Change doom/toggle-line-numbers to cycle styles #376
Also fixes doom/toggle-line-numbers when doom-line-numbers-style is nil.
2018-01-30 01:10:58 -05:00
Henrik Lissner
bd443322a2
A slightly more efficient unstyled-mode-line fix 2018-01-29 19:34:06 -05:00
Henrik Lissner
4e908bd525
Minor refactor & correction 2018-01-29 17:39:08 -05:00
Henrik Lissner
0890826083
window-divider-default-bottom-width = 1 2018-01-29 17:09:09 -05:00
Henrik Lissner
735d129f92
Truly prevent unstyled mode-line flash at startup 2018-01-29 17:06:20 -05:00
Henrik Lissner
59f33855dd
Fix kill-this-buffer switching to fallback buffer too soon (again) 2018-01-18 23:08:26 -05:00
Henrik Lissner
d2bab1dc4d
Fix kill-this-buffer's dashboard addiction, the sequel
Again, the dashboard was being switched to too early (there were still
other real buffers to display).
2018-01-09 04:05:33 -05:00
Henrik Lissner
af37d430fb
Fix kill-this-buffer's dashboard addiction
Our kill-this-buffer advice, which tries to ensure the user will always
land on a real buffer after killing another, would prematurely jump to
the dashboard even though there were other available, real buffers.

Also fixes an issue where kill-this-buffer would get stuck switching
between the last buffers (because they aren't killed if they're visible
in other windows). If the only buffers left are visible in other
windows, it will now switch to the fallback buffer (dashboard or
scratch).
2018-01-08 19:32:53 -05:00
Henrik Lissner
50abff78c8
Fix doom-hide-modeline-mode not respecting doom--modeline-format
feature/popup is using this mode to give certain windows special
modelines.
2018-01-07 05:56:02 -05:00
Henrik Lissner
25ec2bdcbb
Fix kill-this-buffer killing popup buffer instead of window 2018-01-06 17:04:20 -05:00
Henrik Lissner
20a8f2cbad
Fix kill-this-buffer advice thinking everything is a popup 2018-01-04 16:16:45 -05:00
Henrik Lissner
69385fac1a
Major rewrite of core-ui
Phases out dependence on the doom-kill-buffer workflow, which ensured
the user would always land on a real buffer (or the fallback buffer)
after killing a buffer. This required all quit-window, kill-this-buffer
and various buffer-killing commands be advised or remapped. There was no
need, kill-buffer-query-functions is better.

Also introduces a new hook: doom-init-theme-hook. doom-init-ui-hook
still exists, but is used for UI initialization (surprise), while theme
hooks should be moved over.
2018-01-04 03:01:35 -05:00
Henrik Lissner
8134c49ec3
ibuffer-use-other-window = t (hand off to popup system)
Addresses #309
2018-01-01 17:01:23 -05:00
Henrik Lissner
fd11f958f9
Move doom*quit-window to core-editor 2018-01-01 16:30:22 -05:00
Henrik Lissner
a370b5b125
Add kill-buffer-query-fns at post-init (fix race condition) 2017-12-30 01:30:41 -05:00
Henrik Lissner
9632b8c09d
Flip default kill flag in quit-window #309 2017-12-30 01:19:56 -05:00
Henrik Lissner
6279241ec3
More reliable doom|protect-visible-buffers 2017-12-30 00:53:51 -05:00
Henrik Lissner
a56b2afa46
Refactor all-the-icons disabler advice 2017-12-29 01:46:20 -05:00
Henrik Lissner
5c54f58ff8
protect-visible-buffers: get-buffer-window-list => get-buffer-window
The "current" window is forgotten by the time
doom|protect-visible-buffers runs, so use get-buffer-window (native
C function) to detect if another window housing this buffer exists.
2017-12-29 01:23:05 -05:00
Henrik Lissner
60e8f6297e
doom-kill-buffer: extract protect-visible-buffers logic
Protecting buffers that were visible in other windows (burying them
instead) is not the responsibility of doom-kill-buffer. This is a job
for kill-buffer-query-functions, hence doom|protect-visible-buffers.
2017-12-28 22:06:22 -05:00
Henrik Lissner
59846473ca
visual-fill-column: account for emacs 26 line numbers 2017-12-27 18:20:58 -05:00
Henrik Lissner
89f07f88c5
General & minor refactor 2017-12-23 22:13:48 -05:00
Henrik Lissner
d57d0d9305
Better error-handling for missing fonts #301 2017-12-22 23:36:35 -05:00
Henrik Lissner
4560fe7163
Address (literal) edge cases with hl-line eob fix 2017-12-11 15:23:42 -05:00
Henrik Lissner
e109d72121
Fix hl-line mode bleeding into window in Emacs 26 2017-12-11 13:46:09 -05:00
Henrik Lissner
ae25e319b0
Silence 'cannot load' false positive errors when byte-compiling 2017-12-10 14:51:32 -05:00
Henrik Lissner
76a4ae459d
Fix obsolete (when|if)-let messages in Emacs 26 2017-12-10 14:49:52 -05:00
Henrik Lissner
5a09d539ba
Breaking change: remove font and theme settings
I am removing settings for core configuration to reduce "magic" in Doom.
set! is meant for cross-configuring modules that may or may not be
enabled. There should be no such concern for configuring Doom core.

From now on, change your fonts with:

  (setq doom-font (font-spec :family "Fira Mono" :size 12)
        doom-variable-pitch-font (font-spec :family "Fira Sans")
        doom-unicode-font (font-spec :family "DejaVu Sans Mono")
        doom-big-font (font-spec :family "Fira Mono" :size 19))
2017-12-08 23:14:12 -05:00
Henrik Lissner
9d81bc5a8b
Major refactor: use-package-always-defer = nil & use :hook
Possibly breaking change: packages are no longer deferred by default.

Addresses #286
2017-12-08 23:14:11 -05:00
Henrik Lissner
27cf1dab21
Conditionally re-enable hl-line upon exiting visual mode
Addresses #281
2017-12-04 21:40:10 -05:00
Henrik Lissner
95a5b46dc5
New // naming convention + refactor doom management functions 2017-11-05 19:54:43 +01:00
Henrik Lissner
52be654cc4
General/minor refactor 2017-09-24 20:49:36 +02:00
Henrik Lissner
6a07ba8d1f
Add docstrings to theme and font settings 2017-09-24 17:10:48 +02:00
Henrik Lissner
582e69db05
Move vi-tilde-fringe to new ui/vi-tilde-fringe module 2017-09-24 17:10:48 +02:00
Henrik Lissner
91783e0695
General refactor & cleanup 2017-09-15 14:37:20 +02:00
Henrik Lissner
85c28444b3
General cleanup & refactor 2017-08-06 16:30:53 +02:00
Henrik Lissner
7e4a0dbe95
Try to prevent wrong-type-argument font-spec error
Addresses #164, #165
2017-07-28 19:54:31 +02:00
Henrik Lissner
903f5b1a80
New function: doom|disable-vi-tilde-fringe 2017-07-19 00:25:05 +02:00
Henrik Lissner
e6658b7d8e
General minor refactor 2017-07-19 00:25:05 +02:00
Henrik Lissner
f2d8681ef4
Refactor line number implementation
+ Add relative line number support (see doom-line-numbers-style)
+ Update doom/toggle-line-numbers
+ New hook functions: doom|enable-line-numbers,
  doom|disable-line-numbers

Addresses #156
2017-07-19 00:25:05 +02:00
Henrik Lissner
c0bfaec9d4
Add display-line-numbers support in Emacs 26 #59 2017-07-12 23:59:38 +02:00
Henrik Lissner
e87d278811
Remove (interactive) from non-interactive funcs 2017-07-12 14:59:00 +02:00
Henrik Lissner
dfa6c468c3
Change doom-line-number-pad-char default to space
There are some subtle issues with using the unicode, which depends
largely on the font you use. It is also slightly faster to use a space.
If you use whitespace-mode's space-mark feature, then change this to
?\u2002.

Addresses #109
2017-07-05 12:26:11 +02:00
Henrik Lissner
d7fa7c228d
Add theme and font settings 2017-07-05 02:59:17 +02:00
Henrik Lissner
b771997105
Make font variables default to nil 2017-07-05 02:59:17 +02:00
Henrik Lissner
6093b81412
+present/big-mode => doom-big-font-mode
And added new variable: doom-big-font

app/present is deprecated so this feature has been moved into core.
2017-07-05 02:58:50 +02:00
Henrik Lissner
0f6884f9d6
Favor horizontal splits (for widescreen LCDs) 2017-07-02 16:55:39 +02:00
Henrik Lissner
069d085eec
Inhibit font loading in non-gui sessions 2017-06-28 18:13:25 +02:00
Henrik Lissner
29f88e6c63
Add fboundp guard around fringe-mode 2017-06-28 18:05:11 +02:00
Henrik Lissner
ecd8ad0f46
Change how themes, fonts & modelines are loaded
WARNING: THIS IS A BREAKING CHANGE FOR THEME/FONT/NLINUM CUSTOMIZATIONS.

This change was motivated by the need to decouple theme and font loading
from the ui/doom module.

Now, it is doom-core's purview. Theme and fonts are loaded after
initfiles are read (attached to the doom-init-ui-hook hook), giving
other modules (especially private ones) a chance to change the theme or
fonts.

+ Refactor core-ui.el
+ New init hook: doom-init-ui-hook
+ Decouple theme/font loading from ui/doom
+ Load modelines are doom-init-ui-hook
+ New theme/font variables (replaces old ui/doom variables)
  + doom-theme
  + doom-font
  + doom-variable-pitch-font
  + doom-unicode-font
+ Change nlinum variables
  + doom-line-number-lpad
  + doom-line-number-rpad
  + doom-line-number-pad-char

Addresses #117
2017-06-28 16:18:24 +02:00
Henrik Lissner
804fd31aab
Fix hl-line toggle in evil visual mode
Prior to this fix, hl-line would be disabled and stay off.
2017-06-28 16:16:10 +02:00
Henrik Lissner
5ebda9b0c6
Refactor buffer functions & update tests
+ Split doom-buffer-list into doom-buffer-list
  & doom-project-buffer-list.
+ doom-real-buffers-list => doom-real-buffer-list (for naming
  consistency).
2017-06-28 12:26:49 +02:00
Henrik Lissner
5ef61c7bb4 Remove :load-path for nlinum-hl 2017-06-24 02:25:15 +02:00
Henrik Lissner
e75bc10baa Unset mode-line-format sooner in startup process 2017-06-24 02:25:15 +02:00
Henrik Lissner
c60970ff2d Remove inject-trailing-whitespace functionality
This was buggy, inefficient and more trouble than its benefits were
worth. Perhaps we can now switch back to highlight-indent-guides...
2017-06-24 02:25:15 +02:00
Henrik Lissner
3762d877b1
Appease almighty byte-compiler sama 2017-06-19 12:41:30 +02:00
Henrik Lissner
392c58ea47
General refactor & cleanup 2017-06-19 00:32:45 +02:00
Henrik Lissner
27cbd36b69
Improve hl-line disable hook for visual mode 2017-06-19 00:04:20 +02:00
Henrik Lissner
a8df81b259
Optimize modeline rendering slightly 2017-06-18 23:43:08 +02:00
Henrik Lissner
8f9bd835a5
Make whitespace-injection more robust
+ No longer try to affect read-only buffers
+ Only activate if indent-tabs-mode is nil (spaces)
2017-06-18 23:43:08 +02:00
Henrik Lissner
6d39c323c5
Hide mode-line during startup
Produces the appearance of a smoother start-up, with fewer UI elements
transforming as it reads the config.
2017-06-16 02:32:44 +02:00
Henrik Lissner
3f69ebdfc8
Don't modify buffer on whitespace injection (#110)
In doom|inject-trailing-whitespace, for highlight-indentation-mode
2017-06-16 02:09:35 +02:00
Henrik Lissner
1606deb046
Fix missing all-the-icons-material function 2017-06-15 23:57:57 +02:00
Henrik Lissner
d3270a9b00
Fix whitespace-mode space-marks in nlinum (#109)
...by changing the padding character in line numbers.
2017-06-15 14:45:33 +02:00
Henrik Lissner
816df321a5
General refactor & cleanup 2017-06-14 21:15:19 +02:00
Henrik Lissner
6dff6e124b
Bring back nlinum-hl
I moved the nlinum--region fix to the nlinum-hl package; which also
contains fixes for other problematic major-modes.
2017-06-14 02:51:24 +02:00
Henrik Lissner
e5a04e512f
core-ui: refactor echo-keystrokes hooks 2017-06-12 01:41:55 +02:00
Henrik Lissner
38f9e4b0a6
Fix delete-frame => doom/delete-frame remap 2017-06-12 01:41:54 +02:00
Henrik Lissner
4984a548d1
Refactor DOOM init & add new init hooks
+ Add doom-init-hook and doom-post-init-hook to simplify Emacs init
  hooks into less ambiguous ones.
+ Attach former after-init-hook and emacs-startup-hook hooks to new doom
  init hooks.
+ Vastly improves daemon and tty support: preventing incorrect colors
  from bleeding across face class barriers, and into GUI Emacs and vice
  versa, when spawned with emacsclient.
+ Fix persp-mode breaking Emacs daemon, and ensuring that initialization
  is done properly in terminal Emacs (and emacsclient frames).
2017-06-12 00:37:14 +02:00
Henrik Lissner
66cfbb2563
Fix quit confirmations in daemon; add for frames
+ Add quit confirmation when closing a frame with real buffers
+ Ensure quit confirmations also work in daemon frames (tty or gui)
2017-06-11 16:24:49 +02:00
Henrik Lissner
c5f2879927
core-ui: optimize hooks 2017-06-10 01:54:59 +02:00
Henrik Lissner
6d2a7e22b3
Fix typo in nlinum--region advice 2017-06-09 14:20:45 +02:00
Henrik Lissner
7ba22d0d86
Possibly fix disappearing line numbers (#59) 2017-06-09 13:48:28 +02:00
Henrik Lissner
f071e55dc0
Enable nlinum-highlight-current-line 2017-06-09 01:09:19 +02:00