Commit Graph

6416 Commits

Author SHA1 Message Date
Henrik Lissner
400a4dafdb
Revert unit test breakage
This hunk was accidentally committed ahead of time!
2018-06-10 17:36:11 +02:00
Henrik Lissner
9cc190adc9
Minor reformat & refactor keyword intern 2018-06-10 17:28:17 +02:00
Henrik Lissner
fbdbd26851
emacs/term: minor refactor of universal args 2018-06-10 17:28:17 +02:00
Henrik Lissner
2605a3938e
Initialize modules conditionally
doom-modules will be initialized on demand in non-interactive sessions.
2018-06-10 17:28:17 +02:00
Henrik Lissner
a87641635f
load-prefer-newer = nil for private config
load-prefer-newer = t makes debugging harder and reduces the
predictability of your config.
2018-06-10 17:28:17 +02:00
Henrik Lissner
3498d5c6b1
Catch more *.elc files with bin/doom clean 2018-06-10 17:28:17 +02:00
Henrik Lissner
383ecf7a08
Fix magit rebase/log windows being hidden by diffs 2018-06-10 17:28:17 +02:00
Henrik Lissner
b079db8ec3
Refactor unneeded arg out of local function _load
In doom-initialize-packages.
2018-06-10 17:28:17 +02:00
Henrik Lissner
7e00a83acc
Update & refactor doom-info 2018-06-10 17:28:17 +02:00
Henrik Lissner
edb6fd1964
Change how private & disabled packages are marked
They are now included in doom-packages, but with :private t or :disabled
t properties. This allows us to search for them if we wish (e.g. for
doom info).
2018-06-10 17:28:17 +02:00
Henrik Lissner
88f1ae3797
Refactor autoloads init in doom-initialize
Simplify doom-initialize-autoloads
2018-06-10 17:28:17 +02:00
Henrik Lissner
ee154911ae
Redesign doom-get-package
Now more useful for filtering packages by certain properties.
2018-06-10 17:28:17 +02:00
Henrik Lissner
01d1a814f9
Refactor doom-initialize functions
Removes doom-module-table; which was inflexible (though more stable). It
prevented you from putting your doom! block in anywhere but
~/.doom.d/init.el.

It is replaced (somewhat) by (doom-modules).
2018-06-10 17:30:26 +02:00
Henrik Lissner
7f31704815
Minor reformatting of org-agenda config 2018-06-10 17:28:17 +02:00
Henrik Lissner
9bd5cb862d
Don't set org-agenda-files by default
Leave this to the user
2018-06-10 17:28:17 +02:00
Henrik Lissner
0ec4d6ee43
config/literate: earlier check & no byte-compile
Making the compile check happen earlier fixes an edge case where the
resulting files from a literate config being tangled into multiple files
aren't recognized by Doom's package management or autoload generation
systems.

Disabling byte-compiling fixes an all too common issue where packages
and macros are undefined at compile time, causing a plethora of invalid
function errors.

Leave byte-compilation to `bin/doom compile`!
2018-06-10 17:28:17 +02:00
Henrik Lissner
1e2fc4227a
Fix void-variable: package--initialized error 2018-06-10 17:28:17 +02:00
Henrik Lissner
d4869228f5
Inhibit recursive switch-hooks in sub-hooks too 2018-06-10 17:28:17 +02:00
Henrik Lissner
14890376b1
Propagate buffer errors up the call stack
Delegates set-buffer(nil) errors (when switch hooks are called with an
invalid or dead buffer) to the caller to handle.

