From mboxrd@z Thu Jan 1 00:00:00 1970 From: Xebar Saram Subject: mirror text in same/other org buffer Date: Wed, 22 Nov 2017 11:53:39 +0200 Message-ID: Mime-Version: 1.0 Content-Type: multipart/alternative; boundary="001a11443f1048edc3055e8f4baa" Return-path: Received: from eggs.gnu.org ([2001:4830:134:3::10]:54020) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1eHRj1-0008Lr-6S for emacs-orgmode@gnu.org; Wed, 22 Nov 2017 04:53:47 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1eHRiv-0000L2-DA for emacs-orgmode@gnu.org; Wed, 22 Nov 2017 04:53:47 -0500 Received: from mail-wm0-x22f.google.com ([2a00:1450:400c:c09::22f]:43970) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1eHRiv-0000Ko-62 for emacs-orgmode@gnu.org; Wed, 22 Nov 2017 04:53:41 -0500 Received: by mail-wm0-x22f.google.com with SMTP id x63so8972879wmf.2 for ; Wed, 22 Nov 2017 01:53:40 -0800 (PST) List-Id: "General discussions about Org-mode." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: emacs-orgmode-bounces+geo-emacs-orgmode=m.gmane.org@gnu.org Sender: "Emacs-orgmode" To: org mode --001a11443f1048edc3055e8f4baa Content-Type: text/plain; charset="UTF-8" Hi alll Im looking for a way to to mirror/auto populate a section of text in another location in the same org buffer and/or other org 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 CODE #+END_SRC 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 CODE #+END_SRC is this in anyway possible? --001a11443f1048edc3055e8f4baa Content-Type: text/html; charset="UTF-8" Content-Transfer-Encoding: quoted-printable
Hi alll

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

for example, i mana= ge my config files in org mode for multiple machines. i want to have a sect= ion like this

#+BEGIN_SRC conf :mkdirp yes :tangle= ~/machine A
CODE
#+END_SRC
where the same co= ntent of CODE is mirroed/auto generated in another code block for machine B=

#+BEGIN_SRC conf :mkdirp yes :tangle ~/machine B<= /div>
CODE
#+END_SRC

is this in anyw= ay possible?
--001a11443f1048edc3055e8f4baa--