Dima Kogan writes: > 2. open or type a tiny .c source file such as: > ===================== > int main(void) > { > > } > ===================== > > 3. mark 'main' and M-w > > 4. highlight 'main': M-s h r main, accept default face > > 5. yank on the empty line between {}. I expect the yanked text 'main' to > be highlighted. Instead I sometimes see "mai" being highlighted but not > the "n"; at other times I see nothing highlighted, but "mai" being > rendered with a different face than the "n". In any case, it's never > highlighted correctly. I've tried the recipe in Emacs 28, and this seems to work better now: