Commit Graph

25 Commits

Author SHA1 Message Date
Henrik Lissner
a2ca21cc21
Add doom*project-root advice fn 2017-06-19 00:03:37 +02:00
Henrik Lissner
414363fe38
Revise documentation for def-project-mode! 2017-06-18 23:43:08 +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
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
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
94227bbb79 Fix projectile-recentf (#86) 2017-06-03 12:05:43 +02:00
Henrik Lissner
5ae94b765c PRAISE BE TO THE BYTE COMPILER FOR THY SHARP QUOTES 2017-04-17 02:17:10 -04:00
Henrik Lissner
9f6d187ea3 core-projects: disable projectile-locate-dominating-file in remote buffers 2017-04-16 11:55:47 -04:00
Henrik Lissner
fc5dd09f47 core: minor tweaks 2017-03-27 13:05:30 -04:00
Henrik Lissner
84acc2df09 core-projects: add package.json to projectile-project-root-files 2017-03-25 03:46:41 -04:00
Henrik Lissner
ac5ad085dc core-projects: quote doom-project-hook in def-project! 2017-03-25 02:09:09 -04:00
Henrik Lissner
2f4c3c977e core-projects: move find-tag bindings to private module 2017-03-16 14:29:23 -04:00
Henrik Lissner
8c9269c9a2 General cleanup + refactor 2017-03-15 22:42:05 -04:00
Henrik Lissner
6ff007e70d core-projects: remap find-tag bindings to projectile-find-tag 2017-03-15 22:00:32 -04:00
Henrik Lissner
cc6dee6c99 core-projects: add def-project-mode! macro & doom-project-hook 2017-03-02 18:28: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
11a5e15e4e Refactor core config 2017-02-20 00:26:08 -05:00
Henrik Lissner
66b223f02c core-projects: fix redundant slashes in paths 2017-02-20 00:26:08 -05:00
Henrik Lissner
2d5d826177 Remove dash/f dependencies; use cl-lib & subr-x more 2017-02-20 00:26:07 -05:00
Henrik Lissner
5c79105be3 core-projects: don't set projectile-completion-system here 2017-02-20 00:26:07 -05:00
Henrik Lissner
fed4835bb6 core-projects: refactor multiple-pushes into one append+setq 2017-02-20 00:26:07 -05:00
Henrik Lissner
7ef87546cc Refactor package management system 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
9bd8c6cc21 General cleanup 2017-02-20 00:26:05 -05:00
Henrik Lissner
58bdc997a2 Add core/core-projects.el 2017-02-20 00:23:05 -05:00