From mboxrd@z Thu Jan 1 00:00:00 1970 From: John Kitchin Subject: Re: org babel: %% [removed source block] Date: Thu, 29 Nov 2018 12:25:50 -0500 Message-ID: References: <87y39c9kr7.fsf@mat.ucm.es> <8EF65BB1-E426-4748-BE42-03131CDEB17F@ucsd.edu> <87bm67254k.fsf@mat.ucm.es> Mime-Version: 1.0 Content-Type: multipart/alternative; boundary="0000000000001bd528057bd0fa8f" Return-path: Received: from eggs.gnu.org ([2001:4830:134:3::10]:52339) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1gSQ4z-0005WD-Eh for emacs-orgmode@gnu.org; Thu, 29 Nov 2018 12:26:22 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1gSQ4x-0002cC-B4 for emacs-orgmode@gnu.org; Thu, 29 Nov 2018 12:26:21 -0500 Received: from mail-wr1-x42b.google.com ([2a00:1450:4864:20::42b]:38367) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1gSQ4t-0002WC-DW for emacs-orgmode@gnu.org; Thu, 29 Nov 2018 12:26:17 -0500 Received: by mail-wr1-x42b.google.com with SMTP id v13so2721006wrw.5 for ; Thu, 29 Nov 2018 09:26:04 -0800 (PST) In-Reply-To: <87bm67254k.fsf@mat.ucm.es> 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" To: org-mode-email --0000000000001bd528057bd0fa8f Content-Type: text/plain; charset="UTF-8" Have you tried this with an emacs -q? Your examples work as expected in emacs -q for me. John ----------------------------------- Professor John Kitchin Doherty Hall A207F Department of Chemical Engineering Carnegie Mellon University Pittsburgh, PA 15213 412-268-7803 @johnkitchin http://kitchingroup.cheme.cmu.edu On Thu, Nov 29, 2018 at 11:58 AM Uwe Brauer wrote: > >>> "Berry," == Berry, Charles writes: > > > I cannot reproduce your export issue with org 9.1.14. > > You need to provide more details. > > Ok, I searched already my custom settings. > > Perhaps you have a header-arg set that you have not told us about? > > > What does C-c C-v C-i report when point is in each of your source > blocks? I get > > > Lang: matlab > > Properties: > > :header-args nil > > :header-args:matlab nil > > Header Arguments: > > :cache no > > :exports code > > :hlines no > > :noweb no > > :padline no > > :results none > > :session none > > :tangle test.m > > > Her is my output > > The only difference I can find is the results/replace entry. > > Not sure what to do. > > > Lang: matlab > Properties: > :header-args nil > :header-args:matlab nil > Header Arguments: > :cache no > :exports code > :hlines no > :noweb no > :padline no > :results replace > :session none > :tangle test.m > --0000000000001bd528057bd0fa8f Content-Type: text/html; charset="UTF-8" Content-Transfer-Encoding: quoted-printable
Have you tried this with an emacs -q? Your examples w= ork as expected in emacs -q for me.

John

---------------------------= --------
Professor John Kitchin=C2=A0
Doherty Hall A207F
Departmen= t of Chemical Engineering
Carnegie Mellon University
Pittsburgh, PA 1= 5213
412-268-7803


On Thu, Nov 29, 2018 at 11:58 AM Uwe B= rauer <oub@mat.ucm.es> wrote:
>>> "Berry," =3D= =3D Berry, Charles <ccberry@ucsd.edu> writes:

=C2=A0 =C2=A0> I cannot reproduce your export issue with org 9.1.14.
=C2=A0 =C2=A0> You need to provide more details.

Ok, I searched already my custom settings.
=C2=A0 =C2=A0> Perhaps you have a header-arg set that you have not told = us about?

=C2=A0 =C2=A0> What does C-c C-v C-i report when point is in each of you= r source blocks? I get

=C2=A0 =C2=A0> Lang: matlab
=C2=A0 =C2=A0> Properties:
=C2=A0 =C2=A0>=C2=A0 =C2=A0 :header-args=C2=A0 =C2=A0 nil
=C2=A0 =C2=A0>=C2=A0 =C2=A0 :header-args:matlab=C2=A0 =C2=A0 =C2=A0nil =C2=A0 =C2=A0> Header Arguments:
=C2=A0 =C2=A0>=C2=A0 =C2=A0 :cache=C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 no<= br> =C2=A0 =C2=A0>=C2=A0 =C2=A0 :exports=C2=A0 =C2=A0 =C2=A0 =C2=A0 code
=C2=A0 =C2=A0>=C2=A0 =C2=A0 :hlines=C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0no<= br> =C2=A0 =C2=A0>=C2=A0 =C2=A0 :noweb=C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 no<= br> =C2=A0 =C2=A0>=C2=A0 =C2=A0 :padline=C2=A0 =C2=A0 =C2=A0 =C2=A0 no
=C2=A0 =C2=A0>=C2=A0 =C2=A0 :results=C2=A0 =C2=A0 =C2=A0 =C2=A0 none
=C2=A0 =C2=A0>=C2=A0 =C2=A0 :session=C2=A0 =C2=A0 =C2=A0 =C2=A0 none
=C2=A0 =C2=A0>=C2=A0 =C2=A0 :tangle=C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0tes= t.m


Her is my output

The only difference I can find is the results/replace entry.

Not sure what to do.


Lang: matlab
Properties:
=C2=A0 =C2=A0 =C2=A0 =C2=A0 :header-args=C2=A0 =C2=A0 nil
=C2=A0 =C2=A0 =C2=A0 =C2=A0 :header-args:matlab=C2=A0 =C2=A0 =C2=A0nil
Header Arguments:
=C2=A0 =C2=A0 =C2=A0 =C2=A0 :cache=C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 no
=C2=A0 =C2=A0 =C2=A0 =C2=A0 :exports=C2=A0 =C2=A0 =C2=A0 =C2=A0 code
=C2=A0 =C2=A0 =C2=A0 =C2=A0 :hlines=C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0no
=C2=A0 =C2=A0 =C2=A0 =C2=A0 :noweb=C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 no
=C2=A0 =C2=A0 =C2=A0 =C2=A0 :padline=C2=A0 =C2=A0 =C2=A0 =C2=A0 no
=C2=A0 =C2=A0 =C2=A0 =C2=A0 :results=C2=A0 =C2=A0 =C2=A0 =C2=A0 replace
=C2=A0 =C2=A0 =C2=A0 =C2=A0 :session=C2=A0 =C2=A0 =C2=A0 =C2=A0 none
=C2=A0 =C2=A0 =C2=A0 =C2=A0 :tangle=C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0test.m=
--0000000000001bd528057bd0fa8f--