From mboxrd@z Thu Jan 1 00:00:00 1970 From: Johnny Subject: Re: #RESULTS folding and clearing Date: Sun, 18 Mar 2012 11:40:29 +0000 Message-ID: <87k42ikuhe.fsf@gmx.co.uk> References: <87d38b3wha.fsf@gmx.co.uk> <5100.1332016818@alphaville> Mime-Version: 1.0 Content-Type: text/plain Return-path: Received: from eggs.gnu.org ([208.118.235.92]:51521) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1S9Ee7-0004mr-VK for emacs-orgmode@gnu.org; Sun, 18 Mar 2012 07:51:37 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1S9Edn-0003v8-QI for emacs-orgmode@gnu.org; Sun, 18 Mar 2012 07:51:35 -0400 Received: from mailout-eu.gmx.com ([213.165.64.42]:42037) by eggs.gnu.org with smtp (Exim 4.71) (envelope-from ) id 1S9Edn-0003v2-Fn for emacs-orgmode@gnu.org; Sun, 18 Mar 2012 07:51:15 -0400 In-Reply-To: <5100.1332016818@alphaville> (Nick Dokos's message of "Sat, 17 Mar 2012 16:40:18 -0400") List-Id: "General discussions about Org-mode." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: emacs-orgmode-bounces+geo-emacs-orgmode=m.gmane.org@gnu.org Sender: emacs-orgmode-bounces+geo-emacs-orgmode=m.gmane.org@gnu.org To: nicholas.dokos@hp.com Cc: emacs-orgmode@gnu.org Nick Dokos writes: > Johnny 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 > Is this 7.8.0.3 behaviour expected and which org-mode are you using? Cheers, -- Johnny