Commit Graph

1265 Commits

Author SHA1 Message Date
c958f1eafd Move italic customization to private module 2017-06-15 15:09:31 +02:00
853ad98ae9 Fix editorconfig indent-policing in Lisp modes
Editorconfig in Lisp enforces lisp-indent-offset too strictly, ruining
its adaptive indentation. We don't want to disable it complete in those
modes however. In all other respects (controlling spaces vs tabs,
charset, max_line_length, etc) editorconfig is great.
2017-06-15 14:45:32 +02:00
523fa5088e Tweak & reorder modeline segments
+ Improves modeline appearance in terminal Emacs
+ Moves version control branch to righter-most edge to minimize uneven
  spacing when all-the-icon icons are present (due to their non-uniform
  widths).
+ Switches from octicon to material iconset for flycheck segment (more
  consistent and look better).
2017-06-14 21:16:02 +02:00
c50888a83a Inhibit doom-dashboard in noninteractive session 2017-06-14 21:15:20 +02:00
f530a2c26d Fix app/twitter workspace name: *Twitter* 2017-06-14 21:15:20 +02:00
c0791e0790 Disable main workspace in noninteractive emacs
It is unnecessary in a noninteractive session.
2017-06-14 21:15:20 +02:00
96ca709b23 Disable persp auto-save in noninteractive session 2017-06-14 21:15:19 +02:00
fbc93783fe Fix neotree-show when open in other frame/session
Annoying when neotree is open in one emacsclient frame (possibly buried)
and you're trying to open a neotree pane in another.
2017-06-14 21:15:19 +02:00
816df321a5 General refactor & cleanup 2017-06-14 21:15:19 +02:00
9c93c453e8 Reorganize unit-tests and test workflow
+ Moved unit tests out of tests/ and into their respective modules.
+ Rewrite makefile and added these tasks:
  + <MODULE>/<SUBMODULE> -- byte-compile a specific module
  + test:<MODULE>/<SUBMODULE> -- runs tests for a specific module
  + testi -- run tests in an interactive session of Emacs (WIP)
  + run -- opens an Emacs session with this config; useful when it is in
    a non-standard location.
2017-06-14 21:15:19 +02:00
732dee608a Stability/error-handling refactor (part 1)
This refactor is about improving how Emacs deals with errors.

A large net is now cast at startup to catch possible errors, produce
more helpful error messages, and localize the damage. Significantly
reducing the risk of later modules not loading (and leaving you
stranded in a half-broken Emacs session).

The DOOM core files are an exception. If something messes up in there,
it *should* choke.

+ use-package will now report missing packages or slow-loading/broken
  def-package! configurations.
+ Persp-mode no longer (inadvertantly) hides buffers that pop up at
  startup, like the *Warnings*, *Backtrace* or debugger buffers.
+ `make autoloads` (or doom/reload-autoloads) now produces a slightly
  more informative error message if an error occurs while building the
  autoloads file.
+ Error handling for package management is *slightly* better now; error
  messages now include the type of error; this needs work.
