From mboxrd@z Thu Jan 1 00:00:00 1970 From: suvayu ali Subject: Re: Code vanishes on export Date: Thu, 25 Aug 2011 09:11:28 +0200 Message-ID: References: <20110824101326.GA13980@panahar> <87liui7vxu.fsf@gmail.com> <20110824233734.GB8253@panahar> Mime-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1 Return-path: Received: from eggs.gnu.org ([140.186.70.92]:60310) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1QwU6Q-0005HL-5l for emacs-orgmode@gnu.org; Thu, 25 Aug 2011 03:11:51 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1QwU6P-00010E-9o for emacs-orgmode@gnu.org; Thu, 25 Aug 2011 03:11:50 -0400 Received: from mail-wy0-f169.google.com ([74.125.82.169]:44143) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1QwU6P-00010A-1f for emacs-orgmode@gnu.org; Thu, 25 Aug 2011 03:11:49 -0400 Received: by wyi11 with SMTP id 11so1655659wyi.0 for ; Thu, 25 Aug 2011 00:11:48 -0700 (PDT) In-Reply-To: <20110824233734.GB8253@panahar> List-Id: "General discussions about Org-mode." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: emacs-orgmode-bounces+geo-emacs-orgmode=m.gmane.org@gnu.org Sender: emacs-orgmode-bounces+geo-emacs-orgmode=m.gmane.org@gnu.org To: emacs-orgmode@gnu.org Hi Vikas, On Thu, Aug 25, 2011 at 1:37 AM, Vikas Rawal wrote: > For the last few days, I have been manually copying my org file before > every export to save it. Maybe an easier option would be make the buffer read-only before export. `C-x C-q' > The problem is that the file I am talking about reads a mysql > database, and does a lot of processing using R. The file will simply > not work for anyone else because you will not have the database that > it needs. > Maybe for the ECM (Minimal Complete Example, in French) you could substitute the reading from sql part by a table with dummy data which is then processed by some small R block. -- Suvayu Open source is the future. It sets us free.