[Top][All Lists]

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [O] Getting rid of the #+begin_example #+end_example in src blocks e

From: John Kitchin
Subject: Re: [O] Getting rid of the #+begin_example #+end_example in src blocks evaluation
Date: Thu, 27 Aug 2015 08:06:09 -0400

Put :results raw in the src header? 

On Thursday, August 27, 2015, Julien Cubizolles <address@hidden> wrote:
I'm trying to create a list of entries with timeshifts. I found this
very nice example:

#+begin_src emacs-lisp
  (insert "*** Cours
<2014-09-07 lun 8:45-12:00>")
  (goto-char (point-min))
  (org-clone-subtree-with-time-shift 30 "+1w")
  ;; ignore this
  (let ((str (buffer-string)))
     (set-text-properties 0 (length str) nil str) str))

but the results is bracketed by a

*** Cours....

which can of course very easily be removed. Is there a way to get only
the headings ?



Professor John Kitchin 
Doherty Hall A207F
Department of Chemical Engineering
Carnegie Mellon University
Pittsburgh, PA 15213

reply via email to

[Prev in Thread] Current Thread [Next in Thread]