Commit graph

6759 commits

Author SHA1 Message Date
Henrik Lissner
38414a636f
Fix evil-org's o/O in nested plain lists
Thanks by @fuxialexander
2018-07-04 13:16:11 +02:00
Henrik Lissner
a0b7ccb74b
emacs/eshell: restore margins
They were disabled because of shell width issues, but removing the
margin didn't change the situation!
2018-07-03 20:07:14 +02:00
Henrik Lissner
1d4a41833e
Don't wrap forward/backward-button keys 2018-07-03 20:07:14 +02:00
Henrik Lissner
d0eaa0af1e
Redesign dashboard widgets 2018-07-03 20:07:14 +02:00
Henrik Lissner
f39d49c954
Conditionally enable custom neotree icon theme
If :ui neotree is disabled, disable the icon theme.
2018-07-03 12:29:27 +02:00
Henrik Lissner
bcd930abb7
Reformat haskell packages.el 2018-07-03 03:41:08 +02:00
Henrik Lissner
b42dd5c1db
Minor refactor of doom|init-fonts
Prefer native functions over macros, and conform to new convention of
naming condition-case error variables "e".

No, not the meme.
2018-07-03 03:41:08 +02:00
Henrik Lissner
65d2b01333
Revert "Refuse to enable intero-mode if intero is absent"
This reverts commit 4f40fef592.

This was short sighted. The intero check doesn't find per-project built
instances of intero.
2018-07-03 03:41:08 +02:00
Henrik Lissner
2764bc6ed5
Remove many conflicting emacs-state keybinds #734
The impact many of these keybinds would have on Emacs state weren't
thought through and end up rebinding important keys.
2018-07-03 03:41:08 +02:00
Henrik Lissner
24686948c2
ui/fci: fix invalid-face: line-number error #738
The line-number face was introduced in Emacs 26 and will cause this
error in earlier versions.
2018-07-03 03:41:08 +02:00
Henrik Lissner
9648aa4093
Defer server reloading of autoloads
Occasionally, bin/doom commands hang when generating autoloads. It
blocks endlessly after sending a message to an active Emacs server, but
never receives a proper reply.

This commit makes it less likely that this hanging will leave Doom in a
broken state (and also informs the user it is safe to abort the
process).
2018-07-03 03:41:08 +02:00
Henrik Lissner
1530cdbdb6
Fix vanilla sandbox creating too many temp files
On every execution.
2018-07-03 03:41:08 +02:00
Henrik Lissner
9756a0a18c
Remove doom-themes-common reloading
No longer necessary with upcoming doom-themes update.
2018-07-03 03:41:08 +02:00
Henrik Lissner
81ffed520b
Rename doom-before-switch-*-hook hooks
+ doom-before-switch-buffer-hook => doom-exit-buffer-hook
+ doom-before-switch-window-hook => doom-exit-window-hook
+ doom-after-switch-buffer-hook => doom-enter-buffer-hook
+ doom-after-switch-window-hook => doom-enter-window-hook

Shorter, easier-to-type names that better describe their intended
purpose.

The old names are still usable, but deprecated.
2018-07-03 03:41:08 +02:00
Henrik Lissner
1dc43f9770
Merge pull request #737 from chengyi/fix-lookup-listp-error
fix wrong argument order in usage of `alist-get`
2018-07-02 15:25:39 +02:00
Wang Hao
1ce3bedbbb fix wrong argument order in usage of alist-get 2018-07-02 11:05:10 +08:00
Henrik Lissner
637131a264
eshell: remove margins & wrap lines
Margins cause many full-line progress bars to become jumpy; scrolling to
follow the cursor at eol (just beyond the edge of the window). It's
better to not use margins at all.

Also, this change removes the $ truncation glyphs and enables
visual-line-mode to wrap long text.
2018-07-01 02:06:03 +02:00
Henrik Lissner
4213899b01
Refactor out -pcase in +treemacs/toggle 2018-07-01 01:16:37 +02:00
Henrik Lissner
dd71f54e5e
Fix reuse of same repl buffer across projects 2018-07-01 01:10:51 +02:00
Henrik Lissner
cddde09b79
Fix popup system not cleaning up buffers with ttl
Because of extra parentheses causing essential logic from running. I am
a silly goose.
2018-07-01 00:57:27 +02:00
Henrik Lissner
866c97bcb2
emacs/imenu: remove cleanup-on-popup-close hack
This hack is no longer necessary now that imenu-list-smart-toggle
exists.

And set :quit nil for the Ilist popup rule (since it can be toggled
externally).
2018-06-30 23:27:06 +02:00
Henrik Lissner
eebe852de4
Fix workspace cleaning up visible popups
On :cleanup or doom/cleanup-session
2018-06-30 23:16:48 +02:00
Henrik Lissner
64d4cf773d
Fix oversized *Org Links* popup 2018-06-30 17:41:43 +02:00
Henrik Lissner
2e0d6a7c3d
Fix workspace switch-buffer keybinds 2018-06-30 17:41:20 +02:00
Henrik Lissner
5e9f74c269
Add l and f default aliases to eshell
For ls -lh and find-file, respectively.
2018-06-30 13:21:24 +02:00
Henrik Lissner
6014a416b3
Fix read-only errors in magit rebase buffers
Magit would refuse to abort/commit rebases due to
delete-trailing-whitespace in write-file-functions, placed there by
editorconfig.
2018-06-30 13:21:24 +02:00
Henrik Lissner
156d717042
Restore zz in magit buffers 2018-06-30 13:21:24 +02:00
Henrik Lissner
091a0a5f04
Remove unused window-state letvar 2018-06-30 02:58:25 +02:00
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