emacs-orgmode
[Top][All Lists]
Advanced

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

[Orgmode] Re: [BABEL] reload source code file after tangling?


From: Rainer M Krug
Subject: [Orgmode] Re: [BABEL] reload source code file after tangling?
Date: Fri, 2 Jul 2010 14:55:11 +0200



On Fri, Jul 2, 2010 at 2:09 PM, Bernt Hansen <address@hidden> wrote:
Rainer M Krug <address@hidden> writes:

> is it possible to open (if not open yet) or re-load the new tangled
> source code after tangling?
>
> I usually have the tangled source code open and submit the file to R
> for debugging and if it would be automatically reloaded, my life would
> be a little bit easier.

Would global-auto-revert or auto-revert-mode do what you want?  I
personally use global-auto-revert mode so if any loaded file changes on
disk and my buffer contents are unmodified it gets replaced with what is
on the disk.

Perfect - that is doing exactly what it should. Now I just have to remember to activate it for the buffer.
 

This of course only works if it is already open.

True - but that is only a minor annoyance.

Cheers,

Rainer
 

HTH,
Bernt



--
NEW GERMAN FAX NUMBER!!!

Rainer M. Krug, PhD (Conservation Ecology, SUN), MSc (Conservation Biology, UCT), Dipl. Phys. (Germany)

Centre of Excellence for Invasion Biology
Natural Sciences Building
Office Suite 2039
Stellenbosch University
Main Campus, Merriman Avenue
Stellenbosch
South Africa

Cell:           +27 - (0)83 9479 042
Fax:            +27 - (0)86 516 2782
Fax:            +49 - (0)321 2125 2244
email:          address@hidden

Skype:          RMkrug
Google:         address@hidden


reply via email to

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