Commit Graph

79 Commits

Author SHA1 Message Date
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
e1f60b2bfd Update READMEs & add new ones 2017-05-25 20:09:12 +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
Henrik Lissner
ed6941e8ae core-popups: clone buffer if visible elsewhere
Allows us to modify the buffer in the pop up window indepdently from the
rest.
2017-05-12 12:17:01 +02:00
Henrik Lissner
3ee1108c4a ui/doom: tweak doom-themes settings 2017-05-11 21:46:47 +02:00
Henrik Lissner
c46c247c77 ui/doom: shrink oversized variable pitch font 2017-05-11 21:46:32 +02:00
Henrik Lissner
2044872b9b Move doom/reset-theme to ui/doom (and update binding) 2017-05-11 21:45:50 +02:00
Henrik Lissner
6aaa83bbd0 ui/doom: blink nav-flash after recentering 2017-05-10 08:41:32 +02:00
Henrik Lissner
914a787d5f ui/doom: polish +doom-folded-face definition 2017-05-07 19:14:02 +02:00
Henrik Lissner
8600d2e8d2 ui/doom: remove TODO + update docstring for +doom:scratch-buffer 2017-05-06 13:51:24 +02:00
Henrik Lissner
89bff6ad23 ui/doom: use new doom-themes-*-config functions 2017-05-06 13:40:15 +02:00
Henrik Lissner
505d515dd8 Add README.org's for lang/cc, app/email; update other README.org's 2017-05-04 10:40:57 +02:00
Henrik Lissner
7f22f77204 Add ui/doom/README.org 2017-05-04 09:01:04 +02:00
Henrik Lissner
d651311d1d Various tweaks & clean up 2017-05-01 14:52:29 -04:00
Henrik Lissner
312371fc26 ui/doom: since fira mono doesn't have italics, highlight it instead 2017-04-28 13:16:04 -04:00