Commit Graph

5033 Commits

Author SHA1 Message Date
Henrik Lissner
6f1b96bc9a
Fix void-function error in doom//reload-autoloads
Don't use a third party library in a function that could potentially run
before packages are installed, ya big silly!
2018-02-19 01:31:31 -05:00
Henrik Lissner
a967aa051a
Force autoloads to use absolute paths
Autoload paths used to be relative to arbitrary roots (usually
doom-modules-dir). This commit changes doom//reload-autoloads to iterate
over autoloads in doom-autoloads-file and replace their file paths with
an absolute one.

Theoretically this should make Emacs feel marginally faster, but we
*probably* get more of a benefit from a shorter load-path (because we no
longer need doom-modules-dirs, doom-core-dir or doom-psuedo-module-paths
in the load-path).

This is highly experimental however!
2018-02-19 01:25:37 -05:00
Henrik Lissner
1a20c49ef3
Refactor cl-loop => cl-member in doom//byte-compile 2018-02-19 01:20:53 -05:00
Henrik Lissner
3c203b2cd4
lang/ess: fix ess-site load error at compile time (take 2) 2018-02-19 01:08:40 -05:00
Henrik Lissner
3d20763d58
feature/popup: refactor popup cleanup function 2018-02-18 22:59:38 -05:00
Henrik Lissner
e3d454d855
lang/ess: fix 'cannot open load file' errors 2018-02-18 22:45:22 -05:00
Henrik Lissner
e405b24495
lang/ess: replace obsolete vars with ess-offset-continued 2018-02-18 22:44:57 -05:00
Henrik Lissner
02dd396a74
lang/ess: enable line numbers in ESS modes 2018-02-18 22:37:34 -05:00
Henrik Lissner
8af46aad5a
lang/csharp: fix omnisharp detection when server is installed locally #422 2018-02-18 21:31:16 -05:00
Henrik Lissner
45c8ce9f62
lang/elm: fix elm-mode-autoloads typo 2018-02-18 21:25:18 -05:00
Henrik Lissner
18d0b9425d
ui/doom-dashboard: add sharp quote 2018-02-18 20:50:30 -05:00
Henrik Lissner
634844e582
tools/pdf: fix epdfinfo prompt at compile time; autoload pdf-tools 2018-02-18 20:10:52 -05:00
Henrik Lissner
50452d92ae
feature/file-templates: fix incorrect mode setting 2018-02-18 14:11:04 -05:00
Henrik Lissner
f6d572c9fe
lang/org: fix void-symbol value error 2018-02-18 14:08:19 -05:00
Henrik Lissner
e50d8b8733
lang/org: add +org-attach/sync (attachment management)
lang/org now supports the attach:* link abbreviation. Running
+org/attach-sync will index all such links across org files in +org-dir
and delete any files in org-attach-directory that aren't referenced.

