Hello! My customisation has '(comint-prompt-regexp "^[a-z]+ [0-9]+ /\\\\ " t) '(shell-prompt-pattern "^[a-z]+ [0-9]+ /\\\\ ") '(comint-highlight-prompt ((t (:background "FloralWhite" :foreground "DarkViolet" :weight bold)))) Sometimes I locate items and sort them by killing and yanking the lines they're on. When I yank such a line just above the prompt, i.e., the cursor is in column 0 at the prompt's beginning, the prompt's fontification is extended over the yanked line as this screenshot shows: