From mboxrd@z Thu Jan 1 00:00:00 1970 From: tsd@tsdye.com (Thomas S. Dye) Subject: Re: Error with :wrap org in babel and 8.0-pre Date: Mon, 15 Apr 2013 13:56:00 -1000 Message-ID: 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]:56818) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1URtGE-0000Cv-5B for emacs-orgmode@gnu.org; Mon, 15 Apr 2013 19:56:35 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1URtGC-0007av-Ux for emacs-orgmode@gnu.org; Mon, 15 Apr 2013 19:56:34 -0400 Received: from oproxy7-pub.bluehost.com ([67.222.55.9]:36447) by eggs.gnu.org with smtp (Exim 4.71) (envelope-from ) id 1URtGC-0007ae-ME for emacs-orgmode@gnu.org; Mon, 15 Apr 2013 19:56:32 -0400 In-Reply-To: <87obdfe5mo.fsf@gmail.com> (Eric Schulte's message of "Mon, 15 Apr 2013 17:27:59 -0600") 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: Eric Schulte Cc: Nicolas Goaziou , emacs-orgmode 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 -- Thomas S. Dye http://www.tsdye.com