Fixes #668, #674
2018-06-10 17:28:17 +02:00
Zwb
3ccd459ddb lang/cc: set rtags-install-path to ${doom-etc-dir}/rtags/ 2018-06-10 22:33:26 +08:00
Zaiste
72d87c19c9
bindings: magit | add file-delete as SPC g x 2018-06-09 23:59:52 +02:00
Marcelo dos Santos
ad5afa1ab2 Fix the hook variable 2018-06-09 13:26:36 -03:00
Aria Edmonds
e88de1692d Don't shadow wakatime-api-key 2018-06-09 23:43:57 +10:00
Aria Edmonds
c3db907204
Fix wakatime breaking emacs if no api-key set 2018-06-09 22:58:45 +10:00
Aria Edmonds
29ea01b772
lang/emacs-lisp: Add +parinfer feature 2018-06-09 21:47:26 +10:00
Edmund Miller
a0dc6e98c3
Merge pull request #1 from fuxialexander/conda_add
Naming convention and add docs; Avoid conflicting pyenv.
2018-06-09 01:19:03 -05:00
Aria Edmonds
981116d509
Add treemacs to init.example.el 2018-06-09 12:18:16 +10:00
Aria Edmonds
8dbebf6588
Add treemacs to .gitignore 2018-06-09 12:16:53 +10:00
Aria Edmonds
7175c7dffb
Add initial treemacs module 2018-06-09 12:16:29 +10:00
UndeadKernel
dfa955dd2c Better looking default indentation for nested latex lists 2018-06-08 16:10:00 +02:00
Henrik Lissner
4b8ac0ad3d
Disable fci-mode in org-mode by default
Too many issues caused by variable font and icon sizes in org-mode (see
2018-06-08 14:29:38 +02:00
Henrik Lissner
dd2d704137
Fix reference to renamed _directory variable
Whoops!
2018-06-08 13:39:04 +02:00
Henrik Lissner
81c465a545
Move OS constants to core/core.el
So it is universally available to all of Doom, rather than excluding
sessions that haven't called doom-initialize interactively.
2018-06-08 13:31:45 +02:00
Henrik Lissner
bc2f8a0ec9
Don't complain about used _directory letvar
Byte-compiler-sama must be appeased.
2018-06-08 13:30:20 +02:00
Henrik Lissner
d008a7e977
Make ui/fci's automatic color change customizable 2018-06-08 13:29:06 +02:00
Henrik Lissner
fb6490288a
Disable eshell, pdf, tmux, & upload by default
To enforce Doom's "opt-in or best default" principle.
2018-06-08 13:08:38 +02:00
Henrik Lissner
99d6927e56
Improve error-handling for quelpa packages 2018-06-08 13:08:38 +02:00
Henrik Lissner
426935e4ee
Add wakatime/fci to init.example.el 2018-06-08 13:08:38 +02:00
Henrik Lissner
70ce322e99
Add :tools wakatime module 2018-06-08 13:08:38 +02:00
Henrik Lissner
e918040e70
Add :ui fci module for fill-column-indicator 2018-06-08 13:08:38 +02:00
Henrik Lissner
56b4cba964
Fix solium error preventing solidity-mode #659
Now conditionally activates flycheckers using the existence of their
binaries at load time.
2018-06-08 13:08:37 +02:00
Henrik Lissner
ab98020295
Optimize buffer normalization in switch hooks
get-buffer is faster than window-normalize-buffer-to-switch-to.
2018-06-08 13:08:37 +02:00
Henrik Lissner
99afb01315
equals -> file-equal-p refactor
Use more reliable file comparison function.
2018-06-08 13:08:37 +02:00
Henrik Lissner
ee262e7737
Refactor error handling in package management API
I am hoping this will improve the ambiguous errors that originate from
package.el or quelpa.el.
2018-06-08 13:08:34 +02:00
Henrik Lissner
7e7b6fd8a6
Merge pull request #664 from UndeadKernel/fix_latex-C-g
Fix latex C-g quitting latex after opening the reftex table of contents
2018-06-08 00:01:06 +02:00
UndeadKernel
363407d9e6 Fix C-g resetting latex windows after opening the reftex-toc 2018-06-07 13:53:13 +02:00
Henrik Lissner
b207c4040b
Minor, general refactor 2018-06-07 02:51:46 +02:00
Henrik Lissner
37946080e2
Add :yas-minor-mode setting to feature/snippets 2018-06-07 02:51:46 +02:00
Henrik Lissner
f22eeff763
Add treemacs-mode to evil-escape-excluded-major-modes
Fixes an unresponsive "j" key in treemacs-mode.
2018-06-07 02:51:46 +02:00
Henrik Lissner
a149313e71
config/default: add gzj/gzk binds for evil-mc 2018-06-07 02:51:46 +02:00