Commit Graph

4000 Commits

Author SHA1 Message Date
Henrik Lissner
46b3f06f50 Remove :load-path for doom-themes 2017-06-23 03:13:21 +02:00
Henrik Lissner
c294effd8d Fix incorrect argc in +evil/reselect-paste 2017-06-22 20:03:27 +02:00
Henrik Lissner
8748c755d6 Fix MacOS reveal-in-finder command keybinds 2017-06-21 18:42:46 +02:00
Henrik Lissner
1fd27f16b3 lang/sh: add keywords for fontification 2017-06-20 23:33:22 +02:00
Henrik Lissner
5fb62e6041 private/README.md => private/README.org 2017-06-20 20:07:40 +02:00
Henrik Lissner
354a1058ae lang/markdown: markdown-asymmetric-header = t 2017-06-20 16:33:25 +02:00
Henrik Lissner
5de14cb0b0 private/hlissner: refactor; revise keybinds
+ Add +jump/* to SPC h bindings
+ Generalize jump-to-bookmark
  To use ivy/helm specific jump-to-bookmark (like counsel-bookmark),
  better to remap bookmark-jump from their modules.
+ SPC f c => open .editorconfig
2017-06-20 16:32:51 +02:00
Henrik Lissner
8f00b3d07a Minor general refactor 2017-06-20 16:32:50 +02:00
Henrik Lissner
f4e3080432 lang/sh: improve zsh buffer detection 2017-06-20 16:25:46 +02:00
Henrik Lissner
02bfb73264 lang/sh: improve fontification for sh-mode
+ Fontify variables in double quotes (better)
+ Fontify command substitution in double quotes
+ Fontify built-in/common commands (see `+sh-builtin-keywords`)
2017-06-20 16:25:46 +02:00
Henrik Lissner
9252c54576 Rewrite modules/private/README.md 2017-06-19 13:28:09 +02:00
Henrik Lissner
702b518431 Broaden +emacs-lisp-ert-mode :match detection 2017-06-19 12:51:11 +02:00
Henrik Lissner
9700b6f419 lang/emacs-lisp: remove load-after-compile 2017-06-19 12:50:43 +02:00
Henrik Lissner
14e69ca830 Fix max-lisp-eval-depth in :company-backend #115
Mode was inadvertantly run like a function in the :company-backend
setting macro.
2017-06-19 12:08:38 +02:00
Henrik Lissner
54d8e7fe27 private/hlissner: fix markdown key conflicts 2017-06-19 03:50:24 +02:00
Henrik Lissner
392c58ea47 General refactor & cleanup 2017-06-19 00:32:45 +02:00
Henrik Lissner
bc3aee2a4f Replace :xref-backend setting with :jump
Which takes :definitions, :references, :documentation and :xref-backend.
Each accepts a function that will jump to definitions, references, and
documentation respectively.

If a major-mode has an :xref-backend, you don't need :definitions or
:references.
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
a2ca21cc21 Add doom*project-root advice fn 2017-06-19 00:03:37 +02:00
Henrik Lissner
7d081c3154 Fix subr-x macro autoloads 2017-06-18 23:43:08 +02:00
Henrik Lissner
96998e40d3 app/irc: general refactor 2017-06-18 23:43:08 +02:00
Henrik Lissner
9c9e410898 Use :editorconfig to set js-switch-indent-offset
Instead of a hook.
2017-06-18 23:43:07 +02:00
Henrik Lissner
78f5306274 Lazy-load lang/javascript/+screeps.el 2017-06-18 23:43:07 +02:00
Henrik Lissner
a299621ff8 Adjust v-adjust of flycheck icons in modeline
Some icons drooped too low (and others too high).

OCD INTENSIFIES
2017-06-18 23:43:02 +02:00
Henrik Lissner
41e8752d8f Fix git-gutter reactivating on ESC #114 2017-06-18 23:09:59 +02:00
Henrik Lissner
79fbe56b76 modeline: tweak modified icon v-adjust 2017-06-17 22:43:59 +02:00
Henrik Lissner
081db6f552 Update modules/README.org 2017-06-17 22:32:13 +02:00
Benjamin Andresen
360eef0602 app/irc: fix +irc/ivy-jump-to-channel
not it works when buffer-names are indented below server
2017-06-16 23:52:36 +02:00
Benjamin Andresen
b002883d40 app/irc: don't interfere with insert mode unless before prompt 2017-06-16 23:52:29 +02:00
Henrik Lissner
9ccffc718e Fix +ivy/switch-buffer when buffer-list is empty 2017-06-16 02:10:33 +02:00
Henrik Lissner
0574ba2d84 Refactor lang/markdown; add fontify code blocks 2017-06-16 02:10:33 +02:00
Henrik Lissner
4eb2a7cb41 General refactor + cleanup 2017-06-16 02:10:33 +02:00
Henrik Lissner
3e769dc43f Add gg/G & N/P keybindings to dashboard 2017-06-16 02:10:33 +02:00
Henrik Lissner
2dc6ea0f53 Refactor +doom-dashboard-reload 2017-06-16 00:43:19 +02:00
Henrik Lissner
a3adc1de29 Fix dashboard in daemon/clients (#111) 2017-06-16 00:12:15 +02:00
Henrik Lissner
c958f1eafd Move italic customization to private module 2017-06-15 15:09:31 +02:00
Henrik Lissner
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
Henrik Lissner
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
Henrik Lissner
c50888a83a Inhibit doom-dashboard in noninteractive session 2017-06-14 21:15:20 +02:00
Henrik Lissner
f530a2c26d Fix app/twitter workspace name: *Twitter* 2017-06-14 21:15:20 +02:00
Henrik Lissner
c0791e0790 Disable main workspace in noninteractive emacs
It is unnecessary in a noninteractive session.
2017-06-14 21:15:20 +02:00
Henrik Lissner
96ca709b23 Disable persp auto-save in noninteractive session 2017-06-14 21:15:19 +02:00
Henrik Lissner
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
Henrik Lissner
816df321a5 General refactor & cleanup 2017-06-14 21:15:19 +02:00
Henrik Lissner
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
Henrik Lissner
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
Henrik Lissner
63b091f7aa Fix *Warnings* buffer hiding on startup
...by holding them back until persp-mode is initialized.
2017-06-13 18:30:05 +02:00
Henrik Lissner
1678bf8382 tools/password-store: version check + refactor 2017-06-13 11:04:18 +02:00
Henrik Lissner
81f475da64 Fix mapcar used for effect 2017-06-12 19:07:40 +02:00
Henrik Lissner
146de3e618 tools/password-store: add auth-password-store package decl 2017-06-12 18:58:31 +02:00