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 17:43:25 +1000 Message-ID: <20080526174325.669d77c3@localhost> References: <20080526075722.68218b80@localhost> 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 1K0XMz-000635-FN for emacs-orgmode@gnu.org; Mon, 26 May 2008 03:43:49 -0400 Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1K0XMw-00061v-Nz for emacs-orgmode@gnu.org; Mon, 26 May 2008 03:43:48 -0400 Received: from [199.232.76.173] (port=33520 helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1K0XMw-00061l-87 for emacs-orgmode@gnu.org; Mon, 26 May 2008 03:43:46 -0400 Received: from mx20.gnu.org ([199.232.41.8]:62837) by monty-python.gnu.org with esmtps (TLS-1.0:RSA_AES_256_CBC_SHA1:32) (Exim 4.60) (envelope-from ) id 1K0XMv-0002nO-L0 for emacs-orgmode@gnu.org; Mon, 26 May 2008 03:43:45 -0400 Received: from main.gmane.org ([80.91.229.2] helo=ciao.gmane.org) by mx20.gnu.org with esmtp (Exim 4.60) (envelope-from ) id 1K0XMu-0007ew-4b for emacs-orgmode@gnu.org; Mon, 26 May 2008 03:43:44 -0400 Received: from list by ciao.gmane.org with local (Exim 4.43) id 1K0XMp-0004pP-2s for emacs-orgmode@gnu.org; Mon, 26 May 2008 07:43:39 +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 ; Mon, 26 May 2008 07:43:39 +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 ; Mon, 26 May 2008 07:43:39 +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 Mon, 26 May 2008 07:57:22 +1000 Shelagh Manton wrote: > 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. Bother! I sent without putting in what I wanted to say. Maybe T. Cubitts auto-overlay.el library might be helpful here. It is part of the predictive package he puts out and it comes with a nice tutorial on how to use it. Shelagh > > > > Thanks for this release! > > /au > > > > -- ---------------------------------------------------------------- Jabber: shelagh.manton@gmail.com ----------------------------------------------------------------