Commit Graph

243 Commits

Author SHA1 Message Date
Henrik Lissner
58b77716c9
Move all-the-icons to core-ui 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
64a142b3fc
ui/unicode: setq-default bidi-display-reordering 2017-06-08 14:34:57 +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
ef8dede1ed evil-goggles: defer load; disable diff faces (#93)
Diff faces is a customization, which is best saved for the private
module. Also, defer evil-goggles-mode to emacs-startup.
2017-06-07 21:02:50 +02:00
Henrik Lissner
b6beacf804
Refactor evil-goggles config 2017-06-07 03:57:21 +02:00
Henrik Lissner
0e00ece5c3 Merge pull request #93 from gilbertw1/feature-evil-goggles
added module ui/evil-goggles
2017-06-07 03:47:43 +02:00
Henrik Lissner
a027775739
Disable doom-themes-visual-bell-config (fix #95) 2017-06-06 14:02:56 +02:00
Henrik Lissner
baad7953bf
Breaking change: rewrite add-transient-hook!
HOOK is now evaluated. Hooks should be quoted (and functions
sharp-quoted).

This also fixes commit 0150f78e.
2017-06-05 16:43:14 +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
30402495fe General refactor + cleanup 2017-06-05 12:35:51 +02:00
Bryan Gilbert
78c13a4202 added module ui/evil-goggles 2017-06-04 13:27:19 -04: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
10ea06b661 General cleanup + refactor 2017-05-25 20:12:43 +02:00
Henrik Lissner
e1f60b2bfd Update READMEs & add new ones 2017-05-25 20:09:12 +02:00
Henrik Lissner
733042cb7f Refactor anzu--reset-status hooks 2017-05-25 12:12:38 +02:00
Henrik Lissner
6b5f0af985 Make dashboard more vanilla Emacs friendly 2017-05-25 12:12:15 +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
03ebdf7855 ui/doom-modeline: revise face defs (to match doom-themes update) 2017-05-17 18:27:02 +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
721b26d9f3 ui/doom-modeline: set special modeline for image buffers 2017-05-16 18:05:39 +02:00
Henrik Lissner
994978bc0b ui/doom-modeline: tweak mode-line faces & formatting 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
3c8acec33f ui/doom-modeline: fix {dir,file}-path variable errors 2017-05-15 20:26:32 +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
25fa4e019c General refactor & cleanup
+ refactor package management
+ core-editor: describe ediff
+ core-popups: alphabetized hack blocks
+ ui/doom-modeline: refactor buffer path fn
+ feature/version-control/+git: autoload magit-blame
2017-05-14 09:56:32 +02:00
Henrik Lissner
af88423b35 ui/doom-modeline: fix symlinked buffer-path hijinks
The modeline resolves a relative path to the current file in order to
display a short path string in the modeline. However, symlinks would
break this, resulting in paths like: ../../../../real/path/to/file.
2017-05-14 09:52:27 +02:00
Henrik Lissner
125fca09a0 ui/doom-modeline: don't show uniquify in modeline (unnecessary cruft) 2017-05-14 09:46:48 +02:00
Henrik Lissner
200846ee35 General refactor + cleanup; update TODO.org 2017-05-14 00:26:53 +02:00
Henrik Lissner
b86634e79f ui/doom-modeline: fontify path separately from filename 2017-05-14 00:23:18 +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
c118f22184 ui/doom-modeline: refactor eldoc segment 2017-05-13 11:42:19 +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
e265431507 General refactor, cleanup & commenting 2017-05-10 05:28:50 +02:00
Henrik Lissner
914a787d5f ui/doom: polish +doom-folded-face definition 2017-05-07 19:14:02 +02:00
Henrik Lissner
cce294fcf6 feature/evil: refactor evil-force-normal-state advice into +evil-esc-hook 2017-05-07 19:12:48 +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
Henrik Lissner
0f625d79fa ui/doom-dashboard: adjust vertical alignment 2017-04-26 23:30:02 -04:00
Henrik Lissner
46cbbb6212 ui/doom-dashboard: lock user in normal mode 2017-04-26 01:52:41 -04:00
Henrik Lissner
77831ec35c ui/doom-dashboard: j/k = jumps between buttons, add more buttons, remove clear-on-insert 2017-04-26 01:43:39 -04:00
Henrik Lissner
010bc8de7b Fix lack of syntax highlighting in :x scratch buffer 2017-04-25 23:01:01 -04:00
Henrik Lissner
8e7aa152bb doom-modeline no longer errors out, in case a modeline doesn't exist; add doom-set-modeline 2017-04-25 18:25:54 -04:00
Henrik Lissner
b47b951a41 Make config more emacsclient-friendly 2017-04-22 01:49:15 -04:00
Henrik Lissner
e57ba47c5a General cleanup + refactor 2017-04-17 16:54:31 -04:00
Henrik Lissner
0e7254d312 General cleanup + refactor 2017-04-17 02:20:07 -04:00
Henrik Lissner
5ae94b765c PRAISE BE TO THE BYTE COMPILER FOR THY SHARP QUOTES 2017-04-17 02:17:10 -04:00
Henrik Lissner
c18847c696 ui/doom: make +doom-folded-face more subtle 2017-04-12 08:54:40 -04:00
Henrik Lissner
4b46475fc6 ui/doom-modeline: define special modeline, apply to org-src-mode-hook 2017-04-10 02:54:20 -04:00
Henrik Lissner
3506602a4b ui/doom-modeline: factor our subr-x dependency (string-empty-p) 2017-04-09 22:10:18 -04:00
Henrik Lissner
530935ae02 ui/doom: remove doom/blink-cursor in focus-in-hook 2017-03-23 00:29:44 -04:00
Henrik Lissner
db7cf68775 General tweaks 2017-03-19 22:50:57 -04:00
Henrik Lissner
3e63d2d23b Reduce def-package magic; explicitly use :when property 2017-03-19 22:47:50 -04:00
Henrik Lissner
e4b5cf5a56 ui/doom-dashboard: don't display dashboard if passed files (e.g. emacs file1.py) 2017-03-18 12:15:50 -04:00
Henrik Lissner
94459852c7 ui/doom-modeline: fix anzu segment persisting across files/buffers 2017-03-17 22:52:02 -04:00
Henrik Lissner
3fee758e20 General cleanup + minor tweaks 2017-03-16 23:39:39 -04:00
Henrik Lissner
f156f62479 Refactor kill-buffer-query-functions functions 2017-03-15 22:59:49 -04:00
Henrik Lissner
8c9269c9a2 General cleanup + refactor 2017-03-15 22:42:05 -04:00
Henrik Lissner
9a40ca4916 ui/doom: replace beacon with nav-flash 2017-03-15 22:00:03 -04:00
Henrik Lissner
a04a9a6bb4 ui/doom: remove load-path from doom-themes 2017-03-15 21:57:40 -04:00
Henrik Lissner
7dbb162658 ui/doom: improve doom-buffer-mode heuristic 2017-03-09 00:34:37 -05:00
Henrik Lissner
e56cb65ca0 ui/doom-dashboard: fix max-specpdl-size error on macos 2017-03-07 00:23:23 -05:00
Henrik Lissner
e88ad7f710 ui/doom-modeline: refactor 2017-03-05 16:10:21 -05:00
Henrik Lissner
5184c3ec35 ui/doom-modeline: general refactor (especially anzu segment) 2017-03-05 13:33:04 -05:00
Henrik Lissner
dc3687920a ui/doom-modeline: memoize +doom-ml-icon 2017-03-04 00:01:22 -05:00
Henrik Lissner
56170954c3 ui/doom-modeline: add docstrings 2017-03-03 17:50:58 -05:00
Henrik Lissner
f4a3f54ee6 ui/doom-modeline: display filesize when matches segment is empty 2017-03-03 17:50:43 -05:00
Henrik Lissner
ebf85fe0a8 ui/doom-modeline: fix current index in iedit segment 2017-03-03 17:50:22 -05:00
Henrik Lissner
fcb88ef940 ui/doom-modeline: support emacs macros in macro display segment 2017-03-03 17:49:30 -05:00
Henrik Lissner
68c172dd92 ui/doom-modeline: refactor selection-info segment 2017-03-03 16:53:16 -05:00
Henrik Lissner
2d190fe0c5 Add & use add-transient-hook! macro 2017-03-02 01:43:59 -05:00
Henrik Lissner
a319df1f26 ui/doom-modeline: general refactor 2017-03-02 00:43:25 -05:00
Henrik Lissner
27cc4a9508 reverse => nreverse; other optimizations 2017-03-01 19:15:45 -05:00
Robert Woods
553edc18a0 Replace reference to doom-ml--env-command: fix #30 2017-02-28 16:30:44 +10:30
Henrik Lissner
a0305418ae Remove f.el references 2017-02-25 02:11:24 -05:00
Henrik Lissner
f662f39f75 ui/doom: don't disable doom-buffer-mode in popups whose buffers are visible elsewhere 2017-02-24 20:01:50 -05:00
Henrik Lissner
75a5e55255 General cleanup + refactor 2017-02-24 03:14:13 -05:00
Henrik Lissner
ede6553959 ui/doom-dashboard: add deferred reload for new frames 2017-02-24 03:13:23 -05:00
Henrik Lissner
3dc1fa00ec ui/doom: simplify +doom|buffer-mode-on 2017-02-23 00:06:46 -05:00
Henrik Lissner
33c88d4f82 Revert macros to ...! name convention (elisp doesn't like @...) 2017-02-23 00:06:12 -05:00
Henrik Lissner
054102c616 ui/doom: refactor doom-themes brighter buffer hooks 2017-02-22 17:15:14 -05:00
Henrik Lissner
d81b88673e ui/doom: try alternative to doom-buffer-mode; improve doom-buffer-mode restore for persp 2017-02-22 04:29:24 -05:00
Henrik Lissner
4ce63a8992 Minor refactors + bugfixes 2017-02-21 16:04:35 -05:00
Henrik Lissner
2c841b512d Move modeline hiding to core-popups 2017-02-21 03:44:02 -05:00
Henrik Lissner
4910531457 General cleanup & minor refactoring 2017-02-21 00:47:34 -05:00
Henrik Lissner
10e4998e12 ui/doom-dashboard: remember old modeline 2017-02-20 19:44:34 -05:00
Henrik Lissner
047ea64e99 Don't kill scratch or dashboard buffer, but cycle through them on kill attempt 2017-02-20 19:43:57 -05:00
Henrik Lissner
031457bcaf ui/doom-dashboard: fix 'restore last session' button 2017-02-20 16:42:41 -05:00
Henrik Lissner
3865c4fc6e ui/doom-dashboard: update load-line package count and init time 2017-02-20 16:42:30 -05:00
Henrik Lissner
cd66f735ce ui/doom-modeline: fix typo in project modeline def 2017-02-20 16:33:28 -05:00
Henrik Lissner
e736ffd6a2 Add modules/ui/doom-dashboard 2017-02-20 16:33:14 -05:00
Henrik Lissner
409b604d5b doom-folded-face => +doom-folded-face 2017-02-20 00:26:48 -05:00
Henrik Lissner
b2c8c432ba Add modules/ui/doom-quit 2017-02-20 00:26:08 -05:00
Henrik Lissner
8cdaa116ef Update modules/ui/doom 2017-02-20 00:26:08 -05:00
Henrik Lissner
dc777e8d76 Update modules/ui/doom-modeline 2017-02-20 00:26:08 -05:00
Henrik Lissner
48d8244f76 modules/ui/doom-modeline: hide modeline in completion windows 2017-02-20 00:26:08 -05:00
Henrik Lissner
2f75a81716 Update modules/feature/version-control 2017-02-20 00:26:08 -05:00
Henrik Lissner
7fc29c26a3 Add modules/ui/hl-todo 2017-02-20 00:26:08 -05:00
Henrik Lissner
5ee7aeae97 Move git-gutter config from ui/doom to feature/version-control 2017-02-20 00:26:07 -05:00
Henrik Lissner
13a8901b20 Refactor ui/doom-modeline (remove powerline dependency) 2017-02-20 00:26:07 -05:00
Henrik Lissner
cf927acc07 @use-package => @def-package 2017-02-20 00:26:06 -05:00
Henrik Lissner
0f5dbd0bac ui/doom-modeline: update + refactor + new modeline macros 2017-02-20 00:26:06 -05:00
Henrik Lissner
6c06aa0ce7 Macros now prefixed with @, instead of suffixed with ! 2017-02-20 00:26:06 -05:00
Henrik Lissner
3bf3a36e3a ui/doom: ensure doom-buffer-mode is disabled in popups 2017-02-20 00:26:05 -05:00
Henrik Lissner
bc402868a6 Add provide's to module config.el files + fix module header comments 2017-02-20 00:23:08 -05:00
Henrik Lissner
4dbb4b30f6 ui/doom-module (evil-anzu) :when => :needs 2017-02-20 00:23:07 -05:00
Henrik Lissner
a2a0ab4ed7 Update ui modules for v2 2017-02-20 00:23:07 -05:00
Henrik Lissner
d4b0216154 Clean up packages.el files 2017-02-20 00:23:07 -05:00
Henrik Lissner
b0075eab8a Add modules/ui/doom-modeline 2017-02-20 00:23:04 -05:00
Henrik Lissner
bcb5dde012 Rewrite modules/ui/doom 2017-02-20 00:23:04 -05:00
Henrik Lissner
153f54b2d6 Add modules/ui/doom 2017-02-20 00:23:03 -05:00