Commit graph

40 commits

Author SHA1 Message Date
Henrik Lissner
9e76409238
Bump :tools
DamienCassou/auth-password-store@ff4940c -> DamienCassou/auth-password-store@aa7f171
alphapapa/magit-todos@a0e5d1f -> alphapapa/magit-todos@78d24cf
charignon/github-review@e2123cc -> charignon/github-review@db72374
editorconfig/editorconfig-emacs@a6c70da -> editorconfig/editorconfig-emacs@da84471
emacs-lsp/lsp-mode@57ea180 -> emacs-lsp/lsp-mode@5005ebe
emacs-straight/project@da0333a -> emacs-straight/project@162d892
emacsorphanage/quickrun@005d269 -> emacsorphanage/quickrun@fd96577
emacsorphanage/terraform-mode@2967e7b -> emacsorphanage/terraform-mode@63fafc6
jacktasia/dumb-jump@fbbe6b0 -> jacktasia/dumb-jump@85f898e
magit/forge@031e4f0 -> magit/forge@05ef029
magit/magit@2fb3bf7 -> magit/magit@068f838
millejoh/emacs-ipython-notebook@1bfb80c -> millejoh/emacs-ipython-notebook@a019ee3
thiderman/makefile-executor.el@9a7d78f -> thiderman/makefile-executor.el@d0a34c3
tkf/emacs-request@d02d134 -> tkf/emacs-request@0183da8
yoshiki/yaml-mode@68fecb5 -> yoshiki/yaml-mode@fc5e1c5
zx2c4/password-store@06f4999 -> zx2c4/password-store@f152064
2020-11-29 14:28:47 -05:00
Henrik Lissner
86ce933fd8
Bump :tools
abo-abo/define-word@08c71b1 -> abo-abo/define-word@3af6825
brotzeit/helm-xref@6b4a8bd) -> brotzeit/helm-xref@23f1174)
charignon/github-review@fab440a -> charignon/github-review@e2123cc
cjohansson/emacs-ssh-deploy@1bb2f82 -> cjohansson/emacs-ssh-deploy@cc91b56
editorconfig/editorconfig-emacs@9bc1343 -> editorconfig/editorconfig-emacs@a6c70da
emacs-lsp/dap-mode@4b18543 -> emacs-lsp/dap-mode@400ec52
emacs-lsp/lsp-mode@65034e1 -> emacs-lsp/lsp-mode@fb4c35c
emacsorphanage/quickrun@ce7383c -> emacsorphanage/quickrun@005d269
jacktasia/dumb-jump@0d74b2f -> jacktasia/dumb-jump@fbbe6b0
k1LoW/emacs-ansible@b5ef594 -> k1LoW/emacs-ansible@cf6b8f0
magit/forge@feee7e2 -> magit/forge@031e4f0
magit/magit@321214c -> magit/magit@2fb3bf7
millejoh/emacs-ipython-notebook@99a4718 -> millejoh/emacs-ipython-notebook@1bfb80c
purcell/envrc@1dc5aad -> purcell/envrc@da8e306
realgud/realgud@332d136 -> realgud/realgud@ff66001
tumashu/posframe@7b92a54 -> tumashu/posframe@a99da9f
2020-10-11 16:21:05 -04:00
Henrik Lissner
8bbac4bfb3
Minor refactors 2020-08-08 03:06:26 -04:00
Henrik Lissner
e6417172cb
Bump :tools eval
emacsorphanage/quickrun@c6ce1f3 -> emacsorphanage/quickrun@ce7383c

