Emacs uses overlays / prettify-symbols-mode / etc which modify how data is displayed to user.

I like to copy visible content as I see it. For example I aligned columns in CSV file with M-x csv-align-fields but content is copied as it in file (with commas instead of aligned columns).

  • 1
    I haven't tested this, but you may be interested in emacswiki.org/emacs/OverlaysToText. The problem with overlays is that they are generally not considered a part of a buffer's contents. – Basil Feb 10 '18 at 20:01

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.