Commit graph

8344 commits

Author SHA1 Message Date
Henrik Lissner
cb5c9cc9ea
Don't autoformat emacs-lisp-mode buffers on save
This is much too unpredictable, considering the variable nature of elisp
indentation, and the possibility that certain functions and their indent
behavior may not be defined/declared when the file is being formatted.
2018-08-29 12:46:24 +02:00
Henrik Lissner
902386b60f
Fix file-missing error during patch-macos
Forgot to add Emacs.app to the end of the directories to be searched!
Whoops!
2018-08-29 12:44:09 +02:00
Patrick Elliott
10a1e46bf5
Added deft and coq modules 2018-08-29 11:03:28 +02:00
Henrik Lissner
cab0ee33d1
ui/treemacs: fix SPC o P (treemacs-find-file)
Would create a blank treemacs window when invoked before a treemacs
window was first initialized.
2018-08-29 02:16:06 +02:00
Henrik Lissner
be8eedc296
Fix lost window state when toggling popups
Replaces af045213 with a method for preserving popup state.
2018-08-29 02:16:06 +02:00
Henrik Lissner
d6695d4cf3
Update doom/toggle-line-numbers #847
Now that display-line-numbers-mode has been backported to Emacs 25, we
can use it instead of interacting with nlinum directly.
2018-08-29 02:15:51 +02:00
Henrik Lissner
a57c0fbede
feature/lookup: remove devdocs support (for now)
devdocs-lookup is broken at the moment. devdocs search is still
available through +lookup/online as a provider however. This may be
reversed later, when (and if) we find a better devdocs backend.
2018-08-28 20:52:27 +02:00
Henrik Lissner
5021b0dbb6
completion/helm: fix undefined helm/grep* 2018-08-28 19:35:56 +02:00
Henrik Lissner
9ee1d8d0e2
Set indent function for dispatcher! macro 2018-08-28 19:14:18 +02:00
Henrik Lissner
ef6e09dac9
Search for Emacs.app in /usr/local/opt
And refactors doom-patch-macos function, its dispatcher, and its usage
in doom-quickstart.
2018-08-28 19:13:34 +02:00
Henrik Lissner
2b560a6a0e
General & minor refactoring 2018-08-28 13:36:44 +02:00
Henrik Lissner
ed0cbc1323
editor/format: fix format-all-probe check
Returns '(nil nil) when there is no formatter for the current mode. This
is truthy, so we needed a better check.
2018-08-28 13:35:03 +02:00
Henrik Lissner
e866fc46aa
ui/treemacs: make hl-line stand out more #846
By remapping it to the region face. Perhaps another face would be a
better fit?
2018-08-28 13:30:51 +02:00
Henrik Lissner
d0295a26d4
ui/treemacs: show only one project #846
If you use +treemacs/toggle.
2018-08-28 13:28:01 +02:00
Henrik Lissner
e932c74758
editor/format: don't move cursor on format-on-save
Also renames +format|on-save to +format|buffer for clarity. It should
not (normally) be used directly. Use `+format|enable-on-save-maybe` and
`+format|enable-on-save`.
2018-08-28 12:02:56 +02:00
Patrick Elliott
686929ad7a
Adds a default binding for deft under notes 2018-08-28 11:43:00 +02:00
Ben Johnson
eed835b7cc
Fix typo in ivy/README.org
Wrong command was listed in the table
2018-08-27 22:49:57 -07:00
Henrik Lissner
ee4d317293
lang/latex: improve smartparens compatiblity
Also fixes special quote insertion (mentionde in #485)
2018-08-28 01:27:56 +02:00
Martin Øinæs Myrseth
a4250afb49 lang/org: Add evil-friendly calendar navigation 2018-08-27 23:55:22 +02:00
Henrik Lissner
e73e28a360
Add .directory to .gitignore #841 2018-08-27 21:33:00 +02:00
Henrik Lissner
9b84d800f3
Make numbered vim markers global
In evil, registers 2-9 are buffer-local. In vim, they're global. This
fixes that.
2018-08-27 21:25:52 +02:00
Henrik Lissner
bd7f1f6d17
Fix wrong-type-arg on project switch #836
A regression caused by e40a58c4, which made +workspace-new return
something other than a perspective struct.
2018-08-27 20:07:17 +02:00
Henrik Lissner
6318572d10
Fix invalid marker in doom/window-enlargen #825 2018-08-27 20:07:17 +02:00
Henrik Lissner
e836ea8803
Merge pull request #835 from patrl/deft
:ui deft
2018-08-27 15:55:54 +02:00
Patrick Elliott
b3e08970d0 Merge branch 'deft' of https://github.com/patrl/doom-emacs into deft 2018-08-27 15:38:05 +02:00
Patrick Elliott
8508e931ca
Move to :ui 2018-08-27 15:37:29 +02:00
Patrick Elliott
953906ccdb
Terminator triggers evaluation 2018-08-27 15:35:18 +02:00
Patrick Elliott
f6e9b943fd
Change ref function 2018-08-27 14:11:14 +02:00
Henrik Lissner
d57588771f
Use set-evil-initial-state! instead of a hook 2018-08-27 14:08:27 +02:00
Patrick Elliott
5492315053
Added lookup handlers 2018-08-27 13:57:00 +02:00
Patrick Elliott
d9f819dac4
Only make company features conditional 2018-08-27 12:57:07 +02:00
Henrik Lissner
c91d52a1ff
Merge pull request #837 from patrl/removeHindent
Removed hindent (included in format-all)
2018-08-27 12:33:36 +02:00
Patrick Elliott
9b3442edae
Removed hindent (included in format-all) 2018-08-27 12:05:03 +02:00
Henrik Lissner
98b5c95ee5
editor/format: add +format|enable-on-save alias 2018-08-27 10:30:31 +02:00
Henrik Lissner
a005fed274
Fix symlinks in modeline path segment
This would cause a lot of ../'s when opening a symlinked file.
2018-08-27 03:32:42 +02:00
Henrik Lissner
3e7f1ccf4f
Fix reference to doom-narrow-buffer
This was renamed to doom/clone-and-narrow-buffer at some point.
2018-08-27 03:25:49 +02:00
Henrik Lissner
16d7b552f1
Bind M-` to other-frame on MacOS 2018-08-26 22:43:28 +02:00
Henrik Lissner
381851aab6
Prevent wrong-type error on +company/complete 2018-08-26 22:02:35 +02:00
Henrik Lissner
3b69045ed4
editor/format: add +format|on-save buffer-locally 2018-08-26 17:31:14 +02:00
Henrik Lissner
f1460ff592
editor/format: don't move cursor on save 2018-08-26 17:26:54 +02:00
Henrik Lissner
af045213e3
Preserve window state when toggling popups
e.g. size
2018-08-26 17:24:27 +02:00
Patrick Elliott
1655e84de2
Added rudimentary readme 2018-08-26 16:51:38 +02:00
Patrick Elliott
3f3b00dde2
Basic deft module 2018-08-26 16:41:38 +02:00
Henrik Lissner
d8fa5f39ad
Omit undefined/disable keybinds in which-key
This is for commands in disabled modules. This does not disable their
keybinds, but it stops them from showing up in which-key.
2018-08-26 16:38:35 +02:00
Henrik Lissner
1ed8894826
+workspace/delete: error if workspace doesn't exist 2018-08-26 14:14:53 +02:00
Henrik Lissner
e40a58c423
Optimize +workspace-new & workspace creation
This is much faster than the old method of switching to the persp to
modify them.
2018-08-26 14:12:50 +02:00
Henrik Lissner
d7e4901bda
Disable bottom-up root search if HOME is a project #833 2018-08-26 12:19:47 +02:00
Henrik Lissner
247b219ea1
doom-project-find-file: set default-directory too #833
Be extra sure!
2018-08-26 12:00:13 +02:00
Henrik Lissner
1a6ee8e0df
Fix doom-project-find-file if $HOME is a repo #833
If HOME is a repo, projectile resolves all project roots to HOME. This
fixes any commands that rely on this project resolution by explicitly
telling them what project they're in instead.
2018-08-26 11:47:04 +02:00
Henrik Lissner
300181aba3
Move custom hooks in core.el closer to top
Conform to the Doom/lisp convention of defining customizable elements
close to the top of files.
2018-08-26 00:20:18 +02:00