From mboxrd@z Thu Jan 1 00:00:00 1970 From: Rainer M Krug Subject: remove all #+RESULTS blocks in a file? Date: Wed, 22 Aug 2012 15:25:38 +0200 Message-ID: <5034DDD2.8090000@gmail.com> Reply-To: Rainer@krugs.de Mime-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit Return-path: Received: from eggs.gnu.org ([208.118.235.92]:43137) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1T4AwP-0007AH-97 for emacs-orgmode@gnu.org; Wed, 22 Aug 2012 09:25:53 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1T4AwK-0000pF-5s for emacs-orgmode@gnu.org; Wed, 22 Aug 2012 09:25:49 -0400 Received: from mail-ee0-f41.google.com ([74.125.83.41]:48705) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1T4AwJ-0000p6-Rm for emacs-orgmode@gnu.org; Wed, 22 Aug 2012 09:25:44 -0400 Received: by eeke49 with SMTP id e49so323230eek.0 for ; Wed, 22 Aug 2012 06:25:42 -0700 (PDT) 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: emacs-orgmode Hi I want to remove all #+RESULTS blocks in a file / section. org-babel-remove-result works nicely for a single block, but when the cursor is in a heading (e.g. in Test), only the first block is removed. Is this a bug or a feature? If a feature, is there a way of removing *all* #+RESULTS bocks in a file? Thanks, Rainer * Test #+begin_src sh :output both echo Test #+end_src #+RESULTS: : Test #+begin_src sh :output both echo Test #+end_src #+RESULTS: : Test -- Rainer M. Krug, PhD (Conservation Ecology, SUN), MSc (Conservation Biology, UCT), Dipl. Phys. (Germany) Centre of Excellence for Invasion Biology Stellenbosch University South Africa Tel : +33 - (0)9 53 10 27 44 Cell: +33 - (0)6 85 62 59 98 Fax : +33 - (0)9 58 10 27 44 Fax (D): +49 - (0)3 21 21 25 22 44 email: Rainer@krugs.de Skype: RMkrug