emacs-orgmode@gnu.org archives
 help / color / mirror / code / Atom feed
From: Hsiu-Khuern Tang <tangoh@gmail.com>
To: Nicolas Goaziou <n.goaziou@gmail.com>
Cc: emacs-orgmode@gnu.org
Subject: Re: Export a Subtree to an other .org file
Date: Fri, 5 Apr 2013 16:58:57 -0700	[thread overview]
Message-ID: <20130405235854.GA10503@localhost> (raw)
In-Reply-To: <87obduxwz7.fsf@gmail.com>

Hi Nicolas,

For the org-org-export-to-org function, if the input is

============================================================
* test

  #+BEGIN_SRC R -n :var a=1
    a
  #+END_SRC
============================================================

the output is

============================================================
* test

  #+BEGIN_SRC R -n
    a
  #+END_SRC
============================================================

That is, the ":var a=1" header argument is stripped (but the "-n" switch is
preserved).  Is this intentional?

I think /everything/ in the #+BEGIN_SRC line should be preserved.  What do you think?

Thanks!

-- 
Best,
Hsiu-Khuern.

      parent reply	other threads:[~2013-04-06  0:00 UTC|newest]

Thread overview: 12+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2013-04-03 17:35 Export a Subtree to an other .org file Steve Prud'Homme
2013-04-03 18:36 ` Bastien
2013-04-03 19:31   ` Steve Prud'Homme
2013-04-03 20:35     ` John Hendy
2013-04-03 21:36       ` Hsiu-Khuern Tang
2013-04-03 22:50         ` John Hendy
2013-04-04 12:19         ` Nicolas Goaziou
2013-04-04 12:23           ` Bastien
2013-04-04 13:10             ` Nicolas Goaziou
2013-04-04 13:13               ` Bastien
2013-04-04 18:40                 ` Hsiu-Khuern Tang
2013-04-05 23:58               ` Hsiu-Khuern Tang [this message]

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=20130405235854.GA10503@localhost \
    --to=tangoh@gmail.com \
    --cc=emacs-orgmode@gnu.org \
    --cc=n.goaziou@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).