Commit Graph

59 Commits

Author SHA1 Message Date
Henrik Lissner
58b2605215
ui/doom-dashboard: fix 'last pwd policy 2017-12-28 19:58:27 -05:00
Henrik Lissner
538e4c52bd
ui/doom-dashboard: fix edge cases where cwd wasn't set properly 2017-12-27 21:00:03 -05:00
Henrik Lissner
86f445d6a1
ui/doom-dashboard: only set last-cwd in real buffers 2017-12-27 17:12:50 -05:00
Henrik Lissner
6c3d7ad7c7
ui/doom-dashboard: expand string +doom-dashboard-pwd-policy #309 2017-12-27 17:11:59 -05:00
Henrik Lissner
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
Henrik Lissner
b5cb8a0527
Disable show-trailing-whitespace in doom dashboard #297 2017-12-25 19:09:55 -05:00
Henrik Lissner
1873a48e71
ui/doom-dashboard: fix trailing highlights in whitespace-mode #297 2017-12-22 16:33:43 -05:00
Henrik Lissner
317536a02a
ui/doom-dashboard: use doom--package-load-path to count packages 2017-12-22 16:26:08 -05:00
Henrik Lissner
f8e8dbad8f
General minor refactor 2017-12-08 23:14:12 -05:00
Henrik Lissner
8ce10af094
New variable: +doom-dashboard-inhibit-functions 2017-10-02 19:59:18 +02:00
Henrik Lissner
b7ca13f45d
Move dashboard modeline setup to ui/doom-modeline 2017-09-29 04:00:42 +02:00
Henrik Lissner
d5fe8128aa
Add org-agenda-list button to dashboard 2017-09-29 02:43:33 +02:00
Henrik Lissner
a07b10e686
dashboard: general refactor & minor visual tweaks 2017-09-29 02:43:33 +02:00
Henrik Lissner
6259ba9114
Dynamic vertical alignment of the dashboard #192 2017-09-29 02:43:01 +02:00
Henrik Lissner
27b1d08c19
Show DOOM in dashboard mode-line 2017-09-29 02:41:21 +02:00
Henrik Lissner
474f330cd4
Use doom-emacs-dir as dashboard's default directory 2017-09-26 19:35:44 +02:00
Henrik Lissner
582e69db05
Move vi-tilde-fringe to new ui/vi-tilde-fringe module 2017-09-24 17:10:48 +02:00
Henrik Lissner
fd0b9c8673
Reload dashboard windows on focus-in 2017-09-13 20:16:00 +02:00
Henrik Lissner
4f7ce35424
doom-dashboard: improve margin resetting 2017-09-13 20:15:46 +02:00
Henrik Lissner
f7e737c1f1
doom-dashboard: refactor 2017-09-13 20:11:16 +02:00
Henrik Lissner
a6199b1ed2
Use left-margin to center dashboard elements #192 2017-09-09 18:39:17 +02:00
Henrik Lissner
1d15a22bc3
Rix 'reload last session' button on dashboard 2017-07-26 15:45:01 +02:00
Henrik Lissner
903f5b1a80
New function: doom|disable-vi-tilde-fringe 2017-07-19 00:25:05 +02:00
Henrik Lissner
e6658b7d8e
General minor refactor 2017-07-19 00:25:05 +02:00
Henrik Lissner
6569246067
Force refresh dashboard on kill-buffer-query 2017-07-05 12:26:11 +02:00
Henrik Lissner
8f22c64e80
ui/doom-dashboard: minor refactor 2017-06-28 16:30:53 +02:00
Henrik Lissner
c493ad80f4
ui/doom-dashboard: refactor 2017-06-25 02:01:05 +02:00
Henrik Lissner
e595f20cd0
Fix dashboard opening over files via emacsclient
Fixes #119
2017-06-25 02:00:01 +02:00
Henrik Lissner
3e769dc43f
Add gg/G & N/P keybindings to dashboard 2017-06-16 02:10:33 +02:00
Henrik Lissner
2dc6ea0f53
Refactor +doom-dashboard-reload 2017-06-16 00:43:19 +02:00
Henrik Lissner
a3adc1de29
Fix dashboard in daemon/clients (#111) 2017-06-16 00:12:15 +02:00
Henrik Lissner
c50888a83a
Inhibit doom-dashboard in noninteractive session 2017-06-14 21:15:20 +02:00
Henrik Lissner
816df321a5
General refactor & cleanup 2017-06-14 21:15:19 +02:00
Henrik Lissner
732dee608a
Stability/error-handling refactor (part 1)
This refactor is about improving how Emacs deals with errors.

A large net is now cast at startup to catch possible errors, produce
more helpful error messages, and localize the damage. Significantly
reducing the risk of later modules not loading (and leaving you
stranded in a half-broken Emacs session).

The DOOM core files are an exception. If something messes up in there,
it *should* choke.

+ use-package will now report missing packages or slow-loading/broken
  def-package! configurations.
+ Persp-mode no longer (inadvertantly) hides buffers that pop up at
  startup, like the *Warnings*, *Backtrace* or debugger buffers.
+ `make autoloads` (or doom/reload-autoloads) now produces a slightly
  more informative error message if an error occurs while building the
  autoloads file.
+ Error handling for package management is *slightly* better now; error
  messages now include the type of error; this needs work.
2017-06-14 21:15:19 +02:00
Henrik Lissner
042da73d5d
Initialize doom-init-time a little sooner (#106) 2017-06-12 15:13:30 +02:00
Henrik Lissner
58b77716c9
Move all-the-icons to core-ui 2017-06-09 01:09:19 +02:00
Henrik Lissner
c7254e7bdc
Major optimization refactor, across the board
+ enable lexical-scope everywhere (lexical-binding = t): ~5-10% faster
  startup; ~5-20% general boost
+ reduce consing, function calls & garbage collection by preferring
  cl-loop & dolist over lambda closures (for mapc[ar], add-hook, and
  various cl-lib filter/map/reduce functions) -- where possible
+ prefer functions with dedicated opcodes, like assq (see byte-defop's
  in bytecomp.el for more)
+ prefer pcase & cond (faster) over cl-case
+ general refactor for code readability
+ ensure naming & style conventions are adhered to
+ appease byte-compiler by marking unused variables with underscore
+ defer minor mode activation to after-init, emacs-startup or
  window-setup hooks; a customization opportunity for users + ensures
  custom functionality won't interfere with startup.
2017-06-09 00:47:45 +02:00
Henrik Lissner
6b5f0af985 Make dashboard more vanilla Emacs friendly 2017-05-25 12:12:15 +02:00
Henrik Lissner
0f625d79fa ui/doom-dashboard: adjust vertical alignment 2017-04-26 23:30:02 -04:00
Henrik Lissner
46cbbb6212 ui/doom-dashboard: lock user in normal mode 2017-04-26 01:52:41 -04:00
Henrik Lissner
77831ec35c ui/doom-dashboard: j/k = jumps between buttons, add more buttons, remove clear-on-insert 2017-04-26 01:43:39 -04:00
Henrik Lissner
8e7aa152bb doom-modeline no longer errors out, in case a modeline doesn't exist; add doom-set-modeline 2017-04-25 18:25:54 -04:00
Henrik Lissner
b47b951a41 Make config more emacsclient-friendly 2017-04-22 01:49:15 -04:00
Henrik Lissner
5ae94b765c PRAISE BE TO THE BYTE COMPILER FOR THY SHARP QUOTES 2017-04-17 02:17:10 -04:00
Henrik Lissner
db7cf68775 General tweaks 2017-03-19 22:50:57 -04:00
Henrik Lissner
e4b5cf5a56 ui/doom-dashboard: don't display dashboard if passed files (e.g. emacs file1.py) 2017-03-18 12:15:50 -04:00
Henrik Lissner
f156f62479 Refactor kill-buffer-query-functions functions 2017-03-15 22:59:49 -04:00
Henrik Lissner
8c9269c9a2 General cleanup + refactor 2017-03-15 22:42:05 -04:00
Henrik Lissner
e56cb65ca0 ui/doom-dashboard: fix max-specpdl-size error on macos 2017-03-07 00:23:23 -05:00
Henrik Lissner
a0305418ae Remove f.el references 2017-02-25 02:11:24 -05:00