Crystal support was added to quickrun upstream.
2020-08-06 00:39:43 -04:00
Andrew Whatson
59c5aaad8d Fix error when opening REPL from unsupported mode
"Wrong number of arguments: (_mode fn . plist), 0"
2020-06-19 14:26:57 +10:00
Henrik Lissner
fdf9c408e8
Bump :tools
Silex/docker.el@0874520 -> Silex/docker.el@d6233bd
editorconfig/editorconfig-emacs@19de0ec -> editorconfig/editorconfig-emacs@9a73ff7
emacs-lsp/dap-mode@8f69dc2 -> emacs-lsp/dap-mode@7ad9157
emacs-lsp/lsp-mode@81d62d5 -> emacs-lsp/lsp-mode@d5f0410
emacs-lsp/lsp-ui@271b47c -> emacs-lsp/lsp-ui@c3e7a37
emacsorphanage/quickrun@2e37ce9 -> emacsorphanage/quickrun@c6ce1f3
gilbertw1/dash-docs@111fd9b -> gilbertw1/dash-docs@dafc8fc
jacktasia/dumb-jump@d760aa8 -> jacktasia/dumb-jump@d86f59c
joaotavora/eglot@d99a447 -> joaotavora/eglot@ac9239b
magit/forge@09bf8ad -> magit/forge@6f299d2
magit/magit@b1b2683 -> magit/magit@ae82fcf
millejoh/emacs-ipython-notebook@42134ad -> millejoh/emacs-ipython-notebook@ee31cdb
paradoxxxzero/jinja2-mode@cfaa7bb -> paradoxxxzero/jinja2-mode@4540f99
tkf/emacs-request@216d570 -> tkf/emacs-request@912525c
tumashu/posframe@093b29a -> tumashu/posframe@6285217
wbolster/emacs-direnv@1daf479 -> wbolster/emacs-direnv@f5484b0
yoshiki/yaml-mode@cecf4b1 -> yoshiki/yaml-mode@34648f2
2020-06-02 19:52:42 -04:00
Henrik Lissner
40c185bd70
Bump :tools
Silex/docker.el@a2092b3 -> Silex/docker.el@0874520
emacs-lsp/dap-mode@0b9c8f2 -> emacs-lsp/dap-mode@804e364
emacs-lsp/helm-lsp@db24399 -> emacs-lsp/helm-lsp@6b5ce18
emacs-lsp/lsp-mode@4898d35 -> emacs-lsp/lsp-mode@87ea1df
emacs-straight/rainbow-mode@3ef813d -> emacs-straight/rainbow-mode@f780ddb
emacsorphanage/quickrun@50e07e7 -> emacsorphanage/quickrun@2e37ce9
magit/magit@8de6ecf -> magit/magit@d27d6e4
maxchaos/emacs-powerthesaurus@81a262e -> maxchaos/emacs-powerthesaurus@4a83478
millejoh/emacs-ipython-notebook@1322d8c -> millejoh/emacs-ipython-notebook@42134ad
politza/pdf-tools@0159cb1 -> politza/pdf-tools@d971298
realgud/realgud@b854e04 -> realgud/realgud@e03446f
tumashu/posframe@e62e584 -> tumashu/posframe@093b29a
zx2c4/password-store@88936b1 -> zx2c4/password-store@07b169e

We're also transitioning from abbreviated SHA1 hashes to full ones. See
45cdfb125 for why.
2020-04-30 01:27:58 -04:00
Henrik Lissner
566a5c8a32
Bump :tools
krzysztof-magosa/company-ansible@8d1ffbc -> krzysztof-magosa/company-ansible@79dd421
realgud/realgud@2cca776 -> realgud/realgud@94f2835
emacs-lsp/dap-mode@d10e254 -> emacs-lsp/dap-mode@e2086fc
wbolster/emacs-direnv@1f93e3f -> wbolster/emacs-direnv@1daf479
Silex/docker.el@baba7f7 -> Silex/docker.el@a2092b3
editorconfig/editorconfig-emacs@5c67d22 -> editorconfig/editorconfig-emacs@19de0ec
millejoh/emacs-ipython-notebook@b265205 -> millejoh/emacs-ipython-notebook@57e84c6
syohex/emacs-quickrun@55bbe5d -> syohex/emacs-quickrun@50e07e7
jacktasia/dumb-jump@b5185e3 -> jacktasia/dumb-jump@e8e9b0c
magit/magit@55c5c7c -> magit/magit@68b5a13
magit/forge@c2fbce6 -> magit/forge@2e2d26c
alphapapa/magit-todos@ad5663a -> alphapapa/magit-todos@a0e5d1f
charignon/github-review@3fb7cc2 -> charignon/github-review@50c6bcc
syohex/emacs-terraform-mode@6973d1a -> syohex/emacs-terraform-mode@2967e7b
2020-03-27 16:47:11 -04: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
345479c29e
Always display evaluated result in popup buffer
If +eval isn't enabled
2020-01-07 14:27:02 -05:00
Henrik Lissner
7ef3bee851
Consider eval output width when deciding how to display it
If ':tools (eval +overlay)' is enabled, eval commands display their
output in a floating overlay at EOL. If the output is longer than
+eval-popup-min-lines (5), it will display it in a popup window instead.

