Commit Graph

6602 Commits

Author SHA1 Message Date
e99ae5382c Refactor package! macro
And have :ignore and :freeze be evaluated during package management,
rather than during macro expansion/compile time.

Also gives doom-package-prop a third, boolean argument. If non-nil,
`eval' the return value.
2018-06-24 22:23:08 +02:00
2ad1280e4e Add set-irc-server! autodef & move :irc setting 2018-06-24 22:23:08 +02:00
e91af20003 Optimize core-lib & pure module functions
And confer module membership check to run-time, rather than compile
time.
2018-06-24 22:23:08 +02:00
d874f628bb Prefix non-existent module message with Warning:
Because it's a warning, not an error, and life goes on.
2018-06-24 22:23:08 +02:00
6fcc1203cc Merge pull request #721 from mdssjc/add-pretty-symbols
Add new symbols.
2018-06-24 17:15:50 +02:00
0b437ccae8 Merge pull request #717 from MarkRedeman/circe-keybindings
Add keybindings for circe
2018-06-24 17:15:30 +02:00
14dfc9fad9 Add FIXMEs to def-setting!'s
They will be removed on the 2.1.1 release.
2018-06-24 17:13:23 +02:00
6c8df7c6bb bin/org-capture: reformat & improve daemon cleanup
Ensures the temporary daemon is killed after org-capture is finished.
2018-06-24 16:31:14 +02:00
3284356fc2 Move git-commit style settings to hook
+vc|enforce-git-commit-conventions

Also, use fill-column instead of git-commit-fill-column, which magit has
deprecated.
2018-06-24 16:31:14 +02:00
0ee42c1df0 Improve smartparens+web-mode compatibility
+ Enables web-mode's autopairing functionality
+ Prevents duplicate >'s after web-mode autopairing.
+ Leave longer-than-3-character pairs to smartparens (there was only
  <!-- -->)
+ Remove <?p -> <?php | ?> autopairer. Leave that to snippets (web-mode
  doesn't support prefixes longer than 3 letters, and <?php ?> is too
  much of a performance drain to have smartparens support it, so I added
  a "php" snippet that expands to <?php | ?>).
+ Tags now auto-close when you finish typing the opening
  tag. (web-mode-auto-close-style = 2)
2018-06-24 16:31:13 +02:00
88ee423806 Refactor & optimize smartparens config
Also, apply <!-- --> comments to more html modes.
2018-06-24 16:31:13 +02:00
c78c6495f1 Apply /* and /** pairs to more modes
Including js, ts, rjsx, rust, all C modes, php, and all css modes (scss,
less, and stylus).

Requested by @ar1a
2018-06-24 16:31:13 +02:00
c9ac30889c Allow debugger to handle byte-compile errors 2018-06-24 14:48:27 +02:00
6e3afb0249 Improve wakatime module; add +wakatime/setup
+ +wakatime/setup prompts for API key, after asking if you want to open a
  browser to the wakatime api-key page.
+ wakatime-api-key is saved to a cache file in doom-cache-dir.
+ Fixed wakatime not starting on the first buffer when passing a file to
  Emacs directly.

Suggested by @freddian
2018-06-24 14:44:09 +02:00
be44b1ae8a Fix package!'s :disable being read unconditionally
Because the package was added to doom-disabled-packages at macro
expansion time, rather than at run time. This meant that, even if you
did:

  (when nil
    (package! x :disable t))

x would still be disabled.

Reported by @ar1a
2018-06-24 12:08:55 +02:00
c69b4ab5ee Use C-n/C-p in macrostep instead of n/p
n/p overrides evil's jump-to-next/previous-search.
2018-06-24 10:35:36 +02:00
69fc80d7cf Revert "Fix evil-escape aborting multiedit too eagerly"
This reverts commit ba1488279b.

This hack is no longer necessary now that syl20bnr/evil-escape#83 was
merged upstream.
2018-06-24 10:34:16 +02:00
a8c31db7be Remove the SPC o I keybinding to open IRC 2018-06-24 00:01:07 +02:00
f112a2a83f Add :ui popup to init.test.el 2018-06-23 23:23:23 +02:00
a52267fee5 Disable smartparens pair & tag navigation
Fixes quirky backspace and autoskipping behavior with html tags or
closing delimtiers unpredictably. These might be more useful to non-evil
users, but more testing is required.

Indirectly fixes #712
2018-06-23 23:21:02 +02:00
fcbf221267 Add new symbols. 2018-06-23 18:14:01 -03:00
e4b23d78da Refactor require!
Defer its compile-time segments to run-time, which would cause many
issues in conditions wrapped around it.

In any case, avoid using require!, it was a poor choice to implement it
and should only be used for unit tests.
2018-06-23 22:23:35 +02:00
4c4a35ae86 Minor reformatting
It's no big deal. Really.
2018-06-23 22:22:42 +02:00
618358413b Major refactor of ui/popup
+ Make it pass tests
+ Changes the behavior and arguments of functions passed to :autosave,
  :ttl, and :modeline.
+ Updated the documentation of set-popup-rule! to reflect these changes
+ Phase out map.el usage as per f6dc6ac7
2018-06-23 22:18:44 +02:00
f11bd617cd Add ui/popup tests (wip) 2018-06-23 22:17:56 +02:00
d78f702401 Update feature/workspaces tests 2018-06-23 22:17:15 +02:00
a0ffc38117 Fix listp errors in eshell when using aliases 2018-06-23 20:29:54 +02:00
adf143a853 Fix void-variable error when installing packages
Caused by a haphazardly refactor in f6dc6ac7.
2018-06-23 20:11:43 +02:00
81428f5bcf Fix dante-mode hook #718 2018-06-23 20:02:56 +02:00
031deb7beb Fix C-k keybind in pass-mode 2018-06-23 20:00:21 +02:00
863fa16bcc Refactor +workspace/new: use persp-copy
Instead of manually adding buffers to new workspace.
2018-06-23 19:59:17 +02:00
16d3f75f1d Minor refactor of use-package-handler/:after-call
+ Duplicate hooks aren't a problem
+ letbind `fn` only when we need it
2018-06-23 19:53:58 +02:00
fbf7834d93 Don't delete workspace if visible in another frame
This leaves persp-mode in a semi-broken state.
2018-06-23 19:53:58 +02:00
f6dc6ac74e Refactor out map.el usage
After some profiling, it turns out map-put and map-delete are 5-7x
slower (more on Emacs 25) than delq, setf/alist-get and add-to-list for
small lists (under 250 items), which is exactly how I've been using
them.

The only caveat is alist-get's signature is different on Emacs 25, thus
a polyfill is necessary in core-lib.
2018-06-23 19:53:54 +02:00
f602a1f607 Merge pull request #714 from patrl/pandoc
Added basic +pandoc feature to markdown module
2018-06-23 19:44:54 +02:00
128af3f1e1 Merge pull request #718 from patrl/improve-dante
Refactored +dante feature
2018-06-23 19:40:37 +02:00
8e54c4f373 Merge pull request #720 from bandresen/lang-clojure__cutting
Cut: lang/clojure: unneeded + subjective parts
2018-06-23 19:31:54 +02:00
3d5f891d37 Merge pull request #719 from bandresen/unified-vc-hydras
ui/vc emacs/vc: unify hydra design
2018-06-23 19:30:45 +02:00
7b0d57a745 Cut: lang/clojure: unneeded + subjective parts
str => clojure.string is already defined in `cljr-magic-require-namespaces'
re-frame + reagent is subjective (for personal configuration)

