Commit graph

3358 commits

Author SHA1 Message Date
Henrik Lissner
11e5140b98
Fix editorconfig file ext 'guesser' in org-edit-src buffers
Fixes editorconfig not correctly guessing style settings in org-edit-src
buffers.
2018-02-13 19:42:39 -05:00
Henrik Lissner
a05c4cca6c
Fix kill-this-buffer asking to save twice 2018-02-13 17:53:11 -05:00
Henrik Lissner
cb3e780a96
Fix package manager not detecting outdated quelpa packages 2018-02-13 05:23:40 -05:00
Henrik Lissner
ba19032d29
Rename doom/narrow-buffer => doom/clone-and-narrow-buffer 2018-02-12 01:44:02 -05:00
Henrik Lissner
57b2b5c546
Fix doom//packages-update not updating dependencies 2018-02-11 16:13:15 -05:00
Henrik Lissner
4566dea4b3
Fix save-buffer prompt occurring after buffer is buried 2018-02-11 03:58:57 -05:00
Henrik Lissner
0019deb276
Rewrite doom/info 2018-02-10 17:27:02 -05:00
Sergey Trofimov
139a0c8045 Fix kill-buffer arguments. 2018-02-10 19:36:06 +03:00
Henrik Lissner
3355378480
Fix doom//reload-load-path infinite recursion with daemon emacs 2018-02-08 02:15:41 -05:00
Henrik Lissner
dce496e246
Change doom-project-p to return a boolean 2018-02-06 17:30:38 -05:00
Henrik Lissner
f28a89f701
Add doom-project-name function 2018-02-06 17:30:16 -05:00
Henrik Lissner
508dbf7a5c
Revise docstrings for doom-project-{root,p} 2018-02-06 17:30:03 -05:00
Henrik Lissner
7e87ab3e29
New warn! macro; replace debug! with log! macro 2018-02-04 17:53:31 -05:00
Henrik Lissner
7d9f2e5078
New doom/toggle-debug-mode command 2018-02-04 17:53:05 -05:00
Henrik Lissner
68e735938b
core-keybinds: remove redundant quotes 2018-02-04 17:29:03 -05:00
Henrik Lissner
414383e5f4
Remove vestigial references to doom/{next,previous}-buffer 2018-02-04 05:05:40 -05:00
Henrik Lissner
245ef02597
Fix misplaced info in doom/info output
And update its docstring
2018-02-04 01:39:50 -05:00
Henrik Lissner
4262b9912c Revert "Move init.test.el into core/autoload/test.el"
This reverts commit 3bfb7fa17d.
2018-02-03 22:46:18 -05:00
Henrik Lissner
e2a6028643
Add docstring to doom/toggle-profiler 2018-02-03 22:41:34 -05:00
Henrik Lissner
c5837440d6
Refactor kill-this-buffer advice
And prevent it from switching to fallback buffer too early. Again.
2018-02-03 22:36:48 -05:00
Henrik Lissner
ee24aba034
Fix whitespace inconsistencies in doom/info 2018-02-03 22:35:40 -05:00
Henrik Lissner
3830a8aba1
feature/workspaces: fix infinite recursion in buffer-predicate #399
By refactoring so that the middle-man buffer predicate wasn't necessary.
2018-02-03 18:06:47 -05:00
Henrik Lissner
76a1e8a279
Fix theme/font init in daemon Emacs
Possibly addresses #399 and #400
2018-02-03 17:58:10 -05:00
Henrik Lissner
3bfb7fa17d
Move init.test.el into core/autoload/test.el 2018-02-03 03:30:49 -05:00
Henrik Lissner
b40924a80b
core-os: add IS-WINDOWS & w32-get-true-file-attributes = nil
First step in a long journey towards Windows support.
2018-02-02 23:45:54 -05:00
Henrik Lissner
1dfe6c472a
Rewrite doom/info for concise debug output 2018-02-02 23:44:09 -05:00
Henrik Lissner
160902bd18
Remove doom/toggle-fullsreen; redundant with toggle-frame-fullscreen 2018-02-02 20:47:34 -05:00
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