From mboxrd@z Thu Jan 1 00:00:00 1970 From: Mike Gauland Subject: :wrap behaviour Date: Thu, 28 Feb 2013 08:39:50 +0000 (UTC) Message-ID: Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit Return-path: Received: from eggs.gnu.org ([208.118.235.92]:32819) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1UAz29-0002jG-FM for emacs-orgmode@gnu.org; Thu, 28 Feb 2013 03:40:11 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1UAz28-00057A-G2 for emacs-orgmode@gnu.org; Thu, 28 Feb 2013 03:40:09 -0500 Received: from plane.gmane.org ([80.91.229.3]:56469) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1UAz28-00056i-9t for emacs-orgmode@gnu.org; Thu, 28 Feb 2013 03:40:08 -0500 Received: from list by plane.gmane.org with local (Exim 4.69) (envelope-from ) id 1UAz2Q-0004TU-A7 for emacs-orgmode@gnu.org; Thu, 28 Feb 2013 09:40:26 +0100 Received: from 114-134-8-92.rurallink.co.nz ([114.134.8.92]) by main.gmane.org with esmtp (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Thu, 28 Feb 2013 09:40:26 +0100 Received: from mikelygee by 114-134-8-92.rurallink.co.nz with local (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Thu, 28 Feb 2013 09:40:26 +0100 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@gnu.org I've been using the :wrap parameter extensively, to give me control over the formatting of results from code blocks. For files with many such blocks, it makes sense to specify the formatting at the file level. This works well, unless I want a particular block to be unwrapped. Just specifying :wrap with no parameter wraps the output in #+BEGIN_RESULTS...#+END_RESULTS, which is *not* what I want. The only way to get what I want is to move :wrap from the file level to each block I *do* want wrapped. I'd like to be able to disable wrapping for particular blocks. I've started experimenting with code to do that, but I'm not sure what the best behaviour should be, and would appreciate suggestions. Some ideas I've considered: + Have :wrap by itself disable wrapping; if you want to wrap in BEGIN_RESULTS..END_RESULTS you'll have to specify :wrap RESULTS. + Use a special string (e.g., :wrap off) to disable wrapping. Of course, this makes it impossible to wrap your output in a BEGIN_OFF..END_OFF block, should you ever want to do that. + Use a special symbol instead of a string to turn off wrapping (e.g., :wrap :off) Kind Regards, Mike Gauland