From mboxrd@z Thu Jan 1 00:00:00 1970 From: Eric Schulte Subject: Re: Code vanishes on export Date: Wed, 24 Aug 2011 13:45:40 -0600 Message-ID: <878vqi7fvf.fsf@gmail.com> References: <20110824101326.GA13980@panahar> <87liui7vxu.fsf@gmail.com> <87wre2ogo6.fsf@tajo.ucsd.edu> Mime-Version: 1.0 Content-Type: text/plain Return-path: Received: from eggs.gnu.org ([140.186.70.92]:57642) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1QwJOn-0005S5-OA for emacs-orgmode@gnu.org; Wed, 24 Aug 2011 15:46:12 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1QwJOa-0004Q1-9z for emacs-orgmode@gnu.org; Wed, 24 Aug 2011 15:45:59 -0400 Received: from mail-yi0-f41.google.com ([209.85.218.41]:58299) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1QwJOZ-0004NO-Q2 for emacs-orgmode@gnu.org; Wed, 24 Aug 2011 15:45:52 -0400 Received: by yib2 with SMTP id 2so1225568yib.0 for ; Wed, 24 Aug 2011 12:45:45 -0700 (PDT) In-Reply-To: <87wre2ogo6.fsf@tajo.ucsd.edu> (cberry@tajo.ucsd.edu's message of "Wed, 24 Aug 2011 10:36:25 -0700") 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: cberry@tajo.ucsd.edu Cc: emacs-orgmode@gnu.org Can you supply a minimal example file with instructions to reproduce this behavior? Thanks -- Eric cberry@tajo.ucsd.edu writes: > suvayu ali writes: > >> Hi Eric, >> >> On Wed, Aug 24, 2011 at 3:58 PM, Eric Schulte wrote: >>> Vikas Rawal writes: >>> >>>> I obviously do not want the code to be removed from my org file. >>>> >>> >>> There are ways of controlling whether code or results or both or neither >>> are included in code export. >>> >> >> As far as I understand from Vikas' last remark, his org file is getting >> changed. > > FWIW, I experienced this myself. "#+begin_src R" blocks vanished from > the *.org file during export (but I was saved by version control!). > > I think this behavior showed up after 7.7, but I cannot reproduce it now > (I did a git pull at release_7.7.170.gcaaad.dirty and have since modified > the *.org file on which it happened). > > IIRC, it did not happen for exports when :export never was set for the > buffer and not circumvented by '#+begin_src R :eval t'. > > Maybe this has (coincidentally) been corrected by the recent update of > ob-exp.el, ob.el, and org-exp-blocks.el? > > Chuck -- Eric Schulte http://cs.unm.edu/~eschulte/