Commit graph

84 commits

Author SHA1 Message Date
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
323953db29
Remove default font (leave it to the user)
Addresses #164, #165, #205, #244
2017-11-05 19:54:44 +01:00
Henrik Lissner
42fec8494d
Rename doom/reload => doom/reload-load-path 2017-09-19 15:07:57 +02:00
Henrik Lissner
90048fc019
Temporarily disable doom-themes-visual-bell-config
It currently conflicts with swapping backgrounds with solaire-mode.
2017-09-03 21:59:13 +02:00
Henrik Lissner
ab5c87bae9
Add solaire-mode-swap-bg 2017-08-09 21:22:00 +02:00
Henrik Lissner
749553993d
Remove org-mode custom fontification
This has been merged into doom-themes.
2017-08-03 21:24:08 +02:00
Henrik Lissner
e6658b7d8e
General minor refactor 2017-07-19 00:25:05 +02:00
Henrik Lissner
2b5eb5763f
Use new font/theme settings in ui/doom 2017-07-05 02:59:17 +02:00
Henrik Lissner
cca37f2508
Add doom-(pre|post)-reload-theme-hook 2017-06-29 14:58:10 +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
46b3f06f50
Remove :load-path for doom-themes 2017-06-23 03:13:21 +02:00
Henrik Lissner
c958f1eafd
Move italic customization to private module 2017-06-15 15:09:31 +02:00
Henrik Lissner
816df321a5
General refactor & cleanup 2017-06-14 21:15:19 +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
e165450903
Refactor fringe-helper config 2017-06-09 01:09:19 +02:00
Henrik Lissner
c7254e7bdc
Major optimization refactor, across the board
+ enable lexical-scope everywhere (lexical-binding = t): ~5-10% faster
  startup; ~5-20% general boost
+ reduce consing, function calls & garbage collection by preferring
  cl-loop & dolist over lambda closures (for mapc[ar], add-hook, and
  various cl-lib filter/map/reduce functions) -- where possible
+ prefer functions with dedicated opcodes, like assq (see byte-defop's
  in bytecomp.el for more)
+ prefer pcase & cond (faster) over cl-case
+ general refactor for code readability
+ ensure naming & style conventions are adhered to
+ appease byte-compiler by marking unused variables with underscore
+ defer minor mode activation to after-init, emacs-startup or
  window-setup hooks; a customization opportunity for users + ensures
  custom functionality won't interfere with startup.
2017-06-09 00:47:45 +02:00
Henrik Lissner
cdd24312d9
Move feature/unicode => ui/unicode 2017-06-08 14:27:06 +02:00
Henrik Lissner
b4e454823f
Ignore +doom-unicode-font if :feature unicode is active 2017-06-08 14:21:51 +02:00
Henrik Lissner
b8bbda68c9 Update +doom-folded-face colors (for doom-themes update) 2017-06-07 21:03:24 +02:00
Henrik Lissner
bf4dc9d5c5 Reset solaire-mode on load-theme or doom/reload 2017-06-07 21:03:24 +02:00
Henrik Lissner
9fc4a0e619 ui/doom: re-enable doom-themes-visual-bell-config 2017-06-07 21:03:24 +02:00
Henrik Lissner
a027775739
Disable doom-themes-visual-bell-config (fix #95) 2017-06-06 14:02:56 +02:00
Henrik Lissner
14b3228dfb Remove visual bell fn (doom-themes offers this now) 2017-06-05 12:35:51 +02:00
Henrik Lissner
b7b9a2c2fd Add solaire-mode 2017-06-05 12:35:51 +02:00
Henrik Lissner
861cc537cc Add nlinum-hl 2017-06-05 12:35:51 +02:00
Henrik Lissner
cbf9f7a079 Move window-divider-mode from ui/doom => core-ui 2017-06-05 12:35:51 +02:00
Henrik Lissner
084c7be50f
Move nav-flash from ui/doom to ui/nav-flash (#92) 2017-06-04 18:28:17 +02:00
Henrik Lissner
117e55f0c2 General cleanup + refactor 2017-05-29 01:05:34 +02:00
Henrik Lissner
b4917bfa2a ui/doom: blink on focus-in & refactor 2017-05-28 02:48:20 +02:00
Henrik Lissner
8ca6e2630b Bring back nlinum
linum-mode *really* slows down buffers when they're displayed in more
than one window. This lag isn't present in nlinum. nlinum isn't perfect
either but... lesser of two evils.

This includes advisors and an ESC hook to mitigate the issue of
disappearing nlinum line numbers.
2017-05-28 02:48:20 +02:00
Henrik Lissner
7fc4447ef6 Conform nav-flash commands to naming conventions 2017-05-26 20:22:45 +02:00
Henrik Lissner
c711d7e662 Fix void-function define-fringe-bitmap errors 2017-05-25 20:13:05 +02:00
Henrik Lissner
656452df00 General cleanup & refactor; update TODO 2017-05-19 17:21:52 +02:00
Henrik Lissner
615cf15313 General refactor & cleanup 2017-05-17 21:07:41 +02:00
Henrik Lissner
44e672655d ui/doom: use initial-frame-alist & better +doom/reset-theme 2017-05-17 01:34:33 +02:00
Henrik Lissner
c64526eb40 Move flycheck ui config to ui/doom 2017-05-16 22:21:21 +02:00
Henrik Lissner
20b7d4a6f9 ui/doom: fix blinking when using H/M/L jumps 2017-05-16 22:20:57 +02:00
Henrik Lissner
e071545d36 ui/doom: add docstrings for blink-cursor funcs 2017-05-16 18:07:17 +02:00
Henrik Lissner
b679a86452 feature/evil: improve neotree popup integration 2017-05-16 18:05:39 +02:00
Henrik Lissner
1ce3f39529 ui/doom: fix nav-flash triggers
Used to trigger when evil-multiedit was invoked, or on every keypress in
eshell/term buffers (both caused by eager recenter-ing).
2017-05-16 18:05:39 +02:00
Henrik Lissner
d8e3d853a9 ui/doom: centralize doom-buffer-mode activation 2017-05-16 18:05:39 +02:00
Bryan Gilbert
d190e55f56 make doom/blink-cursor interactive 2017-05-16 11:35:05 -04:00
Henrik Lissner
fb8a361e1f ui/doom: refactor 2017-05-15 21:00:33 +02:00
Henrik Lissner
f49a507ec8 feature/evil: new code-folding system 2017-05-15 20:26:33 +02:00
Henrik Lissner
dce757032a ui/doom: refactor nav-flash integration 2017-05-15 20:26:32 +02:00
Henrik Lissner
653e80e655 Fix missing 'define-fringe-bitmap' function errors
If Emacs wasn't built with X, Cocoa or NS display support (as is the
case for evm emacs-25.1-travis build), the fringe library is missing and
throws errors.
2017-05-14 11:54:18 +02:00
Henrik Lissner
200846ee35 General refactor + cleanup; update TODO.org 2017-05-14 00:26:53 +02:00
Henrik Lissner
5491fd552e Replace nlinum with linum 2017-05-13 22:40:52 +02:00
Henrik Lissner
47ec65fdc6 ui/doom: polish+refactor git-gutter-fringe bitmaps 2017-05-13 13:31:36 +02:00
Henrik Lissner
7fbaf2ced1 General cleanup & refector; update TODO.org 2017-05-12 14:18:27 +02:00