TODO: have a separate directory for attach:* attachments and vanilla
attachments?
2018-02-18 04:30:54 -05:00
Henrik Lissner
f4a0311834
ui/doom: add solaire-mode-reset to focus-in-hook
Addresses an edge case where the fringes would forget their color.
2018-02-18 03:14:52 -05:00
Henrik Lissner
02ad689890
lang/rust: refactor racer config
A lot of the previous logic is redundant and already done by the racer
package.
2018-02-18 03:13:50 -05:00
Henrik Lissner
0408464489
feature/evil: evil-want-C-w-delete = t 2018-02-18 03:13:11 -05:00
Henrik Lissner
22e9452104
config/default: +default/find-in-snippets => +default/browse-snippets 2018-02-18 03:12:38 -05:00
Henrik Lissner
c8c7bcabc0
app/calendar: fix path in comment header 2018-02-18 03:10:09 -05:00
Henrik Lissner
6291cb1979
app/email: improve mu4e lifetime management & fix =email 2018-02-18 03:09:39 -05:00
Henrik Lissner
be94fc4d91
lang/org: remove unused evil autoloads 2018-02-18 03:07:57 -05:00
Henrik Lissner
7707aec28a
Remove doom group
Not really useful, and Doom doesn't encourage using the Emacs Customize
interface.
2018-02-18 03:04:58 -05:00
Henrik Lissner
b05ccbb98e
Move some UI vars from core.el to core-ui.el 2018-02-18 02:59:11 -05:00
Henrik Lissner
a8b178f547
feature/file-templates: remove __lic alias
There's no guarantee that %alias will be available from here anyway.
2018-02-18 02:48:25 -05:00
Henrik Lissner
a01320deeb
lang/org: redo evil integration; add evil-org package
lang/org has now adopted much of evil-org, which introduces better evil
integration for org-mode. More testing is required.
2018-02-18 00:32:12 -05:00
Henrik Lissner
0b2a61593e
lang/org: reformat whitespace in test/autoload-org.el 2018-02-17 23:22:50 -05:00
Henrik Lissner
aafa45e271
lang/org: fix insert-item tests; refactor +org/insert-item 2018-02-17 22:41:58 -05:00
Henrik Lissner
cf4420e903
Fix doom//run-tests 2018-02-17 22:18:04 -05:00
Henrik Lissner
e770d5ccf2
lang/org: remove ob-redis package #368
It has been merged into org's contrib/, and is no longer on MELPA.
2018-02-17 19:28:11 -05:00
Henrik Lissner
87f47e6d9a
lang/emacs-lisp: disable flycheck in new private modules too #425 2018-02-17 19:21:02 -05:00
Henrik Lissner
a862d0eeb1
feature/file-templates: fix doom file templates 2018-02-17 19:15:13 -05:00
Henrik Lissner
7ac29bbd27
Refactor require! macro 2018-02-17 19:09:15 -05:00
Henrik Lissner
40e5357566
tools/neotree: keep cursor at beginning-of-text, not bol 2018-02-17 18:51:14 -05:00
Henrik Lissner
2425893cc9
tools/neotree: use slightly wider window 2018-02-17 18:50:59 -05:00
Henrik Lissner
a1580e5919
config/private: wrap init.el in file-directory-p check 2018-02-17 18:41:47 -05:00
Henrik Lissner
ef4962c702
feature/file-templates: new +file-templates/insert-license command 2018-02-17 18:41:21 -05:00
Henrik Lissner
aa216af4d6
feature/file-templates: add+polish license file templates 2018-02-17 18:40:49 -05:00
Henrik Lissner
70c8e3cb52
app/rss: bind M-RET = open entry in browser 2018-02-17 04:56:27 -05:00
Henrik Lissner
9f471806fe
app/rss: add :popup rule for elfeed-entry windows 2018-02-17 04:56:16 -05:00
Henrik Lissner
d8be0a5f4c
app/rss: move default elfeed file 2018-02-17 04:56:03 -05:00
Henrik Lissner
8240771846
app/rss: fix +rss/quit & compact db 2018-02-17 04:55:35 -05:00
Henrik Lissner
0c459cfefd
lang/org: make backspace org-mode aware
This ensures backspace respects tables and doesn't break whitespace in
table cells.
2018-02-17 03:40:40 -05:00
Henrik Lissner
8efd5d1eae
Fix make clean not catching all *.elc files 2018-02-16 23:28:18 -05:00
Henrik Lissner
d91481a9a0
Add private module to load-path
This fixes autoload cookies in private autoload files (e.g.
~/.doom.d/autoload/file.el).
2018-02-16 23:26:44 -05:00
Henrik Lissner
f8bf86e1a3
ui/doom-dashboard: add button to open private module 2018-02-16 21:02:46 -05:00
Henrik Lissner
2b43dd42e2
Refactor doom-hide-modeline-mode 2018-02-16 21:02:46 -05:00
Henrik Lissner
62dc472dfe
Remove vestigial :private hlissner from init.test.el 2018-02-16 05:42:37 -05:00
Henrik Lissner
e7c9f5c08f
Fix over-zealous path resolution
This issue made it impossible enable default modules from private doom!
blocks.
2018-02-16 05:33:27 -05:00
Henrik Lissner
bae226b94f
Refactor to revolve module tree roots around doom! calls
Any module can now use a doom! call to declare a module tree root.

This means that if you have a doom! block in
~/.emacs.d/modules/lang/org/init.el, then you can have submodules in
~/.emacs.d/modules/lang/org/modules/MODULE/SUBMODULE if you wanted to
for some reason.

This is only really truly useful for private modules. A doom! block in
~/.doom.d/init.el will recognize and enable modules in
~/.doom.d/modules/.
2018-02-16 05:07:46 -05:00