Commit Graph

4114 Commits

Author SHA1 Message Date
eefcf7803f Popup library: minor refactor & appease byte-compiler 2017-10-05 02:11:04 +02:00
f1d5c3d3db Fix compile error caused by defunct keybinding #219 2017-10-05 02:07:14 +02:00
f0e769c722 Remove org/org-notebook
Didn't offer enough features to really warrant its own module, and what
it did offer I didn't find terribly useful. So out it goes!
2017-10-05 01:30:18 +02:00
c246661890 Add org unit tests to init.test.el 2017-10-05 01:28:30 +02:00
33a49ce4dc Add unit test file template 2017-10-05 01:27:46 +02:00
eac0adff8a Fix modeline duplication in buffer-file-name :help-echo 2017-10-05 01:27:46 +02:00
3b9e67746d org/org: new command +org/remove-link, bound to C-c C-S-l 2017-10-05 01:27:46 +02:00
0b5a833638 org/org: add tests for +org/insert-item 2017-10-05 01:27:46 +02:00
8800108eed Add test helper macros to test.el lib 2017-10-05 01:27:46 +02:00
29030b6663 +org/insert-item: fix one-too-many prepended newlines in 1st-level headers 2017-10-05 01:27:46 +02:00
72505d4001 +org/insert-item: fix not jumping over sublists
Initial:
+ List item 1|  <-- M-RET
  + Sublist

Post-fix:
+ List item 1
  + Sublist
+ |

Pre-fix:
+ List item 1
+ |
  + Sublist
2017-10-05 01:27:37 +02:00
eaa677bd94 org: fix +org/dwim-at-point on subscript/superscript elements 2017-10-05 01:18:03 +02:00
06b14a5722 Set private buffer-file-name-style to 'relative-from-project 2017-10-05 01:16:56 +02:00
a2c2ee3246 Add 'relative-from-project option for +doom-modeline-buffer-file-name-style 2017-10-05 01:16:32 +02:00
59f39576de Don't yank line at point for blank project searches 2017-10-04 18:07:49 +02:00
b825b0cd0c lang/web: refactor +web-jekyll-mode 2017-10-04 18:02:14 +02:00
028fd43d75 lang/javascript: major refactor
+ Adds ./node_modules/.bin to exec-path
+ Uses eslint_d globally, if available
+ Always favor local installs of eslint over global eslint or eslint_d

Relevant to #214 #185
2017-10-04 18:02:00 +02:00
3fe9ea2b2e Redesign def-project-mode! macro & update references
+ Renamed :init to :on-load (run once, the first time the project mode
  is activated).
+ New properties :on-enter FORM and :on-exit FORM (run each time the
  mode is enabled or disabled, respectively).
+ New property :hooks HOOKS (automatically add HOOKS to mode-hook).
2017-10-04 18:00:23 +02:00
e5bd1fe55e Merge pull request #214 from orther/javascript-eslintd-fix
Add project-mode +javascript-eslintd-fix-mode
2017-10-04 15:50:27 +02:00
5c340f0218 Remove redundant +javascript/refactor-menu 2017-10-03 20:46:19 +02:00
bdea695b5a Fix quickrun output popups being too small
There is no guarantee that the quickrun buffer will have all its output
when spawned, making :autofit unpredictable; usually making them too
small, so we disable :autofit and do it manually, once the output is
ready.
2017-10-03 15:47:49 +02:00
5358488300 Extract popup fitting into doom-popup-fit-to-buffer 2017-10-03 15:46:07 +02:00
55f584646b Add :hook property to def-project-mode! 2017-10-03 15:44:57 +02:00
f4b59cb71f Merge pull request #217 from aminb/fix-scratch-buffer
Fix `SPC x` (function was renamed to 'doom/open-scratch-buffer)
2017-10-03 15:41:38 +02:00
489fe16789 Fix SPC x (function was renamed to 'doom/open-scratch-buffer) 2017-10-03 09:10:53 -04:00
3b36f52db4 lang/javascript: add +javascript/refactor-menu 2017-10-03 03:00:34 +02:00
e69ed84e8a ui/doom-modeline: propertize plain buffer names 2017-10-03 02:58:09 +02:00
1bd096ceb8 Remove lb6 file templates (unused) 2017-10-03 02:58:09 +02:00
5a5d2f2d94 Add multiple-cursors compatibility integration
mc doesn't work well with evil, but some plugins force us to use it
anyway (like js2r-refactor). This config reduces (but doesn't eliminate)
that friction.
2017-10-03 02:58:09 +02:00
ed76cfda99 General lang refactor; new refactor, help, build & test menus 2017-10-03 02:58:09 +02:00
d0fcb23314 Replace feature/eval build system with def-menu! 2017-10-03 02:58:09 +02:00
63d5fec4aa Update init.example.el 2017-10-03 02:58:09 +02:00
061e71a846 [breaking] lang/haskell: refactor + require flags #158
The +intero/+dante module flags are now required; there is no default.
2017-10-03 02:57:00 +02:00
6be89e1df6 [breaking] lang/java: rewrite & new submodules #157
Split into two submodules: +eclim & +meghanada. These must be explicitly
included in lang/java's module flags in init.el.
2017-10-03 02:56:02 +02:00
5219ec2ac7 New library: menu.el 2017-10-03 02:47:11 +02:00
3bcd0c1071 Major refactor of the popup management api 2017-10-03 02:47:11 +02:00
e2adda7466 More init logging; more details in startup message 2017-10-02 20:03:49 +02:00
08b559c70f Remove C-i fix in private bindings (more harm than good) 2017-10-02 20:02:57 +02:00
898d1f225a bin/org-capture: improve stability + add stdin support 2017-10-02 20:02:27 +02:00
4c148ea580 org/org-capture: refactor; fix early autoloading 2017-10-02 20:00:01 +02:00
8ce10af094 New variable: +doom-dashboard-inhibit-functions 2017-10-02 19:59:18 +02:00
259503bb75 Separate editorconfig-conf-mode config 2017-10-02 19:57:46 +02:00
b628284db9 Update bindings for renamed org-capture commands #213 2017-10-01 18:04:59 +02:00
f32c556257 Rewrite org/org-capture 2017-10-01 18:03:48 +02:00
3c05966347 Skip over unimportant contexts in +org/dwim-at-point 2017-09-30 17:06:09 +02:00
ce17ecd239 Fix ESC not closing popups from org-mode 2017-09-30 16:34:24 +02:00
ad29a2253f Remove accidentally added parts to javascript module 2017-09-30 02:23:03 -07:00
dd97e10aa0 Remove flycheck js2 errors if eslint available.
Flycheck has it's own trailing command and semicolon warning that was
conflicting with the eslint settings. Now it disables those warnings if
eslint.js is setup for flycheck.
2017-09-30 02:20:25 -07:00
b7ca13f45d Move dashboard modeline setup to ui/doom-modeline 2017-09-29 04:00:42 +02:00
d5fe8128aa Add org-agenda-list button to dashboard 2017-09-29 02:43:33 +02:00