Commit graph

26 commits

Author SHA1 Message Date
Henrik Lissner
bdea695b5a
Fix quickrun output popups being too small
There is no guarantee that the quickrun buffer will have all its output
when spawned, making :autofit unpredictable; usually making them too
small, so we disable :autofit and do it manually, once the output is
ready.
2017-10-03 15:47:49 +02:00
Henrik Lissner
d0fcb23314
Replace feature/eval build system with def-menu! 2017-10-03 02:58:09 +02:00
Henrik Lissner
327993a382
Adjust eval output popup rules 2017-09-27 01:24:38 +02:00
Henrik Lissner
0264fc25ff
Don't use nlinum-mode for quickrun buffers in emacs 26+ 2017-09-24 17:10:49 +02:00
Henrik Lissner
392c58ea47
General refactor & cleanup 2017-06-19 00:32:45 +02:00
Henrik Lissner
928812da8a
Make def-setting! behave more like defmacro
set! used to aggressively evaluate its arguments (at expansion-time),
even if placed inside an after! block. This causes unavoidable errors if
those arguments use functions/variables that don't exist yet.

Fixes #112
2017-06-19 00:32:44 +02:00
Henrik Lissner
719e272374
quickrun: use nlinum instead of linum 2017-06-09 01:09:20 +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
dbceec4149 Refactor + rearrange popup rules 2017-05-15 20:26:33 +02:00
Henrik Lissner
d0cfb12689 feature/eval: silence linum-mode activation in quickrun 2017-05-15 20:26:33 +02:00
Henrik Lissner
c5b1d56002 Move quickrun popup-specific config to core-popups + update rules 2017-05-13 22:42:59 +02:00
Henrik Lissner
afb31659a3 General refactor & cleanup 2017-05-13 00:14:17 +02:00
Henrik Lissner
2405e1aa4c Fix +eval/region failing on first invocation 2017-05-08 10:46:11 +02:00
Henrik Lissner
4aa1427811 feature/eval: :eval now accepts functions (refactor emacs-lisp eval fn) 2017-05-07 02:45:52 +02:00
Henrik Lissner
db4d246a9e feature/eval: quickrun/mode-hook => quickrun--mode-hook 2017-04-18 05:09:15 -04:00
Henrik Lissner
9e084c18ba core-ui: fix doom-hide-modeline-mode resetting on major-mode changes 2017-04-18 05:09:15 -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
841e91938b Fix build system (untested) 2017-04-07 01:46:32 -04:00
Henrik Lissner
db7cf68775 General tweaks 2017-03-19 22:50:57 -04:00
Henrik Lissner
74d50f6159 feature/eval: rewrite module 2017-03-04 18:29:55 -05:00
Henrik Lissner
4356f894fd General cleanup + refactor 2017-02-28 12:12:18 -05:00
Henrik Lissner
e55fdee640 features/eval: fix #30 (part 2) 2017-02-27 21:28:40 -05:00
Henrik Lissner
6a8b6dd041 features/eval: fix :eval setting causing void-variable errors (fix #30) 2017-02-27 21:22:10 -05:00
Henrik Lissner
33c88d4f82 Revert macros to ...! name convention (elisp doesn't like @...) 2017-02-23 00:06:12 -05:00
Henrik Lissner
35ae1965a7 Update modules/feature/eval 2017-02-20 00:26:08 -05:00
Henrik Lissner
77ce31d8e0 Add modules/feature/eval (WIP) 2017-02-20 00:26:07 -05:00