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

Finding the currently active ESS keymaps #1280

Open
meedstrom opened this issue Feb 26, 2024 · 0 comments
Open

Finding the currently active ESS keymaps #1280

meedstrom opened this issue Feb 26, 2024 · 0 comments

Comments

@meedstrom
Copy link

meedstrom commented Feb 26, 2024

Hi! I wouldn't exactly file this as a bug, but it is strange.

Normally, I can find the major mode map symbol in the output of this expression:

(mapcar #'help-fns-find-keymap-name (current-active-maps))

But ess-r-mode-map does not show up.

I rely on that expression in my package https://github.com/meedstrom/massmapper. So I'm wondering if someone can shed light on why it doesn't show up? What's ESS doing specially? I tried searching the source and found nothing unusual about the keymap definitions. Something unusual with how modes are enabled perhaps?

EDIT:

The output from above contains a nil, which is probably where the ESS map should be, but evaluating directly (help-fns-find-keymap-name ess-r-mode-map) does return ess-r-mode-map, not nil. Hmm. Is there a buffer-local change made to ess-r-mode-map after the mode is enabled?

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