boon
boon copied to clipboard
multicursor substitution example in tutorial not working?
Looking through the tutorial I am unable to get the multicursor example to replace all occurrences of a symbol despite multicursor getting installed.
Although all occurrences of the word indeed get selected and removed I only seem to be able to replace the first occurrence with the word command instead of all. The following screenshot is an example to illustrate what happens.
Am I misunderstanding how this is supposed to work or is this functionality broken?
btw) This is on Emacs 27.1; boon @ commit 3dd9669 (none of recent commits seem relevant for this)
This was unfortunately broken by an emacs update, and I have not gotten to fix it yet. Thanks for the report!
This was unfortunately broken by an emacs update, and I have not gotten to fix it yet. Thanks for the report!
In trying to figure out what goes wrong that in part this is a problem between chair and screen. Essentially the answer to this question on stackoverflow showed me that the problem is that I had hit "no" the first time I used multicursor on this command without realizing.
If I delete the previously generated mc-list.el based on my previous responses, restart emacs, run the boon-tutorial and then take care to say yes on both insert and delete on the tutorial commands it works as expected. However getting it wrong for the delete operation is surprisingly easy even when knowing this problem exists!
Bottomline: the problem is in whatever ends up in the mc-list.el defaults file. Hopefully that gives an idea how to best fix this.
if I had read this first I would have saved some hours troubleshooting :)))
I do believe that this was fixed some time ago, in fact. Closing for now; feel free to reopen with a specific example.