Commit Graph

2031 Commits

Author SHA1 Message Date
3d5d1b65b3 Move misplaced doom--buffer-narrowed-origin to correct place 2018-01-03 03:32:19 -05:00
92e52fafd1 Fix expand-region misplacing cursor on cancel/C-g #317 2018-01-02 13:50:43 -05:00
fd62e8e0b1 Popups: don't dedicate window if has :same t rule #309 2018-01-01 21:48:59 -05:00
2c7c9c6d94 v2.0.9 bump 2018-01-01 21:20:49 -05:00
8134c49ec3 ibuffer-use-other-window = t (hand off to popup system)
Addresses #309
2018-01-01 17:01:23 -05:00
2b56fe081c Improve docstring for doom-real-buffer-functions 2018-01-01 16:59:42 -05:00
c9a878a62f Conform unit test macros to naming scheme 2018-01-01 16:59:30 -05:00
fd11f958f9 Move doom*quit-window to core-editor 2018-01-01 16:30:22 -05:00
eef6ed3d11 Minor, general refactor & comment updates 2018-01-01 13:21:52 -05:00
560548db33 core-projects: refactor projectile var init 2017-12-31 18:32:56 -05:00
189e401197 Refactor doom/info 2017-12-31 18:32:34 -05:00
79ca2b2911 Fix interactive usage of doom//byte-compile-core 2017-12-31 18:28:42 -05:00
9628b21d22 Fix async package functions not running from right cwd 2017-12-31 18:28:26 -05:00
5048b72c12 Add doom/info command
This copies debug information about the current session of Doom Emacs in
the clipboard, which folks can use to include system information with
their bug reports!
2017-12-31 17:49:31 -05:00
8ad2666f8f Refactor and fix unit tests, plus isolate them better 2017-12-31 14:58:45 -05:00
5c74814860 Add core-projects tests 2017-12-31 11:44:51 -05:00
3e41c11138 Refactor core-projects; fix autoload-project-mode & doom-project-hook
+ doom-project can now be a symbol or list of project modes.
+ doom-project-hook hooks are promised to receive the mode symbol and
  state, but until now only received the former.
+ Add docstrings to doom-project-{find-file,browse}.
+ doom|autoload-project-mode is now on find-file-hook instead of
  after-change-major-mode (which fires it way too many times).
2017-12-31 11:35:39 -05:00
d9175748b7 Remove (interactive) from doom-project-{find-file,browse}
These aren't meant to be interactive.
2017-12-31 11:13:58 -05:00
6d7a6a80b2 Fix projectile not tracking directories #308 2017-12-31 11:09:47 -05:00
a370b5b125 Add kill-buffer-query-fns at post-init (fix race condition) 2017-12-30 01:30:41 -05:00
ef9fc05839 Add core-ui tests 2017-12-30 01:26:46 -05:00
88946a893a Minor edits + comment out unused popup vars (for later) 2017-12-30 01:25:24 -05:00
5813b6e69a Autokill help buffers 2017-12-30 01:20:05 -05:00
9632b8c09d Flip default kill flag in quit-window #309 2017-12-30 01:19:56 -05:00
707b69540d doom/cleanup-buffers => doom/cleanup-session 2017-12-30 00:59:44 -05:00
61df57b86a Refactor core/autoload/buffers.el 2017-12-30 00:58:58 -05:00
f61d7c9e7f doom-force-kill-buffer => doom/kill-this-buffer-in-all-windows 2017-12-30 00:55:44 -05:00
6279241ec3 More reliable doom|protect-visible-buffers 2017-12-30 00:53:51 -05:00
37a07c79b7 popups: handle :autokill in a kill-buffer-query-fn 2017-12-29 22:30:34 -05:00
0c06514c6f doom-narrow-buffer renamed to doom/narrow-buffer and moved 2017-12-29 22:29:57 -05:00
02c1a78330 Add :skip support for def-test! 2017-12-29 04:17:19 -05:00
a56b2afa46 Refactor all-the-icons disabler advice 2017-12-29 01:46:20 -05:00
5c54f58ff8 protect-visible-buffers: get-buffer-window-list => get-buffer-window
The "current" window is forgotten by the time
doom|protect-visible-buffers runs, so use get-buffer-window (native
C function) to detect if another window housing this buffer exists.
2017-12-29 01:23:05 -05:00
5bd361cbc4 Stop 'Nowhere left to go!' spam; lighten up Emacs! 2017-12-28 22:08:19 -05:00
60e8f6297e doom-kill-buffer: extract protect-visible-buffers logic
Protecting buffers that were visible in other windows (burying them
instead) is not the responsibility of doom-kill-buffer. This is a job
for kill-buffer-query-functions, hence doom|protect-visible-buffers.
2017-12-28 22:06:22 -05:00
ca56d08dd9 Fix stale mode-line after switching buffers 2017-12-28 21:42:33 -05:00
fcadde3ef9 core: refactor & comment 2017-12-28 19:16:22 -05:00
a811c7ff12 core-packages: minor refactor of load! & def-package! 2017-12-28 19:15:50 -05:00
5789fb4511 Don't rerun doom init hooks on doom-reload-hook 2017-12-28 01:02:32 -05:00
8b1f8acc0d Rearrange core config, epa & authinfo bits (fix after! error) 2017-12-27 22:48:05 -05:00
13111ff5c4 Set epa-{file-encrypt-to,pinentry-mode}; no authinfo for sudo via tramp 2017-12-27 20:48:06 -05:00
59846473ca visual-fill-column: account for emacs 26 line numbers 2017-12-27 18:20:58 -05:00
9a71a73538 General, minor refactor 2017-12-27 18:19:33 -05:00
71c0c96b60 Remove unused project-root in doom--cycle-real-buffers 2017-12-27 13:36:20 -05:00
bee9259096 ui/doom-dashboard: add +doom-dashboard-pwd-policy option #309
Gives the user control over how the dashboard's default-directory is
set. The default is to set it to the project root of the last open
buffer.
2017-12-27 13:24:18 -05:00
e024144f4f Add doom-cleanup-hook to doom/cleanup-buffers 2017-12-26 19:27:14 -05:00
89f07f88c5 General & minor refactor 2017-12-23 22:13:48 -05:00
6a0e4bd0db doom-initialize-packages: reinit packages after modules 2017-12-23 16:24:43 -05:00
f9e5ef2b51 Fix recentf not excluding doom-local-dir 2017-12-23 16:15:29 -05:00
9d661ff71e Move ac-php-tags-path & recentf-save-file to doom-cache-dir 2017-12-23 14:30:36 -05:00