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

allow opting out of automatic keymap prefix binding #62

Open
montchr opened this issue Jul 13, 2024 · 1 comment
Open

allow opting out of automatic keymap prefix binding #62

montchr opened this issue Jul 13, 2024 · 1 comment
Labels
bug Something isn't working question Further information is requested

Comments

@montchr
Copy link

montchr commented Jul 13, 2024

There does not appear to be a way to opt out of the automatic binding of tabspaces-command-map to tabspaces-keymap-prefix without causing a warning message to appear. I set tabspaces-keymap-prefix to nil, which should prevent the binding, but then I get the following warning:

⛔ Warning (emacs): Value ‘nil’ does not match type string

I'm not sure how to get a trace for this message, however, since it is not an error. As a workaround, I've just set the prefix to a key inside my custom keymap.

@mclearc
Copy link
Contributor

mclearc commented Jul 13, 2024

That's odd -- when I set it to nil I do not get a warning. It just disables the keybinding (as one would expect). So I'm not able to reproduce this.

There does not appear to be a way to opt out of the automatic binding of tabspaces-command-map to tabspaces-keymap-prefix without causing a warning message to appear. I set tabspaces-keymap-prefix to nil, which should prevent the binding, but then I get the following warning:

⛔ Warning (emacs): Value ‘nil’ does not match type string

I'm not sure how to get a trace for this message, however, since it is not an error. As a workaround, I've just set the prefix to a key inside my custom keymap.

@mclearc mclearc added enhancement New feature or request good first issue Good for newcomers bug Something isn't working question Further information is requested and removed enhancement New feature or request good first issue Good for newcomers labels Sep 24, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working question Further information is requested
Projects
None yet
Development

No branches or pull requests

2 participants