emacs-orgmode@gnu.org archives
 help / color / mirror / code / Atom feed
From: Johnny <yggdrasil@gmx.co.uk>
To: nicholas.dokos@hp.com
Cc: emacs-orgmode@gnu.org
Subject: Re: #RESULTS folding and clearing
Date: Sun, 18 Mar 2012 11:47:47 +0000	[thread overview]
Message-ID: <87bonuku58.fsf@gmx.co.uk> (raw)
In-Reply-To: <87k42ikuhe.fsf@gmx.co.uk> (Johnny's message of "Sun, 18 Mar 2012 11:40:29 +0000")

Johnny <yggdrasil@gmx.co.uk> writes:

> Nick Dokos <nicholas.dokos@hp.com> writes:
>
>> Johnny <yggdrasil@gmx.co.uk> wrote:
>>
>>> Hi all,
>>> 
>>> When evaluating src blocks, the #+RESULTS: are inserted just below the
>>> code block, but some expressions generate long lists; thus:
>>> 
>>> 1) How can I fold the RESULTS block? (I have tried the regular tab way
>>> and searched the manual, but can't find it. Apologies if it should be
>>> obvious!)
>>
>> TAB on the #+RESULTS: line folds the results block for me.
>>
>
> This actually works in org-mode 7.7 on my netbook, but not in
> org-mode-7.8.0.3 on my desktop.
>
>>> 2) Is there any way to get the results in a folded output by default? 
>>
>> Not that I know of.
>>
>
> I fond the org-babel-result-hide-all in org-mode 7.7 which may can be
> used in a hook, but it doesn't exist in org-mode 7.8.0.3. It would be
> nice to specify in the rource block header if results should be folded
> by default or not.
>
>
>>> 3) Can I erase /all/ RESULTS in an org-file by single command?
>>
>> [answered previously - repeated for completeness]
>>
>> M-x org-babel-remove-result RET
>>

An unexpected (?) behaviour is that this works fine, but if i hide and
show (TAB twice) on the results and run the command, it doesn't remove
the results.

>
> Is this 7.8.0.3 behaviour expected and which org-mode are you using?
>

Cheers,

-- 
Johnny

      reply	other threads:[~2012-03-18 11:59 UTC|newest]

Thread overview: 7+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2012-03-17 18:37 #RESULTS folding and clearing Johnny
2012-03-17 18:38 ` Johnny
2012-03-17 19:11 ` Nick Dokos
2012-03-17 19:31   ` Johnny
2012-03-17 20:40 ` Nick Dokos
2012-03-18 11:40   ` Johnny
2012-03-18 11:47     ` Johnny [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=87bonuku58.fsf@gmx.co.uk \
    --to=yggdrasil@gmx.co.uk \
    --cc=emacs-orgmode@gnu.org \
    --cc=nicholas.dokos@hp.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).