spacemacs

Martynas Maciulevičius 2022-04-02T07:14:28.330369Z

Hey guys. Does anybody know why this one works:

(with-eval-after-load 'typescript-mode
    (spacemacs/set-leader-keys-for-major-mode 'typescript-mode "gb" 'previous-buffer))
And this one doesn't? (for tsx major mode)
(with-eval-after-load 'typescript-tsx-mode
    (spacemacs/set-leader-keys-for-major-mode 'typescript-tsx-mode "gb" 'previous-buffer)
    (spacemacs/set-leader-keys-for-major-mode 'typescript-mode "gm" 'previous-buffer))
I also opened this github issue: https://github.com/syl20bnr/spacemacs/issues/15442 For some reason it worked when I removed with-eval-after-load. Probably there is some kind of a callback listener problem.

practicalli-johnny 2022-04-02T07:26:10.868199Z

The issue has no layer information, so no idea how the layer has been set up. Sorry, I don't have info to help

Martynas Maciulevičius 2022-04-02T07:27:07.598939Z

Oh. How does one get package info?

Martynas Maciulevičius 2022-04-02T07:31:12.450659Z

If I run pkg-info-package-version and then look for tsx and typescript-tsx then I find no matches. But typescript gives this: 0.4 (package: )

practicalli-johnny 2022-04-02T09:07:32.559819Z

The process to create a useful issues is described in the issue template, I.e. the text that is populated automatically when an issue is created on GitHub. This describes how to create a GitHub issue from Spacemacs itself, using SPC h I

Martynas Maciulevičius 2022-04-02T13:03:18.696559Z

I included the details from SPC h I.

Martynas Maciulevičius 2022-04-03T05:35:50.267039Z

Solved.

Phil Hunt 2022-04-02T06:41:14.956759Z

Morning 🙂

Phil Hunt 2022-04-02T06:42:25.630699Z

I thought I’d give Spacemacs a try but when I attempt to do ' for sesman-start I get an error about wrong number of arguments? Common-lips Slime works fine and doesn’t do this, just Clojure.

👀 1
Phil Hunt 2022-04-02T06:50:10.309089Z

Doing it for M-x too, ‘wrong number of arguments’

✅ 1
Phil Hunt 2022-04-02T06:55:44.390019Z

looks like it’s Helm. Replacing Helm with Ivy made it go away.

Gunnar 2022-04-02T14:55:44.376439Z

Had the same just the other day and it seemed helm related, maybe... SPC SPC (Helm M-x fuzzy match) failed with the complaint about wrong number of arguments. I just selected Rollback package update from the main page and it went away, and I have not looked any deeper at it. If anyone else can confirm the same behavior, or know that this is some recent regression/problem (and if it is fixed?), then please comment.

Phil Hunt 2022-04-03T12:19:08.111039Z

It went away when I updated everything. Git pull on Spacemacs saw a few changes.

Gunnar 2022-04-03T13:44:59.224769Z

OK, I will try updating again soon and hopefully it was some small regression that was quickly fixed so it is not my own mistake.