Im looking for a way to to mirror/auto populate a section of text in another location in the same buffer and/or other file.

for example, i manage my config files in org mode for multiple machines. i want to have a section like this

#+BEGIN_SRC conf :mkdirp yes :tangle ~/machine A

where the same content of CODE is mirroed/auto generated in another code block for machine B

#+BEGIN_SRC conf :mkdirp yes :tangle ~/machine B

is this in anyway possible?

  • What do you mean by "mirrored/auto generated"? – Drew Nov 22 '17 at 16:54
  • hi. i mean have the same code in a org code block or .el file appear again identically in another section of a buffer and/or another file – zeltak Nov 23 '17 at 4:45

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.