From mboxrd@z Thu Jan 1 00:00:00 1970 From: Bernt Hansen Subject: Re: [BABEL] reload source code file after tangling? Date: Fri, 02 Jul 2010 09:11:41 -0400 Message-ID: <871vbm81v6.fsf@gollum.intra.norang.ca> References: <87630y84qv.fsf@gollum.intra.norang.ca> Mime-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable Return-path: Received: from [140.186.70.92] (port=60847 helo=eggs.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1OUg1z-0006LQ-AA for emacs-orgmode@gnu.org; Fri, 02 Jul 2010 09:11:49 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.69) (envelope-from ) id 1OUg1y-0003NO-0W for emacs-orgmode@gnu.org; Fri, 02 Jul 2010 09:11:47 -0400 Received: from mho-02-ewr.mailhop.org ([204.13.248.72]:50062) by eggs.gnu.org with esmtp (Exim 4.69) (envelope-from ) id 1OUg1x-0003NG-Tx for emacs-orgmode@gnu.org; Fri, 02 Jul 2010 09:11:45 -0400 In-Reply-To: (Rainer M. Krug's message of "Fri\, 2 Jul 2010 14\:55\:11 +0200") List-Id: "General discussions about Org-mode." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: emacs-orgmode-bounces+geo-emacs-orgmode=m.gmane.org@gnu.org Errors-To: emacs-orgmode-bounces+geo-emacs-orgmode=m.gmane.org@gnu.org To: Rainer M Krug Cc: emacs-orgmode Rainer M Krug writes: > On Fri, Jul 2, 2010 at 2:09 PM, Bernt Hansen wrote: > > Rainer M Krug writes: >=20=20=20=20 > > is it possible to open (if not open yet) or re-load the new tangled > > source code after tangling? >=20=20=20=20 > Would global-auto-revert or auto-revert-mode do what you want? =C2=A0I > 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. With global-auto-revert-mode there is nothing to remember :) since it is active in /all/ buffers. This works great for me. -Bernt