Commit Graph

1332 Commits

Author SHA1 Message Date
451f2d6301 Ensure idempotence when setting company-transformers 2017-06-28 16:29:10 +02:00
ecd8ad0f46 Change how themes, fonts & modelines are loaded
WARNING: THIS IS A BREAKING CHANGE FOR THEME/FONT/NLINUM CUSTOMIZATIONS.

This change was motivated by the need to decouple theme and font loading
from the ui/doom module.

Now, it is doom-core's purview. Theme and fonts are loaded after
initfiles are read (attached to the doom-init-ui-hook hook), giving
other modules (especially private ones) a chance to change the theme or
fonts.

+ Refactor core-ui.el
+ New init hook: doom-init-ui-hook
+ Decouple theme/font loading from ui/doom
+ Load modelines are doom-init-ui-hook
+ New theme/font variables (replaces old ui/doom variables)
  + doom-theme
  + doom-font
  + doom-variable-pitch-font
  + doom-unicode-font
+ Change nlinum variables
  + doom-line-number-lpad
  + doom-line-number-rpad
  + doom-line-number-pad-char

Addresses #117
2017-06-28 16:18:24 +02:00
869bc03ca6 Load bare minimum for tests 2017-06-28 15:28:13 +02:00
25dca5fde7 Fix :mv/:rm/:cp error when projectile-mode is off 2017-06-28 15:17:47 +02:00
b3a9889c53 Refactor feature/workspaces 2017-06-28 15:16:30 +02:00
a04d4a6352 Add buffer-file-name check to vcs segment #130 2017-06-28 12:26:50 +02:00
a894f3ee1e Move persp-mode popup fix to core-popups 2017-06-28 12:26:50 +02:00
eb20f3d5a6 Decouple workspaces module and doom buffer library 2017-06-28 12:26:50 +02:00
90c3202f58 Don't activate main workspace if auto-resume is on
Other checks were unnecessary.
2017-06-28 12:26:50 +02:00
ba32bf6e4d Add +workspace-buffer-list & +workspace-list-names
...and change +workspace-list to return a list of persp structs, rather
than names.
2017-06-28 12:26:50 +02:00
4c11377e18 Fix +workspace-get returning a non-nil null
persp-get-by-name will sometimes return the value of `persp-not-persp'
(by default this is the symbol :nil) rather than actual nil when a persp
doesn't exist.
2017-06-28 12:26:50 +02:00
510e7116c8 Use different function for :cleanup 2017-06-28 12:26:49 +02:00
a7dc91e7bf Improve :company-backend setting according to #125
(set! :company-backend MODES &rest BACKENDS)
2017-06-28 12:26:49 +02:00
94f9d05c3a lang/ocaml: refactor 2017-06-28 12:26:49 +02:00
5ebda9b0c6 Refactor buffer functions & update tests
+ Split doom-buffer-list into doom-buffer-list
  & doom-project-buffer-list.
+ doom-real-buffers-list => doom-real-buffer-list (for naming
  consistency).
2017-06-28 12:26:49 +02:00
3643d9e16d Refactor lang/scala #125
+ Autoload ensime after scala-mode
+ Don't let ensime initialize company; let :company-backend do it
+ Fix void-variable imenu-auto-rescan error caused by
  ensime--setup-imenu.
2017-06-28 12:26:32 +02:00
07a3efaaa0 Merge pull request #131 from rphillips/fixes/add_extension_exs
support exs extensions
2017-06-28 11:33:47 +02:00
d7eb095fbd support exs extensions as well 2017-06-28 01:32:14 -05:00
f7ce419265 Added lang/ocaml 2017-06-27 11:39:15 -07:00
12025511a1 Merge pull request #122 from bandresen/pr__lang-hy
Add lang/hy (hylang.org)
2017-06-25 02:18:20 +02:00
e366935164 Merge pull request #121 from bandresen/pr__pass-ivy
tools/password-store: +pass-ivy was renamed to +pass/ivy
2017-06-25 02:14:51 +02:00
74c63ba324 Merge pull request #123 from bandresen/pr__app-irc
app/irc: two small fixes
2017-06-25 02:14:39 +02:00
822c78554f destructuring-bind => cl-destructuring-bind 2017-06-25 02:04:50 +02:00
c493ad80f4 ui/doom-dashboard: refactor 2017-06-25 02:01:05 +02:00
e595f20cd0 Fix dashboard opening over files via emacsclient
Fixes #119
2017-06-25 02:00:01 +02:00
ca3184b685 app/irc: get rid of non-interactive #'end-of-buffer warning 2017-06-24 20:25:47 +02:00
679615899d app/irc: one place +irc-connections var wasn't updated
it's now handled in circe-network-options
2017-06-24 20:25:44 +02:00
b882e6b24a lang/hy: initial commit 2017-06-24 19:03:15 +02:00
f492a98937 tools/password-store: +pass-ivy was renamed to +pass/ivy 2017-06-24 18:46:44 +02:00
18ad96d156 Fix :company-backend 2017-06-24 16:43:39 +02:00
5f141a82ab lang/cc: refactor 2017-06-24 02:25:15 +02:00
c8757b85f7 Fix :company-backend not overwriting past settings
In case you want to alter a mode's company-backend later or in a private
module.
2017-06-24 02:25:15 +02:00
46b3f06f50 Remove :load-path for doom-themes 2017-06-23 03:13:21 +02:00
c294effd8d Fix incorrect argc in +evil/reselect-paste 2017-06-22 20:03:27 +02:00
8748c755d6 Fix MacOS reveal-in-finder command keybinds 2017-06-21 18:42:46 +02:00
1fd27f16b3 lang/sh: add keywords for fontification 2017-06-20 23:33:22 +02:00
5fb62e6041 private/README.md => private/README.org 2017-06-20 20:07:40 +02:00
354a1058ae lang/markdown: markdown-asymmetric-header = t 2017-06-20 16:33:25 +02:00
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
8f00b3d07a Minor general refactor 2017-06-20 16:32:50 +02:00
f4e3080432 lang/sh: improve zsh buffer detection 2017-06-20 16:25:46 +02:00
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
9252c54576 Rewrite modules/private/README.md 2017-06-19 13:28:09 +02:00
702b518431 Broaden +emacs-lisp-ert-mode :match detection 2017-06-19 12:51:11 +02:00
9700b6f419 lang/emacs-lisp: remove load-after-compile 2017-06-19 12:50:43 +02:00
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
54d8e7fe27 private/hlissner: fix markdown key conflicts 2017-06-19 03:50:24 +02:00
392c58ea47 General refactor & cleanup 2017-06-19 00:32:45 +02:00
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
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