-
Notifications
You must be signed in to change notification settings - Fork 135
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
Executing a kmacro with F3 and F4 in beacon mode results in normal mode that still has secondary selection. #654
Comments
I'm not sure about understanding your question. But whether or not you are in beacon state depends on whether or not the cursor is in the secondary selection. When you have a secondary selection, and the cursor is inside, then you are in beacon state, otherwise it is still normal state. So it's normal to have a secondary selection in normal state, and you can cancel it with |
This needs to be documented better. I don't really understand what |
https://www.gnu.org/software/emacs/manual/html_node/emacs/Secondary-Selection.html |
Emacs is supposed to be self-documenting. The relevant documentation should be available in emacs. If I press It doesn't say multiple cursors. It doesn't say it cancels beacon mode along with an existing secondary selection. meow-tutor doesn't say when beacon mode is exited. meow-tutor just says markdown documents don't say grab. They say beacon mode and how multiple cursors work. The documentation is fragmented and confusing. Emacs documentation should be cohesive and coherent. |
I still don't understand why pressing Is this emacs built-in functionality? Or, is it meow? Because I don't know what's happening under the surface. I feel that I have to become a maintainer of meow mode to just understand how When I use multiple cursors in kakoune or helix, I quickly understand how multiple cursors work without having to read code. |
I think you made a good point. I agree we should have some documents for Following is the quick answers to your questions here. Just let me know if it makes sense?
And beacon state is a state to create beacons. Beacons are the locations where you want to apply the upcoming kmacro. When you have beacons, the next kmacro will be applied to these locations immediately and automatically. So the key here is having beacons and a kmacro. The beacon state is just a state for beacon creation. So this is basically how it works,
|
I see now. I think documentation should be available in emacs. Things like function doc and info manual. When I need to learn, I use info manual or |
There is one obstacle for having info. Because the key bindings are dynamic, and info is static. So we can't have something like |
Why don't you provide users with default key bindings? Users can still customize key bindings later. I want to have default keybindings so that I don't have to worry about keeping up with keybinding updates. Default key bindings still won't enable info manual because there are multiple keyboard layouts, but I want default keybindings. Meow-tutor can document beacons and beacon mode better. |
I have no idea what would be a good default. I'm very opinionated and picky about keybindings, and I believe others the same. Therefore I must have some rules that makes perfect sense to myself and makes no sense to others. |
I have used https://github.com/meow-edit/meow/blob/master/KEYBINDING_QWERTY.org without modification. |
The example keybindings are given in a way that it's more likely to be familiar to users(because HJKL stuff). But I don't think that's an optimized layout, and I don't want to debate on which command should be put on which key, at least for now. I think the focus of this project is more about having minimal command set to get the job done, and having better integration with Emacs defaults. |
After meow-beacon-{insert,change,append}, beacon mode is retained. Thus, pressing
G
again exits beacon mode.However, after F3 and F4, beacon mode is exited, but the normal mode still has secondary selection.
This seems to be an undefined state.
The text was updated successfully, but these errors were encountered: