Commit Graph

8949 Commits

Author SHA1 Message Date
Henrik Lissner
12a3adab2c
ui/doom-dashboard: fix evil motion keys #1365
Because :feature evil was moved to :editor evil, it is initialized
later, meaning evil map! keybinds prior to that module loading are
ignored. There's no harm in generalizing these remaps, however.
2019-04-26 17:29:54 -04:00
Henrik Lissner
15e47cb9f1
Merge pull request #1366 from flatwhatson/fix-ivy-rich
Fixes for ivy-switch-buffer icons
2019-04-26 14:39:23 -04:00
Andrew Whatson
9cdd5b2f99 Fixes for ivy-switch-buffer icons
Corrects the ivy-switch-buffer transformer to use buffer icons (not file
icons), and fixes alignment issues in the icon display.
2019-04-27 00:14:53 +10:00
Henrik Lissner
c79cf3c820
lang/python: use anaconda-mode for non-project files 2019-04-25 22:20:31 -04:00
Henrik Lissner
eb62dde5d3
Fix ui/workspaces autoloads & tests 2019-04-25 22:20:31 -04:00
Henrik Lissner
1911f44e66
completion/ivy: add +icons flag
This replaces +ivy-buffer-icons.

Renders #1362 unnecessary.
2019-04-25 22:20:31 -04:00
Henrik Lissner
7c72f6f698
Merge pull request #1363 from chrunchyjesus/fix_rust_doctor_el
fix rustc detection
2019-04-25 13:06:13 -04:00
chrunchyjesus
feb78e8fa3
fix rustc detection 2019-04-25 18:31:42 +02:00
Henrik Lissner
237e14ae7b
lang/clojure: fix lookup-def handler #1360 2019-04-24 21:32:26 -04:00
Henrik Lissner
4506fb9223
lang/php: update wrt changes upstream #1350
Removes some of the hacks that have long since been resolved upstream,
and install phpactor from MELPA, now that it is available there.
2019-04-24 20:58:06 -04:00
Henrik Lissner
fc511ed701
ui/workspaces: minor refactors 2019-04-24 18:27:40 -04:00
Henrik Lissner
1ab8dac872
Fix arg-less color functions in print!/format! 2019-04-24 18:16:07 -04:00
Henrik Lissner
88406bb11a
Fix unit test runner 2019-04-24 18:16:07 -04:00
Henrik Lissner
eb22177cea
Suppress kill-emacs-hook in noninteractive Doom 2019-04-24 18:16:06 -04:00
Henrik Lissner
cb172becd9
Make doom-get-outdated-packages synchronous
Concurrency doesn't speed this up enough to justify its problems. It
swallows errors emitted from the child processes and a child process can
block indefinitely.
2019-04-24 18:16:06 -04:00
Henrik Lissner
c6fc47cc8d
Suppress 'void-variable: after-init-time' error #1358
Old versions of Emacs complain about after-init-time being undefined.
This happens before Doom's version guard is triggered (which emits a
more helpful message).
2019-04-24 18:16:06 -04:00
Henrik Lissner
2066206e83
Update docstrings for config commands 2019-04-24 18:16:06 -04:00
Henrik Lissner
f6f9abd0f8
lang/php: add php-cs-fixer package #1350 2019-04-24 18:16:06 -04:00
Henrik Lissner
40f6a2b6e3
Rewrite vanilla sandbox & report-bug commands
- Renamed doom/open-vanilla-sandbox to doom/sandbox (because it's not
  just for vanilla testing anymore)
- Renamed doom/open-bug-report to doom/report-bug (for consistency with
  `report-emacs-bug`; makes it easier to discover)
- Add SPC h d b for doom/report-bug
- Add SPC h d s for doom/sandbox
2019-04-24 18:16:06 -04:00
Henrik Lissner
fa7f7042b0
Add and expand doom/help* commands
Adds the following commands:

- doom/help (opens the Doom manual)
- doom/help-search (for searching through org headlines in Doom's
  documentation)
