Commit graph

2468 commits

Author SHA1 Message Date
Henrik Lissner
7bfd7c1ade
ui/doom-dashboard: don't change default-directory on startup 2018-01-28 18:14:41 -05:00
Henrik Lissner
0cc3b34fa2
lang/org: fix errors lazy-loading mismatched babel libraries
The ob-C.el library takes care of C, C++ and D. This modifies the babel
lazy-loader to take this into account. Name => library mappings are
defined in +org-babel-mode-alist.
2018-01-28 17:20:28 -05:00
Henrik Lissner
cd6fb816fd
ui/doom-modeline: set modeline sooner
This may address scenarios where the modeline is unset, especially in
terminal Emacs sessions (like when emacs -nw is your EDITOR).
2018-01-28 16:50:32 -05:00
Henrik Lissner
78cb47a072
lang/org: lazy-load babel libraries
Removes +org-babel-languages and no longer eagerly loads babel
libraries. If an ob-*.el exists for the language, it will be loaded once
you execute its src block.

Warning: this may interfere with tangling. An unloaded library can't
register a language extension in org-babel-tangle-lang-exts (if any).
This means babel won't be able to figure out the correct file extension
for certain src blocks.

Either load the package explicitly or provide a filename + extension for
the TARGET-FILE argument:

  (require 'ob-rust)
  (org-babel-tangle-file "notes.org")
  ;; or
  (org-babel-tangle-file "notes.org" "notes.rs")
2018-01-28 15:45:31 -05:00
Henrik Lissner
01a5e9a1d7
lang/org: fix uninstallable centered-window-mode package
Turns out centered-window-mode isn't in any ELPA repo. Was it removed?
I'm not sure, so it's now fetched directly from its github repo.
2018-01-28 15:44:58 -05:00
Henrik Lissner
294f858875
lang/data: enable flycheck-mode for json-mode 2018-01-28 04:29:10 -05:00
Henrik Lissner
acb77c8407
lang/web: conditionally define js sub-modes 2018-01-28 04:28:15 -05:00
Henrik Lissner
3578d433c2
Integrate counsel-projectile-switch-project & restore file prompt when switching projects 2018-01-28 03:34:18 -05:00
Henrik Lissner
d0cce3cafb
completion/ivy: remove projectile-switch-project remap 2018-01-28 03:13:40 -05:00
Henrik Lissner
bc6be597ec
private/default: add imenu-list-minor-mode keybind 2018-01-28 03:11:56 -05:00
Henrik Lissner
2bdd1c98c5
private/default: generalize yank-pop keybind
completion/ivy remaps yank-pop to counsel-yank-pop anyhow.
2018-01-27 22:19:43 -05:00
Henrik Lissner
d556e1190e
completion/ivy: refactor; lazy-load counsel & counsel-projectile
Counsel loads a number of other packages, like dired, etags, swiper and
some of the eshell library. We're better off lazy-loading it.
2018-01-27 21:41:44 -05:00
Henrik Lissner
cedb8d0058
Refactor tools/dired; fix leader key in dired buffers 2018-01-27 21:04:16 -05:00
Henrik Lissner
3c6a76eef2
feature/eval: :repl! = open repl in same window 2018-01-27 01:12:19 -05:00
Henrik Lissner
64d41ed1d9
Refactor & redesign app/twitter
Inspired by UI changes by @fuxialexander, mentioned in
https://github.com/hlissner/emacs-doom-themes/issues/131
2018-01-24 17:37:43 -05:00
Henrik Lissner
b3c429d92a
Refactor app/email 2018-01-24 15:08:43 -05:00
Henrik Lissner
c0084b5a93
ui/unicode: fix unicode-fonts-setup not running on startup
Caused because of logic error in +unicode|init-fonts; a nil FRAME
prevents unicode-fonts-setup from running.
2018-01-24 14:07:52 -05:00
Henrik Lissner
ac825754c6
lang/python: move :lookup setting to anaconda-mode block 2018-01-24 03:16:36 -05:00
Henrik Lissner
12ac162276
lang/python: set :company-backend sooner #369
company-anaconda was added to company-backends too late, causing
code completion not to work in first-time python buffers.
2018-01-24 03:15:49 -05:00
Henrik Lissner
0e392372df
lang/org: fix relative file attachments #370
Affected non-image files having one-too-many ../ in its path.
2018-01-24 02:20:31 -05:00
Henrik Lissner
5dcd673651
feature/eval: refactor +eval/open-repl 2018-01-24 00:57:52 -05:00
Henrik Lissner
c5b72566ea
Remove help-fns+, add helpful plugin #363 2018-01-21 21:37:15 -05:00
Henrik Lissner
ad59665a3d
Merge pull request #359 from dsdshcym/fix-matchit-or-toggle-fold-in-magit-major-modes
feature/evil: fix +evil/matchit-or-toggle-fold in magit modes
2018-01-20 23:03:22 -05:00
Yiming Chen
abd3bc87fe feature/evil: use magit-section-toggle if mode is derived from magit-mode
- Closes #359
- See also https://github.com/hlissner/doom-emacs/pull/359#issuecomment-359220633
2018-01-21 11:53:21 +08:00
Henrik Lissner
2c1867caf1
Merge pull request #355 from fuxialexander/master
Add: =calendar app
2018-01-20 22:19:59 -05:00
Henrik Lissner
f663123f5a
feature/lookup: properly report errors in +lookup/online 2018-01-20 21:44:18 -05:00
Henrik Lissner
1024cfa23c
feature/lookup: fix invalid search engine error in +lookup/online
Caused because map-put returns the full provider cons cell, rather than
just the provider.
2018-01-20 21:43:31 -05:00
Henrik Lissner
0d83834ac7
ui/doom-dashboard: major refactor
+ Fix default-directory not being set properly when switching
  perspectives. ie. Add persp-mode integration (#347, #360)
+ Ensure dashboard initializes properly, at the right time to ensure
  benchmark is properly reported (fix #361)
2018-01-20 15:42:13 -05:00
Henrik Lissner
381a4416ed
feature/workspaces: major refactor & various fixes
+ Rewrite projectile integration.
+ Fix per-frame workspaces not cleaning up after itself when an
  frame-associated workspace (or its frame) is destroyed.
+ Alias +workspace-p to perspective-p instead of persp-p (which isn't as
  accurate, because it counts nil as a valid perspective).
+ Extract orphaned-buffer list functionality in +workspace-buffer-list
  into seperate function: +workspace-orphaned-buffer-list.
+ Allow toggle-debug-on-error to catch workspace errors.
+ Remove +workspace/kill-session-and-quit (never used)
+ Ensure persp-mode is loaded as late as possible.
2018-01-20 15:38:59 -05:00
Henrik Lissner
6b164a6103
lang/csharp: adapt to :lookup 2018-01-19 04:17:19 -05:00
Henrik Lissner
facfeb5f7a
Correct flyspell highlighted word on mouse-1 or RET
RET will only trigger if cursor is on the highlighted word.
2018-01-16 01:55:51 -05:00
Henrik Lissner
3ff85f6f37
feature/spellcheck: auto-check buffer on flycheck-mode 2018-01-16 01:55:06 -05:00
Yiming Chen
322e6afd55 feature/evil: fix +evil/matchit-or-toggle-fold in magit modes
- this function only worked in magit-status-mode but not other modes like
  magit-log-mode, magit-process-mode
2018-01-15 16:45:11 +08:00
Henrik Lissner
45c2221316
General update for docstrings and comments & minor refactor 2018-01-15 00:43:28 -05:00
Henrik Lissner
6790d666e0
ui/doom-modeline: init on doom-init-theme-hook
Initialize modeline with the theme.
2018-01-15 00:40:24 -05:00
Henrik Lissner
c166449f08
feature/popup: preserve size later in init process
So it can't be overwritten via ALIST.
2018-01-15 00:39:39 -05:00
Henrik Lissner
227e7b095d
feature/evil: refactor how evil-snipe + bindings are autoloaded 2018-01-15 00:08:28 -05:00
Henrik Lissner
eece13f2ca
Lazy-load evil-easymotion properly via keybinds #335
The package wasn't set up properly to autoload until evil-snipe did,
making its functionality inaccessible without an explicit (require
'evil-easymotion)
2018-01-15 00:07:51 -05:00
Henrik Lissner
10167b85b5
feature/workspaces: remove +workspace-change-hook
persp-mode provides the following hooks already (among many others):

+ persp-{before,after}-switch-functions
+ persp-renamed-functions
+ persp-created-functions
+ persp-before-kill-functions

This makes +workspace-change-hook redundant.
2018-01-14 16:21:22 -05:00
Henrik Lissner
ea97600507
feature/evil: refactor evil-embrace hooks #345 2018-01-14 13:40:20 -05:00
Henrik Lissner
5ee50c6b53
Move wgrep config from core-editor to completion/{ivy,helm} 2018-01-14 02:04:34 -05:00
fuxialexander
41a84a3c6d Add: +calendar/quit binding to "q" 2018-01-14 10:06:36 +08:00
Henrik Lissner
1f454b56a4
feature/evil: ensure evil-embrace's hooks run sooner #345
evil-embrace's hooks would run too late (after evil-surround loads),
requiring you to reload affected buffers.
2018-01-13 15:30:06 -05:00
Henrik Lissner
0594f0798f
tools/neotree: fix typo (width-width => size) #357 2018-01-13 15:10:38 -05:00
Henrik Lissner
b741d77e78
feature/syntax-checker: autoload pkg-info-version-info #356 2018-01-13 15:09:17 -05:00
fuxialexander
5bfa365809 Fix: hotfix of +calendar-org-gcal-secret-file 2018-01-13 17:57:38 +08:00
fuxialexander
7236404f67 Fix: hotfix of +calendar-open-calendar-function 2018-01-13 17:35:59 +08:00
fuxialexander
c63aba39ac Add: =calendar app 2018-01-13 17:26:40 +08:00
Henrik Lissner
28ac52e4db
feature/popup: define window-sides-reversed #349 2018-01-12 19:13:01 -05:00
Henrik Lissner
e6e1282346
ui/doom-dashboard: fix recentf, project & bookmark buttons
When none of these buttons' commands were remapped, you'd get a commandp
nil error.
2018-01-12 18:41:10 -05:00