From mboxrd@z Thu Jan 1 00:00:00 1970 From: Johnny Subject: Re: #RESULTS folding and clearing Date: Sun, 18 Mar 2012 11:47:47 +0000 Message-ID: <87bonuku58.fsf@gmx.co.uk> References: <87d38b3wha.fsf@gmx.co.uk> <5100.1332016818@alphaville> <87k42ikuhe.fsf@gmx.co.uk> Mime-Version: 1.0 Content-Type: text/plain Return-path: Received: from eggs.gnu.org ([208.118.235.92]:45698) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1S9ElI-0007eF-Nb for emacs-orgmode@gnu.org; Sun, 18 Mar 2012 07:59:03 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1S9Ekr-000513-90 for emacs-orgmode@gnu.org; Sun, 18 Mar 2012 07:59:00 -0400 Received: from mailout-eu.gmx.com ([213.165.64.42]:46950) by eggs.gnu.org with smtp (Exim 4.71) (envelope-from ) id 1S9Ekq-00050h-Ut for emacs-orgmode@gnu.org; Sun, 18 Mar 2012 07:58:33 -0400 In-Reply-To: <87k42ikuhe.fsf@gmx.co.uk> (Johnny's message of "Sun, 18 Mar 2012 11:40:29 +0000") 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 Johnny writes: > 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 >> 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