emacs-orgmode@gnu.org archives
 help / color / mirror / code / Atom feed
From: Xebar Saram <zeltakc@gmail.com>
To: org mode <emacs-orgmode@gnu.org>
Subject: mirror text in same/other org buffer
Date: Wed, 22 Nov 2017 11:53:39 +0200	[thread overview]
Message-ID: <CAOQHXPoi2-qjL8BtimPLrrPJjKqWKvwm-H+SFnu0xKye5GOw1Q@mail.gmail.com> (raw)

[-- Attachment #1: Type: text/plain, Size: 502 bytes --]

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?

[-- Attachment #2: Type: text/html, Size: 705 bytes --]

             reply	other threads:[~2017-11-22  9:53 UTC|newest]

Thread overview: 6+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2017-11-22  9:53 Xebar Saram [this message]
2017-11-22 11:40 ` mirror text in same/other org buffer Kaushal Modi
2017-11-23  6:16   ` Xebar Saram
2017-11-24  6:20     ` Xebar Saram
2017-11-24  6:30       ` Xebar Saram
2017-11-24 16:28         ` Kaushal Modi

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

  List information: https://www.orgmode.org/

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=CAOQHXPoi2-qjL8BtimPLrrPJjKqWKvwm-H+SFnu0xKye5GOw1Q@mail.gmail.com \
    --to=zeltakc@gmail.com \
    --cc=emacs-orgmode@gnu.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
Code repositories for project(s) associated with this public inbox

	https://git.savannah.gnu.org/cgit/emacs/org-mode.git

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).