From mboxrd@z Thu Jan 1 00:00:00 1970 From: Shelagh Manton Subject: Re: Org mode release 6.04 Date: Mon, 26 May 2008 07:57:22 +1000 Message-ID: <20080526075722.68218b80@localhost> References: Mime-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit Return-path: Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1K0ODl-0007SD-Ci for emacs-orgmode@gnu.org; Sun, 25 May 2008 17:57:41 -0400 Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1K0ODh-0007S1-Rh for emacs-orgmode@gnu.org; Sun, 25 May 2008 17:57:40 -0400 Received: from [199.232.76.173] (port=56763 helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1K0ODh-0007Ry-MI for emacs-orgmode@gnu.org; Sun, 25 May 2008 17:57:37 -0400 Received: from main.gmane.org ([80.91.229.2]:33958 helo=ciao.gmane.org) by monty-python.gnu.org with esmtps (TLS-1.0:RSA_AES_256_CBC_SHA1:32) (Exim 4.60) (envelope-from ) id 1K0ODh-0006Xo-7e for emacs-orgmode@gnu.org; Sun, 25 May 2008 17:57:37 -0400 Received: from list by ciao.gmane.org with local (Exim 4.43) id 1K0ODc-0006j4-2E for emacs-orgmode@gnu.org; Sun, 25 May 2008 21:57:32 +0000 Received: from 203-219-222-168-cbr-pow-ts2-2600.tpgi.com.au ([203.219.222.168]) by main.gmane.org with esmtp (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Sun, 25 May 2008 21:57:32 +0000 Received: from shelagh.manton by 203-219-222-168-cbr-pow-ts2-2600.tpgi.com.au with local (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Sun, 25 May 2008 21:57:32 +0000 List-Id: "General discussions about Org-mode." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: emacs-orgmode-bounces+geo-emacs-orgmode=m.gmane.org@gnu.org Errors-To: emacs-orgmode-bounces+geo-emacs-orgmode=m.gmane.org@gnu.org To: emacs-orgmode@gnu.org On Sun, 25 May 2008 08:41:54 -0400 Austin Frank wrote: > On Sun, May 25 2008, Carsten Dominik wrote: > > > Editing source code example in the proper mode > > ---------------------------------------------- > > > > If you are writing a document with source code examples, you can > > include these examples into a `#+BEGIN_SRC lang ... #+END_SRC' or > > (with the org-mtags module loaded) a ` > stands for the Emacs mode used for editing the language, this could > > be `emacs-lisp' for Emacs Lisp mode examples, or `org' for Org mode > > examples. You can now use the key "C-c '" (that is C-c followed by > > the single quote) to edit the example in its native mode. This > > works by creating an indirect buffer, narrowing it to the example > > and setting the appropriate mode. You need to exit editing by > > killing that indirect buffer, with `C-x k'. This is important, > > because lines that have syntactic meaning in Org will be quoted > > when the indirect buffer is killed. > > Carsten-- > > This is a phenomenally exciting addition. Combining this with the > htmlized code examples in html export, and the option for \LaTeX > export, org has clearly just vaulted past the rest of the field for > literate programming. Expect a tutorial from me in the next few > weeks about using org with RWeave (the R variant of SWeave). This > will be a fantastic way to write articles that include statistical > analyses and figures. > > That said, don't be surprised if by opening this door you end up with > some new feature requests from me :) One addition that I can already > see being interested in is the evaluation of embedded code before > export, so that the results of the code are included along with the > source. Obviously, there are security issues here that will need to > be thought about, but I'd like to see if we could make this work. > > Greedy feature requests aside, this is very, very cool. > > > I guess it would be nice to exit with `C-c C-c', but who knows what > > this key is supposed to do in a random mode. > > I can tell you now that C-c C-c is almost as overloaded in R-mode > (from the package ESS) as it is in org-mode, and I will want it to > have its R-mode interpretation while I edit R code. While I'm > writing, I'll try to keep an eye out for sensible ways of jumping out > of coding mode and back to org-mode. > > Thanks for this release! > /au > -- ---------------------------------------------------------------- Jabber: shelagh.manton@gmail.com ----------------------------------------------------------------