emacs-orgmode@gnu.org archives
 help / color / mirror / code / Atom feed
From: Bernt Hansen <bernt@norang.ca>
To: Rainer M Krug <r.m.krug@gmail.com>
Cc: emacs-orgmode <emacs-orgmode@gnu.org>
Subject: Re: [BABEL] reload source code file after tangling?
Date: Fri, 02 Jul 2010 08:09:28 -0400	[thread overview]
Message-ID: <87630y84qv.fsf@gollum.intra.norang.ca> (raw)
In-Reply-To: <AANLkTikCxPsdA4cCv-CIYH2WnNDttJN83Hu_n5UhOIHe@mail.gmail.com> (Rainer M. Krug's message of "Fri\, 2 Jul 2010 09\:25\:24 +0200")

Rainer M Krug <r.m.krug@gmail.com> 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.

This of course only works if it is already open.

HTH,
Bernt

  reply	other threads:[~2010-07-02 12:09 UTC|newest]

Thread overview: 6+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2010-07-02  7:25 [BABEL] reload source code file after tangling? Rainer M Krug
2010-07-02 12:09 ` Bernt Hansen [this message]
2010-07-02 12:55   ` Rainer M Krug
2010-07-02 13:11     ` Bernt Hansen
2010-07-02 13:17       ` Rainer M Krug
2010-07-02 13:27         ` Bernt Hansen

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=87630y84qv.fsf@gollum.intra.norang.ca \
    --to=bernt@norang.ca \
    --cc=emacs-orgmode@gnu.org \
    --cc=r.m.krug@gmail.com \
    /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).