- doom/help-faq (for searching the FAQ)
- doom/help-news (for browsing the Doom newsletters)
- doom/help-autodefs (renamed from doom/describe-autodef -- for looking
  up documentation on autodef function/macros, like
  `set-lookup-handler!`)
- doom/help-modules (renamed from doom/describe-module, for jumping to a
  Doom module's documentation)
- doom/help-packages (renamed from doom/describe-package and recently
  fixed -- looks up information about installed packages, including what
  Doom module(s) install it and where it is configured)
- doom/help-package-config (for searching and jumping to any block where
  a package is configured in Doom Emacs)

Also adds the SPC h d (or C-h d) prefix for Doom-specific help commands.
SPC h D will invoke doom/help.

However, the documentation itself hasn't been committed yet, so some of
these commands may be useless atm. Sorry!
2019-04-24 18:16:06 -04:00
Henrik Lissner
5df4a2f18e
do-repeat! -> set-repeater!
Macro was renamed to be consistent with other autodefs

- Make these repeaters buffer-local
- Don't bind repeater if motion failed
- Defer evil-snipe repeaters until evil-snipe is loaded
2019-04-24 18:16:05 -04:00
Henrik Lissner
8399143901
ui/nav-flash: update README 2019-04-24 18:16:05 -04:00
Henrik Lissner
d4ff90219e
lang/cc: remove +irony and +rtags flags from docs
They were removed a while back. Irony and rtags (et co) will be disabled
if +lsp is enabled, or can be disabled through package! declarations:

  ;; in ~/.doom.d/packages.el
  (package! irony :disable t)
  (package! rtags :disable t)
2019-04-24 18:16:05 -04:00
Henrik Lissner
a4f9eb6f6c
Enable read-only-mode for built-in snippets
Because they shouldn't be edited out of ~/.emacs.d/.local -- if a
snippet in ~/.doom.d/snippets has the same name, built-in snippets will
be ignored.
2019-04-24 18:16:05 -04:00
Henrik Lissner
c399c07694
Add :tools lsp checks for +lsp flag
Also:
- Reorganizes some :lang modules' packages.el file.
- Adds setuptools check in lang/python
- Adds javac check in lang/java
- Removes the depends-on! macro
2019-04-24 18:16:05 -04:00
Henrik Lissner
9bea168cc1
Rewrite doom-doctor
- Use message library instead of reinventing the wheel
- Fix -d/--debug support for `bin/doom doctor`
- Add indent and autofill support to print! and format!
- Add doom-message-backend for forcing format! to use a specific backend
- Phase out anaphoric when! macro in doctor scripts, it was hardly used
2019-04-24 18:16:05 -04:00
Henrik Lissner
51a28249bd
Update modules/README.org
Add +lsp flags to modules that support it
2019-04-24 18:16:04 -04:00
Henrik Lissner
1fb2178716
Move sp skip-match disabler to config/default
This shouldn't be mandatory.
2019-04-24 18:16:04 -04:00
Henrik Lissner
a4c5396558
Add better-jumper
Replaces evil's jumplist; makes its functionality available for non evil
users.
2019-04-24 18:16:04 -04:00
Henrik Lissner
b189254050
Don't kill magit on ESC (for evil users)
q is enough. An ESC could be accidental (e.g. when ESCing from visual
mode in magit).
2019-04-24 18:16:04 -04:00
Henrik Lissner
77e4cc4d58
💥 Remove :feature category
:feature was a "catch-all" category. Many of its modules fit better in
other categories, so they've been moved:

- feature/debugger -> tools/debugger
- feature/evil -> editor/evil
- feature/eval -> tools/eval
- feature/lookup -> tools/lookup
- feature/snippets -> editor/snippets
- feature/file-templates -> editor/file-templates
- feature/workspaces -> ui/workspaces

More potential changes in the future:

- A new :term category for terminal emulation modules (eshell, term and
  vterm).
- A new :os category for modules dedicated to os-specific functionality.
  The :tools macos module would fit here, but so would modules for nixos
  and arch.
- A new :services category for web-service integration, like wakatime,
  twitter, elfeed, gist and pastebin services.
2019-04-24 18:16:04 -04:00
Henrik Lissner
52eed893fe
Merge pull request #1359 from gsnewmark/fix-clojure-mode-lookup-handlers-again
Set Clojure lookup handlers for specific minor modes to avoid overwriting
2019-04-24 13:01:53 -04:00
Ivan Kryvoruchko
dfad10e843
Set Clojure lookup handlers for specific minor modes to avoid overwriting
Fixes issue #1357 https://github.com/hlissner/doom-emacs/issues/1357
2019-04-24 18:03:56 +03:00
Henrik Lissner
768d6e9c69
Merge pull request #1352 from zenzike/patch-1
Add `agda2-next-goal` and `agda2-previous-goal`
2019-04-23 23:05:53 -04:00
Henrik Lissner
16acabfcbf
Merge pull request #1351 from flatwhatson/nitpick-comments
Nitpick comment alignment in init.el
2019-04-23 23:03:41 -04:00
Henrik Lissner
0e8eee394a
Merge pull request #1353 from ericsolomon/js_mod_fix
Correct Javascript module tide format mapping
2019-04-23 12:22:16 -04:00
Eric Solomon
040cd18573 Correct Javascript module tide format mapping 2019-04-23 11:17:29 -05:00
Nicolas Wu
4bcaa28681
Add agda2-next-goal and agda2-previous-goal
Add support for commonly used movements (https://agda.readthedocs.io/en/v2.5.4.1/tools/emacs-mode.html)
2019-04-23 00:13:54 +01:00
Andrew Whatson
c8974eb0a8 Nitpick comment alignment in init.el 2019-04-22 18:57:21 +10:00
Henrik Lissner
db7a37d888
Merge pull request #1326 from ragone/develop
feat: org-habit
2019-04-22 02:52:45 -04:00
Alex Ragone
ae0c0f2837 refactor: lazy load and use conventions for hooks 2019-04-22 17:18:20 +12:00
Alex Ragone
4944668dfd feat: added org-habit module
Added a simple way to make the org-habit consistency graphs align to the
right margin as well as being responsive to the width of the window.
2019-04-22 17:18:20 +12:00
Henrik Lissner
ff42cf0767
Rewrite require! and change depends-on!
depends-on! was changed to no longer load a specified module's
packages.el, but to preform a module-enabled assertion. It emits an
error if the linked module isn't (or specified flags aren't) enabled.
2019-04-21 19:40:02 -04:00
Henrik Lissner
03b76e1789
Fix deprecated modules not passing on their flags
Also fixes redundant deprecated-module warnings from 'bin/doom refresh'.
2019-04-21 18:54:57 -04:00
Henrik Lissner
cce55db6ed
Remove display-buffer-reuse-window from default actions
This would cause +popup/raise to reuse non-popup windows when raising
popups. If this doesn't work, it may be necessary to write a specialized
display-buffer-reuse-window to only reuse popups, specifically.
2019-04-21 13:32:22 -04:00
Henrik Lissner
b7c02d5c0a
Half-revert ba23b63 #1349 2019-04-21 13:25:33 -04:00
Henrik Lissner
4e0802ee01
Fix windows surviving creation of new workspaces
Particularly windows that resist `delete-window`, like treemacs, when a
new workspace is switched to.

Relevant to #1348
2019-04-21 00:47:34 -04:00
Henrik Lissner
a8c46e3136
Update evil-collection-mode-list
Adds disk-usage, omnisharp and process-menu
2019-04-20 22:28:20 -04:00
Henrik Lissner
fa19711542
Improve comment header for init.example.el 2019-04-20 19:25:11 -04:00
Henrik Lissner
4278eb683f
Autoload projectile-add-known-projects
This should be PRed upstream at some point
2019-04-20 19:25:10 -04:00