Commit graph

2581 commits

Author SHA1 Message Date
Henrik Lissner
46225e2830
core-ui: fix comment typo 2018-02-02 20:47:33 -05:00
Henrik Lissner
bbb969fa59
Combine doom/open-scratch-buffer & doom/open-project-scratch-buffer
These two are now doom/open-scratch-buffer. If you're in a project,
a (persistent) scratch buffer is opened. Otherwise, a non-persistent,
transient scratch buffer is opened.

If ARG (universal argument) is non-nil, then use the current window
instead of a new window (or popup, if feature/popup is enabled).

Also, the ex command :x[!] is improved. The BANG = open in current
window.
2018-02-02 20:47:33 -05:00
Henrik Lissner
e71f28601a
Fix inconsistencies in fonts across frames #399
Also, minor refactor for doom|init-theme.
2018-02-02 20:47:32 -05:00
Henrik Lissner
bae2287d51
Recenter screen after save-place successfully loads point 2018-02-02 20:47:32 -05:00
Henrik Lissner
d1953e00c4
Remove doom--cycle-real-buffers; refactor kill-this-buffer advice
cycle-real-buffers was a tidbit of complexity that was never necessary
in the first place. This functionality was already available in the form
of the frame buffer-predicate parameter, which controls where functions
like next-buffer and other-buffer can land you.

