Skip to content

Conversation

@tompng
Copy link
Member

@tompng tompng commented Nov 19, 2025

Fix reline crash with em_yank_pop (#794 (comment))
Correct em_yank_pop key bindings.
Before: M-C-y and M-Y
After: M-y and M-Y

em_yank_pop should only work just after em_yank. Cursor movement and all other operation should abort yank-yank_pop.
This restriction will prevent yank_pop triggered in arbitrary line/byte_position that cause reline crash.

Add M-y and remove M-C-y.
M-y and M-Y are both yank_pop but M-C-y has no effect in both Emacs and GNU Readline.
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

Successfully merging this pull request may close these issues.

1 participant