From: John Kitchin <jkitchin@andrew.cmu.edu>
To: Julien Cubizolles <j.cubizolles@free.fr>
Cc: "emacs-orgmode@gnu.org" <emacs-orgmode@gnu.org>
Subject: Re: Getting rid of the #+begin_example #+end_example in src blocks evaluation
Date: Thu, 27 Aug 2015 08:06:09 -0400 [thread overview]
Message-ID: <CAJ51ETq=6Ek=x+b6or6RhvedJRewAQ_nZnLznjYquCdm0Jjdcw@mail.gmail.com> (raw)
In-Reply-To: <874mjl7zuw.fsf@free.fr>
[-- Attachment #1: Type: text/plain, Size: 941 bytes --]
Put :results raw in the src header?
On Thursday, August 27, 2015, Julien Cubizolles <j.cubizolles@free.fr>
wrote:
> I'm trying to create a list of entries with timeshifts. I found this
> very nice example:
>
> #+begin_src emacs-lisp
> (with-temp-buffer
> (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))
> #+end_src
>
> but the results is bracketed by a
>
> #+begin_example
> *** Cours....
> #+end_example
>
> which can of course very easily be removed. Is there a way to get only
> the headings ?
>
> Julien.
>
>
>
--
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
[-- Attachment #2: Type: text/html, Size: 1438 bytes --]
next prev parent reply other threads:[~2015-08-27 12:06 UTC|newest]
Thread overview: 3+ messages / expand[flat|nested] mbox.gz Atom feed top
2015-08-27 11:08 Getting rid of the #+begin_example #+end_example in src blocks evaluation Julien Cubizolles
2015-08-27 12:06 ` John Kitchin [this message]
2015-08-27 12:14 ` Julien Cubizolles
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='CAJ51ETq=6Ek=x+b6or6RhvedJRewAQ_nZnLznjYquCdm0Jjdcw@mail.gmail.com' \
--to=jkitchin@andrew.cmu.edu \
--cc=emacs-orgmode@gnu.org \
--cc=j.cubizolles@free.fr \
/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).