-
Notifications
You must be signed in to change notification settings - Fork 35
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
Use passthrough for kill-line #508
Conversation
It also recorded the |
Some things probably shouldn't use this, though. Shift selection seems to break with a simple passthrough. |
For gnus, I am also a bit concerned about how this is implemented. Enabling and disabling ergoemacs-mode sounds error prone. |
Did you try it? It simply enables and disables the keymaps. |
I must have messed up something in my initial test. I just did a proper test, and it works correctly. |
Part of my unease with the implementation here is that I can not ask for all of the bindings in a gnus buffer and get a list that includes the binding of |
Based on your prior feedback;
This means, by adding the following lines: (setq ergoemacs-mode-send-emacs-keys nil
ergoemacs-mode-unbind-emacs-keys nil) The
I think it is easier to describe the keys to show |
I accidentally merged the opposite way... |
Now the So, you should be able to see that |
I do not think that In any event, when I run
So there is still no sign that it will end up running |
Hm. I show no remaps. I will try again at this later... |
@wlandry:
This is a proof of concept, but should support the kill line equivalent key in
gnus
.If you could try it out and it seems to work for you, I can try to apply it more broadly.
Unlike the last edition:
ergoemacs-mode
pushes the emacs keys to the unread keys stack (and tags it to be unrecorded).ergoemacs-mode
is turned off for that one command.ergoemacs-mode
is turned back on.For me, the
kill-line
seems to work. I am unsure if it recorded the last command correctly.