Henrik Lissner
cacc4a0ff7
Only trigger property indent correction in plists
...
Before
(defcli! :main
()
...)
After
(defcli! :main
()
...)
2020-05-05 03:31:43 -04:00
Henrik Lissner
03ecfed1a7
Fix RET indent of elisp forms following properties
...
Only affects newline-and-indent, not reindent commands.
Before:
(list :a 1
:b 2
:c 3)
After:
(list :a 1
:b 2
:c 3)
This could use some refactoring...
2020-05-01 02:18:26 -04:00
Henrik Lissner
a634e2c812
Indent elisp plists more sensibly
2020-04-30 15:54:36 -04:00
Henrik Lissner
106f3324e8
Fix over-aggressive pin truncation
...
Would truncate the rest of the buffer in some cases.
2020-04-30 02:31:51 -04:00
Henrik Lissner
45cdfb1258
Bump :core
...
spudlyo/clipetty@7ee3f9c -> spudlyo/clipetty@01b3904
bbatsov/projectile@eec569d -> bbatsov/projectile@5cd261d
noctuid/general.el@14ad4c8 -> noctuid/general.el@42e3803
We're also transitioning from abbreviated SHA1 hashes to full ones,
because underlying git machinery in future updates of straight will
require it (e.g. to obtain shallow clones of pinned packages).
2020-04-29 23:48:21 -04:00
Henrik Lissner
06d5d5e6c0
General refactors, reformatting & comment revision
2020-04-23 23:56:17 -04:00
Henrik Lissner
1bc65ab980
Bump :lang emacs-lisp
...
jorgenschaefer/emacs-buttercup@b360e35 -> jorgenschaefer/emacs-buttercup@a91f282
xuchunyang/elisp-demos@0d74766 -> xuchunyang/elisp-demos@57dd4ae
2020-04-17 22:11:55 -04:00
Henrik Lissner
b78fc4eb76
Minor refactor & reformatting across the board
2020-04-08 15:30:10 -04:00
Henrik Lissner
7e40c1ebe3
Fix #2752 : self-aborting company-box/docs
2020-04-02 00:46:58 -04:00
Henrik Lissner
0fa93a089f
Bump :lang
...
Alexander-Miller/company-shell@HEAD -> Alexander-Miller/company-shell@52f3bf2
FStarLang/fstar-mode.el@HEAD -> FStarLang/fstar-mode.el@aaaf256
JuliaEditorSupport/julia-emacs@5238f9a -> JuliaEditorSupport/julia-emacs@1c122f1
Kungsgeten/org-brain@6b7fced -> Kungsgeten/org-brain@cae8e22
OVYA/php-cs-fixer@6540006 -> OVYA/php-cs-fixer@95eace9
ProofGeneral/PG@2a17093 -> ProofGeneral/PG@9196749
aaronjensen/eslintd-fix@98c669e -> aaronjensen/eslintd-fix@0c43114
abicky/nodejs-repl.el@8b90948 -> abicky/nodejs-repl.el@6fad7d7
abo-abo/org-download@3c48102 -> abo-abo/org-download@b96fd7b
agda/agda@74d9fd5 -> agda/agda@ff9173e
alf/ob-restclient.el@c5c22e6 -> alf/ob-restclient.el@f7449b2
ananthakumaran/tide@1878a09 -> ananthakumaran/tide@3b45610
bastibe/org-journal@9d40f62 -> bastibe/org-journal@664c08e
brotzeit/rustic@373f5a1 -> brotzeit/rustic@61032ea
clojure-emacs/cider@7437c67 -> clojure-emacs/cider@52dcc60
clojure-emacs/clj-refactor.el@e24ba62 -> clojure-emacs/clj-refactor.el@92d3723
cpitclaudel/company-coq@6e8bc2e -> cpitclaudel/company-coq@f9dba9d
cython/cython@f6bf6aa -> cython/cython@48dc1f0
defunkt/coffee-mode@86ab8aa -> defunkt/coffee-mode@35a41c7
dgutov/robe@8190cb7 -> dgutov/robe@68503b3
diml/utop@7c99d8c -> diml/utop@30c77ce
dzop/emacs-jupyter@d4b06c5 -> dzop/emacs-jupyter@de7af25
emacs-ess/ESS@a2be8cb -> emacs-ess/ESS@625041a
emacs-lsp/lsp-haskell@6d481f9 -> emacs-lsp/lsp-haskell@582fa27
emacs-lsp/lsp-java@dbeeee9 -> emacs-lsp/lsp-java@6efb741
emacs-php/php-mode@cade4ce -> emacs-php/php-mode@b5d9988
emacs-php/phpactor.el@5ccf65d -> emacs-php/phpactor.el@31fe2ea
emacs-php/phpactor.el@5ccf65d ) -> emacs-php/phpactor.el@31fe2ea )
emacs-straight/csv-mode@fbf942e -> emacs-straight/csv-mode@6353374
emacs-straight/org-mode@0a8faec -> emacs-straight/org-mode@ba68555
emacs-typescript/typescript.el@a0f2c3e -> emacs-typescript/typescript.el@102587e
emacsorphanage/gnuplot@a406143 -> emacsorphanage/gnuplot@f0001c3
erlang/otp@c15eb5f -> erlang/otp@3065fbf
factor/factor@a62ea78 -> factor/factor@497d649
felipeochoa/rjsx-mode@014c760 -> felipeochoa/rjsx-mode@0061587
fxbois/web-mode@d1b6660 -> fxbois/web-mode@b0bb4ab
greghendershott/racket-mode@5f396fa -> greghendershott/racket-mode@bd4c8cf
haskell/haskell-mode@4a87d72 -> haskell/haskell-mode@7032966
jaor/geiser@645e477 -> jaor/geiser@83ad875
joaotavora/sly@cfecd21 -> joaotavora/sly@1382bda
jorgenschaefer/emacs-buttercup@178c795 -> jorgenschaefer/emacs-buttercup@b360e35
leanprover/lean-mode@f26e40d -> leanprover/lean-mode@65b55b1
leanprover/lean-mode@f26e40d -> leanprover/lean-mode@65b55b1
ledger/ledger-mode@a514953 -> ledger/ledger-mode@7d78645
mgyucht/jsonnet-mode@2b90b4e -> mgyucht/jsonnet-mode@d8b486c
necaris/conda.el@814439d -> necaris/conda.el@335474e
nonsequitur/inf-ruby@e4ae089 -> nonsequitur/inf-ruby@41e5ed3
ocaml-ppx/ocamlformat@dba4487 -> ocaml-ppx/ocamlformat@5282e04
ocaml/dune@f3df7ab -> ocaml/dune@1944d0f
ocaml/merlin@f6954e9 -> ocaml/merlin@37e38e4
polymode/poly-R@0443c89 -> polymode/poly-R@51ffeb6
polymode/polymode@3eab3c9 -> polymode/polymode@44265e3
purcell/flycheck-ledger@2065bea -> purcell/flycheck-ledger@628e25b
purescript-emacs/psc-ide-emacs@2a93944 -> purescript-emacs/psc-ide-emacs@7fc2b84
s-kostyaev/ivy-erlang-complete@7d60ed1 -> s-kostyaev/ivy-erlang-complete@c443dba
seagle0128/grip-mode@1a61bb7 -> seagle0128/grip-mode@9615c47
skeeto/skewer-mode@123215d -> skeeto/skewer-mode@e5bed35
tpapp/julia-repl@b11a572 -> tpapp/julia-repl@5fa04de
wwwjfy/emacs-fish@688c82d -> wwwjfy/emacs-fish@db257db
xuchunyang/elisp-demos@bec206b -> xuchunyang/elisp-demos@0d74766
yjwen/org-reveal@0d947cb -> yjwen/org-reveal@ea8b502
2020-03-27 16:57:56 -04:00
yoavm448
f543ed8c2e
Set elisp lookup for helpful-mode
2020-02-26 23:29:32 +02:00
Henrik Lissner
bd944634bc
Fix defadvice! functions omitted from elisp imenu
2020-02-21 10:42:33 -05:00
Henrik Lissner
1910453e29
The byte-compiler ate my baby
2020-02-06 16:55:27 -05:00
Henrik Lissner
a9402cfb55
Fix #2373 : bring back package pinning
...
This needs some serious refactoring...
2020-01-25 19:02:00 -05:00
Henrik Lissner
4cc14389e8
PIN ALL THE PACKAGES
2020-01-14 22:32:11 -05:00
Henrik Lissner
12094788d7
Fix references to :tools fly{spell,check}
2020-01-14 03:04:26 -05:00
Henrik Lissner
d47bc06ab4
Fix K on modules with no readme
2020-01-12 22:35:03 -05:00
Henrik Lissner
29250133e8
Replace doom/describe-symbol w/ helpful-symbol
...
And helpful-at-point.
2020-01-11 17:21:35 -05:00
Henrik Lissner
062cc4aea5
Notify straight that package was modified
...
When you edit its files.
2020-01-06 22:49:54 -05:00
Henrik Lissner
5929e5b75a
Add undefadvice! macro for rotate-text convenience
2020-01-01 19:34:33 -05:00
Henrik Lissner
e5fa19ea2d
lang/emacs-lisp: fix wrong-num-args error on doc lookup
2019-12-27 04:44:20 -05:00
Henrik Lissner
fe1642e854
Add special goto def/docs support in doom! blocks
...
- Pressing gd on a module in your doom! block will now browse that
module's directory.
- Pressing K on a module will jump to that module's documentation, if any.
- Pressing K on a module flag will jump to that flag's description
within that module's documenation.
- This is now explained in init.example.el
Closes #2249
2019-12-26 01:41:45 -05:00
Henrik Lissner
213a6fda86
General refactors & reformatting
2019-12-22 23:53:04 -05:00
Henrik Lissner
322bca710a
General refactors & reformatting
2019-12-20 00:59:52 -05:00
Henrik Lissner
5623b8b9ba
lang/emacs-lisp: refactor +emacs-lisp-eval
2019-11-24 19:40:00 -05:00
Henrik Lissner
768d5b718c
Fix #2111 : +eval/buffer not capturing whole elisp buffer
2019-11-24 16:50:46 -05:00
Henrik Lissner
ccf7197acf
lang/emacs-lisp: print string repr of evaluated result
...
This makes the return type of the evaluated result clearer at a glance.
2019-10-26 23:44:29 -04:00
Henrik Lissner
84a063ca78
tools/eval: add +overlay feature
...
Now, inline evaluation will display results in an overlay next to the
cursor, rather than in the minibuffer (unless it gets too big, in which
case it'll use a popup buffer).
2019-10-26 02:12:58 -04:00
Henrik Lissner
4478fceaf5
lang/emacs-lisp: add 'SPC m e l' & 'SPC m g l'
...
For loading libraries and jumping to their source code.
2019-10-25 20:25:20 -04:00
Henrik Lissner
e6094f262f
lang/emacs-lisp: don't resize non-output windows
2019-10-23 18:30:03 -04:00
Henrik Lissner
373d920715
lang/emacs-lisp: resize eval popup to fit contents
2019-10-22 19:57:57 -04:00
Henrik Lissner
e31f51e0ba
lang/emacs-lisp: recreate output popup on eval
...
If we don't, the popup doesn't resize itself if the contents shrink or
grow.
2019-10-22 00:34:16 -04:00
Henrik Lissner
bdd9d91f72
lang/emacs-lisp: remove extraneous macrostep keybind
...
`e` is more than enough
2019-10-20 10:58:53 -04:00
Henrik Lissner
ec4d144edd
lang/emacs-lisp: fix syntax error
...
Due to extra parenthesis.
2019-10-17 02:53:44 -04:00
Henrik Lissner
2485cac2e0
lang/emacs-lisp: refactor eval handler
...
pp-eval-expression does much of what +emacs-lisp-eval used to do.
2019-10-17 02:53:44 -04:00
Henrik Lissner
8cd9f2281b
Refactor ielm syntax highlighting
2019-10-17 01:53:14 -04:00
Rudi Grinberg
a616e1f6ba
Add syntax highlighting to ielm buffers
...
Taken from http://www.modernemacs.com/post/comint-highlighting/
Signed-off-by: Rudi Grinberg <rudi.grinberg@gmail.com>
2019-10-13 15:17:16 +09:00
Henrik Lissner
051bceb0a8
Refactor localleader keybinds #1270
...
Introduces a select few of the localleader keybind standards proposed in
issue #1270 , corrects a few typos and introduces more localleader
keybinds in general.
Co-authored-by: yuhan0 <>
2019-10-04 22:04:47 -04:00
Rudi Grinberg
1ffaa699f8
Fix naming convention
...
Signed-off-by: Rudi Grinberg <rudi.grinberg@gmail.com>
2019-09-19 23:01:08 +09:00
Rudi Grinberg
46c0ec0f11
[emacs lisp] Add bindings for debugging defuns
...
`, d f` - turn on debugging for defun
`, d F` - turn off debugging for defun
Signed-off-by: Rudi Grinberg <rudi.grinberg@gmail.com>
2019-09-19 13:58:16 +09:00
Henrik Lissner
31ccd9be78
Replace vestigial references to def-package!
...
def-package! is deprecated and is replaced with use-package! to reduce
confusion about its purpose and connection to use-package.
2019-09-13 22:00:34 -04:00
Henrik Lissner
1539387747
Reformat docs/api.org
2019-09-07 19:57:58 -04:00
Henrik Lissner
7c6e871035
lang/emacs-lisp: add buttercup-run-project command
...
And replace non-interactive buttercup-run-discover.
2019-07-27 13:06:43 +02:00
Henrik Lissner
a3e262c7ac
💥 Refactor add-hook! macro & change arg order
...
This update may potentially break your usage of add-hook! if you pass
the :local or :append properties to it. This is how they used to work:
(add-hook! :append 'some-mode-hook #'do-something)
Thsoe properties must now follow the hooks, e.g.
(add-hook! 'some-mode-hook :append #'do-something)
Other changes:
- Various add-hook calls have been renamed to add-hook! because I
incorrectly assumed `defun` always returned its definition's symbol,
when in fact, its return value is "undefined" (so sayeth the
documentation). This should fix #1597 .
- This update adds the ability to add multiple functions to hooks
without a list:
(add-hook! 'some-mode-hook
#'do-something
#'do-something-else)
- The indentation logic has been changed so that consecutive function
symbols at indented at the same level as the first argument, but forms
are indent like a defun.
(add-hook! 'some-mode-hook
#'do-something
#'do-something-else)
(add-hook! 'some-mode-hook
(message "Hello"))
2019-07-26 20:17:29 +02:00
Henrik Lissner
6a9a127b0f
lang/emacs-lisp: add popup rule for buttercup results
2019-07-26 13:59:52 +02:00
Henrik Lissner
a47351c58f
lang/emacs-lisp: add test localleader keys for buttercup
2019-07-26 03:12:06 +02:00
Henrik Lissner
017aa6a9f7
editor/rotate-text: conform to hook conventions
...
And add it<->xit and describe<->xdescribe rotate-text patterns (for
buttercup tests).
2019-07-24 22:13:19 +02:00
Henrik Lissner
82ae3a73f3
def-advice!->defadvice! & conform to new advice conventions
...
This commit does two things:
- Renames def-advice! to defadvice!, in the spirit of naming convenience
macros after the function/macro they enhance or replace.
- Correct the names of advice functions to indicate visibility and
intent. A public advice function like doom-set-jump-a is meant to be
used elsewhere. A private one like +dired--cleanup-header-line-a
shouldn't -- it likely won't work anywhere but the function(s) it was
made to advise.
2019-07-23 17:24:56 +02:00
Henrik Lissner
76cacb5bfe
💥 Rename def-package! -> use-package!
...
Calling this pivotal macro "def-package!" has frequently been a source
of confusion. It is a thin wrapper around use-package, and it should be
obvious that it is so. For this reason, and to match the naming
convention used with other convenience macros/wrappers, it is now
use-package!.
Also changes def-package-hook! -> use-package-hook!
The old macros are now marked obsolete and will be removed when straight
integration is merged.
2019-07-23 12:50:45 +02:00
Henrik Lissner
c795a988e6
Conform many modules to new conventions
2019-07-23 12:30:47 +02:00