Henrik Lissner
1457ec3d15
Fix non-prefix key C error when loading macrostep
...
Due to malformed key spec.
2018-06-30 02:58:25 +02:00
Henrik Lissner
66e62e8b6e
destructuring-bind => cl-destructuring-bind
2018-06-30 02:58:25 +02:00
Henrik Lissner
15f2e21468
On second thought...
...
Causes char-table-p errors in some cases.
Setting hscroll-margin = 0 in dashboard accomplishes the same thing, by
preventing truncation glyphs from ever appearing anyway.
2018-06-30 02:58:01 +02:00
Henrik Lissner
bf5c8351e4
Fix jumpiness from progress bars in eshell/term
...
Due to hscroll-margin ping-ponging the cursor.
2018-06-30 02:49:52 +02:00
Henrik Lissner
0603f7bb5d
Remove duplicate hscroll-margin setting
2018-06-30 02:46:09 +02:00
Henrik Lissner
91c4448ed2
Refactor +workspaces|associate-frame
...
No need to set current frame on first frame.
2018-06-30 02:29:19 +02:00
Henrik Lissner
2dbdbc245c
eshell: ignore errors thrown by pcomplete
2018-06-30 02:29:18 +02:00
Henrik Lissner
e9c97d7ad0
Prevent eshell from switching to existing eshell
...
Prevent duplicate eshell buffers as a result of quitting a second eshell
buffer.
2018-06-30 02:29:18 +02:00
Henrik Lissner
d402c6ef44
Seriously, don't show $ glyphs on long lines
...
Seriously, dude. Seriously.
2018-06-30 02:29:18 +02:00
Henrik Lissner
83ba527afd
Refactor auto-add-buffer functionality
...
Use built-in mechanism for auto-adding buffers to current workspace,
rather than reinvent the wheel.
2018-06-30 02:29:18 +02:00
Henrik Lissner
537cc9e1ed
Rewrite doom-real-buffer-p; require first arg
...
Because of how widely used this function is, I'd rather it be as
explicit as possible to avoid bugs and to make it faster.
2018-06-30 01:57:51 +02:00
Henrik Lissner
70230b0892
Add doom-unreal-buffer-p predicate function
2018-06-30 01:57:51 +02:00
Henrik Lissner
2ffad42466
Prevent persp-mode throwing an error on kill-emacs
...
This would otherwise stop Emacs from quitting.
2018-06-29 22:23:44 +02:00
Henrik Lissner
9b2100dfe7
Fix input-decode-map binds in emacsclient frames
2018-06-29 22:21:03 +02:00
Henrik Lissner
5931d89d9d
Fix oversized *Org Links* popup in org-mode
...
At some point, org changed how soon it popped up this window, so
+popup-shrink-to-fit would run before there was any content in the
buffer, causing it to take up way too much space.
2018-06-29 16:49:55 +02:00
Henrik Lissner
f52008873e
Refactor app/rss & improve kill-buffer process
2018-06-29 15:08:06 +02:00
Henrik Lissner
ba674c8744
Slice images in rss entries for easier scrolling
...
Can be disabled with +rss-enable-sliced-images.
2018-06-29 14:12:50 +02:00
Henrik Lissner
db0ad48e4d
Enable evil-collection-elfeed
2018-06-29 14:12:50 +02:00
Henrik Lissner
1a923441ff
Fix infinite-recursion when killing elfeed buffers
2018-06-29 14:12:50 +02:00
Henrik Lissner
b583af198d
Pop up elfeed-show buffers below current
...
Instead of in a frame popup. You no longer are required to run elfeed in
fullscreen.
2018-06-29 13:57:21 +02:00
Henrik Lissner
04ee1c23fd
Don't set margins in left/right popups
2018-06-29 02:35:33 +02:00
Henrik Lissner
f987c121d4
Make indent detection more ubiquitous #727
...
And have it change tab-width as well.
This should work as soon as my PR into dtrt-indent is pulled into MELPA.
2018-06-29 01:55:21 +02:00
Henrik Lissner
2e29455cb4
Disable company-mode in eshell-mode
...
It appears to be incompatible with pcomplete, causing random errors and
whitespace insertion at odd times.
2018-06-29 01:51:49 +02:00
Henrik Lissner
5a78b8db0c
Enable smartparens-mode in eshell
...
So we can have some o'dat autopairing goodness in our shell.
2018-06-29 01:22:06 +02:00
Henrik Lissner
a4121f33c0
Revert "Require project root in dashboard buffer #733 "
...
This reverts commit 2dac739ce7
.
Causes breaking "Not in project" errors at startup in certain daemon
workflows.
2018-06-29 00:56:04 +02:00
Henrik Lissner
888bd97093
Fix evil-collection-neotree throwing void-function
...
Because it is using the neotree-make-executor macro without requiring
`neotree` at compile time.
Also, remove the helm fix because they no longer use the
`with-helm-buffer` macro.
2018-06-28 23:16:23 +02:00
Henrik Lissner
875821a95a
Remove evil-ediff from :feature evil
...
It's in evi-collection-ediff now.
2018-06-28 23:16:09 +02:00
Henrik Lissner
5d28a4f100
Fix invalid-function: PDF Tools error in latex
...
Due to a forgotten quote on a list form.
Reported by @xarthurx
2018-06-28 20:42:41 +02:00
Henrik Lissner
2dac739ce7
Require project root in dashboard buffer #733
...
Require default-directory to be in a valid project for project commands
to work. This will prevent hangs when accidentally invoking
projectile-find-file from $HOME.
2018-06-28 20:15:50 +02:00
Henrik Lissner
55104b9f89
Fix "home/~" PWD in eshell prompt
2018-06-28 19:29:26 +02:00
Henrik Lissner
40c8d7bd0e
Fix eshell-z
2018-06-28 19:23:31 +02:00
Henrik Lissner
9157d3b3a6
eshell: alias clear to clear-scrollback
...
This is more in line with how clear behaves in shells.
2018-06-28 18:46:51 +02:00
Henrik Lissner
1a0251c1cf
Move eshell config files into doom-private-dir
...
Introduce new +eshell-config-dir variable, where you can store your
eshell aliases and rc files.
2018-06-28 18:34:02 +02:00
Henrik Lissner
88ba758ae3
Add eshell-z plugin
...
And replace z alias with it.
2018-06-28 18:32:27 +02:00
Henrik Lissner
ca9da4c272
Fix eshell popup splits not closing on exit
...
Fixes "Attempt to delete main window of frame" errors, and ensrues an
eshell buffer is selected, if you were in a popup.
2018-06-28 18:20:30 +02:00
Henrik Lissner
05bdb1e12c
eshell-input-filter = eshell-input-filter-initial-space
...
Don't record a command in history if prefixed with whitespace.
2018-06-28 16:58:28 +02:00
Henrik Lissner
7bb9adc6bd
Only clean up after eshell window if visible
...
Killing buried eshell windows shouldn't delete windows or restore any
wconfs.
2018-06-28 14:47:14 +02:00
Henrik Lissner
dc8c01f17f
Add +default/newline alias
...
Forgot to add it in 08beff91
2018-06-28 14:46:33 +02:00
Henrik Lissner
50991232e6
sp-escape-quotes-after-insert = nil
...
Smartparens isn't smart enough to escape quotes in many situations (like
single quotes in c/c++).
2018-06-28 14:44:47 +02:00
Henrik Lissner
6c0c6ee47b
Fix infinite recursion when quitting elfeed
...
+rss/quit kills the buffer, triggering its kill-buffer-hook, which calls
+rss/quit, triggering its kill-buffer-hook, which calls +rss/quit,
triggering its kill-buffer-hook, which calls +rss/quit, triggering its
kill-buffer-hook, which calls +rss/quit, triggering its
kill-buffer-hook, which calls +rss/quit, triggering its
kill-buffer-hook, which calls +rss/quit, triggering its
kill-buffer-hook, which calls +rss/quit, which summons Cthulhu...
2018-06-28 14:40:12 +02:00
Henrik Lissner
f7a4b639e7
Fix read-only errors when reopening eshell buffers
...
Caused because eshell would try to insert the banner into the eshell
prompt.
2018-06-28 14:40:12 +02:00
Henrik Lissner
b0f59ff5bd
lang/cc: fix wrong-type-argument: stringp error
...
Caused by -stdlib flag being a sub-list in +cc-default-compiler-options,
when it should be nil or a string.
2018-06-28 14:40:12 +02:00
Henrik Lissner
e76e4a1f75
Fix void-variable errors from defer-until! macro
2018-06-28 14:40:11 +02:00
Henrik Lissner
08beff91da
Bind RET/C-j instead of remapping newline
...
RET -> newline-and-indent
C-j -> newline
This is basically the opposite of the Emacs default.
2018-06-28 14:40:11 +02:00
Henrik Lissner
4eda07e576
Don't replace scratch buffer with other popups
2018-06-28 00:31:36 +02:00
Henrik Lissner
0f0f5f6584
Optimize featurep! macro
...
If we can use doom--current-module and evaluate membership at
compile-time, we same a little time, but a fair bit more if
we byte-compile.
2018-06-27 23:17:17 +02:00
Henrik Lissner
f6478ab068
Refactor out map! usage in lang/emacs-lisp
...
Slowly phasing out map! for internal use.
2018-06-27 22:54:09 +02:00
Henrik Lissner
3742a671a6
Rethink lazy-loading of elisp-mode
2018-06-27 22:52:46 +02:00
Henrik Lissner
07d37f97fb
Refactor after! macro
...
KISS
2018-06-27 22:46:49 +02:00
Henrik Lissner
5a7c8803d9
Remove :when support from after!; add defer-until!
...
New macro does what the :when keyword did for after!.
2018-06-27 21:29:28 +02:00