fighweel aspect is now handled upstream by giving a prompt
see: `cider-cljs-repl-types'
2018-06-23 18:44:50 +02:00
2589619793 simplified hook 2018-06-23 17:51:22 +02:00
61cdac230f ui/vc emacs/vc: unify hydra design
this design will also break less based on the fonts
2018-06-23 16:25:58 +02:00
7627b04f18 Refactored dante feature. 2018-06-23 15:59:03 +02:00
e8834710c2 Docs: improve irc documentation
Explain how `+pass-user-fields` works and show a basic example for
configuring a pass entry to be used by circe.

Show how to connect to IRC and show a list of commands that can be used
in circe buffers.
2018-06-23 15:32:00 +02:00
7a6407eb92 Add: reasonable default keybindings for circe
The =+irc/send-message= function was added so that we can send private
messages using =SPC m m= or =M-x= with =+irc/send-message=.
2018-06-23 14:44:40 +02:00
1620011463 Add: keybinding to open irc 2018-06-23 02:31:55 +02:00
a53503eadb Fix +pass functions failing to locate pass entries
They use `password-store-dir` to determine where password-store is, but
that function isn't loaded in time for them to use it!
2018-06-23 01:55:52 +02:00
34cd055670 Autoload +pass/ivy 2018-06-23 01:53:59 +02:00
0bea00c183 Fix with-popup-rules! macro
Mistreating its RULES argument, causing void-function errors.
2018-06-22 19:17:15 +02:00
5f5732b95b added rudimentary support for markdown compilation via pandoc 2018-06-22 14:02:35 +02:00
c99a02fa53 added check for pandoc executable when +pandoc feature is enabled 2018-06-22 14:02:35 +02:00