Henrik Lissner
c990c50fb8
Force straight to fall back to tty prompts
...
Otherwise it tries to use popups, which are invisible in non-interactive
Emacs, causing Emacs to block indefinitely.
2019-10-26 00:35:47 -04:00
Henrik Lissner
9f8277b2c4
Correct doom/reload-autoloads docstring
2019-10-25 20:25:20 -04:00
Henrik Lissner
9936bd9623
Add 'SPC h d {k,i,c}'
...
For jumping to init.el, config.el and packages.el
2019-10-25 20:25:20 -04:00
Henrik Lissner
641d4a1b71
Fix ':built-in prefer' in package!
...
It was treating 'prefer as truthy, thus preventing packages with it from
being installed (like so-long).
2019-10-25 04:00:49 -04:00
Henrik Lissner
f516d4c342
Fix package! mutating package state at expansion time
...
Fixes an issue where package! declarations were read unconditionally at
compile time, whether or not they were on a reachable code path. e.g.
evil is always disabled by:
(when nil
(package! evil :disable t))
2019-10-25 02:38:15 -04:00
Henrik Lissner
ee80ed680c
Defer evaluation of custom-set-faces!'s arguments
...
...until the theme has first loaded.
You'll need to set `doom-theme` to nil if you want to use this macro
without a theme!
2019-10-24 19:43:10 -04:00
Henrik Lissner
d5548e5994
Remove osx-clipboard package
...
Forgot to remove it in f34c33aa0
2019-10-23 22:13:45 -04:00
Henrik Lissner
f34c33aa07
Fix clipboard in tty Emacs
...
xclip has support for a number of clipboard programs (xclip, xsel,
pb{copy,paste}, wl-copy, termux-clipboard and getclip).
2019-10-23 05:05:45 -04:00
Henrik Lissner
f4acb3cefd
New add-load-path! convenience macro
2019-10-23 04:24:06 -04:00
Henrik Lissner
e1622142ed
Minor, general refactors
2019-10-23 03:57:48 -04:00
Rudi Grinberg
ac58eaf031
Add comment to search loaded .el files
...
Signed-off-by: Rudi Grinberg <rudi.grinberg@gmail.com>
2019-10-23 14:41:12 +09:00
Henrik Lissner
0df480bf85
Bind 'SPC h d l' for text-searching load-path
...
Co-authored-by: Rudi Grinberg <139003+rgrinberg@users.noreply.github.com>
2019-10-23 00:51:09 -04:00
Henrik Lissner
8cedbc3b5d
Prioritize fdfind over fd #1931
...
Since fd is used by another program on Ubuntu.
2019-10-22 12:40:30 -04:00
Henrik Lissner
6e6672b135
Disable read-only-mode in so-long-minor-mode
2019-10-22 12:36:43 -04:00
Henrik Lissner
e0469e14c0
Minor refactors & reformatting across the board
2019-10-20 19:57:27 -04:00
Henrik Lissner
a8cc68e00b
Add doom/homepage command
...
Not that the site exists yet, but I'm tired of having all these tidbits
of uncommitted code laying about. It'll exist eventually!
2019-10-20 15:14:37 -04:00
Henrik Lissner
5b9b029bbf
Comment & further optimize so-long-mode
2019-10-20 10:58:53 -04:00
Henrik Lissner
634b4b2bc7
Associate *.log files with text-mode
2019-10-20 10:58:53 -04:00
Henrik Lissner
70e6c17de5
Don't autorevert if minibuffer is active
...
Some ivy/helm commands allow you to preview buffers, which is not an
appropriate time to (invisibly) revert them. The message could be missed
and expensive machinary could be triggered (e.g. updating git-gutter),
which could appear slow. Best to defer reverting until the user has
deliberately landed on the target, and is more likely to notice a revert
notification in the minibuffer.
Suggested by @flatwhatson
2019-10-20 10:58:53 -04:00
Henrik Lissner
c109acd6fd
Optimize doom-visible-buffers
...
Walking the window list is almost always faster than walking the buffer
list.
2019-10-20 10:58:53 -04:00
Henrik Lissner
7cbd6c756c
Remove projectile-add-known-project autoload
...
Merged upstream in bbatsov/projectile#1457
2019-10-20 10:58:53 -04:00
Henrik Lissner
9b25582be1
Reduce list of root files projectile searches for
...
And define them on a per-module basis. This reduces the number of file
checks it performs, particularly for non-project files.
Might help #1317
2019-10-19 22:22:49 -04:00
Henrik Lissner
c8efb45746
Add doom-{file,directory}-size file functions
2019-10-19 14:38:56 -04:00
Henrik Lissner
63c41fefcb
doom-guess-mode-h: affect interactively saved files
...
A half revert of 9b003e051
.
2019-10-19 14:18:14 -04:00
Henrik Lissner
9b003e0516
Fix doom-guess-mode-h being too aggressive
...
It would trigger set-auto-mode whenever files are written to (e.g. when
persp-mode writes its workspace/session files, which have unsafe local
variables, so the user is inundated with prompts to accept them).
Now, doom-guess-mode-h will only work on files with shebang lines.
2019-10-19 13:50:42 -04:00
Henrik Lissner
679b16a22e
Fix doom-exec-process not returning output
2019-10-19 02:34:57 -04:00
Henrik Lissner
12b276c4d6
Fix void-variable EMACS26+ issue
...
By loading core-lib a little later, for now.
2019-10-18 22:21:25 -04:00
Henrik Lissner
7b45b39860
Refactor doom-load-packages-incrementally
2019-10-18 22:09:28 -04:00
Henrik Lissner
43e8ddbc6d
Add docstrings to GC hooks
...
And correct grammar in a comment.
2019-10-18 22:09:28 -04:00
Henrik Lissner
2f4ac32b0d
Load core-lib & refactor x-win advice
2019-10-18 22:09:28 -04:00
Henrik Lissner
80532921bb
Highlight urls in buffers as links
2019-10-18 21:23:02 -04:00
Henrik Lissner
f9e25f95a8
show-paren-when-point-in-periphery = t
2019-10-18 21:10:56 -04:00
Henrik Lissner
ee5cdd13dd
Guess major-mode when saving a fundamental-mode file
2019-10-18 21:10:55 -04:00
Henrik Lissner
d987a81b33
auto-window-vscroll = nil
2019-10-18 17:23:47 -04:00
Henrik Lissner
f2cd5bdf97
Add doom-{call,exec}-process functions & let-cliopts! macro
...
Needed for 3e947d39b
and for upcoming CLI rewrite.
2019-10-17 14:38:00 -04:00
Henrik Lissner
8b57226634
doom/toggle-debug-mode: affect jka-compr-verbose & lsp-log-io
2019-10-17 02:36:19 -04:00
Henrik Lissner
323e0adf45
Minor refactors & reformatting across the board
2019-10-17 01:47:58 -04:00
Henrik Lissner
24b336322c
Fix doom/kill-buried-buffer closing windows
...
By making doom/kill-all-buffers less gung ho about deleting windows when
the buffer list is empty.
2019-10-14 18:48:42 -04:00
Henrik Lissner
88af741597
Stop auto-revert prompting for confirmation
...
I misunderstood revert-without-query.
2019-10-14 18:43:40 -04:00
Henrik Lissner
51973dca9b
Move auto-fill-mode to text-mode-hook
2019-10-14 18:25:02 -04:00
Henrik Lissner
da7aef9a4c
Move --restore handler to init.el #1893
2019-10-14 02:54:29 -04:00
Henrik Lissner
98c80ce412
Merge pull request #1889 from rgrinberg/update-projectile-function-autoload
...
Autoload projectile-locate-dominating-file
2019-10-12 23:50:58 -04:00
Rudi Grinberg
55e00bbd26
re-search-forward to search-forward when no re
...
When no regular expression is present, it's faster and simpler to use
search-forward
Signed-off-by: Rudi Grinberg <rudi.grinberg@gmail.com>
2019-10-13 12:25:41 +09:00
Rudi Grinberg
78f808d31e
Fix uses of projectile-locate-dominating-file
...
This function isn't autoloaded so we should include it in the list of
commands like some other projectile functions.
Signed-off-by: Rudi Grinberg <rudi.grinberg@gmail.com>
2019-10-13 11:37:06 +09:00
Henrik Lissner
30c091d3f5
Fix non-string args to file-exists-p! macro
2019-10-12 00:48:48 -04:00
Henrik Lissner
82167ab48a
Remove :lang vala module
...
To small to warrant a module and vala-mode is unmaintained. It's trivial
for end users to install it themselves.
2019-10-10 21:31:13 -04:00
Henrik Lissner
0fe576d104
Add more names to winner-boring-buffers
2019-10-10 16:11:42 -04:00
Henrik Lissner
a3fa1e07b1
Refactor doom/kill-*-buffer commands
2019-10-10 16:11:42 -04:00
Henrik Lissner
9e3974d2f3
doom/help-faq: restrict to second-levels headings
2019-10-10 16:11:41 -04:00
Henrik Lissner
4cafaec527
Disable projectile-grep for +{ivy,helm}/grep
2019-10-10 16:11:41 -04:00