The only thing I have to do myself, is check for the condition where
there are no more real buffers left to switch to, and in that case send
you to the fallback-buffer.
2018-02-02 20:47:31 -05:00
Henrik Lissner
5b19ad50a6
frame-title-format: just use filename
A blank buffer-file-name causes an error. Rather than overcomplicate
this, I'll just use %b.
2018-02-01 20:42:21 -05:00
Henrik Lissner
d935a813a1
Merge pull request #392 from amosbird/patch-6
Sensible alias
2018-02-01 20:28:15 -05:00
Henrik Lissner
5b817727e2
Use more informative frame title 2018-02-01 20:14:27 -05:00
Henrik Lissner
ca262f5e4e
Rename doom-fallback-buffer (variable) => doom-fallback-buffer-name 2018-02-01 20:06:00 -05:00
Henrik Lissner
7b2bbb973a
Improve real-buffer function docstrings 2018-02-01 20:04:54 -05:00
Henrik Lissner
03a03853e4
core-editor: reset expand-region on doom/escape #317 2018-02-01 19:58:44 -05:00
Henrik Lissner
324a644002
Refactor; compilation-scroll-output=first-error; ffap-machine-p-known=reject 2018-02-01 19:58:44 -05:00
Henrik Lissner
005402efc0
Remove prompt if file is opened in other emacsclients 2018-02-01 19:58:44 -05:00
Henrik Lissner
805f7e7175
core-os: x-underline-at-descent-line = t 2018-02-01 19:58:44 -05:00
Henrik Lissner
2989296521
Use frame's buffer-predicate instead of doom/{next,previous}-buffer
doom/{next,previous}-buffer was implemented so that these commands could
skip over unreal buffers, and land us on either a real one or the
dashboard. Using the frame's buffer-predicate parameter accomplishes
exactly this, natively.
2018-02-01 19:58:43 -05:00
Henrik Lissner
c9e8be1f60
Improve doom/toggle-fullscreen #397 2018-02-01 17:42:39 -05:00
Henrik Lissner
dadfeec506
Refactor & fix doom/forward-to-last-non-comment-or-eol 2018-02-01 16:35:55 -05:00
Henrik Lissner
7c48e7e5cc
Improve visual-line-mode support in doom/backward-to-bol-or-indent #396 2018-02-01 16:35:27 -05:00
Amos Bird
562d805136
Sensible alias 2018-02-01 14:46:17 +08:00
Henrik Lissner
7e31d1c5af
Add nocache arg to doom-project-* functions 2018-02-01 01:31:26 -05:00
Sergey Trofimov
0bb1635a38 Check if buffer-file-name is nil before passing it as argument. 2018-01-31 06:41:51 +03:00
Henrik Lissner
14080a1781
Update core-packages docstrings; rename doom-module-get => doom-module-flags 2018-01-30 21:26:02 -05:00
Henrik Lissner
893bb6b3f7
Revert unstyled mode-line flash prevention (unreliable) 2018-01-30 21:25:33 -05:00
Henrik Lissner
23f914916e
Refactor theme init across GUI, tty and daemon Emacs 2018-01-30 21:19:57 -05:00
Henrik Lissner
b88f28dbf8
Fix nlinum-relative-* void-function errors #376 2018-01-30 14:05:39 -05:00
Henrik Lissner
bcef66b947
Refactor doom/toggle-line-numbers; add doom-line-numbers-visual-style #376
doom-line-numbers-visual-style adds support for the visual
display-line-numbers mode by setting it to a non-nil value.
2018-01-30 03:31:32 -05:00
Henrik Lissner
64a674dcc9
Fix nlinum-relative line numbering #376
Fixed padding; now relative line numbers look consistent with its non-relative
counterpart.
2018-01-30 01:18:30 -05:00
Henrik Lissner
01787fc876
Change doom/toggle-line-numbers to cycle styles #376
Also fixes doom/toggle-line-numbers when doom-line-numbers-style is nil.
2018-01-30 01:10:58 -05:00
Henrik Lissner
1fda25ce9a
Force make commands to traverse symlinks too 2018-01-29 23:23:48 -05:00
Henrik Lissner
e55e798048
Fix doom! not loading modules after byte-compile 2018-01-29 21:22:55 -05:00
Henrik Lissner
bd443322a2
A slightly more efficient unstyled-mode-line fix 2018-01-29 19:34:06 -05:00
Henrik Lissner
e0f6fde7c1
Update doom//run-tests for new doom! 2018-01-29 18:41:55 -05:00
Henrik Lissner
e33e2b9c63
Fix doom-project-* unit tests 2018-01-29 18:38:40 -05:00
Henrik Lissner
e87809ab59
Fix kill-buffer-and-windows unit test 2018-01-29 18:24:59 -05:00
Henrik Lissner
a3e3909368
Set doom-modules sooner
Fixes module lookups within modules (like featurep!).
2018-01-29 18:06:59 -05:00
Henrik Lissner
4e908bd525
Minor refactor & correction 2018-01-29 17:39:08 -05:00
Henrik Lissner
0890826083
window-divider-default-bottom-width = 1 2018-01-29 17:09:09 -05:00
Henrik Lissner
735d129f92
Truly prevent unstyled mode-line flash at startup 2018-01-29 17:06:20 -05:00
Henrik Lissner
3a31949483
Refactor doom! to support nested calls #352
Isolates doom! a little more to allow for nested doom! calls.
2018-01-29 17:01:02 -05:00
Henrik Lissner
8b19e35ef6
Consider dired-mode buffers real 2018-01-28 20:37:40 -05:00
Henrik Lissner
3bd262117d
Initialize project-mode sooner
Fixes a couple projectile errors when parts of Doom try to use
projectile before it's loaded.
2018-01-28 16:28:53 -05:00
Henrik Lissner
d4c1050e32
core-project: fix projectile caching error when buffer-file-name is nil 2018-01-28 04:31:14 -05:00
Henrik Lissner
4f983c139e
Improve doom/describe-{setting,module} commands
Now grabs the setting/module at point
2018-01-28 03:00:29 -05:00
Henrik Lissner
c5b72566ea
Remove help-fns+, add helpful plugin #363 2018-01-21 21:37:15 -05:00
Henrik Lissner
59f33855dd
Fix kill-this-buffer switching to fallback buffer too soon (again) 2018-01-18 23:08:26 -05:00
Henrik Lissner
45c2221316
General update for docstrings and comments & minor refactor 2018-01-15 00:43:28 -05:00
Henrik Lissner
5ee50c6b53
Move wgrep config from core-editor to completion/{ivy,helm} 2018-01-14 02:04:34 -05:00
Henrik Lissner
47d15fdf8a
Make startup benchmark a little more accurate #353
Also sets doom-init-time first thing in doom-post-init-hook.
2018-01-13 15:11:28 -05:00
Henrik Lissner
987805de5f
Fix recursive load errors with multiple doom! calls #352 2018-01-12 14:40:34 -05:00
Henrik Lissner
2f0822ed44
Remove aggressive load of use-package
The autoload in core-packages takes care of it.
2018-01-11 22:18:32 -05:00