Hacker News new | ask | show | jobs
by hittaruki 3754 days ago
Isn't an emacs buffer exactly that? Depending on what modes are turned on the way the file data is presented will also change.

For ex, how you can open a svg file, if you use the image mode you see the image representation otherwise you get the code.

1 comments

Emacs buffers are copies of the representation, not actual representations. The author had a talk at a recent linux.conf.au (can't find the link right now), which explains it much better than I could.