With this, it also will use a popup window if the output is longer than
the minibuffer can display in one line,
2019-12-28 13:53:13 -05:00
Henrik Lissner
68ffc3cf96
tools/eval: make +overlay display errors too 2019-12-22 23:53:04 -05:00
Henrik Lissner
2da7c7b168
tools/eval: make set-eval-handler! accept a list of modes
Fixes inline evaluation for emacs-lisp-mode due to 322bca7.
2019-12-20 02:34:29 -05:00
Henrik Lissner
318754c4d2
Prevent eval results from consuming > half the frame 2019-12-05 20:48:53 -05:00
Henrik Lissner
26c8f5c6ef
Bytecompiler bytecompiler, won't you shut up 2019-11-23 01:21:25 -05:00
Henrik Lissner
c30d0ab1b7
tools/eval: ensure final newline after repl input #2056
Fix an issue where the final line of send-to-repl input (via gr) isn't
consistently processed.
2019-11-17 01:15:51 -05:00
Henrik Lissner
f54d7a15cd
tools/eval: send to repl (via gr) by line #2056 2019-11-16 20:57:04 -05:00
Henrik Lissner
c2db4a8708
tools/eval: add REPL support for +eval/buffer 2019-11-15 00:17:10 -05:00
Henrik Lissner
d0a7cac3ad
Fix +eval:region sending whole buffer to REPL #1941 2019-11-12 20:22:38 -05:00
Henrik Lissner
762c374198
Rename +eval-overlay-max-lines -> +eval-popup-min-lines
Generalize variable.
2019-10-29 18:19:02 -04:00
Henrik Lissner
d2fe021bd9
tools/eval: display in minibuffer if below threshold
If it's just a couple lines, display in minibuffer instead.
2019-10-26 03:54:09 -04:00
Henrik Lissner
36c9f7c333
tools/eval: fix popup when +overlay is disabled 2019-10-26 03:53:54 -04:00
Henrik Lissner
a78e89bbf8
tools/eval: update README 2019-10-26 02:12:58 -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
a940d07e4b
tools/eval: minor refactors 2019-10-24 19:23:17 -04:00
Henrik Lissner
bcdf5eb19a
tools/eval: gr now sends to REPL if one is open #1941
And polish other evil repl commands + add docstrings.
2019-10-24 16:56:53 -04:00
Henrik Lissner
0b67251159
tools/eval: associate plist with repl handlers
Also consolidates all REPLs (opened through the :tools eval module)
under one popup rule, which inhibits ESC from prematurely closing
them (#1944), and cleans up after their buffers *only* if their handlers
weren't specified to :persist, e.g.

  (set-repl-handler! 'some-mode #'some-repl-handler :persist t)

Also standardized ESS's REPL commands.
2019-10-23 21:41:23 -04:00
Henrik Lissner
cfcaad4bfc
tools/eval: don't select window after send-to-repl #1941
Also:

- Refactors REPL logic
- Open-repl commands now copy selection to new REPL and select
  them (without executing them).
- Send-to-repl now auto-executes by default. Prefix arg = don't auto
  execute
2019-10-23 14:08:15 -04:00
Henrik Lissner
3181933ed1
Minor refactoring and reformatting 2019-10-08 17:42:36 -04:00
Henrik Lissner
bb71f591f8
tools/eval: fix void-variable term-raw-map errors 2019-10-08 17:42:36 -04:00
Henrik Lissner
1aae5c9242
tools/eval: fix extra newlines in term-char-mode REPLs #1836 2019-10-07 12:58:05 -04:00
Henrik Lissner
19ecf8e46a
Correct last inline hook defuns
See a3e262c7 for rationale
2019-07-28 16:10:53 +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
7562d29d4b
tools/eval: conform to new conventions 2019-07-22 23:51:12 +02:00
Henrik Lissner
9a02bd8ac8
Minor refactors across the board
- when-let* -> when-let
- Fix projectile-locate-dominating-file for connected remote files
2019-06-26 14:31:06 +02:00
Henrik Lissner
2214c3175e
Minor tweaks across the board 2019-05-21 00:34:32 -04:00
Henrik Lissner
31ed6fdf2b
tools/eval: fix eval-and-replace not first clearing selection 2019-05-17 16:01:46 -04:00
Henrik Lissner
ec240d0bfa
tools/eval: fix window-live-p error on eval-and-replace
Caused because the quickrun window adjustment hooks assume quickrun will
always spawn a results buffer, but in the case of eval-and-replace, it
doesn't.
2019-05-17 15:59:49 -04:00
Henrik Lissner
77e4cc4d58
💥 Remove :feature category
:feature was a "catch-all" category. Many of its modules fit better in
other categories, so they've been moved:

- feature/debugger -> tools/debugger
- feature/evil -> editor/evil
- feature/eval -> tools/eval
- feature/lookup -> tools/lookup
- feature/snippets -> editor/snippets
- feature/file-templates -> editor/file-templates
- feature/workspaces -> ui/workspaces

More potential changes in the future:

- A new :term category for terminal emulation modules (eshell, term and
  vterm).
- A new :os category for modules dedicated to os-specific functionality.
  The :tools macos module would fit here, but so would modules for nixos
  and arch.
- A new :services category for web-service integration, like wakatime,
  twitter, elfeed, gist and pastebin services.
2019-04-24 18:16:04 -04:00