emacs-orgmode@gnu.org archives
 help / color / mirror / code / Atom feed
* export of src block ignores :results
@ 2016-09-29  6:43 Thomas Alexander Gerds
  0 siblings, 0 replies; 12+ messages in thread
From: Thomas Alexander Gerds @ 2016-09-29  6:43 UTC (permalink / raw)
  To: emacs-orgmode

Hi

org's development version (I am using the one updated yesterday: 2b22d50
Nicolas Go 2016-09-28) seems to ignore the :results setting of a src
block. more specifically, the export of this

#+BEGIN_SRC R  :results output :exports code  :session *R* :cache yes 
2+2
#+END_SRC

#+RESULTS[<2016-09-29 08:32:48> e8e7ff579309fc6cacb1e75a0c1c671366c2eaf8]:
: [1] 4

should *not* include the results, but it does.  the elpa version, e.g.,
org-20160509, respects the :results setting. I tried to debug, but could
not find the place in the process where the option :results is
interpreted. here is how far I got: in the development version the
result of the function org-element-parse-buffer does include the result
of the src block "4" whereas in the elpa version result of the function
org-element-parse-buffer does include it.

did I miss something or is this a bug?

thanks, 
Thomas

-- 
sent from nil

^ permalink raw reply	[flat|nested] 12+ messages in thread
* export of src block ignores :results
@ 2016-09-29  6:42 Thomas Alexander Gerds
  2016-09-29 16:25 ` Charles C. Berry
  0 siblings, 1 reply; 12+ messages in thread
From: Thomas Alexander Gerds @ 2016-09-29  6:42 UTC (permalink / raw)
  To: emacs-orgmode

Hi

org's development version (I am using the one updated yesterday: 2b22d50
Nicolas Go 2016-09-28) seems to ignore the :results setting of a src
block. more specifically, the export of this

#+BEGIN_SRC R  :results output :exports code  :session *R* :cache yes 
2+2
#+END_SRC

#+RESULTS[<2016-09-29 08:32:48> e8e7ff579309fc6cacb1e75a0c1c671366c2eaf8]:
: [1] 4

should *not* include the results, but it does.  the elpa version, e.g.,
org-20160509, respects the :results setting. I tried to debug, but could
not find the place in the process where the option :results is
interpreted. here is how far I got: in the development version the
result of the function org-element-parse-buffer does include the result
of the src block "4" whereas in the elpa version result of the function
org-element-parse-buffer does include it.

did I miss something or is this a bug?

thanks, 
Thomas

-- 
sent from nil

^ permalink raw reply	[flat|nested] 12+ messages in thread

end of thread, other threads:[~2016-10-02 11:08 UTC | newest]

Thread overview: 12+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2016-09-29  6:43 export of src block ignores :results Thomas Alexander Gerds
  -- strict thread matches above, loose matches on Subject: below --
2016-09-29  6:42 Thomas Alexander Gerds
2016-09-29 16:25 ` Charles C. Berry
2016-09-29 19:53   ` Thomas Alexander Gerds
2016-09-29 21:02     ` Charles C. Berry
2016-09-30  3:39       ` Charles C. Berry
2016-09-30  5:06         ` Thomas Alexander Gerds
2016-09-30 17:05           ` Charles C. Berry
2016-10-01  5:46             ` Thomas Alexander Gerds
2016-10-01 16:32               ` Charles C. Berry
2016-10-02 11:08                 ` Thomas Alexander Gerds
2016-10-01  8:37         ` Nicolas Goaziou

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).