Is it possible to clone a part of a document in another part of the document? So that changing one, changes both?


Yes: there's for example text-clone-create which can be used for that (typically used for small chunks of text such as the tag names in XML's tag pairs), as well as the lentic package.

| improve this answer | |
  • Thanks for answering! You mention it is for small texts, but what about entire paragraphs or even an entire outline? Would it still work? – Orgmodes Apr 20 '16 at 21:15
  • text-clone-create was not designed for large chunks of text. It might work, but buyer beware. lentic OTOH was designed to keep whole buffers in sync, so it should work fine even for large chunks of text. – Stefan Apr 21 '16 at 15:16

Your Answer

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

Not the answer you're looking for? Browse other questions tagged or ask your own question.