2017-06-14 21:15:19 +02:00
63b091f7aa Fix *Warnings* buffer hiding on startup
...by holding them back until persp-mode is initialized.
2017-06-13 18:30:05 +02:00
1678bf8382 tools/password-store: version check + refactor 2017-06-13 11:04:18 +02:00
81f475da64 Fix mapcar used for effect 2017-06-12 19:07:40 +02:00
146de3e618 tools/password-store: add auth-password-store package decl 2017-06-12 18:58:31 +02:00
042da73d5d Initialize doom-init-time a little sooner (#106) 2017-06-12 15:13:30 +02:00
01dc170e5b app/irc: clean up timer & notifications on quit 2017-06-12 14:37:14 +02:00
7f76dabfd0 Use 'special' modeline in circe-mode (#103) 2017-06-12 14:31:41 +02:00
571b5c55d8 Add buffer-info-simple modeline segment 2017-06-12 14:31:12 +02:00
b3dafe96d3 app/irc: general rewrite (#103)
+ Refactor initialization process.
+ Refactor for consistency.
+ Add +irc-defer-notifications (for ZNC users).
+ Rewrote =irc (opens separate workspace + auto-connects to registered
  networks).
+ Add +irc/connect (connect to specific network).
+ Add +irc/quit (kill whole circe session).
+ Add +irc/ivy-jump-to-channel command.
+ Rewrite README.
+ Silence QUIT/PART default messages; they're cute, but no thanks.
+ Truncate nicks non-destructively.
+ Jump to prompt when entering insert mode (with evil).
+ Activate solaire-mde in channel buffers to visually distinguish them
  from server buffers.
2017-06-12 14:22:35 +02:00
ca07eb5077 Add +pass-get-user & +pass-get-secret (#103) 2017-06-12 02:43:35 +02:00
77298f3672 +pass/ivy: fix open-url; add +pass-get-field (#103) 2017-06-12 02:39:25 +02:00
37012b86ca +pass/ivy: add get-field action (#103) 2017-06-12 01:43:02 +02:00
2f3f966990 +pass/ivy: remove test data (#103) 2017-06-12 01:42:53 +02:00
2d219c24eb Fix ui/doom-quit for new quit-confirm system 2017-06-12 01:41:54 +02:00
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
470117d538 app/irc: fix lui-mode-map typo 2017-06-11 19:33:40 +02:00
0047baf15c tools/password-store: improve ivy support (#103)
+ Removed +pass/find & +pass/browse.
+ Added +pass/open (delegates to +pass/ivy, helm-pass or pass, depending).
+ Added +pass/ivy with copy password/username, open url and edit entry
  actions.
2017-06-11 18:02:47 +02:00
20cd13c572 tools/password-store: add helm-pass support 2017-06-11 18:00:45 +02:00
588858a21e Rudimentary ivy support for pass (#103) 2017-06-11 16:49:33 +02:00
2b3311faa2 tools/password-store: refactor 2017-06-11 16:49:33 +02:00
d2b514e1ba Consistency refactor
For consistency with other app modules:

+ Refactor out s.el dependency
+ Reorder variables (public then private)
+ Use add-hook! instead of add-hook+lambda
+ Optimization: replace mapcar+closure with cl-loop (reduces allocations)
+ Replace evil-set-initial-state with (set! :evil-state ...), which is
  ignored if :feature evil is disabled.
2017-06-11 16:15:36 +02:00
d73da8f995 clean ups (init.exampl.el + app/irc readme) 2017-06-11 15:56:55 +02:00
9c25865942 tools/password-store: initial commit
pass doesn't play at all with shackle yet
2017-06-11 15:55:30 +02:00
9645945465 app/irc: initial commit 2017-06-11 15:55:22 +02:00
d214d94207 Fix goto-last-change (by autoloading its commands)
Its default binds (bound by evil-maps) are g; and g,
2017-06-11 00:59:42 +02:00
2097498f3e General docstring+idempotency refactor 2017-06-11 00:59:02 +02:00
ec23f1f06b Fix typo (missing package name in after! block) 2017-06-10 22:15:39 +02:00
2e1e908f57 Load hideshow when folding system is autoloaded 2017-06-10 18:18:34 +02:00
df4ce8616d feature/version-control: refactor 2017-06-10 11:54:47 +02:00
ea128027e9 Remove evil-magit; use emacs mode for magit (#102) 2017-06-10 11:54:37 +02:00
bab738c56c Move helm popup settings to core-popups 2017-06-10 01:53:51 +02:00
6648ad815d lang/org: reorganize + refactor 2017-06-10 01:53:24 +02:00
fce95eb5e3 lang/org: doom-buffer-mode => solaire-mode 2017-06-10 01:53:03 +02:00
eff937432e Optimize lang/org: lexical-binding = t; cl-case => pcase 2017-06-10 01:52:44 +02:00
14968380ff Move x-*-keysym defs to private init.el 2017-06-09 19:45:06 +02:00
e7b08082fd Remove unused/redundant ivy bindings 2017-06-09 19:44:41 +02:00
0bc182ef1a Refactor helm config; fix remaps; move personal binds 2017-06-09 19:44:02 +02:00
1a24d5421e Too many parentheses! Forgive me cthulhu! 2017-06-09 16:00:32 +02:00
48ec4ce36f Add :inherit to +workspace faces 2017-06-09 15:41:07 +02:00