all messages for Emacs-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
* Tangling to Multiple Files
@ 2012-10-28 20:12 Alan Lue
  2012-10-28 21:03 ` Thomas S. Dye
  2012-10-28 21:12 ` Eric Schulte
  0 siblings, 2 replies; 4+ messages in thread
From: Alan Lue @ 2012-10-28 20:12 UTC (permalink / raw)
  To: emacs-orgmode


Hi, how does one tangle a single code block to multiple files?

I thought the following might work, but unfortunately it does not.

Set the frame size.
#+HEADERS: :tangle user-host-a.el user-host-b.el
#+BEGIN_SRC emacs-lisp
  (setq initial-frame-alist '((width . 80) (height . 38)))
#+END_SRC

To provide some background, I'm using =org-babel-load-file= in my
init.el file to load up my Emacs configuration from an Org file—call it
"user.org." I'd like to use just one user.org file across multiple
computers, however, meaning I'd like user.org to tangle into
user-host-a.el and user-host-b.el, for instance.

The configurations are only slightly different, so I'd like to be able
to selectively indicate to Org-mode which code blocks to tangle
into.

^ permalink raw reply	[flat|nested] 4+ messages in thread

end of thread, other threads:[~2012-10-28 21:38 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2012-10-28 20:12 Tangling to Multiple Files Alan Lue
2012-10-28 21:03 ` Thomas S. Dye
2012-10-28 21:12 ` Eric Schulte
2012-10-28 21:38   ` Alan Lue

Code repositories for project(s) associated with this external index

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

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.