I would like to use prettify-symbols, or a similar feature, in a compilation-mode.

It doesn't work out of the box by enabling prettify-symbols-mode.

I could naively implement this with a search/replace in a compilation-filter-hook but the really nice thing about prettify-symbols is that it only affects the visual output of the buffer: a kill/yank preserves the original.

What is the recommended way to display text differently than in the underlying buffer?

And, hopefully, has anybody written such a filter already? :-)

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Browse other questions tagged or ask your own question.