Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

active-input-method calling nil #82

Open
hierophantos opened this issue Oct 7, 2024 · 0 comments
Open

active-input-method calling nil #82

hierophantos opened this issue Oct 7, 2024 · 0 comments

Comments

@hierophantos
Copy link

Trying to track down some bug where nil is getting called by active-input-method. This is happening whenever I call my M-x. (I'm using spacemacs config in emacs keybinding mode, and have my leaderkey to M-SPC; so M-SPC M-SPC ends up calling spacemacs/helm-M-x-fuzzy-matching). Which then pops an error and doesn't do anything; second attempt pulls up M-x.

Ok, seeing that my M-SPC key command is actually getting mapped to s-SPC.

In describe-mode for bqn-mode s-SPC key is bound to [closure] (could be nice to have names on these bindings??); in describe-key with bqn-mode active, s-SPC wasn't showing any other bindings except my own 🤷.

Stack Trace:

Debugger entered--Lisp error: (void-function nil)
  nil()
  deactivate-input-method()
  activate-input-method(nil)
  evil-local-mode(-1)
  evil-mode-enable-in-buffers()
  run-hooks(after-change-major-mode-hook)
  run-mode-hooks(helm-major-mode-hook)
  helm-major-mode()
  helm-create-helm-buffer()

✔️📝Solution for now:
Set "s-SPC" to nil in bqn-mode-map

(debating whether to send this, since I solved my issue through this process, but... want to show some love so... yeah 💌. Thanks for all the hard work on this! 🙏)

Adding a few other bits:
• bqn-mode buffer font seems to be non-monospaced? Is there a way to change this?
• bqn keyboard display is mangled, perhaps because of the non-monospaced issue.
• I'm also using dvorak keyboard, so keyboard display isn't quite mapped to what my keys are anyways (I'm used to this kind of thing, so no big expectation there). But did want to point to this blog, in case useful, where user made dvorak display for gnu-apl-mode, that correctly displays keyboard layout (also fixed formatting issue if I recall correctly).

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant