emacs-orgmode@gnu.org archives
 help / color / mirror / code / Atom feed
From: suvayu ali <fatkasuvayu+linux@gmail.com>
To: Stephen Eglen <S.J.Eglen@damtp.cam.ac.uk>
Cc: emacs-orgmode@gnu.org
Subject: Re: cleaning all the #+results from an org document
Date: Thu, 28 Jul 2011 13:58:46 +0200	[thread overview]
Message-ID: <CAMXnza1eHHRwSfogatvQ=8GExf1=XJ9r0FRdSdEv0URVTqjriw@mail.gmail.com> (raw)
In-Reply-To: <29736.1311853272@maps>

Hi Stephen,

On Thu, Jul 28, 2011 at 1:41 PM, Stephen Eglen
<S.J.Eglen@damtp.cam.ac.uk> wrote:
>>
>> If you don't want the results to be produced at all, you can always use
>> the babel header option[1] :results silent.
>
> Thanks Suvayu, I'm gradually learning about all the various ways output
> can be exported vs shown in the org buffer.  Am I right in understanding
> that :results silent just affects whether or not output is written into
> the .org buffer, not whether it is exported or not (e.g. into html?)
>

Since I don't know what you are trying to achieve, I'll take a guess.

You wish babel to evaluate the source block and export the results. If
so, then I am afraid the results will be present in the buffer. If
however you only want the source block for fontification and don't
want it to be evaluated, you could try my solution or even better
would be what Seb suggested. However if you wish babel to evaluate the
block but suppress the results, then you should use my suggestion.

The export preferences can be controlled by :exports header. These are
all documented in detail in the manual (referenced in my earlier
email).

> Stephen

Hope this helps.

-- 
Suvayu

Open source is the future. It sets us free.

  reply	other threads:[~2011-07-28 11:59 UTC|newest]

Thread overview: 14+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2011-07-28  8:31 cleaning all the #+results from an org document Stephen Eglen
2011-07-28  9:21 ` suvayu ali
2011-07-28 11:41   ` Stephen Eglen
2011-07-28 11:58     ` suvayu ali [this message]
2011-07-28 11:41   ` Sebastien Vauban
2011-07-28 12:24 ` Torsten Wagner
2011-07-28 12:59   ` Stephen Eglen
2011-07-28 16:15     ` Ista Zahn
2011-07-28 23:04       ` Eric Schulte
2011-07-29  7:48         ` Sebastien Vauban
2011-07-29  8:15           ` Sebastien Vauban
2011-07-29 16:38             ` Eric Schulte
2011-07-29 14:42         ` Torsten Wagner
2011-07-29 16:40           ` Eric Schulte

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='CAMXnza1eHHRwSfogatvQ=8GExf1=XJ9r0FRdSdEv0URVTqjriw@mail.gmail.com' \
    --to=fatkasuvayu+linux@gmail.com \
    --cc=S.J.Eglen@damtp.cam.ac.uk \
    --cc=emacs-orgmode@gnu.org \
    /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).