Commit Graph

3401 Commits

Author SHA1 Message Date
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
55f0760c4e Add nlinum-hl to core/packages.el 2017-06-14 12:14:34 +02:00
6dff6e124b Bring back nlinum-hl
I moved the nlinum--region fix to the nlinum-hl package; which also
contains fixes for other problematic major-modes.
2017-06-14 02:51:24 +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
c1890307a6 Fix precedence of popup rules
More general rules should be lower in the list.
2017-06-13 17:52:06 +02:00
1678bf8382 tools/password-store: version check + refactor 2017-06-13 11:04:18 +02:00
154e739c2c Merge pull request #108 from Luladjiev/upstream
Ignore only root init.el
2017-06-13 11:03:23 +02:00
f1f86b93ca Ignore only root init.el 2017-06-13 11:38:02 +03: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
3031212a76 If an init-hook dies in the forest, does it make a sound? 2017-06-12 15:15:39 +02:00
042da73d5d Initialize doom-init-time a little sooner (#106) 2017-06-12 15:13:30 +02:00
709d6c4676 bin/doctor: add current commit SHA 2017-06-12 14:56:47 +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
d9d049549f By default, empty buffer-file-name = unreal buffer 2017-06-12 14:28:59 +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
07299c5020 core-lib: add doom-quote & doom-enlist 2017-06-12 02:48:26 +02:00
3f5c828169 Add :tools password-store to init.test.el 2017-06-12 02:45:53 +02:00
ca07eb5077 Add +pass-get-user & +pass-get-secret (#103) 2017-06-12 02:43:35 +02:00
febd14a9f2 Add tools/password-store unit test (#103) 2017-06-12 02:40:14 +02:00
77298f3672 +pass/ivy: fix open-url; add +pass-get-field (#103) 2017-06-12 02:39:25 +02:00
8c3cf83c6c Update changelog 2017-06-12 01:43:06 +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
e5a04e512f core-ui: refactor echo-keystrokes hooks 2017-06-12 01:41:55 +02:00
38f9e4b0a6 Fix delete-frame => doom/delete-frame remap 2017-06-12 01:41:54 +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
d3054f4679 Load core-lib a little sooner 2017-06-11 23:52:56 +02:00
d5652d2779 Change what recentf ignores; add doom-host-dir var 2017-06-11 23:50:50 +02:00
10eef78d43 Changelog: add missing attribution 2017-06-11 20:48:48 +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
66cfbb2563 Fix quit confirmations in daemon; add for frames
+ Add quit confirmation when closing a frame with real buffers
+ Ensure quit confirmations also work in daemon frames (tty or gui)
2017-06-11 16:24:49 +02:00
d8c7ce8c4e Update changelog 2017-06-11 16:16:54 +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
128fe0466c Uncomment :app irc in init.example.el 2017-06-11 15:57:44 +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
62d4180d9d v2.0.3 bump in README v2.0.3 2017-06-11 01:18:57 +02:00
c8e977e50a v2.0.3 bump 2017-06-11 01:16:56 +02:00
6549fa2956 TODO.org => CHANGELOG.org + rewrite 2017-06-11 01:16:41 +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