From mboxrd@z Thu Jan 1 00:00:00 1970 From: Eric Schulte Subject: Re: Error with :wrap org in babel and 8.0-pre Date: Mon, 15 Apr 2013 20:37:41 -0600 Message-ID: <87k3o3dwui.fsf@gmail.com> References: <87li8ncqzq.fsf@gmail.com> <87li8jfysj.fsf@gmail.com> <87y5cjy3du.fsf@gmail.com> <87txn7y2hb.fsf@gmail.com> <874nf7fsix.fsf@gmail.com> <87sj2re7xl.fsf@gmail.com> <87obdfe5mo.fsf@gmail.com> Mime-Version: 1.0 Content-Type: text/plain Return-path: Received: from eggs.gnu.org ([208.118.235.92]:56892) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1URvmq-0007tS-14 for emacs-orgmode@gnu.org; Mon, 15 Apr 2013 22:38:25 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1URvmo-0007I2-Rx for emacs-orgmode@gnu.org; Mon, 15 Apr 2013 22:38:23 -0400 Received: from mail-pa0-f42.google.com ([209.85.220.42]:52547) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1URvmo-0007Ho-Kw for emacs-orgmode@gnu.org; Mon, 15 Apr 2013 22:38:22 -0400 Received: by mail-pa0-f42.google.com with SMTP id kq13so73590pab.1 for ; Mon, 15 Apr 2013 19:38:21 -0700 (PDT) In-Reply-To: (Thomas S. Dye's message of "Mon, 15 Apr 2013 13:56:00 -1000") 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: "Thomas S. Dye" Cc: Nicolas Goaziou , emacs-orgmode tsd@tsdye.com (Thomas S. Dye) writes: > Hi all, > > Eric Schulte writes: > >>> >>> - Can we prune some options/syntax that's no longer necessary? For >>> example, what does =:wrap= (no argument provided) do? >> >> Wrap has been deprecated for some time. Perhaps it has been long enough >> that we can go ahead and remove it entirely from the code and >> documentation at this point. >> > > I think :wrap is useful. It provides a very direct way to generate code > that can be exported to an arbitrary LaTeX environment. Say I find a new > LaTeX package that defines a =cutemarkup= environment, so I want > something like this the LaTeX file: > > \begin{cutemarkup} > ... > \end{cutemarkup} > > Then, with babel: > > #+begin_src lang :wrap cutemarkup > ... > #+end_src > > gets me what I want, > > #+begin_cutemarkup > ... > #+end_cutemarkup > > IIRC, this is one reason why :wrap is there (thanks, Eric). > > Perhaps this result is possible some other way? I don't know, but it > seems to me that :wrap is still potentially useful and we might want to > keep it around. > > Tom Hi Tom, This is a reasonable use case, and I personally don't know of another way to get these results. So I guess it is just the use of wrap to delimit Org-mode results which is deprecated, and we *do* still have a use for the ":wrap" header argument in general. Thanks, -- Eric Schulte http://cs.unm.edu/~eschulte