[Top][All Lists]

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Orgmode] [babel] using tramp when tangling

From: Maurizio Vitale
Subject: [Orgmode] [babel] using tramp when tangling
Date: Wed, 17 Mar 2010 14:39:43 -0400
User-agent: Gnus/5.13 (Gnus v5.13) Emacs/23.1.50 (gnu/linux)

I'd find useful to use tramp syntax in the :tangle specification.
In my case it would be to specify sudo when tangling config files that
are supposed to go to areas not writable by the user running Emacs. 
Something like:

#+begin_src sh :tangle /sudo::/etc/my_config_file

other people might be interested in remote access to tangle targets.

Is there a way to achieve the above?

If I try to tangle the above, I get something along the lines that
"tramp cannot append to file". Would it be possible to have org-babel to
(optionally) tangle to a buffer and then save to file in one go?

Thanks a lot for the excellent addition to org-mode.


reply via email to

[Prev in Thread] Current Thread [Next in Thread]